diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 17:32:46 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:20 -0400 |
commit | 0bc46526909e579acf7f7dc5c59668fd79662437 (patch) | |
tree | b8ef0dd37cc02cafdf4e6c31e33b22207d28a323 /js/xpconnect/tests | |
parent | cefee262b7059d035667b148d56ebc7af5120d37 (diff) | |
download | uxp-0bc46526909e579acf7f7dc5c59668fd79662437.tar.gz |
1333045 - Update Location object properties to current spec.
Specifically, three changes:
1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.
Diffstat (limited to 'js/xpconnect/tests')
-rw-r--r-- | js/xpconnect/tests/chrome/test_bug1041626.xul | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/js/xpconnect/tests/chrome/test_bug1041626.xul b/js/xpconnect/tests/chrome/test_bug1041626.xul index c7c7b70248..11529fbe48 100644 --- a/js/xpconnect/tests/chrome/test_bug1041626.xul +++ b/js/xpconnect/tests/chrome/test_bug1041626.xul @@ -28,9 +28,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1041626 ok(Cu.isXrayWrapper(window[0].location), "Location is Xrayed"); let xrayOwnProperties = Object.getOwnPropertyNames(window[0].location); - todo(xrayOwnProperties.indexOf('toJSON') != -1, - "dummy toJSON on Location should show up in Xrayable properties"); - xrayOwnProperties.push('toJSON'); let realOwnProperties = Object.getOwnPropertyNames(window[0].wrappedJSObject.location); ok(realOwnProperties.length > 2); |