mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Identify browsers using the name instead of the path
The other testing code already uses the name of the browser as the unique identifier, so I don't see a good reason to not use that for identifying browsers to quit as well. Doing so simplifies the (already somewhat complex) testing logic and ensures that we can use existing functionality (such as the `getSession` function) to retrieve sessions.
This commit is contained in:
parent
bf416db23d
commit
d86720b7dc
5 changed files with 7 additions and 24 deletions
|
@ -175,10 +175,7 @@ function initializePDFJS(callback) {
|
|||
env.addReporter(htmlReporter);
|
||||
|
||||
if (queryString.getParam("browser")) {
|
||||
var testReporter = new TestReporter(
|
||||
queryString.getParam("browser"),
|
||||
queryString.getParam("path")
|
||||
);
|
||||
var testReporter = new TestReporter(queryString.getParam("browser"));
|
||||
env.addReporter(testReporter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue