Repository navigation
Conversation
ef9001d to
b294daa
Compare
| @@ -0,0 +1,17 @@ | |||
|
|
|||
| partial interface Performance { | |||
There was a problem hiding this comment.
Can you update to strip the indentation and use the file in https://github.com/w3c/web-platform-tests/blob/master/user-timing/idlharness.html?
|
Hmm, and why is Travis unhappy? |
|
@lukebjerring looks like this needs a test to exercise the IDL? |
|
I've updated the |
|
cc @npm1 who was helping me work out whether using
Goes a bit beyond my understanding of the implementation of idlharness. @foolip - any idea whether that's to be expected? |
| promise_test(async () => { | ||
| const idl_array = new IdlArray(); | ||
| const idl = await fetch("/interfaces/user-timing.idl").then(r => r.text()); | ||
| const hrtime = await fetch("/interfaces/hr-time.idl").then(r => r.text()); |
There was a problem hiding this comment.
you need to import /interfaces/performance-timeline.idl as well, since PerformanceMark depends on PerformanceEntry.
foolip
left a comment
There was a problem hiding this comment.
Tested locally, .worker.html tests will reveal some things that don't match the spec in Chromium :) 👍
No description provided.