Test that open throws a SYNTAX_ERR exception when called with an empty method.

SUCCESS: got exception Error: SyntaxError: DOM Exception 12
