blob: e9f9772ccffdd2bfcc09697a66734cdb3c40d688 [file] [log] [blame]
<!DOCTYPE html>
<link rel="help" href="https://github.com/WICG/badging/blob/master/explainer.md">
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="../resources/webidl2.js"></script>
<script src="../resources/idlharness.js"></script>
<script type="text/plain" id="tested">
interface ExperimentalBadge {
[CallWith=ScriptState, RaisesException]
static void set(optional [EnforceRange] unsigned long long contents);
[CallWith=ScriptState] static void clear();
};
</script>
<script>
"use strict";
var idl_array = new IdlArray();
idl_array.add_idls(document.querySelector('#tested').textContent);
idl_array.test();
</script>