Changeset 222638 in webkit
- Timestamp:
- Sep 28, 2017, 4:32:53 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r222601 r222638 1 2017-09-28 Mark Lam <mark.lam@apple.com> 2 3 test262: Unexpected passes after r222617 and r222618. 4 https://bugs.webkit.org/show_bug.cgi?id=177622 5 <rdar://problem/34725960> 6 7 Reviewed by Saam Barati. 8 9 Update test262.yaml for tests that are now passing. 10 11 * test262.yaml: 12 1 13 2017-09-27 Michael Saboff <msaboff@apple.com> 2 14 -
trunk/JSTests/test262.yaml
r222428 r222638 3455 3455 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:strict] 3456 3456 - path: test262/test/built-ins/Array/prototype/copyWithin/return-abrupt-from-delete-proxy-target.js 3457 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []3457 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] 3458 3458 - path: test262/test/built-ins/Array/prototype/copyWithin/return-abrupt-from-delete-proxy-target.js 3459 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]3459 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 3460 3460 - path: test262/test/built-ins/Array/prototype/copyWithin/return-abrupt-from-delete-target.js 3461 3461 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] … … 17037 17037 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17038 17038 - path: test262/test/built-ins/Date/prototype/setDate/arg-to-number-err.js 17039 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []17039 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] 17040 17040 - path: test262/test/built-ins/Date/prototype/setDate/arg-to-number-err.js 17041 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]17041 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17042 17042 - path: test262/test/built-ins/Date/prototype/setDate/arg-to-number.js 17043 17043 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] … … 17101 17101 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17102 17102 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-date-to-number-err.js 17103 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []17103 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] 17104 17104 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-date-to-number-err.js 17105 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]17105 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17106 17106 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-date-to-number.js 17107 17107 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] … … 17109 17109 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17110 17110 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-month-to-number-err.js 17111 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []17111 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] 17112 17112 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-month-to-number-err.js 17113 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]17113 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17114 17114 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-month-to-number.js 17115 17115 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] … … 17117 17117 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17118 17118 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-year-to-number-err.js 17119 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []17119 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] 17120 17120 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-year-to-number-err.js 17121 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]17121 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17122 17122 - path: test262/test/built-ins/Date/prototype/setFullYear/arg-year-to-number.js 17123 17123 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] … … 17417 17417 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17418 17418 - path: test262/test/built-ins/Date/prototype/setMonth/arg-date-to-number-err.js 17419 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []17419 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] 17420 17420 - path: test262/test/built-ins/Date/prototype/setMonth/arg-date-to-number-err.js 17421 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]17421 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17422 17422 - path: test262/test/built-ins/Date/prototype/setMonth/arg-date-to-number.js 17423 17423 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] … … 17425 17425 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17426 17426 - path: test262/test/built-ins/Date/prototype/setMonth/arg-month-to-number-err.js 17427 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []17427 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] 17428 17428 - path: test262/test/built-ins/Date/prototype/setMonth/arg-month-to-number-err.js 17429 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]17429 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 17430 17430 - path: test262/test/built-ins/Date/prototype/setMonth/arg-month-to-number.js 17431 17431 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [] -
trunk/Source/JavaScriptCore/ChangeLog
r222625 r222638 1 2017-09-28 Mark Lam <mark.lam@apple.com> 2 3 test262: Unexpected passes after r222617 and r222618. 4 https://bugs.webkit.org/show_bug.cgi?id=177622 5 <rdar://problem/34725960> 6 7 Reviewed by Saam Barati. 8 9 Now that these tests are marked as "normal", we will run them and discover a few 10 missing exception checks. This patch also adds those missing exception checks. 11 12 * runtime/DatePrototype.cpp: 13 (JSC::fillStructuresUsingDateArgs): 14 1 15 2017-09-28 Filip Pizlo <fpizlo@apple.com> 2 16 -
trunk/Source/JavaScriptCore/runtime/DatePrototype.cpp
r222617 r222638 405 405 static bool fillStructuresUsingDateArgs(ExecState *exec, int maxArgs, double *ms, GregorianDateTime *t) 406 406 { 407 VM& vm = exec->vm(); 408 auto scope = DECLARE_THROW_SCOPE(vm); 409 407 410 int idx = 0; 408 411 bool ok = true; … … 416 419 if (maxArgs >= 3 && idx < numArgs) { 417 420 double years = exec->uncheckedArgument(idx++).toIntegerPreserveNaN(exec); 421 RETURN_IF_EXCEPTION(scope, false); 418 422 ok = std::isfinite(years); 419 423 t->setYear(toInt32(years)); … … 422 426 if (maxArgs >= 2 && idx < numArgs && ok) { 423 427 double months = exec->uncheckedArgument(idx++).toIntegerPreserveNaN(exec); 428 RETURN_IF_EXCEPTION(scope, false); 424 429 ok = std::isfinite(months); 425 430 t->setMonth(toInt32(months)); … … 428 433 if (idx < numArgs && ok) { 429 434 double days = exec->uncheckedArgument(idx++).toIntegerPreserveNaN(exec); 435 RETURN_IF_EXCEPTION(scope, false); 430 436 ok = std::isfinite(days); 431 437 t->setMonthDay(0);
Note:
See TracChangeset
for help on using the changeset viewer.