blob: d51cf8ddac8680fdb7375183fa267f63088245bc [file] [log] [blame]
if (self.importScripts)
importScripts("../../../resources/js-test-pre.js");
if (self.window)
description("Basic Interface test for paint-timing APIs.");
debug("PerformancePaintTiming");
shouldBeDefined("PerformancePaintTiming");
shouldBeDefined(`PerformancePaintTiming.prototype.toJSON`);
shouldThrow(`new PerformancePaintTiming()`);
if (self.importScripts)
finishJSTest();