aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/prefs.json2
-rw-r--r--tests/wpt/metadata/2dcontext/__dir__.ini1
-rw-r--r--tests/wpt/metadata/html/dom/interfaces.https.html.ini18
3 files changed, 2 insertions, 19 deletions
diff --git a/resources/prefs.json b/resources/prefs.json
index be80de91818..375fd7ee9ee 100644
--- a/resources/prefs.json
+++ b/resources/prefs.json
@@ -1,7 +1,7 @@
{
"dom.bluetooth.enabled": false,
"dom.bluetooth.testing.enabled": false,
- "dom.canvas-text.enabled": false,
+ "dom.canvas-text.enabled": true,
"dom.compositionevent.enabled": false,
"dom.customelements.enabled": true,
"dom.forcetouch.enabled": false,
diff --git a/tests/wpt/metadata/2dcontext/__dir__.ini b/tests/wpt/metadata/2dcontext/__dir__.ini
new file mode 100644
index 00000000000..bb4eaa09db0
--- /dev/null
+++ b/tests/wpt/metadata/2dcontext/__dir__.ini
@@ -0,0 +1 @@
+prefs: ["dom.canvas-text.enabled:false"]
diff --git a/tests/wpt/metadata/html/dom/interfaces.https.html.ini b/tests/wpt/metadata/html/dom/interfaces.https.html.ini
index 0074b8bf854..3ddf0903edc 100644
--- a/tests/wpt/metadata/html/dom/interfaces.https.html.ini
+++ b/tests/wpt/metadata/html/dom/interfaces.https.html.ini
@@ -4259,9 +4259,6 @@
[CanvasRenderingContext2D interface: operation scrollPathIntoView(Path2D)]
expected: FAIL
- [CanvasRenderingContext2D interface: operation fillText(DOMString, unrestricted double, unrestricted double, unrestricted double)]
- expected: FAIL
-
[CanvasRenderingContext2D interface: operation strokeText(DOMString, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
@@ -4334,12 +4331,6 @@
[CanvasRenderingContext2D interface: calling scrollPathIntoView(Path2D) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
expected: FAIL
- [CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "fillText(DOMString, unrestricted double, unrestricted double, unrestricted double)" with the proper type]
- expected: FAIL
-
- [CanvasRenderingContext2D interface: calling fillText(DOMString, unrestricted double, unrestricted double, unrestricted double) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
- expected: FAIL
-
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "strokeText(DOMString, unrestricted double, unrestricted double, unrestricted double)" with the proper type]
expected: FAIL
@@ -10292,9 +10283,6 @@
[CanvasRenderingContext2D interface: operation scrollPathIntoView(Path2D)]
expected: FAIL
- [CanvasRenderingContext2D interface: operation fillText(DOMString, unrestricted double, unrestricted double, unrestricted double)]
- expected: FAIL
-
[CanvasRenderingContext2D interface: operation strokeText(DOMString, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
@@ -10367,12 +10355,6 @@
[CanvasRenderingContext2D interface: calling scrollPathIntoView(Path2D) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
expected: FAIL
- [CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "fillText(DOMString, unrestricted double, unrestricted double, unrestricted double)" with the proper type]
- expected: FAIL
-
- [CanvasRenderingContext2D interface: calling fillText(DOMString, unrestricted double, unrestricted double, unrestricted double) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
- expected: FAIL
-
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "strokeText(DOMString, unrestricted double, unrestricted double, unrestricted double)" with the proper type]
expected: FAIL