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

Unified Diff: third_party/WebKit/LayoutTests/presentation/iframe-no-sandbox.html

Issue 2782663002: [Presentation API] Move sandbox check to PresentationRequest constructor. (Closed)
Patch Set: Respond to imcheng@ comments Created 3 years, 9 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 | « no previous file | third_party/WebKit/LayoutTests/presentation/iframe-sandbox-allow-presentation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/presentation/iframe-no-sandbox.html
diff --git a/third_party/WebKit/LayoutTests/presentation/iframe-no-sandbox.html b/third_party/WebKit/LayoutTests/presentation/iframe-no-sandbox.html
deleted file mode 100644
index 061cd333c3bf2ac4ab9986dd54547e7ce271a705..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/presentation/iframe-no-sandbox.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<iframe></iframe>
-
-<script>
-
-async_test(function(t) {
- window.onmessage = t.step_func_done(function(e) {
- e.data.forEach(function(result) {
- if (result.test == 'getAvailability') {
- assert_equals(result.status, 'success', result.test);
- return;
- }
-
- // TODO(mlamouri): we are only testing that it doesn't fail for security
- // reasons because the request will still fail for lack of devices/backend.
- assert_equals(result.status, 'failure', result.test);
- assert_not_equals(result.name, 'SecurityError', result.test);
- });
- });
-
- document.querySelector('iframe').src = 'resources/embedded-smoke-tests.html';
-}, 'Test that Presentation API works from inside an iframe.');
-
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/presentation/iframe-sandbox-allow-presentation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698