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

Side by Side Diff: sky/tests/services/iframe-service-provider.sky

Issue 882723003: Make it possible to navigate <iframes> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: tests Created 5 years, 10 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 <html>
2 <import src="../resources/dump-as-text.sky" />
3 <iframe src="about:blank" />
4 <div id="result1">FAIL</div>
5 <div id="result2">FAIL</div>
6 <script>
7 var elmt = document.querySelector('iframe');
8
9 var pipe1 = elmt.takeServicesHandle();
10 document.getElementById("result1").textContent =
11 pipe1 ? "PASS: " + pipe1 : "FAIL: elmt.takeServicesHandle is missing";
12
13 var pipe2 = elmt.takeExposedServicesHandle();
14 document.getElementById("result2").textContent =
15 pipe2 ? "PASS: " + pipe2 : "FAIL: elmt.takeExposedServicesHandle is missing" ;
16 </script>
17 </html>
OLDNEW
« no previous file with comments | « sky/engine/core/html/HTMLIFrameElement.idl ('k') | sky/tests/services/iframe-service-provider-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698