mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1252869 - Fix browser_experiments.js to work with e10s. r=gfritzsche a=lizzard
MozReview-Commit-ID: 2ljJQ1Hfi9k
This commit is contained in:
parent
4fc1561eeb
commit
d560c581ae
@ -40,7 +40,6 @@ skip-if = e10s # Bug ?????? - test times out on try on all platforms, but works
|
||||
[browser_dragdrop.js]
|
||||
skip-if = buildapp == 'mulet'
|
||||
[browser_experiments.js]
|
||||
skip-if = e10s
|
||||
[browser_list.js]
|
||||
[browser_metadataTimeout.js]
|
||||
[browser_searching.js]
|
||||
|
@ -225,7 +225,12 @@ add_task(function* testOpenPreferences() {
|
||||
}, "advanced-pane-loaded", false);
|
||||
|
||||
info("Loading preferences pane.");
|
||||
EventUtils.synthesizeMouseAtCenter(btn, {}, gManagerWindow);
|
||||
// We need to focus before synthesizing the mouse event (bug 1240052) as
|
||||
// synthesizeMouseAtCenter currently only synthesizes the mouse in the child process.
|
||||
// This can cause some subtle differences if the child isn't focused.
|
||||
yield SimpleTest.promiseFocus();
|
||||
yield BrowserTestUtils.synthesizeMouseAtCenter("#experiments-change-telemetry", {},
|
||||
gBrowser.selectedBrowser);
|
||||
|
||||
yield deferred.promise;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user