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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import.html

Issue 2873133002: Check StyleSheetIsLoading before clearing LinkStyle sheet. (Closed)
Patch Set: Created 3 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/css/remove-blocking-with-loading-import-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import.html b/third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import.html
new file mode 100644
index 0000000000000000000000000000000000000000..1b1d9a20c3383dd2607e3c6394b19d8dc0b9ffd1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<script>
+ setTimeout(() => link.remove(), 0);
+</script>
+<link id="link" href="data:text/css,@import url(http://127.0.0.1:8000/css/resources/shared.css)" rel="stylesheet">
+<p>PASS</p>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698