diff options
-rw-r--r-- | extensions/console/02_console.js | 4 | ||||
-rw-r--r-- | tools/wpt/expectation.json | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/extensions/console/02_console.js b/extensions/console/02_console.js index 8fc6e93b2..3391b520b 100644 --- a/extensions/console/02_console.js +++ b/extensions/console/02_console.js @@ -1521,7 +1521,7 @@ ); }; - dir = (obj, options = {}) => { + dir = (obj = undefined, options = {}) => { this.#printFunc( inspectArgs([obj], { ...getConsoleInspectOptions(), ...options }) + "\n", @@ -1594,7 +1594,7 @@ } }; - table = (data, properties) => { + table = (data = undefined, properties = undefined) => { if (properties !== undefined && !Array.isArray(properties)) { throw new Error( "The 'properties' argument must be of type Array. " + diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 8a78f0a35..e4ce77f9b 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -144,11 +144,7 @@ "console-label-conversion.any.html": true, "console-namespace-object-class-string.any.html": true, "console-tests-historical.any.html": true, - "idlharness.any.html": [ - "console namespace: operation table(optional any, optional sequence<DOMString>)", - "console namespace: operation dir(optional any, optional object?)", - "console namespace: operation dirxml(any...)" - ] + "idlharness.any.html": true }, "dom": { "abort": { |