| Index: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/script-tests/class-list-gc.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/script-tests/class-list-gc.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/script-tests/class-list-gc.js
|
| deleted file mode 100644
|
| index c3b3153540fe1f0e05c57592ed3540fc5377a2f1..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/script-tests/class-list-gc.js
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -description('This tests that properties on the classList persists GC.');
|
| -
|
| -function gc()
|
| -{
|
| - if (window.GCController)
|
| - return GCController.collect();
|
| -
|
| - for (var i = 0; i < 10000; i++) {
|
| - var s = new String;
|
| - }
|
| -}
|
| -
|
| -var d = document.createElement('div');
|
| -
|
| -// Ensure the classList is created.
|
| -var classList = d.classList;
|
| -
|
| -// Set a custom property.
|
| -d.classList.life = 42;
|
| -shouldEvaluateTo('d.classList.life', 42);
|
| -
|
| -// Null out reference to the dataset.
|
| -classList = null;
|
| -
|
| -gc();
|
| -
|
| -// Test that the classList wrapper persisted the GC and still has the custom property.
|
| -shouldEvaluateTo('d.classList.life', 42);
|
|
|