• jwolfe's avatar
    Adjust whitespace to make tests oblivious to --harmony-function-tostring · 3cfd80d6
    jwolfe authored
    See discussion in https://codereview.chromium.org/2156303002/#msg8
    
    With the new --harmony-function-tostring behavior, these tests would
    fail without this change. This change makes the tests pass regardless
    of whether or not --harmony-function-tostring is used.
    
    All of these changes are simply inserting a space after the "function"
    keyword to match the current function toString behavior. When
    --harmony-function-tostring is enabled, the toString behavior matches
    the spacing used in the function declaration. With the declaration
    matching the current formatting, the toString behavior becomes
    unaffected by --harmony-function-tostring.
    
    BUG=v8:4958
    LOG=n
    
    Review-Url: https://codereview.chromium.org/2161413002
    Cr-Commit-Position: refs/heads/master@{#37959}
    3cfd80d6
Name
Last commit
Last update
..
Array-expected.txt Loading commit data...
Array.js Loading commit data...
Boolean-expected.txt Loading commit data...
Boolean.js Loading commit data...
Date-setYear-expected.txt Loading commit data...
Date-setYear.js Loading commit data...
Error-expected.txt Loading commit data...
Error.js Loading commit data...
GlobalObject-expected.txt Loading commit data...
GlobalObject.js Loading commit data...
Number-expected.txt Loading commit data...
Number.js Loading commit data...
Object-expected.txt Loading commit data...
Object.js Loading commit data...
Prototype-expected.txt Loading commit data...
Prototype.js Loading commit data...
RegExp-expected.txt Loading commit data...
RegExp.js Loading commit data...
arguments-scope-expected.txt Loading commit data...
arguments-scope.js Loading commit data...
assignments-expected.txt Loading commit data...
assignments.js Loading commit data...
cast-expected.txt Loading commit data...
cast.js Loading commit data...
comment-1-expected.txt Loading commit data...
comment-1.js Loading commit data...
comment-2-expected.txt Loading commit data...
comment-2.js Loading commit data...
completion-expected.txt Loading commit data...
completion.js Loading commit data...
conditional-expected.txt Loading commit data...
conditional.js Loading commit data...
constructor_length-expected.txt Loading commit data...
constructor_length.js Loading commit data...
crash-1-expected.txt Loading commit data...
crash-1.js Loading commit data...
crash-2-expected.txt Loading commit data...
crash-2.js Loading commit data...
delete-expected.txt Loading commit data...
delete.js Loading commit data...
empty-expected.txt Loading commit data...
empty.js Loading commit data...
encode_decode_uri-expected.txt Loading commit data...
encode_decode_uri.js Loading commit data...
eval-expected.txt Loading commit data...
eval.js Loading commit data...
evil-n-expected.txt Loading commit data...
evil-n.js Loading commit data...
exception_propagation-expected.txt Loading commit data...
exception_propagation.js Loading commit data...
exceptions-expected.txt Loading commit data...
exceptions.js Loading commit data...
func-decl-expected.txt Loading commit data...
func-decl.js Loading commit data...
inbuilt_function_proto-expected.txt Loading commit data...
inbuilt_function_proto.js Loading commit data...
iteration-expected.txt Loading commit data...
iteration.js Loading commit data...
j-comment-3-expected.txt Loading commit data...
j-comment-3.js Loading commit data...
j-comment-4-expected.txt Loading commit data...
j-comment-4.js Loading commit data...
literals-expected.txt Loading commit data...
literals.js Loading commit data...
lval-exceptions-expected.txt Loading commit data...
lval-exceptions.js Loading commit data...
math-expected.txt Loading commit data...
math.js Loading commit data...
md5-1-expected.txt Loading commit data...
md5-1.js Loading commit data...
md5-2-expected.txt Loading commit data...
md5-2.js Loading commit data...
object_prototype-expected.txt Loading commit data...
object_prototype.js Loading commit data...
object_prototype_tostring-expected.txt Loading commit data...
object_prototype_tostring.js Loading commit data...
operators-expected.txt Loading commit data...
operators.js Loading commit data...
parse-expected.txt Loading commit data...
parse.js Loading commit data...
prototype_length-expected.txt Loading commit data...
prototype_length.js Loading commit data...
prototype_proto-expected.txt Loading commit data...
prototype_proto.js Loading commit data...
scope-expected.txt Loading commit data...
scope.js Loading commit data...
statements-expected.txt Loading commit data...
statements.js Loading commit data...
var_decl_init-expected.txt Loading commit data...
var_decl_init.js Loading commit data...