JSProcessActor filtering doesn't work correctly
Categories
(Core :: DOM: Content Processes, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
Details
Attachments
(8 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
The current JSProcessActor test suite doesn't actually test the remoteTypes
filtering, and after adding tests, the filtering doesn't work correctly. This patch is to track fixing these issues.
Assignee | ||
Comment 1•5 years ago
|
||
Previously this option wasn't correctly copied from the WebIDL configuration
object, meaning that it was always ignored.
Assignee | ||
Comment 2•5 years ago
|
||
This is similar to JSWindowActor's includeChrome option, and defaults to
'false'. If users want to also instantiate the actor in-process, they can set
this option to 'true'.
Assignee | ||
Comment 3•5 years ago
|
||
This is needed specifically for tests, which need to be able to unregister &
re-register the same actor with different configuration options. With
JSWindowActors, we can create new windows after each actor is unregistered, but
we can't do this with in-process JSProcessActors.
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
This is no longer necessary, as we now tear down the previously registered
window actors when they're unregistered.
Assignee | ||
Comment 6•5 years ago
|
||
The pref is automatically disabled when disabling unsigned extensions, which can
cause issues. This hacks around that issue in the one place which I noticed
doing that.
Assignee | ||
Comment 7•5 years ago
|
||
This improves the usability of the exceptions produced in this situation.
Assignee | ||
Comment 8•5 years ago
|
||
The reply was never used, and due to other changes in this bug, was causing
ignored exceptions to be thrown occasionally when a query was sent immediately
before unregistering the actor.
Comment 10•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3d4556d1449c
https://hg.mozilla.org/mozilla-central/rev/968555d641c6
https://hg.mozilla.org/mozilla-central/rev/a14f2e220852
https://hg.mozilla.org/mozilla-central/rev/e28575cd2ec2
https://hg.mozilla.org/mozilla-central/rev/6b119cf71282
https://hg.mozilla.org/mozilla-central/rev/cbc811712a24
https://hg.mozilla.org/mozilla-central/rev/f568bf729072
https://hg.mozilla.org/mozilla-central/rev/b878ef9bc226
Updated•5 years ago
|
Description
•