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

Unified Diff: LayoutTests/http/tests/security/seamless/seamless-cross-origin.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-cross-origin.html
diff --git a/LayoutTests/http/tests/security/seamless/seamless-cross-origin.html b/LayoutTests/http/tests/security/seamless/seamless-cross-origin.html
deleted file mode 100644
index fdcf60082e67c2dde3fc6dbbeb9b6ff3acb9068a..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/seamless/seamless-cross-origin.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<script src="/js-test-resources/js-test.js"></script>
-<div style="width: 200px; height: 200px;">
-<iframe id="iframe1" seamless src="http://127.0.0.1:8000/security/seamless/resources/square.html"></iframe>
-</div>
-<div style="width: 200px; height: 200px;">
-<iframe id="iframe2" seamless src="http://localhost:8000/security/seamless/resources/square.html"></iframe>
-</div>
-<script>
-window.onload = function () {
- window.iframe1 = document.getElementById("iframe1");
- window.iframe2 = document.getElementById("iframe2");
- shouldBeTrue("iframe1.seamless");
- shouldBeTrue("iframe2.seamless");
-
- // http tests use 127.0.0.1 as their origin, but "localhost" will resolve
- // to the same address (yet technically be a different origin).
- // The first iframe should display seamless, but the second should not.
- shouldBeEqualToString("window.getComputedStyle(iframe1).width", "200px");
- shouldBeEqualToString("window.getComputedStyle(iframe1).height", "100px");
-
- shouldBeEqualToString("window.getComputedStyle(iframe2).width", "300px");
- shouldBeEqualToString("window.getComputedStyle(iframe2).height", "150px");
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698