Skip to content

Commit

Permalink
Bug 1866874 [wpt PR 43377] - Address concerns about CSSStyleSheet-con…
Browse files Browse the repository at this point in the history
…structable-concat.html, a=testonly

Automatic update from web-platform-tests
Address concerns about CSSStyleSheet-constructable-concat.html

See [1] for comments, but this CL adds reftest-wait to ensure
the test finishes before the image capture, and adds PASS lines
for all passed tests.

This makes no difference in Chromium, but ensures this test
works correctly in other browsers.

[1] web-platform-tests/wpt#43310

Bug: 1236777
Change-Id: I849284eafdd0afb630a11b0a9e6b73bc0264fd6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5062333
Reviewed-by: Joey Arhar <jarharchromium.org>
Commit-Queue: Mason Freed <masonfchromium.org>
Commit-Queue: Joey Arhar <jarharchromium.org>
Auto-Submit: Mason Freed <masonfchromium.org>
Cr-Commit-Position: refs/heads/main{#1229509}

--

wpt-commits: 2f79845b3d3e3a0244c8512df9b6c430e5a1d2f7
wpt-pr: 43377

UltraBlame original commit: fc535649c0bf241509629e174a6e2bd92270e783
  • Loading branch information
marco-c committed Dec 7, 2023
1 parent 012baa8 commit c11d47a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,19 @@
span
>
<
pre
>
Tests
:
PASS
PASS
PASS
PASS
<
/
pre
>
<
style
>
span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
html
>
<
html
class
=
"
reftest
-
wait
"
>
<
meta
charset
=
Expand Down Expand Up @@ -132,8 +142,10 @@
pre
id
=
errors
tests
>
Tests
:
<
/
pre
Expand All @@ -148,46 +160,45 @@
val2
)
{
if
(
const
t
=
val1
=
=
=
val2
)
{
return
;
}
const
t
=
document
.
createTextNode
(
?
'
PASS
'
:
FAIL
!
{
val1
}
should
be
equal
to
!
=
=
{
val2
}
\
n
)
;
errors
tests
.
appendChild
(
document
.
createTextNode
(
{
t
}
\
n
)
)
;
}
Expand Down Expand Up @@ -341,6 +352,21 @@
1
)
;
document
.
documentElement
.
classList
.
remove
(
"
reftest
-
wait
"
)
;
}
;
<
Expand Down

0 comments on commit c11d47a

Please sign in to comment.