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

Unified Diff: third_party/WebKit/LayoutTests/css3/images/invalid-image-url-crash.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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/css3/images/invalid-image-url-crash.html
diff --git a/third_party/WebKit/LayoutTests/css3/images/invalid-image-url-crash.html b/third_party/WebKit/LayoutTests/css3/images/invalid-image-url-crash.html
deleted file mode 100644
index caeb532d967baf2be67d8d81027e6a7ea5d7e8cc..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/css3/images/invalid-image-url-crash.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<style>
-#target {
- background-image: url("chrome://");
-}
-#target:after {
- content: url("filesystem://");
-}
-</style>
-<div id="target"></div>
-<script>
-test(() => {
- // Force a second style recalc so that the image gets cached and reused.
- getComputedStyle(target).backgroundImage;
- getComputedStyle(target, 'after').content;
- target.style.color = 'green';
- getComputedStyle(target).backgroundImage;
- getComputedStyle(target, 'after').content;
-}, "Don't crash when using cached CSS images with invalid URLs");
-</script>

Powered by Google App Engine
This is Rietveld 408576698