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

Unified Diff: LayoutTests/fast/text-autosizing/table-inflation-crash.html

Issue 358163002: Prevent a use after free in computeBlockPreferredLogicalWidths (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add pass expectation sice this now passes on release asan Created 6 years, 6 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text-autosizing/table-inflation-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text-autosizing/table-inflation-crash.html
diff --git a/LayoutTests/fast/text-autosizing/table-inflation-crash.html b/LayoutTests/fast/text-autosizing/table-inflation-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..b4c1a3418f69001100dc82a45142eb00533e5850
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/table-inflation-crash.html
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML>
+<html>
+ <meta name="viewport" content="width=800">
+ <style>
+ body {
+ width: 800px;
+ margin: 0;
+ overflow-y: hidden;
+ }
+ </style>
+ <script src="resources/autosizingTest.js"></script>
+ <script>
+ window.onload = function() {
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ }
+ </script>
+ Test for crbug.com/385268:This test passes if it does not crash.<br>
+ autosize autosize autosize autosize autosize autosize autosize autosize autosize
+ autosize autosize autosize autosize autosize autosize autosize autosize autosize
+ autosize autosize autosize autosize autosize autosize autosize autosize autosize
+ <object align="left">
+ <table align="left">
+ <h1>crash</h1>
+ </table>
+ <li></li>
+ </object>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text-autosizing/table-inflation-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698