Bug 189413 - Tests checking document GC in case of ActiveDOMObjects are flaky
Summary: Tests checking document GC in case of ActiveDOMObjects are flaky
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-09-07 10:13 PDT by youenn fablet
Modified: 2018-10-24 16:06 PDT (History)
9 users (show)

See Also:


Attachments
Patch (6.89 KB, patch)
2018-09-07 10:30 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (2.17 KB, patch)
2018-09-21 17:39 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.