Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add querystring test for hasOwnProperty usage

  • Loading branch information...
commit b3af074a0258aa6694bec8eabfc04d2871be57b9 1 parent 98990b9
@isaacs isaacs authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 test/simple/test-querystring.js
View
7 test/simple/test-querystring.js
@@ -49,9 +49,10 @@ var qsTestCases = [
[' foo = bar ', '%20foo%20=%20bar%20', {' foo ': ' bar '}],
['foo=%zx', 'foo=%25zx', {'foo': '%zx'}],
['foo=%EF%BF%BD', 'foo=%EF%BF%BD', {'foo': '\ufffd' }],
- [ 'toString=foo&valueOf=bar&__defineGetter__=baz',
- 'toString=foo&valueOf=bar&__defineGetter__=baz',
- { toString: 'foo',
+ [ 'hasOwnProperty=x&toString=foo&valueOf=bar&__defineGetter__=baz',
+ 'hasOwnProperty=x&toString=foo&valueOf=bar&__defineGetter__=baz',
+ { hasOwnProperty: 'x',
+ toString: 'foo',
valueOf: 'bar',
__defineGetter__: 'baz' } ]
];
Please sign in to comment.
Something went wrong with that request. Please try again.