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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/resources/requestDevice-in-iframe.html

Issue 1869523003: Move LayoutTests/bluetooth/resources to LayoutTests/resources/bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 4 years, 8 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/resources/requestDevice-in-iframe.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/resources/requestDevice-in-iframe.html b/third_party/WebKit/LayoutTests/bluetooth/resources/requestDevice-in-iframe.html
deleted file mode 100644
index ac51b07440dd895f2b8494d6aee43a5293b1fadc..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/bluetooth/resources/requestDevice-in-iframe.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<script>
- window.onmessage = messageEvent => {
- if (messageEvent.data === 'Go') {
- navigator.bluetooth.requestDevice({
- filters: [{services: ['generic_access']}]
- }).then(device => {
- if (device.constructor.name === "BluetoothDevice") {
- parent.postMessage('Success', '*');
- } else {
- parent.postMessage('FAIL: requestDevice in iframe returned ' + device, '*');
- }
- }).catch(err => {
- console.error(err);
- parent.postMessage('FAIL: ' + err, '*');
- });
- }
- };
- parent.postMessage("Ready", "*");
-</script>

Powered by Google App Engine
This is Rietveld 408576698