Run web timing tests if web timing is enabled.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 May 2014 23:32:21 +0000 (23:32 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 May 2014 23:32:21 +0000 (23:32 +0000)
commit6a43716971b1d7ebd701880ab1661c711badef6b
treef73adf76a44c2ddfa7c329c8413c05f301e3a9b9
parentf1e573ea887cafda548130c6c68426a2ff79b997
Run web timing tests if web timing is enabled.
https://bugs.webkit.org/show_bug.cgi?id=133327

Reviewed by Ryosuke Niwa.

* fast/dom/script-tests/webtiming-document-open.js:
(finishTest):
* fast/dom/script-tests/webtiming-navigate-within-document.js:
(checkTimingNotChanged):
Use for in loop instead of Object.keys because properties are in prototype chain.
* fast/dom/script-tests/webtiming.js:
Use performance.now instead of 0.
* platform/mac/TestExpectations:
Made web timing tests skipped on Mountain Lion and Mavericks.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/script-tests/webtiming-document-open.js
LayoutTests/fast/dom/script-tests/webtiming-navigate-within-document.js
LayoutTests/fast/dom/script-tests/webtiming.js
LayoutTests/platform/mac/TestExpectations