Chromium Code Reviews| Index: chrome/common/extensions/extension.cc |
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc |
| index 549566daf80e743e92acbd07db1fcdb1bc31a9c5..b4d4733c14bdda459bee90c58a058149ad444d76 100644 |
| --- a/chrome/common/extensions/extension.cc |
| +++ b/chrome/common/extensions/extension.cc |
| @@ -1828,11 +1828,6 @@ bool Extension::LoadBackgroundAllowJSAccess( |
| return false; |
| } |
| - if (!has_background_page()) { |
| - *error = ASCIIToUTF16(errors::kInvalidBackgroundAllowJsAccessNoPage); |
|
Charlie Reis
2012/03/26 17:56:51
Normally, we expect people to set allow_js_access
Mihai Parparita -not on Chrome
2012/03/27 01:16:07
Not quite sure I understand this. Being able to cr
Charlie Reis
2012/03/27 23:19:27
Here's what I meant. Suppose the manifest looked
Mihai Parparita -not on Chrome
2012/03/28 20:29:01
I'm pretty sure this was legal, and that manifest
|
| - return false; |
| - } |
| - |
| return true; |
| } |