Fix dir() and table() method lengths
This CL fixes the lengths of the console dir() and table() methods to match the WHATWG Console Standard and the IDL WPTs. R=mathias@chromium.org Bug: chromium:948678 Change-Id: I2c603e202a3e5995eec06dadac09807f76ee9167 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1902968 Reviewed-by: Mathias Bynens <mathias@chromium.org> Commit-Queue: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/master@{#64840}
This commit is contained in:
parent
3b1f3dd76e
commit
d9a81bd55c
@ -2889,12 +2889,12 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
||||
false, NONE);
|
||||
SimpleInstallFunction(isolate_, console, "warn", Builtins::kConsoleWarn, 0,
|
||||
false, NONE);
|
||||
SimpleInstallFunction(isolate_, console, "dir", Builtins::kConsoleDir, 1,
|
||||
SimpleInstallFunction(isolate_, console, "dir", Builtins::kConsoleDir, 0,
|
||||
false, NONE);
|
||||
SimpleInstallFunction(isolate_, console, "dirxml", Builtins::kConsoleDirXml,
|
||||
0, false, NONE);
|
||||
SimpleInstallFunction(isolate_, console, "table", Builtins::kConsoleTable,
|
||||
1, false, NONE);
|
||||
0, false, NONE);
|
||||
SimpleInstallFunction(isolate_, console, "trace", Builtins::kConsoleTrace,
|
||||
0, false, NONE);
|
||||
SimpleInstallFunction(isolate_, console, "group", Builtins::kConsoleGroup,
|
||||
|
Loading…
Reference in New Issue
Block a user