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

Commit

Permalink
Merge pull request w3c#72 from w3c/sideshowbarker/properties_pass
Browse files Browse the repository at this point in the history
Unbork IE support (JSON srlize/parse passed props)
  • Loading branch information
jgraham committed Apr 24, 2014
2 parents 43bad08 + 5f213c9 commit 76a73d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testharnessreport.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,11 @@ metadata_generator.setup();
*/
try {
if (window.opener && "testharness_properties" in window.opener) {
setup(window.opener.testharness_properties);
/* 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 76a73d8

Please sign in to comment.