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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/services/iframe-service-provider.sky
diff --git a/sky/tests/services/iframe-service-provider.sky b/sky/tests/services/iframe-service-provider.sky
new file mode 100644
index 0000000000000000000000000000000000000000..b8269592bbfed9e88401d581981bec1af51bd259
--- /dev/null
+++ b/sky/tests/services/iframe-service-provider.sky
@@ -0,0 +1,17 @@
+<html>
+<import src="../resources/dump-as-text.sky" />
+<iframe src="about:blank" />
+<div id="result1">FAIL</div>
+<div id="result2">FAIL</div>
+<script>
+var elmt = document.querySelector('iframe');
+
+var pipe1 = elmt.takeServicesHandle();
+document.getElementById("result1").textContent =
+ pipe1 ? "PASS: " + pipe1 : "FAIL: elmt.takeServicesHandle is missing";
+
+var pipe2 = elmt.takeExposedServicesHandle();
+document.getElementById("result2").textContent =
+ pipe2 ? "PASS: " + pipe2 : "FAIL: elmt.takeExposedServicesHandle is missing";
+</script>
+</html>
« 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