Fixed browser shutdown bug for Macs
The unnecessary spaces in the URL query were causing `tellAppToQuit()` to fail to detect the query `path`, so the browser was being killed via timeout instead of intended script.
This commit is contained in:
parent
76d58ca4ca
commit
1296da313c
@ -157,7 +157,7 @@ function snapshotCurrentPage(page, task, failure) {
|
||||
|
||||
function sendQuitRequest() {
|
||||
var r = new XMLHttpRequest();
|
||||
r.open('POST', '/tellMeToQuit?path = ' + escape(appPath), false);
|
||||
r.open('POST', '/tellMeToQuit?path=' + escape(appPath), false);
|
||||
r.send('');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user