diff --git a/dom/historical.html b/dom/historical.html index 8a71e364e5ef30a..c1867df0762cd54 100644 --- a/dom/historical.html +++ b/dom/historical.html @@ -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() {