mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 912322 - Sync pref from reftest-cmdline.js to bootstrap.js. r=jgriffin
This commit is contained in:
parent
1acd4e13cc
commit
74a8289887
@ -54,4 +54,4 @@ load 806751.html
|
||||
load 833856.html
|
||||
load 854604.html
|
||||
load 854139.html
|
||||
pref(dom.use_xbl_scopes_for_remote_xul,true) skip-if(Android) load 898939.html
|
||||
pref(dom.use_xbl_scopes_for_remote_xul,true) load 898939.html
|
||||
|
@ -1171,8 +1171,8 @@ fuzzy(127,2) == 448193.html 448193-ref.html
|
||||
!= 449149-1a.html about:blank
|
||||
!= 449149-1b.html about:blank
|
||||
# Retry the above with XBL scopes
|
||||
test-pref(dom.use_xbl_scopes_for_remote_xul,true) fails-if(Android) != 449149-1a.html about:blank
|
||||
test-pref(dom.use_xbl_scopes_for_remote_xul,true) fails-if(Android) != 449149-1b.html about:blank
|
||||
test-pref(dom.use_xbl_scopes_for_remote_xul,true) != 449149-1a.html about:blank
|
||||
test-pref(dom.use_xbl_scopes_for_remote_xul,true) != 449149-1b.html about:blank
|
||||
== 449149-2.html 449149-2-ref.html
|
||||
== 449171-1.html 449171-ref.html
|
||||
== 449362-1.html 449362-1-ref.html
|
||||
|
5
layout/tools/reftest/bootstrap.js
vendored
5
layout/tools/reftest/bootstrap.js
vendored
@ -12,6 +12,11 @@ function setDefaultPrefs() {
|
||||
var prefs = Components.classes["@mozilla.org/preferences-service;1"].
|
||||
getService(Components.interfaces.nsIPrefService);
|
||||
var branch = prefs.getDefaultBranch("");
|
||||
// For mochitests, we're more interested in testing the behavior of in-
|
||||
// content XBL bindings, so we set this pref to true. In reftests, we're
|
||||
// more interested in testing the behavior of XBL as it works in chrome,
|
||||
// so we want this pref to be false.
|
||||
branch.setBoolPref("dom.use_xbl_scopes_for_remote_xul", false);
|
||||
branch.setBoolPref("gfx.color_management.force_srgb", true);
|
||||
branch.setBoolPref("browser.dom.window.dump.enabled", true);
|
||||
branch.setIntPref("ui.caretBlinkTime", -1);
|
||||
|
Loading…
Reference in New Issue
Block a user