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

Side by Side Diff: LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove.html

Issue 341273006: Protect an element while removing an attribute. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move the RefPtr to Document::adoptNode 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove-expected.txt » ('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 We pass if we don't crash under ASAN.
3 <iframe id=iframe src="../navigation/resources/blank.txt"></iframe>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 }
9
10 window.onload = function()
11 {
12 iframe.remove();
13 gc();
14 }
15
16 document.addEventListener("DOMContentLoaded", function() {
17 setTimeout(function() {
18 document.adoptNode(iframe.attributes["src"]);
19 if (window.testRunner)
20 testRunner.notifyDone();
21 }, 0);
22 }, false);
23 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698