 Chromium Code Reviews
 Chromium Code Reviews Issue 
            2912883004:
    [Extensions Bindings] Don't allow `event` module with native bindings  (Closed)
    
  
    Issue 
            2912883004:
    [Extensions Bindings] Don't allow `event` module with native bindings  (Closed) 
  | Description[Extensions Bindings] Don't allow `event` module with native bindings
With native bindings, events should be constructed with the through the
native hooks, rather than the JS event implementation. Don't include the
event JS module when native bindings are enabled.
This requires updating bindings code used in native bindings browser
tests that currently relies on the event module, most notably webviews.
Provide the native functionality to create a declarative event through
the JS hooks, and include a webview id with declarative events.
Also avoid subclassing the event class in the JS custom hooks for both
native and JS-based bindings.
Finally, remove some stale require()s where they were unnecessary.
BUG=653596
Review-Url: https://codereview.chromium.org/2912883004
Cr-Commit-Position: refs/heads/master@{#479183}
Committed: https://chromium.googlesource.com/chromium/src/+/3e46aa6ced2554cd07a7cc9aad1ec98b384dff07
   Patch Set 1 : . #
      Total comments: 4
      
     Patch Set 2 : jbroman's #
      Total comments: 6
      
     Patch Set 3 : lazyboy's #Messages
    Total messages: 33 (25 generated)
     |