Bug 776239 - Unpref XHR bindings; r=bz
authorMs2ger <ms2ger@gmail.com>
Thu, 20 Sep 2012 09:55:37 +0200
changeset 114349 1e56d30168204432aaab87c4df3838c14d0fe50b
parent 114348 0c97d9b38576fc9b8f4eb34782f84a904ada6fde
child 114359 2208b83cc81d7ea02fa30f27a03c9f3f5b766155
push id239
push userakeybl@mozilla.com
push dateThu, 03 Jan 2013 21:54:43 +0000
treeherdermozilla-release@3a7b66445659 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs776239
milestone18.0a1
first release with
nightly linux32
1e56d3016820 / 18.0a1 / 20120920030543 / files
nightly linux64
1e56d3016820 / 18.0a1 / 20120920030543 / files
nightly mac
1e56d3016820 / 18.0a1 / 20120920030543 / files
nightly win32
1e56d3016820 / 18.0a1 / 20120920030543 / files
nightly win64
1e56d3016820 / 18.0a1 / 20120920030543 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 776239 - Unpref XHR bindings; r=bz
dom/bindings/Bindings.conf
js/xpconnect/src/dom_quickstubs.qsconf
--- a/dom/bindings/Bindings.conf
+++ b/dom/bindings/Bindings.conf
@@ -318,17 +318,16 @@ DOMInterfaces = {
    'nativeType': 'mozilla::WebGLUniformLocation',
    'headerFile': 'WebGLContext.h',
    'wrapperCache': False
 },
 
 'XMLHttpRequest': [
 {
     'nativeType': 'nsXMLHttpRequest',
-    'prefable': True,
     'implicitJSContext': [ 'constructor', ],
     'resultNotAddRefed': [ 'upload', 'responseXML' ]
 },
 {
     'workers': True,
     'headerFile': 'mozilla/dom/workers/bindings/XMLHttpRequest.h',
 }],
 
--- a/js/xpconnect/src/dom_quickstubs.qsconf
+++ b/js/xpconnect/src/dom_quickstubs.qsconf
@@ -407,33 +407,16 @@ members = [
     'nsIBoxObject.screenX',
     'nsIBoxObject.screenY',
     'nsIBoxObject.width',
     'nsIBoxObject.height',
 
     # FileReader
     'nsIDOMFileReader.*',
     
-    # XHR
-    'nsIXMLHttpRequest.*',
-    # nsIXMLHttpRequest.channel is not used on the web, and more
-    # importantly relies on the CAPS check that quickstubs don't make.
-    '-nsIXMLHttpRequest.channel',
-    # various XHR things use ACString and AUTF8String and [cstring]
-    # which quickstubs don't handle as return values (or at all in the
-    # case of AUTF8String) yet.
-    '-nsIXMLHttpRequest.statusText',
-    '-nsIXMLHttpRequest.getAllResponseHeaders',
-    '-nsIXMLHttpRequest.getResponseHeader',
-    '-nsIXMLHttpRequest.setRequestHeader',
-    '-nsIXMLHttpRequest.overrideMimeType',
-    # nsIXMLHttpRequestUpload doesn't live in its own IDL file, so
-    # can't be quickstubbed
-    '-nsIXMLHttpRequest.upload',
-
     # Audio
     'nsIDOMNotifyAudioAvailableEvent.frameBuffer',
     'nsIDOMNotifyAudioAvailableEvent.time',
     'nsIDOMHTMLAudioElement.mozWriteAudio',
 
     # dom/indexedDB
     'nsIIDBCursor.*',
     'nsIIDBCursorWithValue.*',