mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 1065185 - Explicitly expose indexed properties in COW array test. r=bz
This commit is contained in:
parent
b14e0de123
commit
224ca3b8ef
@ -80,7 +80,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=760109
|
||||
const Cu = Components.utils;
|
||||
var sb = new Cu.Sandbox('http://www.example.org');
|
||||
sb.chromeArray = ['a', 'b', 'z'];
|
||||
sb.chromeArray.__exposedProps__ = {};
|
||||
sb.chromeArray.__exposedProps__ = { length: 'rw' };
|
||||
for (var i = 0; i < 10; ++i) {
|
||||
sb.chromeArray.__exposedProps__[i] = 'rw';
|
||||
}
|
||||
|
||||
sb.chromeObject = new SomeConstructor();
|
||||
sb.ok = ok;
|
||||
sb.is = is;
|
||||
|
Loading…
Reference in New Issue
Block a user