Make OffscreenCanvas resizeable
This change implements all the script observable aspects of changing
the size of an OffscreenCanvas object. What is missing after this
change is to correctly handle the compositing layer updates for the
commit() flow.
BUG=
662498
Committed:
https://crrev.com/09cffb4f307ead2a20776a6e6b0d9cc1ca3e5ff7
Cr-Commit-Position: refs/heads/master@{#432881}