Descriptionapp_shell: Make renderer run background page JavaScript
* Install URL protocol handler for chrome-extension:// and chrome-extension-resource://
* Allow extension urls to be handled.
* Register extensions with IO thread extension InfoMap.
* Bonus: app_shell no longer crashes on startup.
With this change an extension background page can print "Hello world" using console.log().
BUG=288226, 332982
TEST=browser_tests. Also run app_shell --app=/path/to/extension with an extension with background.js. The JavaScript executes and console.log() works.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245325
Patch Set 1 #Patch Set 2 : IsHandledURL tweaks, ExtensionResourceHandler #Patch Set 3 : cleanup (load_background_page) #
Total comments: 4
Messages
Total messages: 6 (0 generated)
|