diff --git a/resources/prefs.json b/resources/prefs.json index be80de918182..375fd7ee9ee3 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 000000000000..bb4eaa09db09 --- /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 0074b8bf8542..3ddf0903edc3 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