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

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

Issue 1947053002: Manual revert of "Preload scan external css for @import" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep histograms.xml 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/resources/css_with_import.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/preload/external_css_import_preload.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/preload/external_css_import_preload.html b/third_party/WebKit/LayoutTests/http/tests/preload/external_css_import_preload.html
deleted file mode 100644
index fac4d73893a7d590b82ef604dbbe5a328f6f443f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/preload/external_css_import_preload.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../resources/slow-script.pl?delay=500"></script>
-<script>
-var t = async_test("We should scan external css for @imports and preload them");
-var boundedStart = window.performance.now();
-</script>
-<link rel="stylesheet" type="text/css" href="../resources/css_with_import.css"></link>
-<script>
-window.addEventListener("load", t.step_func(function() {
- var entries = performance.getEntriesByType("resource");
- entries.forEach(function(entry) {
- if (entry.name.indexOf("dummy.css") != -1) {
- assert_less_than(entry.startTime, boundedStart);
- t.done();
- }
- });
-}));
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/resources/css_with_import.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698