mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Use strict equalities in test/unit/{function_spec, stream_spec, testreporter}.js
This commit is contained in:
parent
e525902241
commit
b0349cd184
3 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ var TestReporter = function(browser, appPath) {
|
|||
r.open('POST', action, true);
|
||||
r.setRequestHeader('Content-Type', 'application/json');
|
||||
r.onreadystatechange = function sendTaskResultOnreadystatechange(e) {
|
||||
if (r.readyState == 4) {
|
||||
if (r.readyState === 4) {
|
||||
// Retry until successful
|
||||
if (r.status !== 200) {
|
||||
send(action, json, cb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue