mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #14608 from brendandahl/no-close
Don't close window from test driver.
This commit is contained in:
commit
e7787ee838
1 changed files with 0 additions and 5 deletions
|
@ -850,11 +850,6 @@ class Driver {
|
|||
// Send the quit request
|
||||
const r = new XMLHttpRequest();
|
||||
r.open("POST", `/tellMeToQuit?browser=${escape(this.browser)}`, false);
|
||||
r.onreadystatechange = function (e) {
|
||||
if (r.readyState === 4) {
|
||||
window.close();
|
||||
}
|
||||
};
|
||||
r.send(null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue