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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/request-from-sandboxed-iframe.html

Issue 1910933002: bluetooth: Separate requestDevice tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-mojo-gatt-connect
Patch Set: Replace uses of assert_promise_rejects because it was removed. Created 4 years, 7 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: third_party/WebKit/LayoutTests/bluetooth/requestDevice/request-from-sandboxed-iframe.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice-sandboxed-iframe.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/request-from-sandboxed-iframe.html
similarity index 76%
rename from third_party/WebKit/LayoutTests/bluetooth/requestDevice-sandboxed-iframe.html
rename to third_party/WebKit/LayoutTests/bluetooth/requestDevice/request-from-sandboxed-iframe.html
index 8d52e5e30d15eddec3d3a7c6905f4b31829cdd71..7d47a1c7d14c8451be53feb7964406a9d91e01b7 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice-sandboxed-iframe.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/request-from-sandboxed-iframe.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../resources/bluetooth/bluetooth-helpers.js"></script>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
<body>
<script>
"use strict";
@@ -22,7 +22,7 @@
.then(() => {
let iframe = document.createElement('iframe');
iframe.sandbox.add('allow-scripts');
- iframe.src = '../resources/bluetooth/requestDevice-in-iframe.html';
+ iframe.src = '../../resources/bluetooth/requestDevice-in-iframe.html';
document.body.appendChild(iframe);
});
}, 'Request device from a unique origin. Should reject with SecurityError.');

Powered by Google App Engine
This is Rietveld 408576698