blob: 2035bbac88dd03cbf44da4fefb05c52b01a14711 [file] [log] [blame]
description(
"This test checks that a correct exception is raised when calculating the base value of a dot expression fails."
);
// Should throw TypeError with appropriate message.
shouldThrow('(document.appendChild()).foobar()', '"TypeError: Failed to execute \'appendChild\' on \'Node\': 1 argument required, but only 0 present."');