Closed
Bug 1444138
Opened 7 years ago
Closed 7 years ago
onLocationChange() sometimes gives URIs for non-toplevel frames
Categories
(GeckoView :: General, enhancement, P1)
GeckoView
General
Tracking
(firefox61 fixed)
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: snorp, Assigned: droeh)
References
(Blocks 1 open bug)
Details
(Whiteboard: [geckoview:klar])
Attachments
(1 file)
938 bytes,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1439013 +++
comment #4 in bug 1439013 indicates that we are firing onLocationChange() for iframes or something. That's bad.
Updated•7 years ago
|
Assignee: nobody → droeh
Assignee | ||
Comment 1•7 years ago
|
||
If we only want to report top-level location changes, this patch should do the trick. Otherwise we could change the API and pass isTopLevel to onLocationChange, if there's some reason that info might be interesting to a consumer.
Attachment #8961540 -
Flags: review?(snorp)
Reporter | ||
Comment 2•7 years ago
|
||
Comment on attachment 8961540 [details] [diff] [review]
Only report top-level location changes
Review of attachment 8961540 [details] [diff] [review]:
-----------------------------------------------------------------
Whoops!
Attachment #8961540 -
Flags: review?(snorp) → review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5a91e917151b
Only report top-level location changes via NavigationDelegate.onLocationChange() r=snorp
Comment 4•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 61 → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•