Changeset 16720 in webkit


Ignore:
Timestamp:
Oct 2, 2006 2:03:31 PM (17 years ago)
Author:
aroben
Message:

Reviewed by Tim H.

This change fixes a couple of problems with the window-properties
test. window-properties' output changes depending on the presence or
non-presence of session history (see
http://bugs.webkit.org/show_bug.cgi?id=10965 for details). For this
reason, the test must always be run as part of a run of ALL layout
tests. The test results checked in were generated from an individual
run of this test, so the buildbots were always failing since they run
all the tests at once.

This change regenerates the results for the test using a full run of
layout tests. The test now also prints out object class names, and
will print an error message when the test is run by itself.

  • fast/js/window-properties-expected.txt:
  • fast/js/window-properties.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r16718 r16720  
     12006-10-02  Adam Roben  <aroben@apple.com>
     2
     3        Reviewed by Tim H.
     4
     5        This change fixes a couple of problems with the window-properties
     6        test. window-properties' output changes depending on the presence or
     7        non-presence of session history (see
     8        http://bugs.webkit.org/show_bug.cgi?id=10965 for details). For this
     9        reason, the test must always be run as part of a run of ALL layout
     10        tests. The test results checked in were generated from an individual
     11        run of this test, so the buildbots were always failing since they run
     12        all the tests at once.
     13
     14        This change regenerates the results for the test using a full run of
     15        layout tests. The test now also prints out object class names, and
     16        will print an error message when the test is run by itself.
     17
     18        * fast/js/window-properties-expected.txt:
     19        * fast/js/window-properties.html:
     20
    1212006-10-02  Adele Peterson  <adele@apple.com>
    222
  • trunk/LayoutTests/fast/js/window-properties-expected.txt

    r16473 r16720  
    66window.TypeError : function
    77window.URIError : function
    8 window.layoutTestController : object
     8window.layoutTestController : object (RuntimeObject)
    99window.layoutTestController *** children skipped, already printed above under 'undefined'
    10 window.eventSender : object
    11 window.textInputController : object
    12 window.appleScriptController : object
    13 window.GCController : object
    14 window.navigationController : object
    15 window.objCPlugin : object
     10window.eventSender : object (RuntimeObject)
     11window.textInputController : object (RuntimeObject)
     12window.appleScriptController : object (RuntimeObject)
     13window.GCController : object (RuntimeObject)
     14window.navigationController : object (RuntimeObject)
     15window.objCPlugin : object (RuntimeObject)
    1616window.objCPluginFunction : function
    17 window.logDiv : object
     17window.logDiv : object (HTMLDivElement)
    1818window.logDiv *** children skipped (explicitly)
    1919window.lastLogLine : number
     
    2323window.havePrintedChildren : function
    2424window.printProperties : function
    25 window.document : object
     25window.document : object (HTMLDocument)
    2626window.document.title : string
    2727window.document.width : number
     
    3636window.document.all : undefined
    3737window.document.lastModified : string
    38 window.document.body : object
     38window.document.body : object (HTMLBodyElement)
    3939window.document.body.bgColor : string
    4040window.document.body.vLink : string
     
    4848window.document.body.scrollWidth : number
    4949window.document.body.id : string
    50 window.document.body.document : object
     50window.document.body.document : object (HTMLDocument)
    5151window.document.body.document *** children skipped, already printed above under 'window.document'
    5252window.document.body.isContentEditable : boolean
     
    6868window.document.body.offsetTop : number
    6969window.document.body.offsetParent : null
    70 window.document.body.style : object
     70window.document.body.style : object (CSSStyleDeclaration)
    7171window.document.body.style.cssText : string
    7272window.document.body.style.length : number
     
    8282window.document.body.clientWidth : number
    8383window.document.body.clientTop : number
    84 window.document.body.parentNode : object
     84window.document.body.parentNode : object (HTMLHtmlElement)
    8585window.document.body.parentNode.version : string
    8686window.document.body.parentNode.id : string
    87 window.document.body.parentNode.document : object
     87window.document.body.parentNode.document : object (HTMLDocument)
    8888window.document.body.parentNode.document *** children skipped, already printed above under 'window.document'
    8989window.document.body.parentNode.isContentEditable : boolean
     
    106106window.document.body.parentNode.offsetTop : number
    107107window.document.body.parentNode.offsetParent : null
    108 window.document.body.parentNode.style : object
     108window.document.body.parentNode.style : object (CSSStyleDeclaration)
    109109window.document.body.parentNode.style.cssText : string
    110110window.document.body.parentNode.style.length : number
     
    123123window.document.body.parentNode.clientTop : number
    124124window.document.body.parentNode.scrollWidth : number
    125 window.document.body.parentNode.parentNode : object
     125window.document.body.parentNode.parentNode : object (HTMLDocument)
    126126window.document.body.parentNode.parentNode *** children skipped, already printed above under 'window.document'
    127127window.document.body.parentNode.childNodes : function
    128 window.document.body.parentNode.parentElement : object
     128window.document.body.parentNode.parentElement : object (HTMLDocument)
    129129window.document.body.parentNode.parentElement *** children skipped, already printed above under 'window.document'
    130 window.document.body.parentNode.attributes : object
     130window.document.body.parentNode.attributes : object (NamedNodeMap)
    131131window.document.body.parentNode.attributes.removeNamedItem : function
    132132window.document.body.parentNode.attributes.getNamedItem : function
     
    140140window.document.body.parentNode.previousSibling : null
    141141window.document.body.parentNode.nodeType : number
    142 window.document.body.parentNode.lastChild : object
     142window.document.body.parentNode.lastChild : object (HTMLBodyElement)
    143143window.document.body.parentNode.lastChild *** children skipped, already printed above under 'window.document.body'
    144144window.document.body.parentNode.namespaceURI : string
    145145window.document.body.parentNode.nodeName : string
    146 window.document.body.parentNode.firstChild : object
     146window.document.body.parentNode.firstChild : object (HTMLBodyElement)
    147147window.document.body.parentNode.firstChild *** children skipped, already printed above under 'window.document.body'
    148148window.document.body.parentNode.nextSibling : null
    149149window.document.body.parentNode.localName : string
    150 window.document.body.parentNode.ownerDocument : object
     150window.document.body.parentNode.ownerDocument : object (HTMLDocument)
    151151window.document.body.parentNode.ownerDocument *** children skipped, already printed above under 'window.document'
    152152window.document.body.parentNode.textContent : string
     
    205205window.document.body.parentNode.lookupNamespaceURI : function
    206206window.document.body.childNodes : function
    207 window.document.body.parentElement : object
     207window.document.body.parentElement : object (HTMLHtmlElement)
    208208window.document.body.parentElement *** children skipped, already printed above under 'window.document.body.parentNode'
    209 window.document.body.attributes : object
     209window.document.body.attributes : object (NamedNodeMap)
    210210window.document.body.attributes.removeNamedItem : function
    211211window.document.body.attributes.getNamedItem : function
     
    219219window.document.body.previousSibling : null
    220220window.document.body.nodeType : number
    221 window.document.body.lastChild : object
     221window.document.body.lastChild : object (HTMLScriptElement)
    222222window.document.body.lastChild *** children skipped (explicitly)
    223223window.document.body.namespaceURI : string
    224224window.document.body.nodeName : string
    225 window.document.body.firstChild : object
     225window.document.body.firstChild : object (Text)
    226226window.document.body.firstChild.data : string
    227227window.document.body.firstChild.length : number
    228 window.document.body.firstChild.parentNode : object
     228window.document.body.firstChild.parentNode : object (HTMLBodyElement)
    229229window.document.body.firstChild.parentNode *** children skipped, already printed above under 'window.document.body'
    230230window.document.body.firstChild.childNodes : function
    231 window.document.body.firstChild.parentElement : object
     231window.document.body.firstChild.parentElement : object (HTMLBodyElement)
    232232window.document.body.firstChild.parentElement *** children skipped, already printed above under 'window.document.body'
    233233window.document.body.firstChild.attributes : null
     
    240240window.document.body.firstChild.nodeName : string
    241241window.document.body.firstChild.firstChild : null
    242 window.document.body.firstChild.nextSibling : object
     242window.document.body.firstChild.nextSibling : object (HTMLDivElement)
    243243window.document.body.firstChild.nextSibling *** children skipped (explicitly)
    244244window.document.body.firstChild.localName : string
    245 window.document.body.firstChild.ownerDocument : object
     245window.document.body.firstChild.ownerDocument : object (HTMLDocument)
    246246window.document.body.firstChild.ownerDocument *** children skipped, already printed above under 'window.document'
    247247window.document.body.firstChild.textContent : string
     
    284284window.document.body.nextSibling : null
    285285window.document.body.localName : string
    286 window.document.body.ownerDocument : object
     286window.document.body.ownerDocument : object (HTMLDocument)
    287287window.document.body.ownerDocument *** children skipped, already printed above under 'window.document'
    288288window.document.body.textContent : string
     
    343343window.document.alinkColor : string
    344344window.document.links : function
    345 window.document.location : object
     345window.document.location : object (Location)
     346window.document.location.toString : function
     347window.document.location.assign : function
    346348window.document.cookie : string
    347349window.document.plugins : function
     
    353355window.document.designMode : string
    354356window.document.defaultCharset : string
    355 window.document.styleSheets : object
     357window.document.styleSheets : object (StyleSheetList)
    356358window.document.styleSheets.length : number
    357359window.document.styleSheets.item : function
    358 window.document.implementation : object
     360window.document.implementation : object (DOMImplementation)
    359361window.document.implementation.createDocumentType : function
    360362window.document.implementation.hasFeature : function
     
    364366window.document.doctype : null
    365367window.document.inputEncoding : string
    366 window.document.defaultView : object
     368window.document.defaultView : object (DOMWindow)
    367369window.document.defaultView.EvalError : function
    368370window.document.defaultView.RangeError : function
     
    371373window.document.defaultView.TypeError : function
    372374window.document.defaultView.URIError : function
    373 window.document.defaultView.layoutTestController : object
     375window.document.defaultView.layoutTestController : object (RuntimeObject)
    374376window.document.defaultView.layoutTestController *** children skipped, already printed above under 'undefined'
    375 window.document.defaultView.eventSender : object
    376 window.document.defaultView.textInputController : object
    377 window.document.defaultView.appleScriptController : object
    378 window.document.defaultView.GCController : object
    379 window.document.defaultView.navigationController : object
    380 window.document.defaultView.objCPlugin : object
     377window.document.defaultView.eventSender : object (RuntimeObject)
     378window.document.defaultView.textInputController : object (RuntimeObject)
     379window.document.defaultView.appleScriptController : object (RuntimeObject)
     380window.document.defaultView.GCController : object (RuntimeObject)
     381window.document.defaultView.navigationController : object (RuntimeObject)
     382window.document.defaultView.objCPlugin : object (RuntimeObject)
    381383window.document.defaultView.objCPluginFunction : function
    382 window.document.defaultView.logDiv : object
     384window.document.defaultView.logDiv : object (HTMLDivElement)
    383385window.document.defaultView.logDiv *** children skipped (explicitly)
    384386window.document.defaultView.lastLogLine : number
     
    388390window.document.defaultView.havePrintedChildren : function
    389391window.document.defaultView.printProperties : function
    390 window.document.defaultView.document : object
     392window.document.defaultView.document : object (HTMLDocument)
    391393window.document.defaultView.document *** children skipped, already printed above under 'window.document'
    392394window.document.defaultView.propertyName : string
    393 window.document.defaultView.CSSValue : object
    394 window.document.defaultView.CSSValue.prototype : object
     395window.document.defaultView.CSSValue : object (CSSValueConstructor)
     396window.document.defaultView.CSSValue.prototype : object (CSSValue)
    395397window.document.defaultView.CSSValue.prototype.CSS_INHERIT : number
    396398window.document.defaultView.CSSValue.prototype.CSS_CUSTOM : number
     
    401403window.document.defaultView.CSSValue.CSS_PRIMITIVE_VALUE : number
    402404window.document.defaultView.CSSValue.CSS_VALUE_LIST : number
    403 window.document.defaultView.CSSPrimitiveValue : object
    404 window.document.defaultView.CSSPrimitiveValue.prototype : object
     405window.document.defaultView.CSSPrimitiveValue : object (CSSPrimitiveValueConstructor)
     406window.document.defaultView.CSSPrimitiveValue.prototype : object (CSSPrimitiveValue)
    405407window.document.defaultView.CSSPrimitiveValue.prototype *** children skipped, already printed above under 'window.document.defaultView.CSSValue.prototype'
    406408window.document.defaultView.CSSPrimitiveValue.CSS_IN : number
     
    430432window.document.defaultView.CSSPrimitiveValue.CSS_RECT : number
    431433window.document.defaultView.CSSPrimitiveValue.CSS_RGBCOLOR : number
    432 window.document.defaultView.XMLDocument : object
    433 window.document.defaultView.XMLDocument.prototype : object
     434window.document.defaultView.XMLDocument : object (DocumentConstructor)
     435window.document.defaultView.XMLDocument.prototype : object (Document)
    434436window.document.defaultView.XMLDocument.prototype.getElementById : function
    435437window.document.defaultView.XMLDocument.prototype.createElement : function
     
    492494window.document.defaultView.XMLDocument.prototype.isEqualNode : function
    493495window.document.defaultView.XMLDocument.prototype.lookupNamespaceURI : function
    494 window.document.defaultView.DOMParser : object
    495 window.document.defaultView.DOMParser.prototype : object
     496window.document.defaultView.DOMParser : object (DOMParserConstructor)
     497window.document.defaultView.DOMParser.prototype : object (DOMParser)
    496498window.document.defaultView.DOMParser.prototype.parseFromString : function
    497 window.document.defaultView.RangeException : object
    498 window.document.defaultView.RangeException.prototype : object
     499window.document.defaultView.RangeException : object (RangeExceptionConstructor)
     500window.document.defaultView.RangeException.prototype : object (RangeException)
    499501window.document.defaultView.RangeException.prototype.BAD_BOUNDARYPOINTS_ERR : number
    500502window.document.defaultView.RangeException.prototype.INVALID_NODE_TYPE_ERR : number
    501503window.document.defaultView.RangeException.BAD_BOUNDARYPOINTS_ERR : number
    502504window.document.defaultView.RangeException.INVALID_NODE_TYPE_ERR : number
    503 window.document.defaultView.HTMLElement : object
    504 window.document.defaultView.HTMLElement.prototype : object
     505window.document.defaultView.HTMLElement : object (HTMLElementConstructor)
     506window.document.defaultView.HTMLElement.prototype : object (HTMLElement)
    505507window.document.defaultView.HTMLElement.prototype.removeAttributeNode : function
    506508window.document.defaultView.HTMLElement.prototype.removeAttribute : function
     
    556558window.document.defaultView.HTMLElement.prototype.isEqualNode : function
    557559window.document.defaultView.HTMLElement.prototype.lookupNamespaceURI : function
    558 window.document.defaultView.NodeFilter : object
    559 window.document.defaultView.NodeFilter.prototype : object
     560window.document.defaultView.NodeFilter : object (NodeFilterConstructor)
     561window.document.defaultView.NodeFilter.prototype : object (NodeFilter)
    560562window.document.defaultView.NodeFilter.prototype.SHOW_CDATA_SECTION : number
    561563window.document.defaultView.NodeFilter.prototype.FILTER_ACCEPT : number
     
    590592window.document.defaultView.NodeFilter.SHOW_DOCUMENT_TYPE : number
    591593window.document.defaultView.NodeFilter.SHOW_DOCUMENT_FRAGMENT : number
    592 window.document.defaultView.CSSStyleDeclaration : object
    593 window.document.defaultView.CSSStyleDeclaration.prototype : object
     594window.document.defaultView.CSSStyleDeclaration : object (CSSStyleDeclarationConstructor)
     595window.document.defaultView.CSSStyleDeclaration.prototype : object (CSSStyleDeclaration)
    594596window.document.defaultView.CSSStyleDeclaration.prototype.item : function
    595597window.document.defaultView.CSSStyleDeclaration.prototype.getPropertyPriority : function
     
    600602window.document.defaultView.CSSStyleDeclaration.prototype.isPropertyImplicit : function
    601603window.document.defaultView.CSSStyleDeclaration.prototype.setProperty : function
    602 window.document.defaultView.MutationEvent : object
    603 window.document.defaultView.MutationEvent.prototype : object
     604window.document.defaultView.MutationEvent : object (MutationEventConstructor)
     605window.document.defaultView.MutationEvent.prototype : object (MutationEvent)
    604606window.document.defaultView.MutationEvent.prototype.MODIFICATION : number
    605607window.document.defaultView.MutationEvent.prototype.ADDITION : number
     
    631633window.document.defaultView.MutationEvent.ADDITION : number
    632634window.document.defaultView.MutationEvent.REMOVAL : number
    633 window.document.defaultView.Element : object
    634 window.document.defaultView.Element.prototype : object
     635window.document.defaultView.Element : object (ElementConstructor)
     636window.document.defaultView.Element.prototype : object (Element)
    635637window.document.defaultView.Element.prototype.removeAttributeNode : function
    636638window.document.defaultView.Element.prototype.removeAttribute : function
     
    687689window.document.defaultView.Element.prototype.lookupNamespaceURI : function
    688690window.document.defaultView.devicePixelRatio : number
    689 window.document.defaultView.Document : object
     691window.document.defaultView.Document : object (DocumentConstructor)
    690692window.document.defaultView.Document *** children skipped, already printed above under 'window.document.defaultView.XMLDocument'
    691 window.document.defaultView.CSSRule : object
    692 window.document.defaultView.CSSRule.prototype : object
     693window.document.defaultView.CSSRule : object (CSSRuleConstructor)
     694window.document.defaultView.CSSRule.prototype : object (CSSRule)
    693695window.document.defaultView.CSSRule.prototype.MEDIA_RULE : number
    694696window.document.defaultView.CSSRule.prototype.IMPORT_RULE : number
     
    705707window.document.defaultView.CSSRule.CHARSET_RULE : number
    706708window.document.defaultView.CSSRule.FONT_FACE_RULE : number
    707 window.document.defaultView.DocumentFragment : object
    708 window.document.defaultView.DocumentFragment.prototype : object
     709window.document.defaultView.DocumentFragment : object (DocumentFragmentConstructor)
     710window.document.defaultView.DocumentFragment.prototype : object (DocumentFragment)
    709711window.document.defaultView.DocumentFragment.prototype.addEventListener : function
    710712window.document.defaultView.DocumentFragment.prototype.removeEventListener : function
     
    737739window.document.defaultView.DocumentFragment.prototype.isEqualNode : function
    738740window.document.defaultView.DocumentFragment.prototype.lookupNamespaceURI : function
    739 window.document.defaultView.Event : object
    740 window.document.defaultView.Event.prototype : object
     741window.document.defaultView.Event : object (EventConstructor)
     742window.document.defaultView.Event.prototype : object (Event)
    741743window.document.defaultView.Event.prototype.MOUSEOUT : number
    742744window.document.defaultView.Event.prototype.MOUSEOVER : number
     
    780782window.document.defaultView.Event.FOCUS : number
    781783window.document.defaultView.Event.CHANGE : number
    782 window.document.defaultView.HTMLDocument : object
    783 window.document.defaultView.HTMLDocument.prototype : object
     784window.document.defaultView.HTMLDocument : object (HTMLDocumentConstructor)
     785window.document.defaultView.HTMLDocument.prototype : object (HTMLDocument)
    784786window.document.defaultView.HTMLDocument.prototype *** children skipped, already printed above under 'window.document.defaultView.XMLDocument.prototype'
    785 window.document.defaultView.Node : object
    786 window.document.defaultView.Node.prototype : object
     787window.document.defaultView.Node : object (NodeConstructor)
     788window.document.defaultView.Node.prototype : object (Node)
    787789window.document.defaultView.Node.prototype.DOCUMENT_FRAGMENT_NODE : number
    788790window.document.defaultView.Node.prototype.ENTITY_REFERENCE_NODE : number
     
    824826window.document.defaultView.Node.DOCUMENT_TYPE_NODE : number
    825827window.document.defaultView.Node.NOTATION_NODE : number
    826 window.document.defaultView.Range : object
    827 window.document.defaultView.Range.prototype : object
     828window.document.defaultView.Range : object (RangeConstructor)
     829window.document.defaultView.Range.prototype : object (Range)
    828830window.document.defaultView.Range.prototype.START_TO_START : number
    829831window.document.defaultView.Range.prototype.setEnd : function
     
    865867window.document.defaultView.Range.NODE_BEFORE_AND_AFTER : number
    866868window.document.defaultView.Range.NODE_INSIDE : number
    867 window.document.defaultView.XMLSerializer : object
    868 window.document.defaultView.XMLSerializer.prototype : object
     869window.document.defaultView.XMLSerializer : object (XMLSerializerConstructor)
     870window.document.defaultView.XMLSerializer.prototype : object (XMLSerializer)
    869871window.document.defaultView.XMLSerializer.prototype.serializeToString : function
    870 window.document.defaultView.XPathEvaluator : object
    871 window.document.defaultView.XPathEvaluator.prototype : object
     872window.document.defaultView.XPathEvaluator : object (XPathEvaluatorConstructor)
     873window.document.defaultView.XPathEvaluator.prototype : object (XPathEvaluator)
    872874window.document.defaultView.XPathEvaluator.prototype.evaluate : function
    873875window.document.defaultView.XPathEvaluator.prototype.createExpression : function
    874876window.document.defaultView.XPathEvaluator.prototype.createNSResolver : function
    875 window.document.defaultView.XPathResult : object
    876 window.document.defaultView.XPathResult.prototype : object
     877window.document.defaultView.XPathResult : object (XPathResultConstructor)
     878window.document.defaultView.XPathResult.prototype : object (XPathResult)
    877879window.document.defaultView.XPathResult.prototype.UNORDERED_NODE_SNAPSHOT_TYPE : number
    878880window.document.defaultView.XPathResult.prototype.snapshotItem : function
     
    898900window.document.defaultView.XPathResult.ANY_UNORDERED_NODE_TYPE : number
    899901window.document.defaultView.name : string
    900 window.document.defaultView.self : object
     902window.document.defaultView.self : object (DOMWindow)
    901903window.document.defaultView.self *** children skipped, already printed above under 'window.document.defaultView'
    902904window.document.defaultView.pageYOffset : number
     
    904906window.document.defaultView.offscreenBuffering : boolean
    905907window.document.defaultView.moveBy : function
    906 window.document.defaultView.personalbar : object
    907 window.document.defaultView.DOMException : object
     908window.document.defaultView.personalbar : object (BarInfo)
     909window.document.defaultView.DOMException : object (DOMExceptionConstructor)
    908910window.document.defaultView.scrollX : number
    909 window.document.defaultView.Image : object
    910 window.document.defaultView.window : object
     911window.document.defaultView.Image : object (Object)
     912window.document.defaultView.window : object (DOMWindow)
    911913window.document.defaultView.window *** children skipped, already printed above under 'window.document.defaultView'
    912914window.document.defaultView.onunload : null
     
    914916window.document.defaultView.screenY : number
    915917window.document.defaultView.screenTop : number
    916 window.document.defaultView.XSLTProcessor : object
    917 window.document.defaultView.XSLTProcessor.prototype : object
     918window.document.defaultView.XSLTProcessor : object (Object)
     919window.document.defaultView.XSLTProcessor.prototype : object (XSLTProcessor)
    918920window.document.defaultView.XSLTProcessor.prototype.transformToDocument : function
    919921window.document.defaultView.XSLTProcessor.prototype.importStylesheet : function
     
    926928window.document.defaultView.innerHeight : number
    927929window.document.defaultView.defaultstatus : string
    928 window.document.defaultView.screen : object
    929 window.document.defaultView.parent : object
     930window.document.defaultView.screen : object (Screen)
     931window.document.defaultView.parent : object (DOMWindow)
    930932window.document.defaultView.parent *** children skipped, already printed above under 'window.document.defaultView'
    931 window.document.defaultView.menubar : object
    932 window.document.defaultView.Option : object
     933window.document.defaultView.menubar : object (BarInfo)
     934window.document.defaultView.Option : object (Object)
    933935window.document.defaultView.onchange : null
    934936window.document.defaultView.innerWidth : number
    935937window.document.defaultView.focus : function
    936938window.document.defaultView.getSelection : function
    937 window.document.defaultView.frames : object
    938 window.document.defaultView.frames.location : object
     939window.document.defaultView.frames : object (FrameArray)
     940window.document.defaultView.frames.location : object (Location)
    939941window.document.defaultView.frames.location *** children skipped, already printed above under 'window.document.location'
    940942window.document.defaultView.frames.length : number
    941 window.document.defaultView.locationbar : object
    942 window.document.defaultView.toolbar : object
     943window.document.defaultView.locationbar : object (BarInfo)
     944window.document.defaultView.toolbar : object (BarInfo)
    943945window.document.defaultView.length : number
    944946window.document.defaultView.onbeforeunload : null
    945947window.document.defaultView.outerHeight : number
    946948window.document.defaultView.onmousewheel : null
    947 window.document.defaultView.history : object
     949window.document.defaultView.history : object (History)
     950window.document.defaultView.history.back : function
     951window.document.defaultView.history.forward : function
    948952window.document.defaultView.prompt : function
    949 window.document.defaultView.top : object
     953window.document.defaultView.top : object (DOMWindow)
    950954window.document.defaultView.top *** children skipped, already printed above under 'window.document.defaultView'
    951955window.document.defaultView.onfocus : null
    952956window.document.defaultView.onmousedown : null
    953 window.document.defaultView.statusbar : object
     957window.document.defaultView.statusbar : object (BarInfo)
    954958window.document.defaultView.screenLeft : number
    955 window.document.defaultView.location : object
     959window.document.defaultView.location : object (Location)
    956960window.document.defaultView.location *** children skipped, already printed above under 'window.document.location'
    957961window.document.defaultView.resizeTo : function
     
    965969window.document.defaultView.scrollTo : function
    966970window.document.defaultView.onmouseover : null
    967 window.document.defaultView.opener : null
     971window.document.defaultView.opener : object (DOMWindow)
     972window.document.defaultView.opener *** children skipped, already printed above under 'window.document.defaultView'
    968973window.document.defaultView.onkeyup : null
    969974window.document.defaultView.outerWidth : number
     
    972977window.document.defaultView.onerror : null
    973978window.document.defaultView.onmousemove : null
    974 window.document.defaultView.scrollbars : object
     979window.document.defaultView.scrollbars : object (BarInfo)
    975980window.document.defaultView.onclick : null
    976981window.document.defaultView.event : undefined
    977982window.document.defaultView.confirm : function
    978 window.document.defaultView.clientInformation : object
     983window.document.defaultView.clientInformation : object (Navigator)
    979984window.document.defaultView.clientInformation.appVersion : string
    980985window.document.defaultView.clientInformation.appCodeName : string
     
    985990window.document.defaultView.clientInformation.vendorSub : string
    986991window.document.defaultView.clientInformation.vendor : string
    987 window.document.defaultView.clientInformation.mimeTypes : object
     992window.document.defaultView.clientInformation.mimeTypes : object (MimeTypeArray)
    988993window.document.defaultView.clientInformation.mimeTypes.length : number
    989994window.document.defaultView.clientInformation.userAgent : string
    990995window.document.defaultView.clientInformation.platform : string
    991 window.document.defaultView.clientInformation.plugins : object
     996window.document.defaultView.clientInformation.plugins : object (PluginArray)
    992997window.document.defaultView.clientInformation.plugins.refresh : function
    993998window.document.defaultView.clientInformation.plugins.length : number
     
    9971002window.document.defaultView.alert : function
    9981003window.document.defaultView.crypto : undefined
    999 window.document.defaultView.navigator : object
     1004window.document.defaultView.navigator : object (Navigator)
    10001005window.document.defaultView.navigator *** children skipped, already printed above under 'window.document.defaultView.clientInformation'
    10011006window.document.defaultView.pageXOffset : number
     
    10041009window.document.defaultView.moveTo : function
    10051010window.document.defaultView.resizeBy : function
    1006 window.document.defaultView.XMLHttpRequest : object
    1007 window.document.defaultView.XMLHttpRequest.prototype : object
     1011window.document.defaultView.XMLHttpRequest : object (Object)
     1012window.document.defaultView.XMLHttpRequest.prototype : object (JSXMLHttpRequest)
    10081013window.document.defaultView.XMLHttpRequest.prototype.getResponseHeader : function
    10091014window.document.defaultView.XMLHttpRequest.prototype.setRequestHeader : function
     
    10381043window.document.defaultView.getComputedStyle : function
    10391044window.document.URL : string
    1040 window.document.documentElement : object
     1045window.document.documentElement : object (HTMLHtmlElement)
    10411046window.document.documentElement *** children skipped, already printed above under 'window.document.body.parentNode'
    10421047window.document.charset : string
     
    10531058window.document.previousSibling : null
    10541059window.document.nodeType : number
    1055 window.document.lastChild : object
     1060window.document.lastChild : object (HTMLHtmlElement)
    10561061window.document.lastChild *** children skipped, already printed above under 'window.document.body.parentNode'
    10571062window.document.namespaceURI : null
    10581063window.document.nodeName : string
    1059 window.document.firstChild : object
     1064window.document.firstChild : object (HTMLHtmlElement)
    10601065window.document.firstChild *** children skipped, already printed above under 'window.document.body.parentNode'
    10611066window.document.nextSibling : null
     
    11311136window.document.isEqualNode : function
    11321137window.document.lookupNamespaceURI : function
    1133 window.CSSValue : object
     1138window.CSSValue : object (CSSValueConstructor)
    11341139window.CSSValue *** children skipped, already printed above under 'window.document.defaultView.CSSValue'
    1135 window.CSSPrimitiveValue : object
     1140window.CSSPrimitiveValue : object (CSSPrimitiveValueConstructor)
    11361141window.CSSPrimitiveValue *** children skipped, already printed above under 'window.document.defaultView.CSSPrimitiveValue'
    1137 window.XMLDocument : object
     1142window.XMLDocument : object (DocumentConstructor)
    11381143window.XMLDocument *** children skipped, already printed above under 'window.document.defaultView.XMLDocument'
    1139 window.DOMParser : object
     1144window.DOMParser : object (DOMParserConstructor)
    11401145window.DOMParser *** children skipped, already printed above under 'window.document.defaultView.DOMParser'
    1141 window.RangeException : object
     1146window.RangeException : object (RangeExceptionConstructor)
    11421147window.RangeException *** children skipped, already printed above under 'window.document.defaultView.RangeException'
    1143 window.HTMLElement : object
     1148window.HTMLElement : object (HTMLElementConstructor)
    11441149window.HTMLElement *** children skipped, already printed above under 'window.document.defaultView.HTMLElement'
    1145 window.NodeFilter : object
     1150window.NodeFilter : object (NodeFilterConstructor)
    11461151window.NodeFilter *** children skipped, already printed above under 'window.document.defaultView.NodeFilter'
    1147 window.CSSStyleDeclaration : object
     1152window.CSSStyleDeclaration : object (CSSStyleDeclarationConstructor)
    11481153window.CSSStyleDeclaration *** children skipped, already printed above under 'window.document.defaultView.CSSStyleDeclaration'
    1149 window.MutationEvent : object
     1154window.MutationEvent : object (MutationEventConstructor)
    11501155window.MutationEvent *** children skipped, already printed above under 'window.document.defaultView.MutationEvent'
    1151 window.Element : object
     1156window.Element : object (ElementConstructor)
    11521157window.Element *** children skipped, already printed above under 'window.document.defaultView.Element'
    11531158window.devicePixelRatio : number
    1154 window.Document : object
     1159window.Document : object (DocumentConstructor)
    11551160window.Document *** children skipped, already printed above under 'window.document.defaultView.XMLDocument'
    1156 window.CSSRule : object
     1161window.CSSRule : object (CSSRuleConstructor)
    11571162window.CSSRule *** children skipped, already printed above under 'window.document.defaultView.CSSRule'
    1158 window.DocumentFragment : object
     1163window.DocumentFragment : object (DocumentFragmentConstructor)
    11591164window.DocumentFragment *** children skipped, already printed above under 'window.document.defaultView.DocumentFragment'
    1160 window.Event : object
     1165window.Event : object (EventConstructor)
    11611166window.Event *** children skipped, already printed above under 'window.document.defaultView.Event'
    1162 window.HTMLDocument : object
     1167window.HTMLDocument : object (HTMLDocumentConstructor)
    11631168window.HTMLDocument *** children skipped, already printed above under 'window.document.defaultView.HTMLDocument'
    1164 window.Node : object
     1169window.Node : object (NodeConstructor)
    11651170window.Node *** children skipped, already printed above under 'window.document.defaultView.Node'
    1166 window.Range : object
     1171window.Range : object (RangeConstructor)
    11671172window.Range *** children skipped, already printed above under 'window.document.defaultView.Range'
    1168 window.XMLSerializer : object
     1173window.XMLSerializer : object (XMLSerializerConstructor)
    11691174window.XMLSerializer *** children skipped, already printed above under 'window.document.defaultView.XMLSerializer'
    1170 window.XPathEvaluator : object
     1175window.XPathEvaluator : object (XPathEvaluatorConstructor)
    11711176window.XPathEvaluator *** children skipped, already printed above under 'window.document.defaultView.XPathEvaluator'
    1172 window.XPathResult : object
     1177window.XPathResult : object (XPathResultConstructor)
    11731178window.XPathResult *** children skipped, already printed above under 'window.document.defaultView.XPathResult'
    11741179window.name : string
    1175 window.self : object
     1180window.self : object (DOMWindow)
    11761181window.self *** children skipped, already printed above under 'window.document.defaultView'
    11771182window.pageYOffset : number
     
    11791184window.offscreenBuffering : boolean
    11801185window.moveBy : function
    1181 window.personalbar : object
     1186window.personalbar : object (BarInfo)
    11821187window.personalbar *** children skipped, already printed above under 'window.document.defaultView.personalbar'
    1183 window.DOMException : object
     1188window.DOMException : object (DOMExceptionConstructor)
    11841189window.DOMException *** children skipped, already printed above under 'window.document.defaultView.DOMException'
    11851190window.scrollX : number
    1186 window.Image : object
    1187 window.window : object
     1191window.Image : object (Object)
     1192window.window : object (DOMWindow)
    11881193window.window *** children skipped, already printed above under 'window.document.defaultView'
    11891194window.onunload : null
     
    11911196window.screenY : number
    11921197window.screenTop : number
    1193 window.XSLTProcessor : object
    1194 window.XSLTProcessor.prototype : object
     1198window.XSLTProcessor : object (Object)
     1199window.XSLTProcessor.prototype : object (XSLTProcessor)
    11951200window.XSLTProcessor.prototype *** children skipped, already printed above under 'window.document.defaultView.XSLTProcessor.prototype'
    11961201window.innerHeight : number
    11971202window.defaultstatus : string
    1198 window.screen : object
     1203window.screen : object (Screen)
    11991204window.screen *** children skipped, already printed above under 'window.document.defaultView.screen'
    1200 window.parent : object
     1205window.parent : object (DOMWindow)
    12011206window.parent *** children skipped, already printed above under 'window.document.defaultView'
    1202 window.menubar : object
     1207window.menubar : object (BarInfo)
    12031208window.menubar *** children skipped, already printed above under 'window.document.defaultView.menubar'
    1204 window.Option : object
     1209window.Option : object (Object)
    12051210window.onchange : null
    12061211window.innerWidth : number
    12071212window.focus : function
    12081213window.getSelection : function
    1209 window.frames : object
     1214window.frames : object (FrameArray)
    12101215window.frames *** children skipped, already printed above under 'window.document.defaultView.frames'
    1211 window.locationbar : object
     1216window.locationbar : object (BarInfo)
    12121217window.locationbar *** children skipped, already printed above under 'window.document.defaultView.locationbar'
    1213 window.toolbar : object
     1218window.toolbar : object (BarInfo)
    12141219window.toolbar *** children skipped, already printed above under 'window.document.defaultView.toolbar'
    12151220window.length : number
     
    12171222window.outerHeight : number
    12181223window.onmousewheel : null
    1219 window.history : object
     1224window.history : object (History)
    12201225window.history *** children skipped, already printed above under 'window.document.defaultView.history'
    12211226window.prompt : function
    1222 window.top : object
     1227window.top : object (DOMWindow)
    12231228window.top *** children skipped, already printed above under 'window.document.defaultView'
    12241229window.onfocus : null
    12251230window.onmousedown : null
    1226 window.statusbar : object
     1231window.statusbar : object (BarInfo)
    12271232window.statusbar *** children skipped, already printed above under 'window.document.defaultView.statusbar'
    12281233window.screenLeft : number
    1229 window.location : object
     1234window.location : object (Location)
    12301235window.location *** children skipped, already printed above under 'window.document.location'
    12311236window.resizeTo : function
     
    12391244window.scrollTo : function
    12401245window.onmouseover : null
    1241 window.opener : null
     1246window.opener : object (DOMWindow)
     1247window.opener *** children skipped, already printed above under 'window.document.defaultView'
    12421248window.onkeyup : null
    12431249window.outerWidth : number
     
    12461252window.onerror : null
    12471253window.onmousemove : null
    1248 window.scrollbars : object
     1254window.scrollbars : object (BarInfo)
    12491255window.scrollbars *** children skipped, already printed above under 'window.document.defaultView.scrollbars'
    12501256window.onclick : null
    12511257window.event : undefined
    12521258window.confirm : function
    1253 window.clientInformation : object
     1259window.clientInformation : object (Navigator)
    12541260window.clientInformation *** children skipped, already printed above under 'window.document.defaultView.clientInformation'
    12551261window.scrollY : number
    12561262window.alert : function
    12571263window.crypto : undefined
    1258 window.navigator : object
     1264window.navigator : object (Navigator)
    12591265window.navigator *** children skipped, already printed above under 'window.document.defaultView.clientInformation'
    12601266window.pageXOffset : number
     
    12631269window.moveTo : function
    12641270window.resizeBy : function
    1265 window.XMLHttpRequest : object
    1266 window.XMLHttpRequest.prototype : object
     1271window.XMLHttpRequest : object (Object)
     1272window.XMLHttpRequest.prototype : object (JSXMLHttpRequest)
    12671273window.XMLHttpRequest.prototype *** children skipped, already printed above under 'window.document.defaultView.XMLHttpRequest.prototype'
    12681274window.open : function
  • trunk/LayoutTests/fast/js/window-properties.html

    r16473 r16720  
    5353      continue;
    5454    var type = (propertyValue === null ? 'null' : typeof(propertyValue));
    55     log(fullPropertyName + " : " + type);
     55    var classname = '';
     56    if (type == 'object') {
     57        try {
     58          classname = ' (' + Object.prototype.toString.call(propertyValue).replace(/^\[object (.*)\]$/, '$1') + ')';
     59        } catch(e) {
     60          log(fullPropertyName + " : ERROR accessing class name, exception thrown: " + e);
     61        }
     62    }
     63    log(fullPropertyName + " : " + type + classname);
    5664    var previousPropertyName = '';
    5765    if (propertyValue && type == 'object') {
     
    7078printProperties(window, 'window');
    7179
     80if (!window.opener) {
     81  // FIXME: This test should be able to specify that it depends on the (non)existence of session history
     82  // http://bugs.webkit.org/show_bug.cgi?id=10965
     83  log('This test must be run as part of ALL LayoutTests to run correctly');
     84}
     85
    7286</script>
    7387</body>
Note: See TracChangeset for help on using the changeset viewer.