Bug 215706

Summary: [ iOS Debug ] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-createHTMLDocument-parse-error-external-classic.html is a flaky failure
Product: WebKit Reporter: Hector Lopez <hector_i_lopez>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gsnedders, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=217931

Description Hector Lopez 2020-08-20 11:31:20 PDT
imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-createHTMLDocument-parse-error-external-classic.html

Test is a flaky failure according to history on iOS wk2 Debug. The first occurrence of failure is at r264908 but no determination on whether this change was responsible.

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fscripting-1%2Fthe-script-element%2Fmoving-between-documents%2Fbefore-prepare-createHTMLDocument-parse-error-external-classic.html&platform=ios&style=debug&limit=50000

Diff:
--- /Volumes/Data/slave/ipados-simulator-13-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-createHTMLDocument-parse-error-external-classic-expected.txt
+++ /Volumes/Data/slave/ipados-simulator-13-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-createHTMLDocument-parse-error-external-classic-actual.txt
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: SyntaxError: Left side of assignment is not a reference.
+CONSOLE MESSAGE: ReferenceError: Can't find variable: scriptOnLoad
  
 
 PASS Sanity check around top-level Window
Comment 1 Radar WebKit Bug Importer 2020-08-20 11:31:44 PDT
<rdar://problem/67494686>
Comment 2 Hector Lopez 2020-08-20 11:38:31 PDT
Test expectation while investigated:

https://trac.webkit.org/changeset/265954/webkit
Comment 3 Ryan Haddad 2020-09-08 12:12:08 PDT
This test was imported in https://trac.webkit.org/changeset/263987, maybe it has been flaky since the start?
Comment 4 Ryan Haddad 2020-09-08 12:16:51 PDT
(In reply to Ryan Haddad from comment #3)
> This test was imported in https://trac.webkit.org/changeset/263987, maybe it
> has been flaky since the start?
It looks like the first failure on iOS didn't happen until 20 days after import, but it was flaking on GTK bots almost immediately.
Comment 5 Sam Sneddon [:gsnedders] 2020-12-08 13:43:57 PST

*** This bug has been marked as a duplicate of bug 217931 ***