Open
Bug 1849060
Opened 1 year ago
Updated 1 year ago
[gv-junit-fis] Receiving unexpected Principal within RecvNewWindowGlobal
Categories
(GeckoView :: Sandboxing, task, P1)
Tracking
(Not tracked)
NEW
People
(Reporter: owlish, Assigned: owlish)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fission:android:m2] [geckoview:2022q3][geckoview:m119?])
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
You need to log in
before you can comment on or make changes to this bug.
Description
•