Revision 491a02ce6f091db542aed561e3d984b0a18f4188 authored by fergald on 04 April 2018, 22:12:43 UTC, committed by GitHub on 04 April 2018, 22:12:43 UTC
I don't know how I got into this situation (probably hit ctrl-C at the wrong time) but I did and it was unclear how to get out. It presents as a ValueError with no useful info.

Update the code to handle ValueError to log a warning and cause a full regen of the manifest.

Also reported in https://crbug.com/822041
1 parent 47d7cdf
Raw File
WorkerNavigator_userAgent.htm
<!DOCTYPE html>
<title> WorkerNavigator.userAgent </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
  var worker = new Worker("./support/WorkerNavigator.js");
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(e.data.userAgent, navigator.userAgent);
  });
});
</script>
back to top