| OLD | NEW | 
| (Empty) |  | 
 |   1 <html> | 
 |   2 <head> | 
 |   3 <script src="../resources/js-test.js"></script> | 
 |   4 </head> | 
 |   5 <body> | 
 |   6 <object id="plugin" type="application/x-blink-deprecated-test-plugin"></object> | 
 |   7 <script> | 
 |   8 description("This tests checks that hasOwnProperty return true on plugin's gette
    rs that return undefined"); | 
 |   9  | 
 |  10 // The plugin implements testGetUndefined the same way as the following: | 
 |  11 function ReferenceObject () { | 
 |  12     Object.defineProperties(this, { | 
 |  13         "testGetUndefined": { get: function () { return undefined; } } | 
 |  14     }); | 
 |  15 } | 
 |  16  | 
 |  17 shouldBeTrue('new ReferenceObject().hasOwnProperty("testGetUndefined")'); | 
 |  18 shouldBeTrue('document.getElementById("plugin").hasOwnProperty("testGetUndefined
    ")'); | 
 |  19 </script> | 
 |  20 </body> | 
 |  21 </html> | 
| OLD | NEW |