[user-timing] Not throw when known names are used as marks in a worker
User timing's mark() was throwing when called with a well-known name inside a worker. According to the spec and tests, it should only throw in such a case on the main thread. This CL aligns our implementation with the spec. Change-Id: Idb43038105301a41cd7d2c676ca1fc401a684058 Reviewed-on: https://chromium-review.googlesource.com/c/1373830Reviewed-by:Nicolás Peña Moreno <npm@chromium.org> Commit-Queue: Yoav Weiss <yoavweiss@chromium.org> Cr-Commit-Position: refs/heads/master@{#615946}
Showing
Please register or sign in to comment