Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 302083005: Don't leave stale pointers into m_grid (Closed) Base URL:
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
1 <!DOCTYPE html>
2 <span style="display: grid" contenteditable=plaintext-only>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function crash() {
8 if (!window.eventSender)
9 return;
10 eventSender.keyDown("\t");
11 eventSender.keyDown("X");
12 document.designMode = 'on';
13 document.execCommand("InsertHTML", false, "<div>");
14 }
15 document.addEventListener("DOMContentLoaded", crash, false);
16 </script>The test checks that we don't leave stale pointers into the internal gr id representation.<br> This test has PASSED if it didn't crash under ASAN.

Powered by Google App Engine
This is Rietveld 408576698