Test that open throws a SYNTAX_ERR exception when called with an empty method.
SUCCESS: got exception SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': '' is not a valid HTTP method.
Test that open throws a SYNTAX_ERR exception when called with an empty method.
SUCCESS: got exception SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': '' is not a valid HTTP method.