Bug 189413

Summary: Tests checking document GC in case of ActiveDOMObjects are flaky
Product: WebKit Reporter: youenn fablet <youennf>
Component: Page LoadingAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, cdumez, commit-queue, eric.carlson, graouts, ryanhaddad, simon.fraser, 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=189704
https://bugs.webkit.org/show_bug.cgi?id=190851
Attachments:
Description Flags
Patch
none
Patch none

Description youenn fablet 2018-09-07 10:13:31 PDT
Tests checking document GC in case of ActiveDOMObjects are flaky
Comment 2 youenn fablet 2018-09-07 10:30:15 PDT
Created attachment 349155 [details]
Patch
Comment 3 WebKit Commit Bot 2018-09-07 16:13:39 PDT
Comment on attachment 349155 [details]
Patch

Clearing flags on attachment: 349155

Committed r235819: <https://trac.webkit.org/changeset/235819>
Comment 4 WebKit Commit Bot 2018-09-07 16:13:41 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2018-09-07 16:14:22 PDT
<rdar://problem/44243231>
Comment 6 Ryan Haddad 2018-09-10 09:36:27 PDT
http/tests/media/clearkey/collect-webkit-media-session.html failed here, and appears to remain quite flaky:
https://build.webkit.org/results/Apple%20High%20Sierra%20Release%20WK1%20(Tests)/r235847%20(7874)/results.html

http/tests/IndexedDB/collect-IDB-objects.https.html failed here:
https://build.webkit.org/results/Apple%20High%20Sierra%20Release%20WK2%20(Tests)/r235833%20(6651)/results.html
Comment 7 Ryan Haddad 2018-09-13 17:47:40 PDT
Reopening because these tests are still flaky.
Comment 8 Simon Fraser (smfr) 2018-09-21 11:42:08 PDT
This means we have no effective leak tracking :(
Comment 9 Ryan Haddad 2018-09-21 11:51:14 PDT
Marked http/tests/media/clearkey/collect-webkit-media-session.html as flaky in https://trac.webkit.org/r236340 because it is frequently popping up on the bots.

Youenn, would you take a look at this.
Comment 10 youenn fablet 2018-09-21 15:02:10 PDT
(In reply to Ryan Haddad from comment #9)
> Marked http/tests/media/clearkey/collect-webkit-media-session.html as flaky
> in https://trac.webkit.org/r236340 because it is frequently popping up on
> the bots.
> 
> Youenn, would you take a look at this.

Looked at it a bit.
Apparently, the document is not always GCed, but it has no pending activity so something else is going on.
I'll try digging further with the GC heap debugger.
Comment 11 youenn fablet 2018-09-21 17:39:26 PDT
Created attachment 350464 [details]
Patch
Comment 12 WebKit Commit Bot 2018-09-22 16:43:00 PDT
Comment on attachment 350464 [details]
Patch

Clearing flags on attachment: 350464

Committed r236389: <https://trac.webkit.org/changeset/236389>
Comment 13 WebKit Commit Bot 2018-09-22 16:43:02 PDT
All reviewed patches have been landed.  Closing bug.