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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html

Issue 305173003: Heap-use-after-free in WebCore::GraphicsContext::drawImage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed a spurious .get() Created 6 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 | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html
new file mode 100644
index 0000000000000000000000000000000000000000..41f0817b6e8b79746db8a6e4df2c4c741abafebd
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<!--
+This is a regression test for https://code.google.com/p/chromium/issues/detail?id=378469
+-->
+<head>
+<style>
+#image-shape {
+ float: left;
+ shape-outside: linear-gradient(magenta, currentColor); // currentColor prevents gradient from being cached
+ width: 100px;
+ height: 100px;
+}
+</style>
+<div>This test should not crash.</div>
+<div>
+ <div id="image-shape"></div>
+ Hello World
+</div>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698