Closed Bug 1479728 Opened 6 years ago Closed 5 years ago

GeckoViewNavigation.jsm uses unknown property Ci.nsIWebNavigation.LOAD_FLAGS_EXTERNAL

Categories

(GeckoView :: General, defect, P3)

defect

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: standard8, Assigned: snorp)

References

Details

Attachments

(1 file)

In finding properties/constants of idl interfaces that aren't valid I discovered this: mobile/android/modules/geckoview/GeckoViewNavigation.jsm 69:23 error Use of unknown property Ci.nsIWebNavigation.LOAD_FLAGS_EXTERNAL There's also a comment in the file: ``` // These need to match the values in GeckoSession.LOAD_TYPE_* ``` This seems out of date, as I can't see any LOAD_TYPE_* relating to GeckoSession.
Summary: ImageBlockingPolicy.js uses unknown property Ci.nsIContentPolicy.REJECT → GeckoViewNavigation.jsm uses unknown property Ci.nsIWebNavigation.LOAD_FLAGS_EXTERNAL
Assignee: nobody → snorp
Priority: -- → P3
The nsIWebNavigation flag should be LOAD_FLAGS_FROM_EXTERNAL.
When we fix this bug, we should make sure GV apps (like Focus and FxR) set this flag when opening pages from external apps.
Product: Firefox for Android → GeckoView

James, are you still working on this? Would be nice just to cross off the list at some stage.

Flags: needinfo?(snorp)

I haven't worked on this but it's an easy fix. I'll put a patch up.

Flags: needinfo?(snorp)
Pushed by jwillcox@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f5221d3b83b Fix loading with `GeckoSession.LOAD_FLAGS_EXTERNAL` r=geckoview-reviewers,agi
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: