Chromium Code Reviews
Description[Presentation API] Fix integration test - initial state of connection can be 'connecting' or 'connected'
presentationRequest.start().then(function(connection) {
// connection state could be 'connecting' or 'connected' here
});
We created two async tasks on page: 1. resolve start() and invoke callback in then(); 2. change connection state to 'connected'. It seems that execution order of these two tasks is random. Will allow both state for now.
More details in crbug.com/664629
BUG=664629
Committed: https://crrev.com/8b0e9501ddf062423fd35f1ef00ba39085614dcc
Cr-Commit-Position: refs/heads/master@{#431926}
Patch Set 1 #
Messages
Total messages: 13 (5 generated)
|
|||||||||||||||||||