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

Side by Side Diff: LayoutTests/fast/css-grid-layout/stale-grid-layout.html

Issue 302083005: Don't leave stale pointers into m_grid (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/stale-grid-layout-2.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <keygen>
3 <div style="display: grid;">The test checks that we don't add non-children of th e grid into the grid representation<br>This test has passed if it didn't crash u nder ASAN.
4 <embed type=something-not-js>
5 </div>
6 <style>
7 embed { position: absolute; }
8 .c1 { animation-delay: 45762s; }
9 </style>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
13
14 function crash() {
15 var highlight = document.createElementNS("http://www.w3.org/1999/xhtml", "hi ghlight");
16 highlight.setAttribute("class", "c1");
17 document.body.appendChild(highlight);
18
19 for (i=0; i != 8; i++)
20 eventSender.keyDown("\t");
21 eventSender.keyDown("X");
22 }
23
24 if (!window.eventSender)
25 alert("This test needs to be run under DumpRenderTree.");
26 else
27 document.addEventListener("DOMContentLoaded", crash, false);
28 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/stale-grid-layout-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698