Descriptionbindings: Fixes exposed JS APIs for platform apps.
We're disabling some of DOM attributes and operations for platform apps.
Since event handlers and operations in Window are going to move onto
the instance object, we need to update disabling code accordingly.
Also fixes a way to disable addEventListener. It's defined on
EventTarget.prototype, not on Window.prototype. Also it shouldn't
change |this| object.
This CL is a preparation of http://crrev.com/1333853002
BUG=43394, 516274
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/37799a7c9a4dc1b06d627cc17bb989c25663ada3
Cr-Commit-Position: refs/heads/master@{#349376}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Addressed a review comment. #Patch Set 3 : Synced. #Messages
Total messages: 17 (8 generated)
|