mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
395f3500c0
Automatic update from web-platform-tests[UserTiming] Correct measure where start is undefined According to spec, if start is undefined for performance.measure(), 0 will be used as the start time. However, the current implementation treats undefined as "null". This CL doesn't solve all the problems. For backward compatibility, L2 should treat undefined passed to start/end as empty, null as a string 'null'. As a temporary fix, we treat both null and undefined as undefined, which is safer than as 'null'. Bug: 876324 Change-Id: I7d74d6be9552d090ab7f28342be9a739017bf59b Reviewed-on: https://chromium-review.googlesource.com/1180345 Commit-Queue: Liquan (Max) Gǔ <maxlg@chromium.org> Reviewed-by: Yoav Weiss <yoav@yoav.ws> Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by: Paul Irish <paulirish@chromium.org> Cr-Commit-Position: refs/heads/master@{#585103} -- wpt-commits: 54525995564877fbf730c679200a5ae8610e5f2f wpt-pr: 12556 |
||
---|---|---|
.. | ||
resources | ||
clear_all_marks.any.js | ||
clear_all_measures.any.js | ||
clear_non_existent_mark.any.js | ||
clear_non_existent_measure.any.js | ||
clear_one_mark.any.js | ||
clear_one_measure.any.js | ||
clearMarks.html | ||
clearMeasures.html | ||
entry_type.any.js | ||
idlharness.any.js | ||
invoke_with_timing_attributes.html | ||
invoke_with_timing_attributes.worker.js | ||
invoke_without_parameter.html | ||
mark_exceptions.html | ||
mark.any.js | ||
mark.html | ||
measure_associated_with_navigation_timing.html | ||
measure_exception.html | ||
measure_exceptions_navigation_timing.html | ||
measure_navigation_timing.html | ||
measure_syntax_err.any.js | ||
measure.html | ||
measures.html | ||
META.yml | ||
user_timing_exists.any.js | ||
user-timing-tojson.html |