Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: LayoutTests/http/tests/security/seamless/seamless-cross-origin.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://
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=""></iframe>
-<div style="width: 200px; height: 200px;">
-<iframe id="iframe2" seamless src="http://localhost:8000/security/seamless/resources/square.html"></iframe>
-window.onload = function () {
- window.iframe1 = document.getElementById("iframe1");
- window.iframe2 = document.getElementById("iframe2");
- shouldBeTrue("iframe1.seamless");
- shouldBeTrue("iframe2.seamless");
- // http tests use 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");

Powered by Google App Engine
This is Rietveld 408576698