| Index: chrome/test/data/extensions/api_test/stubs/content_script.js
|
| ===================================================================
|
| --- chrome/test/data/extensions/api_test/stubs/content_script.js (revision 125812)
|
| +++ chrome/test/data/extensions/api_test/stubs/content_script.js (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -25,7 +25,7 @@
|
| return;
|
| module[section].forEach(function(entry) {
|
| var path = namespace + "." + entry.name;
|
| - if (module.unprivileged || entry.unprivileged) {
|
| + if (entry.unprivileged) {
|
| unprivilegedPaths.push(path);
|
| } else {
|
| privilegedPaths.push(path);
|
| @@ -36,7 +36,7 @@
|
| if (module.properties) {
|
| for (var propName in module.properties) {
|
| var path = namespace + "." + propName;
|
| - if (module.unprivileged || module.properties[propName].unprivileged) {
|
| + if (module.properties[propName].unprivileged) {
|
| unprivilegedPaths.push(path);
|
| } else {
|
| privilegedPaths.push(path);
|
| @@ -69,7 +69,7 @@
|
| if (typeof(module) == "undefined")
|
| return true;
|
| } else {
|
| - // This is the last component - we expect it to either be undefined or
|
| + // This is the last component - we expect it to either be defined or
|
| // to throw an error on access.
|
| try {
|
| if (typeof(module[parts[i]]) == "undefined" &&
|
|
|
| Property changes on: chrome/test/data/extensions/api_test/stubs/content_script.js
|
| ___________________________________________________________________
|
| Deleted: svn:mime-type
|
| - text/javascript
|
|
|
|
|