aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4dateobject_p.h
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2017-02-04 12:54:55 +0100
committerRobin Burchell <robin.burchell@crimson.no>2017-02-07 10:14:26 +0000
commitd4d460ffbd9dd7ebb7966ce43b94b708fb6200ce (patch)
tree7f2415f06b45303cf7b1a7072b3c22acf61696b6 /src/qml/jsruntime/qv4dateobject_p.h
parent8779521704c7cbb7e1466b67e6c6ec1ba1c3b294 (diff)
DateObject: Add a bunch of exception checks
The ES6 spec specifies ReturnIfAbrupt between each of these steps, covering cases where for instance some strange person passes an Object to the setYear function, with a valueOf that throws. This improves our pass rate on built-ins/Date/prototype on the ES6 tests significantly. Before: === Summary === - Ran 1144 tests - Passed 1076 tests (94.1%) - Failed 68 tests (5.9%) After: === Summary === - Ran 1144 tests - Passed 1110 tests (97.0%) - Failed 34 tests (3.0%) Change-Id: I616d5727eb6ae197699aa4021631f17c7346de27 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject_p.h')
0 files changed, 0 insertions, 0 deletions