blob: 1faec19b084694c4ac4bbd40e49623363ac5a03c [file] [log] [blame]
Basic Interface test for user-timing APIs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PerformanceMark
PASS PerformanceMark is defined.
PASS new PerformanceMark() threw exception TypeError: Not enough arguments.
PerformanceMeasure
PASS PerformanceMeasure is defined.
PASS new PerformanceMeasure() threw exception TypeError: Illegal constructor.
Performance extensions
PASS Performance.prototype.mark is defined.
PASS Performance.prototype.measure is defined.
PASS Performance.prototype.clearMarks is defined.
PASS Performance.prototype.clearMeasures is defined.
PASS performance.mark() threw exception TypeError: Not enough arguments.
PASS performance.mark("mark_name") did not throw exception.
PASS performance.measure() threw exception TypeError: Not enough arguments.
PASS performance.measure("measure_name") did not throw exception.
PASS performance.measure("measure_name", { start: 0, duration: -1 }) threw exception TypeError: Type error.
PASS performance.clearMarks() did not throw exception.
PASS performance.clearMarks("mark_name") did not throw exception.
PASS performance.clearMeasures() did not throw exception.
PASS performance.clearMeasures("measure_name") did not throw exception.
Starting worker: resources/user-timing-api.js
[Worker] PerformanceMark
PASS [Worker] PerformanceMark is defined.
PASS [Worker] new PerformanceMark() threw exception TypeError: Not enough arguments.
[Worker]
[Worker] PerformanceMeasure
PASS [Worker] PerformanceMeasure is defined.
PASS [Worker] new PerformanceMeasure() threw exception TypeError: Illegal constructor.
[Worker]
[Worker] Performance extensions
PASS [Worker] Performance.prototype.mark is defined.
PASS [Worker] Performance.prototype.measure is defined.
PASS [Worker] Performance.prototype.clearMarks is defined.
PASS [Worker] Performance.prototype.clearMeasures is defined.
PASS [Worker] performance.mark() threw exception TypeError: Not enough arguments.
PASS [Worker] performance.mark("mark_name") did not throw exception.
PASS [Worker] performance.measure() threw exception TypeError: Not enough arguments.
PASS [Worker] performance.measure("measure_name") did not throw exception.
PASS [Worker] performance.measure("measure_name", { start: 0, duration: -1 }) threw exception TypeError: Type error.
PASS [Worker] performance.clearMarks() did not throw exception.
PASS [Worker] performance.clearMarks("mark_name") did not throw exception.
PASS [Worker] performance.clearMeasures() did not throw exception.
PASS [Worker] performance.clearMeasures("measure_name") did not throw exception.
PASS successfullyParsed is true
TEST COMPLETE