Skip to content

Commit 18152f2

Browse files
committed
Bug 1469205 [wpt PR 11355] - Update hashchange/popstate event tests, a=testonly
Automatic update from web-platform-testsHTML: update hashchange/popstate event tests For whatwg/html#3737. -- wpt-commits: 81303e16ee14b318d07c9aeb56e16e7499647b7a wpt-pr: 11355 UltraBlame original commit: 3f8d8f2c37e160fc95ce891620a10f6b832b8da6
1 parent e44f13f commit 18152f2

File tree

3 files changed

+82
-4
lines changed

3 files changed

+82
-4
lines changed

testing/web-platform/meta/MANIFEST.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3773726,7 +3773726,7 @@ html
37737263773726
:
37737273773727
[
37737283773728
"
3773729-
4471d424840818a9e3bc5507680a20a6707530b9
3773729+
14ca22c06495da0cf734956ddb2f3c25017fa36c
37737303773730
"
37737313773731
"
37737323773732
testharness
@@ -3774170,7 +3774170,7 @@ html
37741703774170
:
37741713774171
[
37741723774172
"
3774173-
ba82d7fe6f6a903e60987e07a0ad3087d7988837
3774173+
ed84161a523f48546ffc2fd8ba92d16ba0f247fb
37741743774174
"
37741753774175
"
37741763774176
testharness

testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/hashchange_event.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@
177177
e
178178
.
179179
isTrusted
180+
"
181+
isTrusted
182+
"
180183
)
181184
;
182185
assert_equals
@@ -185,6 +188,9 @@
185188
.
186189
target
187190
window
191+
"
192+
target
193+
"
188194
)
189195
;
190196
assert_equals
@@ -195,22 +201,29 @@
195201
"
196202
hashchange
197203
"
204+
"
205+
type
206+
"
198207
)
199208
;
200209
assert_true
201210
(
202211
e
203212
instanceof
204213
HashChangeEvent
214+
"
215+
is
216+
HashChangeEvent
217+
"
205218
)
206219
;
207-
assert_true
220+
assert_false
208221
(
209222
e
210223
.
211224
bubbles
212225
"
213-
bubble
226+
bubbles
214227
"
215228
)
216229
;

testing/web-platform/tests/html/browsers/browsing-the-web/history-traversal/popstate_event.html

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,71 @@
148148
e
149149
)
150150
{
151+
assert_true
152+
(
153+
e
154+
.
155+
isTrusted
156+
"
157+
isTrusted
158+
"
159+
)
160+
;
161+
assert_equals
162+
(
163+
e
164+
.
165+
target
166+
window
167+
"
168+
target
169+
"
170+
)
171+
;
172+
assert_equals
173+
(
174+
e
175+
.
176+
type
177+
"
178+
popstate
179+
"
180+
"
181+
type
182+
"
183+
)
184+
;
185+
assert_true
186+
(
187+
e
188+
instanceof
189+
PopStateEvent
190+
"
191+
is
192+
PopStateEvent
193+
"
194+
)
195+
;
196+
assert_false
197+
(
198+
e
199+
.
200+
bubbles
201+
"
202+
bubbles
203+
"
204+
)
205+
;
206+
assert_false
207+
(
208+
e
209+
.
210+
cancelable
211+
"
212+
cancelable
213+
"
214+
)
215+
;
151216
states
152217
.
153218
push

0 commit comments

Comments
 (0)