Bug 263050

Summary: REGRESSION(iOS17): [ iOS17 wk2 ] fast/dom/collection-iterators.html is a constant failure.
Product: WebKit Reporter: Ben Schwartz <ben_schwartz>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, 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=262489

Description Ben Schwartz 2023-10-11 17:38:51 PDT
fast/dom/collection-iterators.html

This test is constantly failing on iOS17 wk2.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=accessibility%2Fios-simulator%2Finput-type-time.html

TEXT DIFF:

+CONSOLE MESSAGE: ReferenceError: Can't find variable: MediaSource
 Tests that interfaces with an indexed getter and an integer-type length attribute get an iterator.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -138,51 +139,7 @@
 PASS 'forEach' in obj is false
 PASS 'values' in obj is false
 
-* StyleSheetList
-PASS obj.__proto__ is StyleSheetList.prototype
-PASS Symbol.iterator in obj is true
-PASS for..of did not throw an exception
-PASS 'entries' in obj is false
-PASS 'keys' in obj is false
-PASS 'forEach' in obj is false
-PASS 'values' in obj is false
-
-* TextTrackCueList
-PASS obj.__proto__ is TextTrackCueList.prototype
-PASS Symbol.iterator in obj is true
-PASS for..of did not throw an exception
-PASS 'entries' in obj is false
-PASS 'keys' in obj is false
-PASS 'forEach' in obj is false
-PASS 'values' in obj is false
-
-* TextTrackList
-PASS obj.__proto__ is TextTrackList.prototype
-PASS Symbol.iterator in obj is true
-PASS for..of did not throw an exception
-PASS 'entries' in obj is false
-PASS 'keys' in obj is false
-PASS 'forEach' in obj is false
-PASS 'values' in obj is false
-
-* VideoTrackList
-PASS obj.__proto__ is VideoTrackList.prototype
-PASS Symbol.iterator in obj is true
-PASS for..of did not throw an exception
-PASS 'entries' in obj is false
-PASS 'keys' in obj is false
-PASS 'forEach' in obj is false
-PASS 'values' in obj is false
-
-* VTTRegionList
-PASS Symbol.iterator in obj is true
-PASS for..of did not throw an exception
-PASS 'entries' in obj is false
-PASS 'keys' in obj is false
-PASS 'forEach' in obj is false
-PASS 'values' in obj is false
-
-PASS successfullyParsed is true
+FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
 
 TEST COMPLETE

DIFF URL:

https://build.webkit.org/results/Apple-iOS-17-Simulator-Debug-WK2-Tests/269213@main%20(113)/fast/dom/collection-iterators-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on the iPhone 12 simulator (17.0.1) ToT using the following command:

run-webkit-tests --clobber-old-results --verbose --ios-simulator fast/dom/collection-iterators.html

REGRESSION:

This test has been constantly failing since the bring-up of iOS 17 testers at 268517@main.
Comment 1 Radar WebKit Bug Importer 2023-10-11 17:39:13 PDT
<rdar://problem/116838330>
Comment 2 EWS 2023-10-11 17:47:04 PDT
Test gardening commit 269231@main (f0e87effdad9): <https://commits.webkit.org/269231@main>

Reviewed commits have been landed. Closing PR #18969 and removing active labels.
Comment 3 Chris Dumez 2023-10-12 08:03:09 PDT
According to this:
```
#if ENABLE(MEDIA_SOURCE)

bool defaultMediaSourceEnabled()
{
    return !PAL::deviceClassIsSmallScreen();
}

#endif
```

MediaSource is disabled on small screens (iPhones) so it is expected I believe.
Comment 4 Chris Dumez 2023-10-12 08:17:05 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18997
Comment 5 EWS 2023-10-12 12:55:37 PDT
Committed 269268@main (6cd43ab65889): <https://commits.webkit.org/269268@main>

Reviewed commits have been landed. Closing PR #18997 and removing active labels.
Comment 6 EWS 2023-10-24 13:42:47 PDT
Committed 267815.422@safari-7617-branch (6fdf71cdf6db): <https://commits.webkit.org/267815.422@safari-7617-branch>

Reviewed commits have been landed. Closing PR #871 and removing active labels.