mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 846890 - Disable security.fileuri.strict_origin_policy for reftests (r=dbaron,dholbert)
This commit is contained in:
parent
4ab878af5c
commit
1689cf025e
@ -142,7 +142,10 @@ skip-if(B2G) == use-01-extref.svg pass.svg
|
||||
== filter-basic-03.svg pass.svg
|
||||
== filter-bounds-01.svg pass.svg
|
||||
== filter-bounds-02.svg pass.svg
|
||||
fails-if(Android||B2G) == filter-extref-differentOrigin-01.svg pass.svg # Bug 695385
|
||||
# This pref is normally on by default, but we turn it off in reftest runs to
|
||||
# disable an unnecessary security-check. This reftest is actually testing that
|
||||
# the security check works, though, so it needs the pref to be turned on:
|
||||
fails-if(Android||B2G) pref(security.fileuri.strict_origin_policy,true) == filter-extref-differentOrigin-01.svg pass.svg # Bug 695385
|
||||
== filter-foreignObject-01.svg pass.svg
|
||||
== filter-in-mask-01.svg pass.svg
|
||||
skip-if(B2G) == filter-invalidation-01.svg pass.svg
|
||||
|
@ -97,6 +97,9 @@ RefTestCmdLineHandler.prototype =
|
||||
branch.setIntPref("urlclassifier.updateinterval", 172800);
|
||||
// Disable high-quality downscaling, since it makes reftests more difficult.
|
||||
branch.setBoolPref("image.high_quality_downscaling.enabled", false);
|
||||
// Checking whether two files are the same is slow on Windows.
|
||||
// Setting this pref makes tests run much faster there.
|
||||
branch.setBoolPref("security.fileuri.strict_origin_policy", false);
|
||||
|
||||
var wwatch = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||
.getService(nsIWindowWatcher);
|
||||
|
Loading…
Reference in New Issue
Block a user