blob: dedd6da8884f1afffb18a61a800970796d678a20 [file] [log] [blame]
importScripts("/resources/testharness.js");
test(() => {
assert_throws(new TypeError(), () => {
performance.measure('name', 'navigationStart', 'navigationStart');
});
}, "When converting 'navigationStart' to a timestamp, the global object has to be a Window object.");
done();