[Longtasks] Fix frozen value in toJSON() method
Currently, idlharness fails because attribution is not frozen in the toJSON output. This CL fixes that by calling FreezeV8Object on the object. In addition to this, we remove the loop and produce interface objects instead of JSON objects per the algorithm in https://heycam.github.io/webidl/#es-default-tojson. Change-Id: Idc4e2adb1c8bfedc296817d1ca259b2ab90fdb21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986015 Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by:Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#728222}
Showing
Please register or sign in to comment