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 -->
This commit is contained in:
bors-servo 2016-04-13 01:45:10 +05:30
commit 421dcc92f0
5 changed files with 43 additions and 20 deletions

View file

@ -1,8 +0,0 @@
[test_cross_frame_start.html]
type: testharness
[Child created at least 1 second after parent]
expected: FAIL
[Child and parent time bases are correct]
expected: FAIL