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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/preload/document_write_preload.html

Issue 1863413005: Use a virtual test suite for DocumentWriteEvaluator layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expect just failure for non virtual doc write tests Created 4 years, 8 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/http/tests/preload/document_write_preload.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/preload/document_write_preload.html b/third_party/WebKit/LayoutTests/http/tests/preload/document_write_preload.html
deleted file mode 100644
index 4cca6884b7a94b7785c910348726cf4143a2b874..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/preload/document_write_preload.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script>
-var t = async_test('Simple scripts that inject external scripts via document.write should be preloaded');
-// We reject scripts with "for"
-window.perf = window.performance;
-</script>
-<script>
-if (window.perf)
- var boundedStart = window.perf.now();
-var src = '../resources/dummy.js';
-document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
-</script>
-<script>
-window.addEventListener("load", t.step_func(function() {
- var resourceTiming = window.performance.getEntriesByType('resource')[2];
- assert_less_than(resourceTiming.startTime, boundedStart);
- t.done();
-}));
-</script>
-

Powered by Google App Engine
This is Rietveld 408576698