diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-13 01:45:10 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-13 01:45:10 +0530 |
commit | 421dcc92f05532e5d8bda850c8d14c9375da2bd9 (patch) | |
tree | babee8bc10c6a373e92f4e868f05481c822f3772 /components/script/dom/webidls | |
parent | 85f4e5828548f2f25b2d75cb2853b896a0854ab3 (diff) | |
parent | 7169a08a343494a757f10ac552eb2390fca482f9 (diff) | |
download | servo-421dcc92f05532e5d8bda850c8d14c9375da2bd9.tar.gz servo-421dcc92f05532e5d8bda850c8d14c9375da2bd9.zip |
Auto merge of #10538 - izgzhen:performance_timing, r=Ms2ger
Improve PerformanceTiming Interface
Solving https://github.com/servo/servo/issues/10428
- Fix timing precision in old `update_with_current_time`
- Correct time unit in `navigation_start`
- Add `LoadEventStart` and `LoadEventEnd` timing properties
There are still many properties left unimplemented. I tend to leave the for future PRs.
Welcome comments!
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10538)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r-- | components/script/dom/webidls/PerformanceTiming.webidl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/PerformanceTiming.webidl b/components/script/dom/webidls/PerformanceTiming.webidl index a016f2b1616..7a2fdaebec0 100644 --- a/components/script/dom/webidls/PerformanceTiming.webidl +++ b/components/script/dom/webidls/PerformanceTiming.webidl @@ -27,6 +27,6 @@ interface PerformanceTiming { readonly attribute unsigned long long domContentLoadedEventStart; readonly attribute unsigned long long domContentLoadedEventEnd; readonly attribute unsigned long long domComplete; - /* readonly attribute unsigned long long loadEventStart; - readonly attribute unsigned long long loadEventEnd; */ + readonly attribute unsigned long long loadEventStart; + readonly attribute unsigned long long loadEventEnd; }; |