The smartbanner user script raises an exception when browsing to an invalid URL
Bug #1336280 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Fix Released
|
Low
|
Olivier Tilloy | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
To reproduce, browse to "htpp://invalid", and observe the following error message on the console:
[JS] (:30) Uncaught SecurityError: Failed to set the 'cookie' property on 'Document': Cookies are disabled inside 'data:' URLs.
Related branches
lp:~osomon/webbrowser-app/smartbanner-cookie-exception
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 11 lines (+3/-1)1 file modifiedsrc/Ubuntu/Web/smartbanners.js (+3/-1)
Changed in webbrowser-app: | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in webbrowser-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package webbrowser-app - 0.23+14. 10.20140703- 0ubuntu1
--------------- 10.20140703- 0ubuntu1) utopic; urgency=low
webbrowser-app (0.23+14.
[ CI bot ]
* Resync trunk
[ Olivier Tilloy ] angrybirds. com (on both desktop
* Fail gracefully (and silently) when the cookie cannot be set, it
shouldn’t raise an error. (LP: #1336280)
* Override the UA string for chrome.
and mobile). (LP: #1284158)
-- Ubuntu daily release <email address hidden> Thu, 03 Jul 2014 20:43:49 +0000