File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ class Utilities {
38
38
return output ;
39
39
}
40
40
41
- static parseParameters ( )
41
+ static parseParameters ( windowLocation )
42
42
{
43
- return this . _parse ( window . location . search . substr ( 1 ) , "&" ) ;
43
+ return this . _parse ( windowLocation . search . substr ( 1 ) , "&" ) ;
44
44
}
45
45
46
46
static parseArguments ( str )
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class BenchmarkRunner {
116
116
117
117
var options = { complexity : test . complexity } ;
118
118
Utilities . extendObject ( options , this . _client . options ) ;
119
- Utilities . extendObject ( options , Utilities . parseParameters ( ) ) ;
119
+ Utilities . extendObject ( options , Utilities . parseParameters ( contentWindow . location ) ) ;
120
120
121
121
var benchmark = new contentWindow . benchmarkClass ( options ) ;
122
122
document . body . style . backgroundColor = benchmark . backgroundColor ( ) ;
You can’t perform that action at this time.
0 commit comments