The smartbanner user script raises an exception when browsing to an invalid URL

Bug #1336280 reported by Olivier Tilloy
6
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

Olivier Tilloy (osomon)
Changed in webbrowser-app:
assignee: nobody → Olivier Tilloy (osomon)
status: New → In Progress
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+14.10.20140703-0ubuntu1

---------------
webbrowser-app (0.23+14.10.20140703-0ubuntu1) utopic; urgency=low

  [ CI bot ]
  * Resync trunk

  [ Olivier Tilloy ]
  * Fail gracefully (and silently) when the cookie cannot be set, it
    shouldn’t raise an error. (LP: #1336280)
  * Override the UA string for chrome.angrybirds.com (on both desktop
    and mobile). (LP: #1284158)
 -- Ubuntu daily release <email address hidden> Thu, 03 Jul 2014 20:43:49 +0000

Changed in webbrowser-app (Ubuntu):
status: New → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.