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

Side by Side Diff: LayoutTests/fast/text/international/unicode-bidi-isolate-nested-with-removes-not-adjacent.html

Issue 23972003: Update containtingIsolate to go back all the way to top isolate from current (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reverted assert to normal ASSERT, rather than ASSERT_WITH_SECURITY_IMPLICATION Created 7 years, 3 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
OLDNEW
(Empty)
1 <!doctype html>
2 <!-- This tests for regression of https://crbug.com/279277 where non-adjacent, n ested isolates caused a use-after-free if the elements were later removed. -->
3 <script>
4 window.onload = function() {
5 document.body.offsetTop;
6 b.lastChild.parentNode.removeChild(b.lastChild);
7 document.body.offsetTop;
8 a.nextSibling.parentNode.removeChild(a.nextSibling);
9 document.body.offsetTop;
10
11 document.write("PASS did not crash");
12 }
13 </script>
14
15 <body>
16 <div id="a">foo</div><div>baz</div><div></div>
17 <div>
18 <output>
19 <span>
20 <output>bar</output>
21 <span id="b">
22 <span>
23 <div style="display:inline-block"></div>
24 <br><br>
25 </span>
26 </span>
27 </span>
28 </output>
29 </div>
30 </body>
31
32 <script>
33 if (window.testRunner)
34 testRunner.dumpAsText();
35 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698