From 63a6b367bea45301e228ddcba9b299d19e9bd823 Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Mon, 15 Apr 2019 15:38:09 -0400 Subject: [PATCH 1/3] [websockets] Correct failure case The test titled `002.html` includes a document which references an undefined property, `asset_equals`. Correcting this typo would allow tests to pass spuriously (that is: when the document is not discarded). Replace the assertion that was originally intended with `assert_unreached` so that user agents which execute this code path report a test failure. The test titled `001.html` also includes a misspelled reference, but it does not rely on the value. Remove the reference. --- websockets/unload-a-document/001-1.html | 1 - websockets/unload-a-document/002-1.html | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/websockets/unload-a-document/001-1.html b/websockets/unload-a-document/001-1.html index bd0c3668695493..75d689e0b3d2e2 100644 --- a/websockets/unload-a-document/001-1.html +++ b/websockets/unload-a-document/001-1.html @@ -6,7 +6,6 @@