Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Issue 25677004: Correct and simplify the cookie events browser test (Closed)

Created:
7 years, 2 months ago by philipj_slow
Modified:
7 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Visibility:
Public.

Description

Correct 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -52 lines) Patch
M chrome/test/data/extensions/api_test/cookies/events/test.js View 1 chunk +29 lines, -52 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
philipj_slow
7 years, 2 months ago (2013-10-02 08:53:21 UTC) #1
jochen (gone - plz use gerrit)
lgtm
7 years, 2 months ago (2013-10-02 08:55:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/25677004/1
7 years, 2 months ago (2013-10-02 09:00:15 UTC) #3
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 12:19:34 UTC) #4
Message was sent while issue was closed.
Change committed as 226456

Powered by Google App Engine
This is Rietveld 408576698