Closed Bug 1302461 Opened 9 years ago Closed 9 years ago

Handle changes to details of mozbrowserlocationchange events

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: asppsa, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 Build ID: 20160824215626 Steps to reproduce: According to my testing the "mozbrowserlocationchange" event as described at https://developer.mozilla.org/en-US/docs/Web/Events/mozbrowserlocationchange has been changed in recent Gecko versions to match the "Servo only" version in that document. There are a smattering of places in the Gaia codebase where at present a URL is being looked for in the "details" attribute of mozbrowserlocationchange. These will need to be changed to "details.url", assuming this is a permanent change to Gecko.
Here's a proposed fix for the only instance I found in the system app of where this was a problem.
Attachment #8790806 - Flags: review?(fabrice)
I've not actually checked to see if the change to mozbrowserlocationchange was intentional or not ...
Depends on: 1279635
(In reply to asppsa from comment #3) > I've not actually checked to see if the change to mozbrowserlocationchange > was intentional or not ... It's definitely intentional! As Fabrice has noted by his reference to bug 1279635. Sorry about the bustage. :-/
Attachment #8790806 - Flags: review?(fabrice) → review+
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: