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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-inherited-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/fast/frames/seamless/seamless-inherited-origin.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-inherited-origin.html b/LayoutTests/fast/frames/seamless/seamless-inherited-origin.html
deleted file mode 100644
index 063ce72ba5026129d58fe7f137149ea0d6d2fbff..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-inherited-origin.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/js-test.js"></script>
-<div id="parent" style="width: 200px; height: 200px;">
-<iframe id="iframe" seamless src="about:blank"></iframe>
-debug("Test that frames with inherited security origins can still be seamless.")
-window.onload = function () {
- window.iframe = document.getElementById("iframe");
- shouldBeTrue("iframe.seamless");
- shouldBeEqualToString("window.getComputedStyle(iframe).width", "200px");
- // Initially about:blank has no content, thus no height.
- shouldBeEqualToString("window.getComputedStyle(iframe).height", "0px");
- // Replace the empty document with a 100x100px square to test if it displays seamlessly.
- window.iframe.contentDocument.write("<!DOCTYPE html><html style='width: 100px; height: 100px; background-color: green'></html>");
- shouldBeEqualToString("window.getComputedStyle(iframe).width", "200px");
- shouldBeEqualToString("window.getComputedStyle(iframe).height", "100px");

Powered by Google App Engine
This is Rietveld 408576698