Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Added comment for IE workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Apr 24, 2014
1 parent e36aaa2 commit 5f213c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testharnessreport.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ metadata_generator.setup();
*/
try {
if (window.opener && "testharness_properties" in window.opener) {
/* If we pass the testharness_properties object as-is here without
* JSON stringifying and reparsing it, IE fails & emits the message
* "Could not complete the operation due to error 80700019".
*/
setup(JSON.parse(JSON.stringify(window.opener.testharness_properties)));
}
} catch (e) {
Expand Down

0 comments on commit 5f213c9

Please sign in to comment.