Consider this simple example:
should(Audit.loadFileFromURL('resources/hyper-reality/laughter.wav'),
'Load file')
.beResolved()
vs
Audit.loadFileFromURL('resources/hyper-reality/laughter.wav')
.then(response => {
should(true, 'Load file').message('resolved', 'oops');
})
In the latter case, this all works and the message is printed.
In the former case, I get an xhr.status of 0, which seems to indicate a cross-domain access. (Or something; I'm not 100% sure.)
Comment 1 by hongchan@chromium.org
, Mar 21 2017Owner: hongchan@chromium.org
Status: Started (was: Available)