Closed
Bug 1849060
Opened 1 year ago
Closed 11 months ago
[gv-junit-fis] Receiving unexpected Principal within RecvNewWindowGlobal
Categories
(GeckoView Graveyard :: Sandboxing, task, P1)
Tracking
(firefox121 fixed)
RESOLVED
FIXED
121 Branch
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: owlish, Assigned: owlish)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fission:android:m2] [geckoview:2022q3][geckoview:m119?][fxdroid]])
Attachments
(1 file)
This happens during the error page load. The error message:
Receiving unexpected Principal (http://localhost:4245/assets/www/hello.html) within RecvNewWindowGlobal
MOZ_Assert org.mozilla.geckoview.test A Assertion failure: false (Receiving unexpected Principal), at /Users/owlish/code/gecko/dom/ipc/ContentParent.cpp:1330
(http://localhost:4245/assets/www/hello.html
is the error page address) Happens because we are trying to load an HTTP resource as the error page in the wrong process. HTTP as error pages is not something that we can easily support even if we implement a custom channel for async redirect to process switch (see bugs 1673763 and 1848701 for context).
What's needed here:
- Make sure the undesirability of HTTP resource as the error page is communicated in the API documentation
- Consider having URI validation in GeckoView
- Change the error page URI in the tests
STR:
Run any of these with Fission enabled:
- NavigationDelegateTest#loadUnknownHost
- NavigationDelegateTest#loadUntrusted
- NavigationDelegateTest#safebrowsingPhishing
- NavigationDelegateTest#safebrowsingMalware
- NavigationDelegateTest#safebrowsingUnwanted
- NavigationDelegateTest#safebrowsingHarmful
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee: nobody → bugzeeeeee
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P1
Assignee | ||
Updated•1 year ago
|
Whiteboard: [fission:android:m2] [geckoview:2022q3][geckoview:m119?] → [fission:android:m2] [geckoview:2022q3][geckoview:m119?][fxdroid]]
Updated•1 year ago
|
Assignee | ||
Comment 2•11 months ago
|
||
Pushed by istorozhko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/14791c645827
Use non-html links for error pages in tests r=geckoview-reviewers,zmckenney
Comment 4•11 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 11 months ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Updated•4 months ago
|
Product: GeckoView → GeckoView Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•