Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6280417539784704: Issue 101 - Fix policy tests (Closed)

Created:
July 9, 2014, 5:04 p.m. by tschuster
Modified:
July 16, 2014, 3:41 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

We had some race condition between when the iframe loaded and when the dynamic image or Worker actually finished loading.

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -34 lines) Patch
M chrome/content/tests/policy.js View 1 4 chunks +47 lines, -34 lines 1 comment Download

Messages

Total messages: 5
tschuster
July 9, 2014, 5:04 p.m. (2014-07-09 17:04:05 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/6280417539784704/diff/5629499534213120/chrome/content/tests/policy.js File chrome/content/tests/policy.js (right): http://codereview.adblockplus.org/6280417539784704/diff/5629499534213120/chrome/content/tests/policy.js#newcode205 chrome/content/tests/policy.js:205: if (!item) { Nit: opening { belongs onto the ...
July 9, 2014, 6:48 p.m. (2014-07-09 18:48:32 UTC) #2
tschuster
I think I forgot to set that -p flag again. r?
July 14, 2014, 1:21 p.m. (2014-07-14 13:21:58 UTC) #3
Wladimir Palant
LGTM with the issue below addressed. http://codereview.adblockplus.org/6280417539784704/diff/5724160613416960/chrome/content/tests/policy.js File chrome/content/tests/policy.js (right): http://codereview.adblockplus.org/6280417539784704/diff/5724160613416960/chrome/content/tests/policy.js#newcode307 chrome/content/tests/policy.js:307: frame.addEventListener("load", callback, true, ...
July 14, 2014, 1:33 p.m. (2014-07-14 13:33:54 UTC) #4
tschuster
July 16, 2014, 3:41 p.m. (2014-07-16 15:41:25 UTC) #5
Wasn't necessary!

Powered by Google App Engine
This is Rietveld