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

Side by Side Diff: third_party/WebKit/LayoutTests/intersection-observer/incomplete-document.html

Issue 1985173002: [MERGE 2704] IntersectionObserver: check for constructed Frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@2704
Patch Set: Created 4 years, 7 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 | third_party/WebKit/LayoutTests/intersection-observer/incomplete-document-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 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6
7 <p>PASS if no crash.</p>
8
9 <div id=root>
10 <div id=target></div>
11 </div>
12
13 <script>
14 var root = document.getElementById("root");
15 var target = document.getElementById("target");
16 var observer = new IntersectionObserver((changes) => {}, {root: root});
17 onload = () => {
18 var newdoc = document.implementation.createDocument("http://www.w3.org/1999/xh tml", "html");
19 newdoc.adoptNode(root);
20 observer.observe(target);
21 }
22 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/intersection-observer/incomplete-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698