-
Notifications
You must be signed in to change notification settings - Fork 53
#1509 fetch() implementation #5372
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
Merged
Merged
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
5520fe0
use chrome.runtime broadcast sends with custom generated tabId
2a252a6
Merge remote-tracking branch 'origin/master' into issue-5329-broadcas…
4c1ab6a
postMessage as backup (wip)
f76d041
simplify, removed background relay (wip)
df8cf42
fix broadcast propagation
3cfce61
fix parent propagation
640c60b
Merge remote-tracking branch 'origin/master' into issue-5329-broadcas…
3c57a7a
fetch() instead of BrowserMsg.ajax (wip)
eb7fed8
Merge remote-tracking branch 'origin/master' into issue-5329-broadcas…
7405ae3
Merge remote-tracking branch 'origin/master' into issue-5329-broadcas…
ada3139
better custom reponseText handling for 400 Bad request and test robus…
1f73b14
proper network error handling
cc22d8b
Update mock for token substitution
b4d4fbc
Merge remote-tracking branch 'origin/master' into issue-5329-broadcas…
5a55e51
Merge remote-tracking branch 'origin/master' into issue-5329-broadcas…
bab1c82
download progress and timeout implementation with fetch()
7a75e96
convert 'Failed to fetch' error to AjaxErr
9a613c5
Merge remote-tracking branch 'origin/master' into issue-5329-broadcas…
6769139
HTTP/2 support in mock
cc3e0b0
Status texts from dictionary for HTTP/2
058849c
fix HTTP/2 Authority check in mock
196643e
upload progress implementation for fetch()
ab5aaab
Merge remote-tracking branch 'origin/master' into issue-1509-fetch
8adbe64
fix
3f2d4d2
Merge remote-tracking branch 'origin/master' into issue-1509-fetch
427479d
Merge remote-tracking branch 'origin/master' into issue-1509-fetch
3314abb
dummy url for feature-detection, required in Firefox
62c7356
Merge remote-tracking branch 'origin/master' into issue-1509-fetch
e0294c6
removed unused Bm.Res.Ajax type
205cbc6
Merge branch 'master' into issue-1509-fetch
sosnovsky 4d227af
Merge branch 'master' into issue-1509-fetch
sosnovsky f68b2f5
Merge branch 'master' into issue-1509-fetch
sosnovsky 81c505d
Merge branch 'master' into issue-1509-fetch
sosnovsky 4f249e3
Merge branch 'master' into issue-1509-fetch
sosnovsky 824c9b0
use background page for ajax calls
sosnovsky 7157840
add fetchWithRetry
sosnovsky c9a60f8
Merge branch 'master' into issue-1509-fetch
sosnovsky 3aece70
use jquery for requests with upload progress
sosnovsky d847436
fixes for download progress
sosnovsky da3f5eb
Merge branch 'master' into issue-1509-fetch
sosnovsky 8696318
fix refresh token oauth request in firefox
sosnovsky e195434
run tests with firefox
sosnovsky aeedc14
revert semaphore.yml changes
sosnovsky 0b99697
use chrome for puppeteer
sosnovsky 22902a8
run live tests
sosnovsky ad8a8cb
Merge branch 'master' into issue-1509-fetch
sosnovsky fdf9b7e
use background script for cors requests
sosnovsky 229939f
Merge branch 'master' into issue-1509-fetch
sosnovsky a0d9e81
wip
sosnovsky 3900595
use background page only for firefox
sosnovsky 50ec672
Merge branch 'master' into issue-1509-fetch
sosnovsky 4f2dd28
Merge branch 'master' into issue-1509-fetch
sosnovsky 5127723
send ajax_progress from background page
sosnovsky 150a572
debug live tests
sosnovsky a3d3a1e
live test debug
sosnovsky e3a756a
wip
sosnovsky e8fa39c
test fix
sosnovsky 63f1f1c
live tests fix
sosnovsky 37d9563
Merge branch 'master' into issue-1509-fetch
sosnovsky 92e567d
live test fix
sosnovsky 294b293
run live tests only in master
sosnovsky 8b4fc26
re-enable tap
sosnovsky ebbdcd0
pr review
sosnovsky 7c74b16
fix google url
sosnovsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If upload progress needs to be supported for this call, should convert the body to 'TEXT' the same way as in
Gmail.msgSendand make sure FES supports HTTP/2There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like currently FES supports only HTTP/1.1:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't upload progress achievable regardless of http version? We know how much data we intend to send, and we surely know how much data we've sent so far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetch upload streaming currently has only limited support, only in Chrome > 105 and HTTP/2