| Index: chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js
|
| diff --git a/chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js b/chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js
|
| index fb46498773f01c97d6fa864dcd7424d71e9274e4..fae9c574c99837f02dcff01c1d47044ef8d21d18 100644
|
| --- a/chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js
|
| +++ b/chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js
|
| @@ -29,11 +29,15 @@ function clobber(obj, name, qualifiedName) {
|
| // SafeBuiltins does not support getters yet. See crbug.com/463526.
|
| // Clobbering Function.call would make it impossible to implement these tests.
|
| // Clobbering Object.valueOf breaks v8.
|
| + // Clobbering %FunctionPrototype%.caller and .arguments will break because
|
| + // these properties are poisoned accessors in ES6.
|
| if (name == 'constructor' ||
|
| name == 'toString' ||
|
| name == '__proto__' ||
|
| name == 'name' && typeof obj == 'function' ||
|
| qualifiedName == 'Function.call' ||
|
| + (obj !== Function && qualifiedName == 'Function.caller') ||
|
| + (obj !== Function && qualifiedName == 'Function.arguments') ||
|
| qualifiedName == 'Object.valueOf') {
|
| return;
|
| }
|
|
|