Browse Source

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.
Artur Adib 14 years ago
parent
commit
1296da313c
  1. 2
      test/driver.js

2
test/driver.js

@ -157,7 +157,7 @@ function snapshotCurrentPage(page, task, failure) {
function sendQuitRequest() { function sendQuitRequest() {
var r = new XMLHttpRequest(); var r = new XMLHttpRequest();
r.open('POST', '/tellMeToQuit?path = ' + escape(appPath), false); r.open('POST', '/tellMeToQuit?path=' + escape(appPath), false);
r.send(''); r.send('');
} }

Loading…
Cancel
Save