[webkit-changes] cvs commit: LayoutTests/fast/js xmlhttprequest-get-expected.txt xmlhttprequest-get.xhtml

Maciej mjs at opensource.apple.com
Fri Oct 21 17:06:44 PDT 2005


mjs         05/10/21 17:06:44

  Modified:    .        ChangeLog
               fast/js  xmlhttprequest-get-expected.txt
                        xmlhttprequest-get.xhtml
  Log:
          Reviewed by Eric, landed by Maciej.
  
  	- fixed xmlhttprequest test to not depend on property enumeration order
  
          * fast/js/xmlhttprequest-get-expected.txt:
          * fast/js/xmlhttprequest-get.xhtml:
  
  Revision  Changes    Path
  1.41      +9 -0      LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- ChangeLog	21 Oct 2005 23:35:23 -0000	1.40
  +++ ChangeLog	22 Oct 2005 00:06:42 -0000	1.41
  @@ -1,3 +1,12 @@
  +2005-10-21  Darin Adler  <darin at apple.com>
  +
  +        Reviewed by Eric, landed by Maciej.
  +
  +	- fixed xmlhttprequest test to not depend on property enumeration order
  +
  +        * fast/js/xmlhttprequest-get-expected.txt:
  +        * fast/js/xmlhttprequest-get.xhtml:
  +
   2005-10-21  Maciej Stachowiak  <mjs at apple.com>
   
           - temporarily reverted test changes corresponding to reverted changes
  
  
  
  1.3       +10 -10    LayoutTests/fast/js/xmlhttprequest-get-expected.txt
  
  Index: xmlhttprequest-get-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/js/xmlhttprequest-get-expected.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- xmlhttprequest-get-expected.txt	21 Oct 2005 21:41:53 -0000	1.2
  +++ xmlhttprequest-get-expected.txt	22 Oct 2005 00:06:43 -0000	1.3
  @@ -25,18 +25,18 @@
   Event information
   Event object: [object Event]
   Event properties:
  -stopPropagation : '[function]'
  -preventDefault : '[function]'
  -initEvent : '[function]'
  -cancelBubble : 'false'
   bubbles : 'true'
  +cancelBubble : 'false'
  +cancelable : 'true'
  +clipboardData : 'undefined'
  +currentTarget : 'null'
  +dataTransfer : 'undefined'
  +eventPhase : '0'
  +initEvent : '[function]'
  +preventDefault : '[function]'
   returnValue : 'true'
  -type : 'load'
   srcElement : 'null'
  +stopPropagation : '[function]'
   target : 'null'
  -currentTarget : 'null'
  -eventPhase : '0'
  -cancelable : 'true'
  -dataTransfer : 'undefined'
  -clipboardData : 'undefined'
  +type : 'load'
   
  
  
  
  1.2       +9 -2      LayoutTests/fast/js/xmlhttprequest-get.xhtml
  
  Index: xmlhttprequest-get.xhtml
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/js/xmlhttprequest-get.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xmlhttprequest-get.xhtml	13 Oct 2005 23:48:12 -0000	1.1
  +++ xmlhttprequest-get.xhtml	22 Oct 2005 00:06:43 -0000	1.2
  @@ -55,9 +55,16 @@
     document.getElementById("id4").firstChild.nodeValue = p.status;
     document.getElementById("id5").firstChild.nodeValue = p.statusText;
     document.getElementById("id6").firstChild.nodeValue = p.readyState;
  -  var eventProperties = "";
  +  var propNames = new Array;
     for (prop in e) {
  -  	if (prop != "timeStamp")
  +    if (prop != "timeStamp") {
  +        propNames.push(prop);
  +    }
  +  }
  +  propNames.sort();
  +  var eventProperties = "";
  +  for (i in propNames) {
  +        var prop = propNames[i];
       	eventProperties += prop + " : '" + e[prop] + "'\n";
     }
     
  
  
  



More information about the webkit-changes mailing list