v8binding: Fix CSSStyleDeclaration not to throw when a prop is deleted
Blink is implementing CSSStyleDeclaration's IDL attributes as named properties (pretending to be IDL attributes). Recently, the named property's implementation is improved[1] to better conform to Web IDL specification, and "deletion of named properties" now throws an exception when named deleter is not defined. So, accordingly CSSStyleDeclaration has to _better pretend_ to have IDL attributes, which are deletable, by defining a noop deleter. This patch introduces such a noop deleter. [1] https://crrev.com/c/2335713 Bug: 1121628 Change-Id: I338c064b9a2ea88fa97169a9e904da0a8613e0ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377035Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#801768}
Showing
Please register or sign in to comment