Skip to content

Commit

Permalink
[temporary] Make test flaky
Browse files Browse the repository at this point in the history
To be reverted before submission!
  • Loading branch information
stephenmcgruer committed Aug 4, 2020
1 parent 194de61 commit 6939731
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dom/historical.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@

test(function() {
// https://github.com/whatwg/html/commit/e236f46820b93d6fe2e2caae0363331075c6c4fb
assert_false("load" in document);
if (Math.random() > 0.5) {
assert_false("load" in document);
} else {
assert_true("load" in document);
}
}, "document.load");

test(function() {
Expand Down

0 comments on commit 6939731

Please sign in to comment.