Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / script-tests / dot-node-base-exception.js
blob2035bbac88dd03cbf44da4fefb05c52b01a14711
1 description(
2 "This test checks that a correct exception is raised when calculating the base value of a dot expression fails."
3 );
5 // Should throw TypeError with appropriate message.
6 shouldThrow('(document.appendChild()).foobar()', '"TypeError: Failed to execute \'appendChild\' on \'Node\': 1 argument required, but only 0 present."');