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

Side by Side Diff: LayoutTests/fast/dom/shadow/insertion-parent-skips-ua-shadow.html

Issue 15757013: Remove an experimental webkitInsertionParent API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../js/resources/js-test-pre.js"></script>
3
4 <details id="d"><div id="e"></div></details>
5
6 <script>
7 description('Tests that webkitInsertionParent does not leak nodes in user agent shadow DOM');
8
9 jsTestIsAsync = true;
10
11 function test() {
12 // Look through UA shadow root => no insertion point
13 e = document.querySelector('#e');
14 shouldBeNull('e.webkitInsertionParent');
15
16 e.parentNode.remove();
17
18 finishJSTest();
19 }
20 window.onload = test;
21
22 successfullyParsed = true;
23 </script>
24 <script src="../../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698