Skip to content

Commit

Permalink
Bug 1539650 [wpt PR 16084] - Extend canvas getContextAttributes WPTes…
Browse files Browse the repository at this point in the history
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserbchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084

UltraBlame original commit: f0294cf3eb4247c971f3860ff55bcdfd36029b05
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 47624bd commit 7369d9b
Showing 1 changed file with 70 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
alpha
:
true
desynchronized
:
false
}
}
{
Expand Down Expand Up @@ -115,6 +118,33 @@
false
}
}
{
testDescription
:
"
Test
context
creation
attributes
desynchronized
:
false
"
canvasContextAttributes
:
{
desynchronized
:
false
}
expectedContextAttributes
:
{
desynchronized
:
false
}
}
]
;
function
Expand Down Expand Up @@ -168,6 +198,19 @@
(
)
;
if
(
testScenario
.
expectedContextAttributes
.
alpha
!
=
=
undefined
)
{
assert_equals
(
contextAttributes
Expand All @@ -181,6 +224,33 @@
)
;
}
if
(
testScenario
.
expectedContextAttributes
.
desynchronized
!
=
=
undefined
)
{
assert_equals
(
contextAttributes
.
desynchronized
testScenario
.
expectedContextAttributes
.
desynchronized
)
;
}
}
testScenario
.
testDescription
Expand Down

0 comments on commit 7369d9b

Please sign in to comment.