Revision 88e7f59976ad727b77d6fb1380ef5765762ae899 authored by Yutaka Hirano on 14 March 2018, 17:14:46 UTC, committed by Blink WPT Bot on 14 March 2018, 18:02:18 UTC
Despite its name, the test checks the mixed content check for sendBeacon.
This CL moves it to wpt/mixed-content.

Bug: 821294
Change-Id: Ifd264dae0fec5c4d821d61d37d61f4ebbc763516
Reviewed-on: https://chromium-review.googlesource.com/959982
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543105}
1 parent 77530f2
Raw File
interfaces.https.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>WebXR Device API IDL Tests</title>
<link rel="help" href="https://immersive-web.github.io/webxr/spec/latest/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/WebIDLParser.js"></script>
<script src="/resources/idlharness.js"></script>
<script>
"use strict";

promise_test(async () => {
  const idl_array = new IdlArray();
  const dom_idl = await fetch("/interfaces/dom.idl").then(r => r.text());
  const webxr_idl = await fetch("/interfaces/webxr.idl").then(r => r.text());

  idl_array.add_untested_idls(dom_idl);
  idl_array.add_untested_idls("interface Navigator {};");
  idl_array.add_idls(webxr_idl);
  idl_array.add_objects({
    Navigator:['navigator'],
  });
  idl_array.test();
}, "Test IDL implementation of WebXR API");
</script>
back to top