Created
November 6, 2015 04:36
-
-
Save HerringtonDarkholme/47d714b63f027a2679f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
postMessage(navigator.appName); | |
/* | |
--> | |
<!doctype html> | |
<title>navigator.appName</title> | |
<script src="/resources/testharness.js"></script> | |
<script src="/resources/testharnessreport.js"></script> | |
<div id=log></div> | |
<script> | |
async_test(function() { | |
var worker = new Worker('#'); | |
worker.onmessage = this.step_func(function(e) { | |
assert_equals(e.data, navigator.appName); | |
this.done(); | |
}); | |
}); | |
</script> | |
<!-- | |
*/ | |
//--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment