Skip to content

Commit f5f4008

Browse files
committed
Bug 1480905 [wpt PR 12305] - Wrap an assert in step_func in a CSP test, a=testonly
Automatic update from web-platform-testsWrap an assert in step_func in a CSP test (#12305) Previously, this test caused a harness error in Firefox and Safari, now the test itself fails correctly instead. Found via web-platform-tests/wpt#10877 (comment). -- wpt-commits: 590992ecaa850723c3300417912a874d94295444 wpt-pr: 12305 UltraBlame original commit: b6e9010c6387a844841891a8d7e6d7cff7c953d7
1 parent e70991f commit f5f4008

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

testing/web-platform/meta/MANIFEST.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2942125,7 +2942125,7 @@ html
29421252942125
:
29421262942126
[
29421272942127
"
2942128-
69657efda7e158179aad8ab5688e56e344a9b05d
2942128+
568c469b063c0faaed83cf9551b56a3bf7d2b3d9
29421292942129
"
29421302942130
"
29421312942131
testharness

testing/web-platform/tests/content-security-policy/unsafe-hashes/style_attribute_allowed.html

+9-6
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,15 @@
144144
"
145145
)
146146
;
147-
function
147+
self
148+
.
148149
check_for_style
150+
=
151+
t1
152+
.
153+
step_func_done
154+
(
155+
function
149156
(
150157
)
151158
{
@@ -168,13 +175,9 @@
168175
background
169176
)
170177
;
171-
t1
172-
.
173-
done
174-
(
178+
}
175179
)
176180
;
177-
}
178181
window
179182
.
180183
addEventListener

0 commit comments

Comments
 (0)