| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
|   2 <html> |   2 <html> | 
|   3     <head> |   3     <head> | 
|   4         <meta charset="utf-8" /> |   4         <meta charset="utf-8" /> | 
|   5         <title>window.performance is read/write</title> |   5         <title>window.performance is read/write</title> | 
|   6         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |   6         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | 
|   7         <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-windo
    w.performance-attribute"/> |   7         <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-windo
    w.performance-attribute"/> | 
|   8         <meta name="assert" content="The window.performance attribute provides a
     hosting area for performance related attributes. "/> |   8         <meta name="assert" content="The window.performance attribute provides a
     hosting area for performance related attributes. "/> | 
|   9         <script src="/resources/testharness.js"></script> |   9         <script src="/resources/testharness.js"></script> | 
|  10         <script src="/resources/testharnessreport.js"></script> |  10         <script src="/resources/testharnessreport.js"></script> | 
 |  11         <script src="/common/performance-timeline-utils.js"></script> | 
|  11         <script src="resources/webperftestharness.js"></script> |  12         <script src="resources/webperftestharness.js"></script> | 
|  12     </head> |  13     </head> | 
|  13     <body> |  14     <body> | 
|  14         <h1>Description</h1> |  15         <h1>Description</h1> | 
|  15         <p>This test validates that the window.performance object is read/write.
    </p> |  16         <p>This test validates that the window.performance object is read/write.
    </p> | 
|  16         <div id="log"></div> |  17         <div id="log"></div> | 
|  17         <script> |  18         <script> | 
|  18             test_namespace(); |  19             test_namespace(); | 
|  19  |  20  | 
|  20             window.performance = 'foo'; |  21             window.performance = 'foo'; | 
|  21             test_equals(window.performance, 'foo', 'window.performance is read/w
    rite'); |  22             test_equals(window.performance, 'foo', 'window.performance is read/w
    rite'); | 
|  22  |  23  | 
|  23             var performance = 'bar'; |  24             var performance = 'bar'; | 
|  24             test_equals(performance, 'bar', 'var performance is read/write'); |  25             test_equals(performance, 'bar', 'var performance is read/write'); | 
|  25         </script> |  26         </script> | 
|  26     </body> |  27     </body> | 
|  27 </html> |  28 </html> | 
| OLD | NEW |