Closed
Bug 1253713
Opened 7 years ago
Closed 7 years ago
[e10s] Make widget/tests/test_plugin_scroll_invalidation.html work under e10s
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
3.28 KB,
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
[e10s] Make widget/tests/test_plugin_scroll_invalidation.html work under e10s. Andrew, this patch is based off your patch in bug 1237799. It moves the test to dom/plugins/test/mochitest/ and calls setTestPluginEnabledState, which fixes the test locally for me on e10s and also it looks like on try (but I don't understand why :-)) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e3d415ca2221
Attachment #8726905 -
Flags: review?(continuation)
Assignee | ||
Updated•7 years ago
|
Attachment #8726905 -
Attachment is patch: true
Comment 1•7 years ago
|
||
The reason the patch works is that the implementation of setTestPluginEnabledState in the widget directory is broken in e10s (it tries to set the property directly, but that can't be done in the content process): http://mxr.mozilla.org/mozilla-central/source/widget/tests/utils.js but the one in plugin-utils has been fixed (it uses a special powers function to send a message to the parent process that actually does the change, or something like that): http://mxr.mozilla.org/mozilla-central/source/dom/plugins/test/mochitest/plugin-utils.js#28 The basic problem is that people copied and pasted this broken setTestPluginEnableState thing all over the place. I guess the widget utils.js one can't just be fixed because there are still other Mochitest Chrome tests that use it. Ideally, SpecialPowers.testPluginState() would be fixed to not require a wrapper like this and then we wouldn't need plugin-utils.js but nobody has gotten around to it.
Comment 2•7 years ago
|
||
Anyways, I filed bug 1253742 for making SpecialPowers nicer but I guess this is okay for now.
Updated•7 years ago
|
Attachment #8726905 -
Flags: review?(continuation) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/85e94038875f
Assignee | ||
Comment 4•7 years ago
|
||
Shoulda pushed that to inbound....
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/85e94038875f
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•10 months ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•