Changeset 202916 in webkit
- Timestamp:
- Jul 7, 2016, 10:27:17 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/js/script-tests/string-normalize.js (added)
-
LayoutTests/js/string-normalize-expected.txt (added)
-
LayoutTests/js/string-normalize.html (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/runtime/StringPrototype.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r202911 r202916 1 2016-07-07 Benjamin Poulain <benjamin@webkit.org> 2 3 [JSC] String.prototype.normalize should have a length of zero 4 https://bugs.webkit.org/show_bug.cgi?id=159506 5 6 Reviewed by Yusuke Suzuki. 7 8 * js/script-tests/string-normalize.js: Added. 9 (listener.toString): 10 * js/string-normalize-expected.txt: Added. 11 * js/string-normalize.html: Added. 12 1 13 2016-07-07 Eric Carlson <eric.carlson@apple.com> 2 14 -
trunk/Source/JavaScriptCore/ChangeLog
r202899 r202916 1 2016-07-07 Benjamin Poulain <benjamin@webkit.org> 2 3 [JSC] String.prototype.normalize should have a length of zero 4 https://bugs.webkit.org/show_bug.cgi?id=159506 5 6 Reviewed by Yusuke Suzuki. 7 8 Spec: https://tc39.github.io/ecma262/#sec-string.prototype.normalize 9 The argument is optional, the length should be zero. 10 11 * runtime/StringPrototype.cpp: 12 (JSC::StringPrototype::finishCreation): 13 1 14 2016-07-07 Csaba Osztrogonác <ossy@webkit.org> 2 15 -
trunk/Source/JavaScriptCore/runtime/StringPrototype.cpp
r202280 r202916 174 174 JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION("endsWith", stringProtoFuncEndsWith, DontEnum, 1); 175 175 JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION("includes", stringProtoFuncIncludes, DontEnum, 1); 176 JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION("normalize", stringProtoFuncNormalize, DontEnum, 1);176 JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION("normalize", stringProtoFuncNormalize, DontEnum, 0); 177 177 JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->iteratorSymbol, stringProtoFuncIterator, DontEnum, 0); 178 178
Note:
See TracChangeset
for help on using the changeset viewer.