Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Handle reload by setUrl in window store #5178

Merged
merged 1 commit into from
Oct 27, 2016
Merged

Handle reload by setUrl in window store #5178

merged 1 commit into from
Oct 27, 2016

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Oct 27, 2016

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

fix #5177

Auditors: @bbondy

Test Plan:

  1. Type brave.123 in navigation bar
  2. After DNS error page is presented, click refresh button next to navigation bar
  3. The error page refresh normally
  4. Type brave.123 in navigation bar
  5. After DNS error page is presented, click "Retry the URL" in error page
  6. The error page refresh normally
  7. Navigate to https://expired.badssl.com/
  8. After cert error page is presented, click refresh button next to navigation bar
  9. The error page refresh normally
  10. Navigate to https://expired.badssl.com/
  11. After cert error page is presented, click "Retry the URL" in error page
  12. The error page refresh normally
  13. Make network unavailable
  14. Type anything in navigation bar
  15. After connection error page is presented, click refresh button next to navigation bar
  16. The error page refresh normally
  17. Make network unavailable
  18. Type anything in navigation bar
  19. After connection error page is presented, click "Retry the URL" in error page
  20. The error page refresh normally
  21. Make network unavailable
  22. Type anything in navigation bar
  23. After connection error page is presented, make network available
  24. Click refresh button next to navigation bar
  25. The original page should load
  26. Make network unavailable
  27. Type anything in navigation bar
  28. After connection error page is presented, make network available
  29. Click "Retry the URL" in error page
  30. The original page should load

fix brave#5177

Auditors: @bbondy

Test Plan:
1. Type brave.123 in navigation bar
2. After DNS error page is presented, click refresh button next to navigation bar
3. The error page refresh normally

1. Type brave.123 in navigation bar
2. After DNS error page is presented, click "Retry the URL" in error page
3. The error page refresh normally

1. Navigate to https://expired.badssl.com/
2. After cert error page is presented, click refresh button next to navigation bar
3. The error page refresh normally

1. Navigate to https://expired.badssl.com/
2. After cert error page is presented, click "Retry the URL" in error page
3. The error page refresh normally

1. Make network unavailable
2. Type anything in navigation bar
3. After connection error page is presented, click refresh button next to navigation bar
4. The error page refresh normally

1. Make network unavailable
2. Type anything in navigation bar
3. After connection error page is presented, click "Retry the URL" in error page
4. The error page refresh normally

1. Make network unavailable
2. Type anything in navigation bar
3. After connection error page is presented, make network available
4. Click refresh button next to navigation bar
5. The original page should load

1. Make network unavailable
2. Type anything in navigation bar
3. After connection error page is presented, make network available
4. Click "Retry the URL" in error page
5. The original page should load
@darkdh darkdh added this to the 0.12.7dev milestone Oct 27, 2016
@bbondy
Copy link
Member

bbondy commented Oct 27, 2016

++

@luixxiul
Copy link
Contributor

  1. Make network unavailable
  2. Type anything in navigation bar
  3. After connection error page is presented, click "Retry the URL" in error page
  4. The error page refresh normally

This does not happen on 0.12.7 RC1 for Windows 10. If I click "Retry the URL", only the blank page is shown.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error page infinite loop
5 participants