The plan is to throw TypeError instead of SyntaxError for invalid arguments to setRequestHeader() - see Mozilla bug 918764 and W3C bug 23346