Changeset 63645 in webkit


Ignore:
Timestamp:
Jul 19, 2010 1:23:36 AM (14 years ago)
Author:
kent.hansen@nokia.com
Message:

2010-07-19 Kent Hansen <kent.hansen@nokia.com>

Reviewed by Sam Weinig.

Improve coverage of fast/dom/Window/window-properties test
https://bugs.webkit.org/show_bug.cgi?id=42258

Use Object.getOwnPropertyNames to cover ECMA properties
and other native properties.

  • fast/dom/Window/window-properties-expected.txt:
  • fast/dom/Window/window-properties.html:
  • platform/gtk/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-properties-expected.txt:
Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63644 r63645  
     12010-07-19  Kent Hansen  <kent.hansen@nokia.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Improve coverage of fast/dom/Window/window-properties test
     6        https://bugs.webkit.org/show_bug.cgi?id=42258
     7
     8        Use Object.getOwnPropertyNames to cover ECMA properties
     9        and other native properties.
     10
     11        * fast/dom/Window/window-properties-expected.txt:
     12        * fast/dom/Window/window-properties.html:
     13        * platform/gtk/fast/dom/Window/window-properties-expected.txt:
     14        * platform/qt/fast/dom/Window/window-properties-expected.txt:
     15
    1162010-07-18  Maciej Stachowiak  <mjs@apple.com>
    217
  • trunk/LayoutTests/fast/dom/Window/window-properties-expected.txt

    r62880 r63645  
    22
    33window [object DOMWindow]
     4window.Array [function]
    45window.Attr [object AttrConstructor]
    56window.Attr.prototype [object AttrPrototype]
     
    4142window.Attr.prototype.replaceChild [function]
    4243window.Audio [object AudioConstructor]
     44window.Audio.length [number]
    4345window.Audio.prototype [object HTMLAudioElementPrototype]
    4446window.Audio.prototype.ATTRIBUTE_NODE [number]
     
    155157window.BlobBuilder.prototype.append [function]
    156158window.BlobBuilder.prototype.getBlob [function]
     159window.Boolean [function]
    157160window.CDATASection [object CDATASectionConstructor]
    158161window.CDATASection.prototype [object CDATASectionPrototype]
     
    545548window.DOMException.prototype.VALIDATION_ERR [number]
    546549window.DOMException.prototype.WRONG_DOCUMENT_ERR [number]
     550window.DOMException.prototype.toString [function]
    547551window.DOMImplementation [object DOMImplementationConstructor]
    548552window.DOMImplementation.prototype [object DOMImplementationPrototype]
     
    561565window.DOMStringMap [object DOMStringMapConstructor]
    562566window.DOMStringMap.prototype [object DOMStringMapPrototype]
     567window.Date [function]
    563568window.Document [object DocumentConstructor]
    564569window.Document.prototype [object DocumentPrototype]
     
    856861window.EntityReference.prototype.removeEventListener [function]
    857862window.EntityReference.prototype.replaceChild [function]
     863window.Error [function]
    858864window.EvalError [function]
    859865window.Event [object EventConstructor]
     
    905911window.EventException.prototype [object EventExceptionPrototype]
    906912window.EventException.prototype.UNSPECIFIED_EVENT_TYPE_ERR [number]
     913window.EventException.prototype.toString [function]
    907914window.EventSource [object EventSourceConstructor]
    908915window.EventSource.CLOSED [number]
    909916window.EventSource.CONNECTING [number]
    910917window.EventSource.OPEN [number]
     918window.EventSource.length [number]
    911919window.EventSource.prototype [object EventSourcePrototype]
    912920window.EventSource.prototype.CLOSED [number]
     
    925933window.FormData.prototype [object FormDataPrototype]
    926934window.FormData.prototype.append [function]
     935window.Function [function]
    927936window.HTMLAllCollection [object HTMLAllCollectionConstructor]
    928937window.HTMLAllCollection.prototype [object HTMLAllCollectionPrototype]
     
    10741083window.ImageData [object ImageDataConstructor]
    10751084window.ImageData.prototype [object ImageDataPrototype]
     1085window.Infinity [number]
     1086window.JSON [object JSON]
     1087window.JSON.parse [function]
     1088window.JSON.stringify [function]
    10761089window.KeyboardEvent [object KeyboardEventConstructor]
    10771090window.KeyboardEvent.prototype [printed above as window.Event.prototype]
     1091window.Math [object Math]
     1092window.Math.E [number]
     1093window.Math.LN10 [number]
     1094window.Math.LN2 [number]
     1095window.Math.LOG10E [number]
     1096window.Math.LOG2E [number]
     1097window.Math.PI [number]
     1098window.Math.SQRT1_2 [number]
     1099window.Math.SQRT2 [number]
     1100window.Math.abs [function]
     1101window.Math.acos [function]
     1102window.Math.asin [function]
     1103window.Math.atan [function]
     1104window.Math.atan2 [function]
     1105window.Math.ceil [function]
     1106window.Math.cos [function]
     1107window.Math.exp [function]
     1108window.Math.floor [function]
     1109window.Math.log [function]
     1110window.Math.max [function]
     1111window.Math.min [function]
     1112window.Math.pow [function]
     1113window.Math.random [function]
     1114window.Math.round [function]
     1115window.Math.sin [function]
     1116window.Math.sqrt [function]
     1117window.Math.tan [function]
    10781118window.MediaError [object MediaErrorConstructor]
    10791119window.MediaError.MEDIA_ERR_ABORTED [number]
     
    11161156window.MutationEvent.REMOVAL [number]
    11171157window.MutationEvent.prototype [printed above as window.Event.prototype]
     1158window.NaN [number]
    11181159window.NamedNodeMap [object NamedNodeMapConstructor]
    11191160window.NamedNodeMap.prototype [object NamedNodeMapPrototype]
     
    12211262window.Notation [object NotationConstructor]
    12221263window.Notation.prototype [printed above as window.Node.prototype]
     1264window.Number [function]
     1265window.Object [function]
    12231266window.Option [object OptionConstructor]
     1267window.Option.length [number]
    12241268window.Option.prototype [printed above as window.Element.prototype]
    12251269window.OverflowEvent [object OverflowEventConstructor]
     
    12961340window.RangeException.prototype.BAD_BOUNDARYPOINTS_ERR [number]
    12971341window.RangeException.prototype.INVALID_NODE_TYPE_ERR [number]
     1342window.RangeException.prototype.toString [function]
    12981343window.Rect [object RectConstructor]
    12991344window.Rect.prototype [object RectPrototype]
    13001345window.ReferenceError [function]
     1346window.RegExp [function]
    13011347window.SQLException [object SQLExceptionConstructor]
    13021348window.SQLException.CONSTRAINT_ERR [number]
     
    14111457window.SVGException.prototype.SVG_MATRIX_NOT_INVERTABLE [number]
    14121458window.SVGException.prototype.SVG_WRONG_TYPE_ERR [number]
     1459window.SVGException.prototype.toString [function]
    14131460window.SVGFEBlendElement [object SVGFEBlendElementConstructor]
    14141461window.SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN [number]
     
    18751922window.SVGZoomEvent.prototype [printed above as window.Event.prototype]
    18761923window.SharedWorker [object SharedWorkerConstructor]
     1924window.SharedWorker.length [number]
    18771925window.SharedWorker.prototype [object SharedWorkerPrototype]
    18781926window.SharedWorker.prototype.addEventListener [function]
     
    18811929window.Storage [object StorageConstructor]
    18821930window.Storage.prototype [object StoragePrototype]
     1931window.Storage.prototype.clear [function]
     1932window.Storage.prototype.getItem [function]
     1933window.Storage.prototype.key [function]
     1934window.Storage.prototype.removeItem [function]
     1935window.Storage.prototype.setItem [function]
    18831936window.StorageEvent [object StorageEventConstructor]
    18841937window.StorageEvent.prototype [printed above as window.Event.prototype]
     1938window.String [function]
    18851939window.StyleSheet [object StyleSheetConstructor]
    18861940window.StyleSheet.prototype [object StyleSheetPrototype]
     
    19101964window.WebKitCSSKeyframesRule.prototype [printed above as window.CSSRule.prototype]
    19111965window.WebKitCSSMatrix [object WebKitCSSMatrixConstructor]
     1966window.WebKitCSSMatrix.length [number]
    19121967window.WebKitCSSMatrix.prototype [object WebKitCSSMatrixPrototype]
    19131968window.WebKitCSSMatrix.prototype.inverse [function]
     
    19171972window.WebKitCSSMatrix.prototype.scale [function]
    19181973window.WebKitCSSMatrix.prototype.setMatrixValue [function]
     1974window.WebKitCSSMatrix.prototype.toString [function]
    19191975window.WebKitCSSMatrix.prototype.translate [function]
    19201976window.WebKitCSSTransformValue [object WebKitCSSTransformValueConstructor]
     
    19421998window.WebKitCSSTransformValue.prototype [printed above as window.CSSValue.prototype]
    19431999window.WebKitPoint [object WebKitPointConstructor]
     2000window.WebKitPoint.length [number]
    19442001window.WebKitPoint.prototype [object WebKitPointPrototype]
    19452002window.WebKitTransitionEvent [object WebKitTransitionEventConstructor]
     
    19492006window.WebSocket.CONNECTING [number]
    19502007window.WebSocket.OPEN [number]
     2008window.WebSocket.length [number]
    19512009window.WebSocket.prototype [object WebSocketPrototype]
    19522010window.WebSocket.prototype.CLOSED [number]
     
    19612019window.WheelEvent.prototype [printed above as window.Event.prototype]
    19622020window.Worker [object WorkerConstructor]
     2021window.Worker.length [number]
    19632022window.Worker.prototype [object WorkerPrototype]
    19642023window.Worker.prototype.addEventListener [function]
     
    19962055window.XMLHttpRequestException.prototype.ABORT_ERR [number]
    19972056window.XMLHttpRequestException.prototype.NETWORK_ERR [number]
     2057window.XMLHttpRequestException.prototype.toString [function]
    19982058window.XMLHttpRequestUpload [object XMLHttpRequestUploadConstructor]
    19992059window.XMLHttpRequestUpload.prototype [object XMLHttpRequestUploadPrototype]
     
    20152075window.XPathException.prototype.INVALID_EXPRESSION_ERR [number]
    20162076window.XPathException.prototype.TYPE_ERR [number]
     2077window.XPathException.prototype.toString [function]
    20172078window.XPathResult [object XPathResultConstructor]
    20182079window.XPathResult.ANY_TYPE [number]
     
    21172178window.console.profileEnd [function]
    21182179window.console.profiles [object Array]
     2180window.console.profiles.length [number]
    21192181window.console.time [function]
    21202182window.console.timeEnd [function]
     
    21222184window.console.warn [function]
    21232185window.crypto [undefined]
     2186window.decodeURI [function]
     2187window.decodeURIComponent [function]
    21242188window.defaultStatus [string]
    21252189window.defaultstatus [string]
     
    21272191window.dispatchEvent [function]
    21282192window.document [printed above as window.Document.prototype]
     2193window.encodeURI [function]
     2194window.encodeURIComponent [function]
     2195window.escape [function]
     2196window.eval [function]
    21292197window.event [undefined]
    21302198window.find [function]
     
    21452213window.innerHeight [number]
    21462214window.innerWidth [number]
     2215window.isFinite [function]
     2216window.isNaN [function]
    21472217window.length [number]
    21482218window.localStorage [printed above as window.Storage.prototype]
     
    21592229window.location.replace [function]
    21602230window.location.search [string]
     2231window.location.toString [function]
    21612232window.locationbar [object BarInfo]
    21622233window.locationbar.visible [boolean]
     
    22452316window.pageYOffset [number]
    22462317window.parent [printed above as window]
     2318window.parseFloat [function]
     2319window.parseInt [function]
    22472320window.personalbar [object BarInfo]
    22482321window.personalbar.visible [boolean]
     
    22502323window.print [function]
    22512324window.prompt [function]
     2325window.propertiesOnObject [function]
    22522326window.releaseEvents [function]
    22532327window.removeEventListener [function]
     
    22832357window.stop [function]
    22842358window.styleMedia [object StyleMedia]
     2359window.styleMedia.constructor [object StyleMediaConstructor]
     2360window.styleMedia.constructor.prototype [object StyleMediaPrototype]
     2361window.styleMedia.constructor.prototype.matchMedium [function]
    22852362window.styleMedia.matchMedium [function]
    22862363window.styleMedia.type [string]
     
    22912368window.typeOfNullAware [function]
    22922369window.typeStringNullAware [function]
     2370window.undefined [undefined]
     2371window.unescape [function]
    22932372window.webkitConvertPointFromNodeToPage [function]
    22942373window.webkitConvertPointFromPageToNode [function]
     
    23192398window.getSelection().setBaseAndExtent [function]
    23202399window.getSelection().setPosition [function]
     2400window.getSelection().toString [function]
    23212401window.getSelection().type [string]
    23222402
  • trunk/LayoutTests/fast/dom/Window/window-properties.html

    r63559 r63645  
    127127}
    128128
     129function propertiesOnObject(o) {
     130    var namesSet = {};
     131    while (true) {
     132        var names = Object.getOwnPropertyNames(o);
     133        for (var i = 0; i < names.length; ++i)
     134            namesSet[names[i]] = 1;
     135        o = Object.getPrototypeOf(o);
     136        if (!o)
     137            break;
     138        // Avoid polluting results with built-in prototype properties.
     139        if ((o == Array.prototype) || (o == Object.prototype))
     140            break;
     141    }
     142    var result = [];
     143    for (var p in namesSet)
     144        result.push(p);
     145    return result;
     146}
     147
    129148function logProperties(object, objectName)
    130149{
    131     var array = new Array;
    132     for (var property in object) {
    133         array.push(property);
    134     }
     150    var array = propertiesOnObject(object);
    135151    array.sort();
    136152    for (var i = 0; i < array.length; i++) {
  • trunk/LayoutTests/platform/gtk/fast/dom/Window/window-properties-expected.txt

    r62881 r63645  
    22
    33window [object DOMWindow]
     4window.Array [function]
    45window.Attr [object AttrConstructor]
    56window.Attr.prototype [object AttrPrototype]
     
    4142window.Attr.prototype.replaceChild [function]
    4243window.Audio [object AudioConstructor]
     44window.Audio.length [number]
    4345window.Audio.prototype [object HTMLAudioElementPrototype]
    4446window.Audio.prototype.ATTRIBUTE_NODE [number]
     
    126128window.BlobBuilder.prototype.append [function]
    127129window.BlobBuilder.prototype.getBlob [function]
     130window.Boolean [function]
    128131window.CDATASection [object CDATASectionConstructor]
    129132window.CDATASection.prototype [object CDATASectionPrototype]
     
    516519window.DOMException.prototype.VALIDATION_ERR [number]
    517520window.DOMException.prototype.WRONG_DOCUMENT_ERR [number]
     521window.DOMException.prototype.toString [function]
    518522window.DOMImplementation [object DOMImplementationConstructor]
    519523window.DOMImplementation.prototype [object DOMImplementationPrototype]
     
    530534window.DOMStringList.prototype.contains [function]
    531535window.DOMStringList.prototype.item [function]
     536window.Date [function]
    532537window.Document [object DocumentConstructor]
    533538window.Document.prototype [object DocumentPrototype]
     
    824829window.EntityReference.prototype.removeEventListener [function]
    825830window.EntityReference.prototype.replaceChild [function]
     831window.Error [function]
    826832window.EvalError [function]
    827833window.Event [object EventConstructor]
     
    872878window.EventException.prototype [object EventExceptionPrototype]
    873879window.EventException.prototype.UNSPECIFIED_EVENT_TYPE_ERR [number]
     880window.EventException.prototype.toString [function]
    874881window.EventSource [object EventSourceContructor]
     882window.EventSource.length [number]
    875883window.EventSource.prototype [object EventSourcePrototype]
    876884window.EventSource.prototype.CLOSED [number]
     
    889897window.FormData.prototype [object FormDataPrototype]
    890898window.FormData.prototype.append [function]
     899window.Function [function]
    891900window.HTMLAnchorElement [object HTMLAnchorElementConstructor]
    892901window.HTMLAnchorElement.prototype [printed above as window.Element.prototype]
     
    10341043window.Image [object ImageConstructor]
    10351044window.Image.prototype [printed above as window.Element.prototype]
     1045window.Infinity [number]
     1046window.JSON [object JSON]
     1047window.JSON.parse [function]
     1048window.JSON.stringify [function]
    10361049window.KeyboardEvent [object KeyboardEventConstructor]
    10371050window.KeyboardEvent.prototype [printed above as window.Event.prototype]
     1051window.Math [object Math]
     1052window.Math.E [number]
     1053window.Math.LN10 [number]
     1054window.Math.LN2 [number]
     1055window.Math.LOG10E [number]
     1056window.Math.LOG2E [number]
     1057window.Math.PI [number]
     1058window.Math.SQRT1_2 [number]
     1059window.Math.SQRT2 [number]
     1060window.Math.abs [function]
     1061window.Math.acos [function]
     1062window.Math.asin [function]
     1063window.Math.atan [function]
     1064window.Math.atan2 [function]
     1065window.Math.ceil [function]
     1066window.Math.cos [function]
     1067window.Math.exp [function]
     1068window.Math.floor [function]
     1069window.Math.log [function]
     1070window.Math.max [function]
     1071window.Math.min [function]
     1072window.Math.pow [function]
     1073window.Math.random [function]
     1074window.Math.round [function]
     1075window.Math.sin [function]
     1076window.Math.sqrt [function]
     1077window.Math.tan [function]
    10381078window.MediaError [object MediaErrorConstructor]
    10391079window.MediaError.MEDIA_ERR_ABORTED [number]
     
    10761116window.MutationEvent.REMOVAL [number]
    10771117window.MutationEvent.prototype [printed above as window.Event.prototype]
     1118window.NaN [number]
    10781119window.NamedNodeMap [object NamedNodeMapConstructor]
    10791120window.NamedNodeMap.prototype [object NamedNodeMapPrototype]
     
    11811222window.Notation [object NotationConstructor]
    11821223window.Notation.prototype [printed above as window.Node.prototype]
     1224window.Number [function]
     1225window.Object [function]
    11831226window.Option [object OptionConstructor]
     1227window.Option.length [number]
    11841228window.Option.prototype [printed above as window.Element.prototype]
    11851229window.OverflowEvent [object OverflowEventConstructor]
     
    12541298window.RangeException.prototype.BAD_BOUNDARYPOINTS_ERR [number]
    12551299window.RangeException.prototype.INVALID_NODE_TYPE_ERR [number]
     1300window.RangeException.prototype.toString [function]
    12561301window.Rect [object RectConstructor]
    12571302window.Rect.prototype [object RectPrototype]
    12581303window.ReferenceError [function]
     1304window.RegExp [function]
    12591305window.SQLException [object SQLExceptionConstructor]
    12601306window.SQLException.CONSTRAINT_ERR [number]
     
    13031349window.SVGException.prototype.SVG_MATRIX_NOT_INVERTABLE [number]
    13041350window.SVGException.prototype.SVG_WRONG_TYPE_ERR [number]
     1351window.SVGException.prototype.toString [function]
    13051352window.SVGGradientElement [object SVGGradientElementConstructor]
    13061353window.SVGGradientElement.SVG_SPREADMETHOD_PAD [number]
     
    14851532window.SVGUnitTypes.prototype.SVG_UNIT_TYPE_USERSPACEONUSE [number]
    14861533window.SharedWorker [object SharedWorkerConstructor]
     1534window.SharedWorker.length [number]
    14871535window.SharedWorker.prototype [object SharedWorkerPrototype]
    14881536window.SharedWorker.prototype.addEventListener [function]
     
    14911539window.Storage [object StorageConstructor]
    14921540window.Storage.prototype [object StoragePrototype]
     1541window.Storage.prototype.clear [function]
     1542window.Storage.prototype.getItem [function]
     1543window.Storage.prototype.key [function]
     1544window.Storage.prototype.removeItem [function]
     1545window.Storage.prototype.setItem [function]
    14931546window.StorageEvent [object StorageEventConstructor]
    14941547window.StorageEvent.prototype [printed above as window.Event.prototype]
     1548window.String [function]
    14951549window.StyleSheet [object StyleSheetConstructor]
    14961550window.StyleSheet.prototype [object StyleSheetPrototype]
     
    15201574window.WebKitCSSKeyframesRule.prototype [printed above as window.CSSRule.prototype]
    15211575window.WebKitCSSMatrix [object WebKitCSSMatrixConstructor]
     1576window.WebKitCSSMatrix.length [number]
    15221577window.WebKitCSSMatrix.prototype [object WebKitCSSMatrixPrototype]
    15231578window.WebKitCSSMatrix.prototype.inverse [function]
     
    15271582window.WebKitCSSMatrix.prototype.scale [function]
    15281583window.WebKitCSSMatrix.prototype.setMatrixValue [function]
     1584window.WebKitCSSMatrix.prototype.toString [function]
    15291585window.WebKitCSSMatrix.prototype.translate [function]
    15301586window.WebKitCSSTransformValue [object WebKitCSSTransformValueConstructor]
     
    15521608window.WebKitCSSTransformValue.prototype [printed above as window.CSSValue.prototype]
    15531609window.WebKitPoint [object WebKitPointConstructor]
     1610window.WebKitPoint.length [number]
    15541611window.WebKitPoint.prototype [object WebKitPointPrototype]
    15551612window.WebKitTransitionEvent [object WebKitTransitionEventConstructor]
     
    15651622window.WheelEvent.prototype [printed above as window.Event.prototype]
    15661623window.Worker [object WorkerConstructor]
     1624window.Worker.length [number]
    15671625window.Worker.prototype [object WorkerPrototype]
    15681626window.Worker.prototype.addEventListener [function]
     
    15951653window.XMLHttpRequestException.prototype.ABORT_ERR [number]
    15961654window.XMLHttpRequestException.prototype.NETWORK_ERR [number]
     1655window.XMLHttpRequestException.prototype.toString [function]
    15971656window.XMLHttpRequestUpload [object XMLHttpRequestUploadConstructor]
    15981657window.XMLHttpRequestUpload.prototype [object XMLHttpRequestUploadPrototype]
     
    16141673window.XPathException.prototype.INVALID_EXPRESSION_ERR [number]
    16151674window.XPathException.prototype.TYPE_ERR [number]
     1675window.XPathException.prototype.toString [function]
    16161676window.XPathResult [object XPathResultConstructor]
    16171677window.XPathResult.ANY_TYPE [number]
     
    17141774window.console.profileEnd [function]
    17151775window.console.profiles [object Array]
     1776window.console.profiles.length [number]
    17161777window.console.time [function]
    17171778window.console.timeEnd [function]
     
    17191780window.console.warn [function]
    17201781window.crypto [undefined]
     1782window.decodeURI [function]
     1783window.decodeURIComponent [function]
    17211784window.defaultStatus [string]
    17221785window.defaultstatus [string]
     
    17241787window.dispatchEvent [function]
    17251788window.document [printed above as window.Document.prototype]
     1789window.encodeURI [function]
     1790window.encodeURIComponent [function]
     1791window.escape [function]
     1792window.eval [function]
    17261793window.event [undefined]
    17271794window.find [function]
     
    17401807window.innerHeight [number]
    17411808window.innerWidth [number]
     1809window.isFinite [function]
     1810window.isNaN [function]
    17421811window.length [number]
    17431812window.localStorage [printed above as window.Storage.prototype]
     
    17541823window.location.replace [function]
    17551824window.location.search [string]
     1825window.location.toString [function]
    17561826window.locationbar [object BarInfo]
    17571827window.locationbar.visible [boolean]
     
    18391909window.pageYOffset [number]
    18401910window.parent [printed above as window]
     1911window.parseFloat [function]
     1912window.parseInt [function]
    18411913window.personalbar [object BarInfo]
    18421914window.personalbar.visible [boolean]
     
    18441916window.print [function]
    18451917window.prompt [function]
     1918window.propertiesOnObject [function]
    18461919window.releaseEvents [function]
    18471920window.removeEventListener [function]
     
    18781951window.stop [function]
    18791952window.styleMedia [object Media]
     1953window.styleMedia.constructor [object StyleMediaConstructor]
     1954window.styleMedia.constructor.prototype [object StyleMediaPrototype]
     1955window.styleMedia.constructor.prototype.matchMedium [function]
    18801956window.styleMedia.matchMedium [function]
    18811957window.styleMedia.type [string]
     
    18861962window.typeOfNullAware [function]
    18871963window.typeStringNullAware [function]
     1964window.undefined [undefined]
     1965window.unescape [function]
    18881966window.webkitConvertPointFromNodeToPage [function]
    18891967window.webkitConvertPointFromPageToNode [function]
     
    19141992window.getSelection().setBaseAndExtent [function]
    19151993window.getSelection().setPosition [function]
     1994window.getSelection().toString [function]
    19161995window.getSelection().type [string]
    19171996
  • trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt

    r62882 r63645  
    22
    33window [object DOMWindow]
     4window.Array [function]
    45window.Attr [object AttrConstructor]
    56window.Attr.prototype [object AttrPrototype]
     
    4142window.Attr.prototype.replaceChild [function]
    4243window.Audio [object AudioConstructor]
     44window.Audio.length [number]
    4345window.Audio.prototype [object HTMLAudioElementPrototype]
    4446window.Audio.prototype.ATTRIBUTE_NODE [number]
     
    155157window.BlobBuilder.prototype.append [function]
    156158window.BlobBuilder.prototype.getBlob [function]
     159window.Boolean [function]
    157160window.CDATASection [object CDATASectionConstructor]
    158161window.CDATASection.prototype [object CDATASectionPrototype]
     
    545548window.DOMException.prototype.VALIDATION_ERR [number]
    546549window.DOMException.prototype.WRONG_DOCUMENT_ERR [number]
     550window.DOMException.prototype.toString [function]
    547551window.DOMImplementation [object DOMImplementationConstructor]
    548552window.DOMImplementation.prototype [object DOMImplementationPrototype]
     
    561565window.DOMStringMap [object DOMStringMapConstructor]
    562566window.DOMStringMap.prototype [object DOMStringMapPrototype]
     567window.Date [function]
    563568window.Document [object DocumentConstructor]
    564569window.Document.prototype [object DocumentPrototype]
     
    856861window.EntityReference.prototype.removeEventListener [function]
    857862window.EntityReference.prototype.replaceChild [function]
     863window.Error [function]
    858864window.EvalError [function]
    859865window.Event [object EventConstructor]
     
    905911window.EventException.prototype [object EventExceptionPrototype]
    906912window.EventException.prototype.UNSPECIFIED_EVENT_TYPE_ERR [number]
     913window.EventException.prototype.toString [function]
    907914window.EventSource [object EventSourceConstructor]
    908915window.EventSource.CLOSED [number]
    909916window.EventSource.CONNECTING [number]
    910917window.EventSource.OPEN [number]
     918window.EventSource.length [number]
    911919window.EventSource.prototype [object EventSourcePrototype]
    912920window.EventSource.prototype.CLOSED [number]
     
    925933window.FormData.prototype [object FormDataPrototype]
    926934window.FormData.prototype.append [function]
     935window.Function [function]
    927936window.HTMLAllCollection [object HTMLAllCollectionConstructor]
    928937window.HTMLAllCollection.prototype [object HTMLAllCollectionPrototype]
     
    10741083window.ImageData [object ImageDataConstructor]
    10751084window.ImageData.prototype [object ImageDataPrototype]
     1085window.Infinity [number]
     1086window.JSON [object JSON]
     1087window.JSON.parse [function]
     1088window.JSON.stringify [function]
    10761089window.KeyboardEvent [object KeyboardEventConstructor]
    10771090window.KeyboardEvent.prototype [printed above as window.Event.prototype]
     1091window.Math [object Math]
     1092window.Math.E [number]
     1093window.Math.LN10 [number]
     1094window.Math.LN2 [number]
     1095window.Math.LOG10E [number]
     1096window.Math.LOG2E [number]
     1097window.Math.PI [number]
     1098window.Math.SQRT1_2 [number]
     1099window.Math.SQRT2 [number]
     1100window.Math.abs [function]
     1101window.Math.acos [function]
     1102window.Math.asin [function]
     1103window.Math.atan [function]
     1104window.Math.atan2 [function]
     1105window.Math.ceil [function]
     1106window.Math.cos [function]
     1107window.Math.exp [function]
     1108window.Math.floor [function]
     1109window.Math.log [function]
     1110window.Math.max [function]
     1111window.Math.min [function]
     1112window.Math.pow [function]
     1113window.Math.random [function]
     1114window.Math.round [function]
     1115window.Math.sin [function]
     1116window.Math.sqrt [function]
     1117window.Math.tan [function]
    10781118window.MediaError [object MediaErrorConstructor]
    10791119window.MediaError.MEDIA_ERR_ABORTED [number]
     
    11161156window.MutationEvent.REMOVAL [number]
    11171157window.MutationEvent.prototype [printed above as window.Event.prototype]
     1158window.NaN [number]
    11181159window.NamedNodeMap [object NamedNodeMapConstructor]
    11191160window.NamedNodeMap.prototype [object NamedNodeMapPrototype]
     
    12211262window.Notation [object NotationConstructor]
    12221263window.Notation.prototype [printed above as window.Node.prototype]
     1264window.Number [function]
     1265window.Object [function]
    12231266window.Option [object OptionConstructor]
     1267window.Option.length [number]
    12241268window.Option.prototype [printed above as window.Element.prototype]
    12251269window.OverflowEvent [object OverflowEventConstructor]
     
    12961340window.RangeException.prototype.BAD_BOUNDARYPOINTS_ERR [number]
    12971341window.RangeException.prototype.INVALID_NODE_TYPE_ERR [number]
     1342window.RangeException.prototype.toString [function]
    12981343window.Rect [object RectConstructor]
    12991344window.Rect.prototype [object RectPrototype]
    13001345window.ReferenceError [function]
     1346window.RegExp [function]
    13011347window.SQLException [object SQLExceptionConstructor]
    13021348window.SQLException.CONSTRAINT_ERR [number]
     
    14031449window.SVGException.prototype.SVG_MATRIX_NOT_INVERTABLE [number]
    14041450window.SVGException.prototype.SVG_WRONG_TYPE_ERR [number]
     1451window.SVGException.prototype.toString [function]
    14051452window.SVGFEBlendElement [object SVGFEBlendElementConstructor]
    14061453window.SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN [number]
     
    18431890window.SVGZoomEvent.prototype [printed above as window.Event.prototype]
    18441891window.SharedWorker [object SharedWorkerConstructor]
     1892window.SharedWorker.length [number]
    18451893window.SharedWorker.prototype [object SharedWorkerPrototype]
    18461894window.SharedWorker.prototype.addEventListener [function]
     
    18491897window.Storage [object StorageConstructor]
    18501898window.Storage.prototype [object StoragePrototype]
     1899window.Storage.prototype.clear [function]
     1900window.Storage.prototype.getItem [function]
     1901window.Storage.prototype.key [function]
     1902window.Storage.prototype.removeItem [function]
     1903window.Storage.prototype.setItem [function]
    18511904window.StorageEvent [object StorageEventConstructor]
    18521905window.StorageEvent.prototype [printed above as window.Event.prototype]
     1906window.String [function]
    18531907window.StyleSheet [object StyleSheetConstructor]
    18541908window.StyleSheet.prototype [object StyleSheetPrototype]
     
    18801934window.WebKitCSSKeyframesRule.prototype [printed above as window.CSSRule.prototype]
    18811935window.WebKitCSSMatrix [object WebKitCSSMatrixConstructor]
     1936window.WebKitCSSMatrix.length [number]
    18821937window.WebKitCSSMatrix.prototype [object WebKitCSSMatrixPrototype]
    18831938window.WebKitCSSMatrix.prototype.inverse [function]
     
    18871942window.WebKitCSSMatrix.prototype.scale [function]
    18881943window.WebKitCSSMatrix.prototype.setMatrixValue [function]
     1944window.WebKitCSSMatrix.prototype.toString [function]
    18891945window.WebKitCSSMatrix.prototype.translate [function]
    18901946window.WebKitCSSTransformValue [object WebKitCSSTransformValueConstructor]
     
    19121968window.WebKitCSSTransformValue.prototype [printed above as window.CSSValue.prototype]
    19131969window.WebKitPoint [object WebKitPointConstructor]
     1970window.WebKitPoint.length [number]
    19141971window.WebKitPoint.prototype [object WebKitPointPrototype]
    19151972window.WebKitTransitionEvent [object WebKitTransitionEventConstructor]
     
    19191976window.WebSocket.CONNECTING [number]
    19201977window.WebSocket.OPEN [number]
     1978window.WebSocket.length [number]
    19211979window.WebSocket.prototype [object WebSocketPrototype]
    19221980window.WebSocket.prototype.CLOSED [number]
     
    19311989window.WheelEvent.prototype [printed above as window.Event.prototype]
    19321990window.Worker [object WorkerConstructor]
     1991window.Worker.length [number]
    19331992window.Worker.prototype [object WorkerPrototype]
    19341993window.Worker.prototype.addEventListener [function]
     
    19662025window.XMLHttpRequestException.prototype.ABORT_ERR [number]
    19672026window.XMLHttpRequestException.prototype.NETWORK_ERR [number]
     2027window.XMLHttpRequestException.prototype.toString [function]
    19682028window.XMLHttpRequestUpload [object XMLHttpRequestUploadConstructor]
    19692029window.XMLHttpRequestUpload.prototype [object XMLHttpRequestUploadPrototype]
     
    19852045window.XPathException.prototype.INVALID_EXPRESSION_ERR [number]
    19862046window.XPathException.prototype.TYPE_ERR [number]
     2047window.XPathException.prototype.toString [function]
    19872048window.XPathResult [object XPathResultConstructor]
    19882049window.XPathResult.ANY_TYPE [number]
     
    20872148window.console.profileEnd [function]
    20882149window.console.profiles [object Array]
     2150window.console.profiles.length [number]
    20892151window.console.time [function]
    20902152window.console.timeEnd [function]
     
    20922154window.console.warn [function]
    20932155window.crypto [undefined]
     2156window.decodeURI [function]
     2157window.decodeURIComponent [function]
    20942158window.defaultStatus [string]
    20952159window.defaultstatus [string]
     
    20972161window.dispatchEvent [function]
    20982162window.document [printed above as window.Document.prototype]
     2163window.encodeURI [function]
     2164window.encodeURIComponent [function]
     2165window.escape [function]
     2166window.eval [function]
    20992167window.event [undefined]
    21002168window.find [function]
     
    21152183window.innerHeight [number]
    21162184window.innerWidth [number]
     2185window.isFinite [function]
     2186window.isNaN [function]
    21172187window.length [number]
    21182188window.localStorage [printed above as window.Storage.prototype]
     
    21292199window.location.replace [function]
    21302200window.location.search [string]
     2201window.location.toString [function]
    21312202window.locationbar [object BarInfo]
    21322203window.locationbar.visible [boolean]
     
    22192290window.pageYOffset [number]
    22202291window.parent [printed above as window]
     2292window.parseFloat [function]
     2293window.parseInt [function]
    22212294window.personalbar [object BarInfo]
    22222295window.personalbar.visible [boolean]
     
    22242297window.print [function]
    22252298window.prompt [function]
     2299window.propertiesOnObject [function]
    22262300window.releaseEvents [function]
    22272301window.removeEventListener [function]
     
    22572331window.stop [function]
    22582332window.styleMedia [object StyleMedia]
     2333window.styleMedia.constructor [object StyleMediaConstructor]
     2334window.styleMedia.constructor.prototype [object StyleMediaPrototype]
     2335window.styleMedia.constructor.prototype.matchMedium [function]
    22592336window.styleMedia.matchMedium [function]
    22602337window.styleMedia.type [string]
     
    22652342window.typeOfNullAware [function]
    22662343window.typeStringNullAware [function]
     2344window.undefined [undefined]
     2345window.unescape [function]
    22672346window.webkitConvertPointFromNodeToPage [function]
    22682347window.webkitConvertPointFromPageToNode [function]
     
    22982377window.getSelection().setBaseAndExtent [function]
    22992378window.getSelection().setPosition [function]
     2379window.getSelection().toString [function]
    23002380window.getSelection().type [string]
    23012381
Note: See TracChangeset for help on using the changeset viewer.