Bug 215283

Summary: [ iOS wk2 Debug ] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-iframe-success-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-07 11:26:32 PDT
imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-iframe-success-external-classic.html

This test is a flaky failure according to history on iOS wk2 Debug. First occurrence of failure is at r264007.

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-iframe-success-external-classic.html&limit=50000&platform=ios&style=debug

Diff:
--- /Volumes/Data/slave/ios-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-iframe-success-external-classic-expected.txt
+++ /Volumes/Data/slave/ios-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-iframe-success-external-classic-actual.txt
@@ -1,9 +1,10 @@
 CONSOLE MESSAGE: exec
+CONSOLE MESSAGE: ReferenceError: Can't find variable: scriptOnLoad
  
 
 PASS Sanity check around top-level Window 
-FAIL Eval: Move success external classic script to iframe before-prepare assert_false: The script must not have executed in destination window expected false got "executed"
-FAIL <script> load: Move success external classic script to iframe before-prepare assert_unreached: Script load event fired unexpectedly Reached unreachable code
+PASS Eval: Move success external classic script to iframe before-prepare 
+PASS <script> load: Move success external classic script to iframe before-prepare 
 PASS <script> error: Move success external classic script to iframe before-prepare 
 PASS window error: Move success external classic script to iframe before-prepare
Comment 1 Radar WebKit Bug Importer 2020-08-07 11:27:49 PDT
<rdar://problem/66691518>
Comment 2 Hector Lopez 2020-08-07 11:35:12 PDT
Test expectation while investigated:

https://trac.webkit.org/changeset/265385/webkit
Comment 3 Sam Sneddon [:gsnedders] 2020-12-08 13:43:51 PST

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