Mochitest Android Fission - Permission denied to access property \"document\" on cross-origin object\"
Categories
(GeckoView Graveyard :: Sandboxing, defect, P1)
Tracking
(firefox98 wontfix, firefox99 wontfix, firefox100 wontfix, firefox101 wontfix, firefox102 fixed)
People
(Reporter: agi, Assigned: agi)
References
(Blocks 1 open bug)
Details
(Keywords: perf-alert, Whiteboard: [fission:android:m2][geckoview:m100] [geckoview:m101] [geckoview:m102])
Attachments
(2 files)
This test appears when using --enable-xorigin-test
:
TEST-UNEXPECTED-FAIL | dom/tests/mochitest/bugs/test_errorReporting.html | monitorConsole | [0] must match {"message":"[JavaScript Error: \"SecurityError: Permission denied to access property \"document\" on cross-origin object\" {file: \"resource:///actors/GeckoViewAutoFillChild.jsm\" line: 70}]\nhandleEvent@resource:///actors/GeckoViewAutoFillChild.jsm:70:13\n","errorMessage":"SecurityError: Permission denied to access property \"document\"
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
The test failure in the bug is failing because the eventDispatcher in the actor
was previously only available in the top-level-frame.
In addition to adjusting for ActorDispatcher, this patch also makes every actor
handle its own frame (rather than handling all the in-process children) which
simplifies the code a bit.
We also modify the test to use a third-party iframe so that the OOP iframe case
is covered.
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
With Fission, pageshow
and pagehide
are not guaranteed to happen in order,
e.g. we might get the following order of events:
pageshow -- navigate to example.org
pageshow -- navigate to google.com
pagehide -- example.org is now hidden
which would break the previous assumption that we could rely on the order of
show and hide events.
To handle that, we keep track of the most-recent-added session and we assume
that that is the session bening displayed.
In the future, we might consider keeping state of all sessions until a
pagehide
event for the specific session arrives.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Backed out for causing lint failures in Autofill
Backout link: https://hg.mozilla.org/integration/autoland/rev/1254448a9518995f5922080912755262c984bdfd
https://hg.mozilla.org/mozilla-central/rev/e67c51d1a861
https://hg.mozilla.org/mozilla-central/rev/122a25c67ed6
Comment 7•2 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 9•2 years ago
|
||
(In reply to Pulsebot from comment #5)
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e67c51d1a861
Adjust GeckoViewAutoFillChild for ActorDispatcher r=owlish
https://hg.mozilla.org/integration/autoland/rev/122a25c67ed6
Make sure autofill session is reset after navigation. r=owlish
== Change summary for alert #34165 (as of Wed, 18 May 2022 14:36:42 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
2% | google loadtime | android-hw-a51-11-0-arm7-shippable-qr | fission warm webrender | 277.90 -> 271.50 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=34165
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Moving Android Fission bugs to the new GeckoView::Sandboxing component.
Updated•5 months ago
|
Description
•