[Webkit-unassigned] [Bug 46008] New: XMLHttpRequest: open() does not throw a SYNTAX_ERR exception if method is empty
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 17 15:46:32 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=46008
Summary: XMLHttpRequest: open() does not throw a SYNTAX_ERR
exception if method is empty
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jianli at chromium.org
CC: fishd at chromium.org, dimich at chromium.org,
levin at chromium.org, jianli at chromium.org
open() does not throw a SYNTAX_ERR exception if method is empty. It does throw if method contains invalid string.
The XHR spec says:
open(method, url, async, user, password)
Sets the request method, request URL, asynchronous flag, request username, and request password.
Throws a SYNTAX_ERR exception if one of the following is true:
method is not a valid HTTP method.
TEST: http://tc.labs.opera.com/apis/XMLHttpRequest/open-method-bogus.htm
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list