Skip to content

Commit

Permalink
Enable fake fillText API in all builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Oct 2, 2018
1 parent de415e3 commit c3c8aab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
2 changes: 1 addition & 1 deletion 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,
Expand Down
1 change: 1 addition & 0 deletions tests/wpt/metadata/2dcontext/__dir__.ini
@@ -0,0 +1 @@
prefs: ["dom.canvas-text.enabled:false"]
18 changes: 0 additions & 18 deletions tests/wpt/metadata/html/dom/interfaces.https.html.ini
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit c3c8aab

Please sign in to comment.