Description[Extensions Bindings] Allow schema violations through sendRequest
The context menus API is another that violates the schema is defines
when calling sendRequest() through its custom bindings. Allow these
as well, similar to how we allow them when an API updates its
arguments post validation.
The context menus API also has functions defined as properties on object
parameters, and serializes these into dictionaries. Match the the
serialization into a dictionary, but don't serialize properties of the
function.
Add an end-to-end test for the contextMenus API with native bindings.
BUG=653596
Review-Url: https://codereview.chromium.org/2805123002
Cr-Commit-Position: refs/heads/master@{#463300}
Committed: https://chromium.googlesource.com/chromium/src/+/1714411e513f2df50e5ce8ca057fe40ff3a1e449
Patch Set 1 #
Total comments: 2
Patch Set 2 : $Function.bind #Patch Set 3 : . #Patch Set 4 : Rebase #
Messages
Total messages: 23 (17 generated)
|