| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 <!DOCTYPE html> |  | 
| 2 <html> |  | 
| 3 <head> |  | 
| 4 <title>WebCrypto On A Secure Origin</title> |  | 
| 5 <script src="/resources/testharness.js"></script> |  | 
| 6 <script src="/resources/testharnessreport.js"></script> |  | 
| 7 </head> |  | 
| 8 <body></body> |  | 
| 9 <script> |  | 
| 10     if (window.testRunner) |  | 
| 11         testRunner.overridePreference( |  | 
| 12             "WebKitStrictPowerfulFeatureRestrictions", true); |  | 
| 13 |  | 
| 14     async_test(function () { |  | 
| 15         var worker = new Worker("resources/webcrypto-worker.js"); |  | 
| 16         worker.addEventListener("message", this.step_func(function (evt) { |  | 
| 17             assert_equals(evt.data.success, true); |  | 
| 18             this.done(); |  | 
| 19         })); |  | 
| 20         worker.postMessage("go"); |  | 
| 21      }, "WebCrypto allowed on secure origin"); |  | 
| 22 </script> |  | 
| 23 </html> |  | 
| OLD | NEW | 
|---|