Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Keep the original URL in servo test report
Browse files Browse the repository at this point in the history
  • Loading branch information
stshine authored and jgraham committed Oct 20, 2016
1 parent 83fb6b7 commit b3f03db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wptrunner/testharnessreport-servo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

var props = {output:%(output)d};

var start_loc = document.createElement('a');
start_loc.href = location.href;
setup(props);

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

0 comments on commit b3f03db

Please sign in to comment.