Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js b/third_party/WebKit/LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js
deleted file mode 100644
index 7e616ff7b169e8301f5dc8489fc8ac4348458f46..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Asynchronous tests should manually call finishPaintInvalidationTest at the appropriate time.
-window.testIsAsync = false;
-
-// All paint invalidation tests are asynchronous from test-runner's point of view.
-if (window.testRunner) {
- testRunner.waitUntilDone();
- if (document.location.hash == '#as-text')
- testRunner.dumpAsText();
-}
-
-function runPaintInvalidationTest()
-{
- if (!window.testRunner || !window.internals) {
- setTimeout(paintInvalidationTest, 500);
- return;
- }
-
- testRunner.layoutAndPaintAsyncThen(function()
- {
- window.internals.startTrackingPaintInvalidationObjects();
- paintInvalidationTest();
- if (!window.testIsAsync)
- finishPaintInvalidationTest();
- });
-}
-
-function removeAllChildren(element)
-{
- while (element.firstChild)
- element.removeChild(element.firstChild);
-}
-
-function finishPaintInvalidationTest()
-{
- if (!window.testRunner || !window.internals)
- return;
-
- testRunner.layoutAndPaintAsyncThen(function()
- {
- testRunner.setCustomTextOutput(JSON.stringify(internals.trackedPaintInvalidationObjects()).replace(/","/g, '",\n "'));
- testRunner.notifyDone();
- });
-}

Powered by Google App Engine
This is Rietveld 408576698