Revision 00308147d33bdd04344e2308036e30c957b64915 authored by Chris Lilley on 03 April 2018, 18:17:39 UTC, committed by GitHub on 03 April 2018, 18:17:39 UTC
[css-fonts-4] Contribute Microsoft tests for Font Variations
2 parent s 09329e8 + 2b27f60
Raw File
idlharness.https.worker.js
importScripts("/resources/testharness.js");
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");

var request = new XMLHttpRequest();
request.open("GET", "../interfaces/WebCryptoAPI.idl");
request.send();
request.onload = function() {
    var idl_array = new IdlArray();
    var idls = request.responseText;

    idl_array.add_untested_idls("[Global] interface Window { };");

    idl_array.add_untested_idls("interface ArrayBuffer {};");
    idl_array.add_untested_idls("interface ArrayBufferView {};");

    idl_array.add_idls(idls);

    idl_array.add_objects({"Crypto":["crypto"], "SubtleCrypto":["crypto.subtle"]});

    idl_array.test();
    done();
};
back to top