Skip to content

Commit

Permalink
Bug 1538129 [wpt PR 15982] - WIP Canvas 2D/WebGL context: s/lowLatenc…
Browse files Browse the repository at this point in the history
…y/desynchronized/, a=testonly

Automatic update from web-platform-tests
WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/

This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#643323}

--

wpt-commits: 02e61522099b874a0075d058f89b9f549563c6dc
wpt-pr: 15982

UltraBlame original commit: e67259837e8158c2f585ec79fdd5355eacadcc8b
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 429be51 commit ceb5cc4
Showing 1 changed file with 97 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,60 @@
false
}
}
{
testDescription
:
"
Test
context
creation
attributes
desynchronized
:
true
"
canvasContextAttributes
:
{
desynchronized
:
true
}
expectedContextAttributes
:
{
desynchronized
:
true
}
}
{
testDescription
:
"
Test
context
creation
attributes
desynchronized
:
false
"
canvasContextAttributes
:
{
desynchronized
:
false
}
expectedContextAttributes
:
{
desynchronized
:
false
}
}
]
;
function
Expand Down Expand Up @@ -168,6 +225,19 @@
(
)
;
if
(
testScenario
.
expectedContextAttributes
.
alpha
!
=
=
undefined
)
{
assert_equals
(
contextAttributes
Expand All @@ -181,6 +251,33 @@
)
;
}
if
(
testScenario
.
expectedContextAttributes
.
desynchronized
!
=
=
undefined
)
{
assert_equals
(
contextAttributes
.
desynchronized
testScenario
.
expectedContextAttributes
.
desynchronized
)
;
}
}
testScenario
.
testDescription
Expand Down

0 comments on commit ceb5cc4

Please sign in to comment.