Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel
Categories
(Core :: DOM: Navigation, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: annyG, Assigned: smaug)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
This changes the test a bit. It doesn't test BroadcastChannel's postMessage anymore, but receiving the message.
I can't see how postMessage could be tested, since given the new setup, no one should have access to it anymore.
This is functionally now very similar to another test I wrote recently, but I think it is fine to keep this too.
Updated•3 years ago
|
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f77ab0956d89 Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel, r=annyG
Comment 5•3 years ago
|
||
Backed out for failures on test_bfcache.html
backout: https://hg.mozilla.org/integration/autoland/rev/2c4ad70732411b23ca13a77b046f11a98b254a86
failure log: https://treeherder.mozilla.org/logviewer?job_id=334618535&repo=autoland&lineNumber=1803
[task 2021-03-27T00:36:21.514Z] 00:36:21 INFO - TEST-PASS | dom/broadcastchannel/tests/test_bfcache.html | test page should have been persisted initially
[task 2021-03-27T00:36:21.514Z] 00:36:21 INFO - Posting a message.
[task 2021-03-27T00:36:21.514Z] 00:36:21 INFO - Going back
[task 2021-03-27T00:36:21.514Z] 00:36:21 INFO - Buffered messages finished
[task 2021-03-27T00:36:21.515Z] 00:36:21 WARNING - TEST-UNEXPECTED-FAIL | dom/broadcastchannel/tests/test_bfcache.html | test page should have been persisted in pageshow - got true, expected false
[task 2021-03-27T00:36:21.515Z] 00:36:21 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:500:14
[task 2021-03-27T00:36:21.515Z] 00:36:21 INFO - page1Shown@dom/broadcastchannel/tests/test_bfcache.html:43:9
[task 2021-03-27T00:36:21.515Z] 00:36:21 INFO - bc1.onmessage@dom/broadcastchannel/tests/test_bfcache.html:30:15
[task 2021-03-27T00:36:21.515Z] 00:36:21 INFO - Closed
[task 2021-03-27T00:36:21.516Z] 00:36:21 INFO - TEST-OK | dom/broadcastchannel/tests/test_bfcache.html | took 1683ms
Reporter | ||
Updated•3 years ago
|
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bf06838068c7 Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel, r=annyG
Comment 9•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•