[webkit-reviews] review requested: [Bug 15530] XMLHttpRequest should not support certain methods : [Attachment 17429] Patch + test case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 21 03:41:02 PST 2007


Julien Chaffraix <julien.chaffraix at gmail.com> has asked  for review:
Bug 15530: XMLHttpRequest should not support certain methods
http://bugs.webkit.org/show_bug.cgi?id=15530

Attachment 17429: Patch + test case
http://bugs.webkit.org/attachment.cgi?id=17429&action=edit

------- Additional Comments from Julien Chaffraix <julien.chaffraix at gmail.com>
Other browsers' behaviour :

- IE7 does not support these methods so raise an exception (message: invalid
argument)

- Firefox raises a NS_ERROR_INVALID_ARG exception for track and trace (no
exception for connect)

- Opera does not raise any exception


The patch makes us raise a SECURITY_ERR for the 3 methods (IE's behaviour and
close to Firefox's).


More information about the webkit-reviews mailing list