Skip to content

Commit

Permalink
Merge pull request web-platform-tests#64 from w3c/opener-exception
Browse files Browse the repository at this point in the history
Exception on testharness_properties access
  • Loading branch information
jgraham committed Apr 2, 2014
2 parents cc2cf54 + 7b527b4 commit 949488b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions testharnessreport.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,10 @@ metadata_generator.setup();
* default in-browser runner to configure the timeout and the
* rendering of results
*/
if (window.opener && "testharness_properties" in window.opener) {
setup(window.opener.testharness_properties);
try {
if (window.opener && "testharness_properties" in window.opener) {
setup(window.opener.testharness_properties);
}
} catch (e) {
}
// vim: set expandtab shiftwidth=4 tabstop=4:

0 comments on commit 949488b

Please sign in to comment.