-
Devlin Cronin authored
Rather than using ObjectTemplateBuilder::SetProperty() on GinPort, use ObjectTemplateBuilder::SetLazyDataProperty(). This allows author script to reset the properties to be something else, which is more inline with the majority of JS objects exposed to scripts. Add tests for the same. Bug: 927887 Change-Id: I8f983918014d69941992423eece5fd1eed9c58e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1506771Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#638592}
53a39796