Add [Default] toJSON() to performance interfaces

This commit is contained in:
Kagami Sascha Rosylight 2019-08-29 21:33:03 +09:00
parent 1af15054e7
commit 5695ee94a5
13 changed files with 218 additions and 104 deletions

View file

@ -25,7 +25,7 @@ interface PerformanceNavigationTiming : PerformanceResourceTiming {
readonly attribute DOMHighResTimeStamp loadEventEnd;
readonly attribute NavigationType type;
readonly attribute unsigned short redirectCount;
// [Default] object toJSON();
[Default] object toJSON();
/* Servo-only attribute for measuring when the top-level document (not iframes) is complete. */
[Pref="dom.testperf.enabled"]
readonly attribute DOMHighResTimeStamp topLevelDomComplete;