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

Issue 6287762160353280: Fixed: patterns.ini contents are being processed multiple times (Closed)

Created:
March 16, 2014, 9:29 p.m. by Wladimir Palant
Modified:
March 18, 2014, 7:09 a.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

See https://issues.adblockplus.org/ticket/152 - our own code handles reentrance just fine, XMLHttpRequest however doesn`t. If a new progress event fires while the previous one is still being processed request.response isn`t being reset. The solution is to decouple our event processing using Utils.runAsync. While at it, it seems that error reporting was always broken here - fixed it.

Patch Set 1 #

Patch Set 2 : Fixed typo #

Patch Set 3 : Fixed error reporting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -24 lines) Patch
M lib/io.js View 1 2 4 chunks +30 lines, -24 lines 0 comments Download

Messages

Total messages: 4
Wladimir Palant
March 16, 2014, 9:29 p.m. (2014-03-16 21:29:52 UTC) #1
Wladimir Palant
Fixed typo
March 16, 2014, 9:40 p.m. (2014-03-16 21:40:08 UTC) #2
Wladimir Palant
Fixed error reporting
March 16, 2014, 9:49 p.m. (2014-03-16 21:49:54 UTC) #3
Felix Dahlke
March 18, 2014, 7:08 a.m. (2014-03-18 07:08:53 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld