| Index: tracing/tracing/ui/extras/about_tracing/xhr_based_tracing_controller_client.html
|
| diff --git a/tracing/tracing/ui/extras/about_tracing/xhr_based_tracing_controller_client.html b/tracing/tracing/ui/extras/about_tracing/xhr_based_tracing_controller_client.html
|
| index d6ca756bb193ae1bd16e02070d06088baa45e15d..a33e614813ed8714b117affdb17b2663e97085d3 100644
|
| --- a/tracing/tracing/ui/extras/about_tracing/xhr_based_tracing_controller_client.html
|
| +++ b/tracing/tracing/ui/extras/about_tracing/xhr_based_tracing_controller_client.html
|
| @@ -20,13 +20,13 @@ tr.exportTo('tr.ui.e.about_tracing', function() {
|
| data = null;
|
| return new Promise(function(resolve, reject) {
|
| var req = new XMLHttpRequest();
|
| - if (method != 'POST' && data !== null)
|
| + if (method !== 'POST' && data !== null)
|
| throw new Error('Non-POST should have data==null');
|
| req.open(method, path, true);
|
| req.onreadystatechange = function(e) {
|
| - if (req.readyState == 4) {
|
| + if (req.readyState === 4) {
|
| window.setTimeout(function() {
|
| - if (req.status == 200 && req.responseText != '##ERROR##') {
|
| + if (req.status === 200 && req.responseText !== '##ERROR##') {
|
| resolve(req.responseText);
|
| } else {
|
| reject(new Error('Error occured at ' + path));
|
|
|