Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b17ccd4f3712b8d42d1113ec3f26423005b28806
      
https://github.com/WebKit/WebKit/commit/b17ccd4f3712b8d42d1113ec3f26423005b28806
  Author: Ryosuke Niwa <[email protected]>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    A 
LayoutTests/fast/dom/NodeIterator/NodeIterator-dont-overcollect-expected.txt
    A LayoutTests/fast/dom/NodeIterator/NodeIterator-dont-overcollect.html
    A LayoutTests/fast/dom/NodeIterator/NodeIterator-leak-document-expected.txt
    A LayoutTests/fast/dom/NodeIterator/NodeIterator-leak-document.html
    A LayoutTests/fast/dom/TreeWalker/TreeWalker-leak-document-expected.txt
    A LayoutTests/fast/dom/TreeWalker/TreeWalker-leak-document.html
    A LayoutTests/fast/dom/resources/leak-check.js

  Log Message:
  -----------
  Add leak tests for NodeIterator and TreeWalker
https://bugs.webkit.org/show_bug.cgi?id=119718

Reviewed by Darin Adler, Geoffrey Garen and Chris Dumez.

Add the leak tests based on 
https://chromium.googlesource.com/chromium/blink/+/65db79784ecd4a7e744d10a26befe5159638a56c
These tests have been modified to account for the fact WebKit / JSC uses a 
conservative GC as opposed to V8's precise GC.

* LayoutTests/fast/dom/NodeIterator/NodeIterator-dont-overcollect-expected.txt: 
Added.
* LayoutTests/fast/dom/NodeIterator/NodeIterator-dont-overcollect.html: Added.
* LayoutTests/fast/dom/NodeIterator/NodeIterator-leak-document-expected.txt: 
Added.
* LayoutTests/fast/dom/NodeIterator/NodeIterator-leak-document.html: Added.
* LayoutTests/fast/dom/TreeWalker/TreeWalker-leak-document-expected.txt: Added.
* LayoutTests/fast/dom/TreeWalker/TreeWalker-leak-document.html: Added.
* LayoutTests/fast/dom/resources/leak-check.js: Added.
(getCounterValues):
(loadSourceIntoIframe):
(async doLeakTest):
(htmlToUrl):
(grabScriptText):

Canonical link: https://commits.webkit.org/254711@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to