Skip to content

redirect response emits "did-fail-load" event #4396

Closed

Description

@cole-dda

for version > 0.36.5
when load a url return redirect,webContents first emit "did-fail-load"(errorCode=-3) ,then emit "did-finish-load"

for version = 0.36.5
only emit "did-finish-load"

Activity

  1. deepak1556 commented on Feb 10, 2016

    @deepak1556
    Member

    Can confirm the behavior for 303 responses. Related to #3471 .

  2. changed the title [-]event error[/-] [+]redirect response emits "did-fail-load" event[/+] on Feb 15, 2016
  3. aggregatejeff commented on Feb 21, 2016

    @aggregatejeff

    Any update on this? I can certainly work around it by just ignoring errorcode -3, but that's clearly not ideal. Also, is there a list of returned errorcodes anywhere?

  4. CharlieHess commented on May 5, 2016

    @CharlieHess
    Contributor

    We see the same thing during the Slack sign-in flow. We explicitly ignore that error code, but it feels bad. I've clarified the documentation here.

  5. tbo commented on May 22, 2016

    @tbo

    @CharlieHess How exactly do you ignore that error code? Once the error occurs I'm unable to load another URL in the same webview.

  6. ccnokes commented on Jun 18, 2016

    @ccnokes
    Contributor

    @aggregatejeff @bmcminn I got tired of constantly looking at that chrome header file for what the error is, so I made: https://github.com/ccnokes/chrome-network-errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions