Skip to content
Snippets Groups Projects
Unverified Commit 3e4f58de authored by Rick Waldron's avatar Rick Waldron Committed by GitHub
Browse files

Merge pull request #1500 from ljharb/matchall

Tests for String.prototype.matchAll
parents 73b8d9c7 f1e45d9e
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2018 Peter Wong. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: pending
description: Value shared by all realms
info: |
Unless otherwise specified, well-known symbols values are shared by all
realms.
features: [cross-realm, Symbol.matchAll]
---*/
var OSymbol = $262.createRealm().global.Symbol;
assert.sameValue(Symbol.matchAll, OSymbol.matchAll);
// Copyright (C) 2018 Peter Wong. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: pending
description: |
`Symbol.matchAll` property descriptor
info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [Symbol.match]
---*/
assert.sameValue(typeof Symbol.matchAll, 'symbol');
verifyNotEnumerable(Symbol, 'matchAll');
verifyNotWritable(Symbol, 'matchAll');
verifyNotConfigurable(Symbol, 'matchAll');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment