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

Unified Diff: LayoutTests/http/tests/security/seamless/seamless-sandbox-srcdoc.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include remove tests Created 6 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
Index: LayoutTests/http/tests/security/seamless/seamless-sandbox-srcdoc.html
diff --git a/LayoutTests/http/tests/security/seamless/seamless-sandbox-srcdoc.html b/LayoutTests/http/tests/security/seamless/seamless-sandbox-srcdoc.html
deleted file mode 100644
index c0b3229353e05d805f97142c24df9f70e7ef7b37..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/seamless/seamless-sandbox-srcdoc.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<script src="/js-test-resources/js-test.js"></script>
-<div id="parent" style="width: 200px; height: 200px;">
-<iframe id="iframe" seamless sandbox srcdoc="<html style='width: 100px; height: 100px; background-color: green'></html>"></iframe>
-</div>
-<script>
-window.onload = function () {
- window.iframe = document.getElementById("iframe");
- shouldBeTrue("iframe.seamless");
- // When an iframe is sandboxed, its origin is unique, thus seamless check
- // should fail, but the spec makes a specific exception for srcdoc iframes.
- shouldBeEqualToString("window.getComputedStyle(iframe).width", "200px");
- shouldBeEqualToString("window.getComputedStyle(iframe).height", "100px");
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698