Changeset 202943 in webkit
- Timestamp:
- Jul 7, 2016, 4:22:13 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/js/array-unscopables-properties-expected.txt (added)
-
LayoutTests/js/array-unscopables-properties.html (added)
-
LayoutTests/js/script-tests/array-unscopables-properties.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/runtime/ArrayPrototype.cpp (modified) (1 diff)
-
Source/JavaScriptCore/tests/stress/unscopables.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r202942 r202943 1 2016-07-07 Benjamin Poulain <benjamin@webkit.org> 2 3 [JSC] Array.prototype[Symbol.unscopables] should have the "includes" property 4 https://bugs.webkit.org/show_bug.cgi?id=159504 5 6 Reviewed by Keith Miller. 7 8 * js/array-unscopables-properties-expected.txt: Added. 9 * js/array-unscopables-properties.html: Added. 10 * js/script-tests/array-unscopables-properties.js: Added. 11 1 12 2016-07-07 Ryan Haddad <ryanhaddad@apple.com> 2 13 -
trunk/Source/JavaScriptCore/ChangeLog
r202936 r202943 1 2016-07-07 Benjamin Poulain <benjamin@webkit.org> 2 3 [JSC] Array.prototype[Symbol.unscopables] should have the "includes" property 4 https://bugs.webkit.org/show_bug.cgi?id=159504 5 6 Reviewed by Keith Miller. 7 8 The property "includes" was missing. 9 Spec: https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables 10 11 * runtime/ArrayPrototype.cpp: 12 (JSC::ArrayPrototype::finishCreation): 13 * tests/stress/unscopables.js: 14 1 15 2016-07-07 Saam Barati <sbarati@apple.com> 2 16 -
trunk/Source/JavaScriptCore/runtime/ArrayPrototype.cpp
r202844 r202943 127 127 "find", 128 128 "findIndex", 129 "includes", 129 130 "keys", 130 131 "values" -
trunk/Source/JavaScriptCore/tests/stress/unscopables.js
r182225 r202943 10 10 test(typeof unscopables, "object"); 11 11 test(unscopables.__proto__, undefined); 12 test(String(Object.keys(unscopables).sort()), "copyWithin,entries,fill,find,findIndex, keys,values");12 test(String(Object.keys(unscopables).sort()), "copyWithin,entries,fill,find,findIndex,includes,keys,values"); 13 13 }()); 14 14
Note:
See TracChangeset
for help on using the changeset viewer.