Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX wrong success for an erronous fetch, after an abort of a legit fetch #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 13, 2012

  1. ADD abort tests

    Conflicts:
    	test/unit.js
    basos9 committed Dec 13, 2012
    Configuration menu
    Copy the full SHA
    66a0ac6 View commit details
    Browse the repository at this point in the history
  2. FIX wrong success for an erronous fetch, after an abort of a legit fetch

    This bug can be manifested when a pending fetch of a legit resource (200 response)
    is aborted and afterwards a new fetch that leads to error (e.g. 404) is issued.
    At the time, the second request finishes the lastValue has the aborted data of
    the previous fetch (callback is executed even on aborted), YIELDING the second (normally
    erroneus response) to be signaled as successfull.
    basos9 committed Dec 13, 2012
    Configuration menu
    Copy the full SHA
    33811c4 View commit details
    Browse the repository at this point in the history