Skip to content

Commit

Permalink
Decode URI components when reporting testharness results.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm authored and servo-wpt-sync committed Sep 4, 2019
1 parent df7fa0f commit 2cfbeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/wptrunner/wptrunner/testharnessreport-servo.js
Expand Up @@ -4,7 +4,7 @@ start_loc.href = location.href;
setup(props);

add_completion_callback(function (tests, harness_status) {
var id = start_loc.pathname + start_loc.search + start_loc.hash;
var id = decodeURIComponent(start_loc.pathname) + decodeURIComponent(start_loc.search) + decodeURIComponent(start_loc.hash);
console.log("ALERT: RESULT: " + JSON.stringify([
id,
harness_status.status,
Expand Down

0 comments on commit 2cfbeca

Please sign in to comment.