 Chromium Code Reviews
 Chromium Code Reviews Issue 
            2932913004:
    [Extensions] Use CallModuleMethodSafe() in ScriptContext  (Closed)
    
  
    Issue 
            2932913004:
    [Extensions] Use CallModuleMethodSafe() in ScriptContext  (Closed) 
  | Description[Extensions] Use CallModuleMethodSafe() in ScriptContext
In ScriptContext::OnResponseReceived(), instead of immediately executing
JS, request execution. This means we don't receive a result from the
execution. According to comments,
// In debug, the js will validate the callback parameters and return a
// string if a validation error has occured.
This appears to have been true at some point [1], but some time in the
last seven years, has been updated to no longer be the case. As such,
just remove any reference to the result value.
[1] https://chromium.googlesource.com/chromium/src/+/5c21a2eeaa92326a6a771e27c70b11b1ea52441a/chrome/renderer/resources/extension_process_bindings.js#114
BUG=629431
Review-Url: https://codereview.chromium.org/2932913004
Cr-Commit-Position: refs/heads/master@{#478780}
Committed: https://chromium.googlesource.com/chromium/src/+/3043b941f5715ac0ec7d94f2f14d5d9ac9d32b1c
   Patch Set 1 #
 Messages
    Total messages: 13 (9 generated)
     | |||||||||||||||||||