DescriptionCorrect and simplify the cookie events browser test
The listeners were being removed in the completion callback to
chrome.cookies.set instead of in the chrome.cookiesonChanged
listener. Nothing guaranteed the order of these two, so the test
begun failing when delete started waiting for flush in
<https://chromiumcodereview.appspot.com/18032002>.
Simplify the tests by using listenOnce/listenForever.
BUG=302914
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226456
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|