Bug 457914 - window.document should not have a quick stub (r+sr=jst)
authorJason Orendorff <jorendorff@mozilla.com>
Thu, 09 Oct 2008 07:30:20 -0500
changeset 20206 252eb15537b544824d86419519eee92224625aa6
parent 20205 15d37b3451cfe7eed8f5e50924750aa5260c08e5
child 20207 918a110a68e4f426b38bf510bac74ed51a85a9df
push idunknown
push userunknown
push dateunknown
bugs457914
milestone1.9.1b2pre
Bug 457914 - window.document should not have a quick stub (r+sr=jst)
js/src/xpconnect/src/dom_quickstubs.qsconf
--- a/js/src/xpconnect/src/dom_quickstubs.qsconf
+++ b/js/src/xpconnect/src/dom_quickstubs.qsconf
@@ -61,17 +61,20 @@ members = [
     #   - nsIDOMJSWindow.{prompt,setTimeout,setInterval,open,openDialog}
     #
     # (And nsIDOMModalContentWindow.returnValue is an attribute of type
     # nsIVariant, which qsgen.py can't handle.)
     #
     'nsIDOMWindow.name',
     'nsIDOMWindow.parent',
     'nsIDOMWindow.top',
-    'nsIDOMWindow.document',
+    # Several window properties are magically resolved, including
+    # location, _content, navigator, document, and window itself.
+    # These do not need quick stubs.
+    #'nsIDOMWindow.document',
     'nsIDOMWindow.getSelection',
     'nsIDOMWindowCollection.item',
     'nsIDOMWindowCollection.length',
     'nsIDOMScreen.top',
     'nsIDOMScreen.height',
     'nsIDOMScreen.width',
     'nsIDOMScreen.left',
     'nsIDOMClientRect.top',