Closed Bug 1548585 Opened 6 years ago Closed 6 years ago

download api doesnt work in same session for FX 67

Categories

(Toolkit :: Downloads API, defect, P2)

67 Branch
defect
Points:
5

Tracking

()

RESOLVED DUPLICATE of bug 1561654
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- fixed
firefox66 --- unaffected
firefox67 --- wontfix
firefox68 --- wontfix
firefox69 --- fixed
firefox70 --- fixed

People

(Reporter: micha.postbox, Assigned: zombie)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0

Steps to reproduce:

Updated to Firefix 67b14 today. Used download API in my webextension to save files. No private windows used.

Actual results:

The file will not be downloaded anymore. A 14KB webpage will saved to enter user & password with the file type as original downloadable file. Inspect the file with a editor and this was HTML.

browser.downloads.download({
	  url : msg.url,
	  filename : file,
	  conflictAction : 'uniquify'
})

I have console log output of the message with the download url. If i click there i can save the file without authorization without problems. Checked with Nightly - same problem.

Expected results:

Download API should work within same session for Fx 67+ without any password requirements as it is the case for Firefox 66.

Component: Untriaged → Downloads API
Product: Firefox → Toolkit

hi, would it be possible for you to narrow down the regression range with the tool from https://mozilla.github.io/mozregression/?

Has Regression Range: --- → no
Flags: needinfo?(micha.postbox)
Keywords: regression

Nightly 7.3.19 ok
Nightly 8.3.19 broken

last bisects:

2019-05-03T21:34:07: INFO : Narrowed inbound regression window from [13db12a0, 3cddc7cd] (3 builds) to [54ed5eac, 3cddc7cd] (2 builds) (~1 steps left)
2019-05-03T21:34:07: DEBUG : Starting merge handling...
2019-05-03T21:34:07: DEBUG : Using url: https://hg.mozilla.org/mozilla-central/json-pushes?changeset=3cddc7cd4da5fcd26b93becb55a028621ab68f64&full=1
2019-05-03T21:34:07: DEBUG : Found commit message:
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 16 - Always grant storage permission for storage-access door hanger, r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D22273

2019-05-03T21:34:07: DEBUG : Did not find a branch, checking all integration branches
2019-05-03T21:34:07: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=3cddc7cd4da5fcd26b93becb55a028621ab68f64&full=1
2019-05-03T21:34:08: DEBUG : Using url: https://hg.mozilla.org/integration/mozilla-inbound/json-pushes?changeset=3cddc7cd4da5fcd26b93becb55a028621ab68f64&full=1
2019-05-03T21:34:08: DEBUG : Repo 'autoland' seems to have the earliest push
2019-05-03T21:34:08: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=7452e8eb8738b77c509911ff4c3058246d16ea0d
2019-05-03T21:34:09: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?fromchange=7452e8eb8738b77c509911ff4c3058246d16ea0d&tochange=3cddc7cd4da5fcd26b93becb55a028621ab68f64
2019-05-03T21:34:10: INFO : ************* Switching to autoland by process of elimination (no branch detected in commit message)
2019-05-03T21:34:10: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=7452e8eb8738b77c509911ff4c3058246d16ea0d
2019-05-03T21:34:10: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?fromchange=7452e8eb8738b77c509911ff4c3058246d16ea0d&tochange=3cddc7cd4da5fcd26b93becb55a028621ab68f64
2019-05-03T21:34:11: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.7452e8eb8738b77c509911ff4c3058246d16ea0d.firefox.win64-opt'
2019-05-03T21:34:11: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.3cddc7cd4da5fcd26b93becb55a028621ab68f64.firefox.win64-opt'
2019-05-03T21:34:17: WARNING : Skipping build 7452e8eb8738: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.7452e8eb8738b77c509911ff4c3058246d16ea0d.firefox.win64-opt'
2019-05-03T21:34:17: WARNING : Skipping build 3cddc7cd4da5: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.3cddc7cd4da5fcd26b93becb55a028621ab68f64.firefox.win64-opt'
2019-05-03T21:34:17: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?startID=79977&endID=79997
2019-05-03T21:34:18: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.904bfb7c423ff05ad8ca6036c6abf90c277bb609.firefox.win64-opt'
2019-05-03T21:34:18: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.6943cbd4af0564fb1b33922bf90ba48370c0439a.firefox.win64-opt'
2019-05-03T21:34:18: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.54ed5eac2abca2519704c74bc5c421b846031504.firefox.win64-opt'
2019-05-03T21:34:24: WARNING : Skipping build 54ed5eac2abc: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.54ed5eac2abca2519704c74bc5c421b846031504.firefox.win64-opt'
2019-05-03T21:34:24: WARNING : Skipping build 904bfb7c423f: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.904bfb7c423ff05ad8ca6036c6abf90c277bb609.firefox.win64-opt'
2019-05-03T21:34:46: WARNING : Skipping build 6943cbd4af05: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.6943cbd4af0564fb1b33922bf90ba48370c0439a.firefox.win64-opt'
2019-05-03T21:34:46: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.9a94bd3da98faf9f0bc27699a49cafe4b9315709.firefox.win64-opt'
2019-05-03T21:34:46: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.2f913db74eb514ea53dccc1d1f4bfe636a7c8391.firefox.win64-opt'
2019-05-03T21:34:46: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.722b3915da319bd9cab0a9f2a43c18b75585ffec.firefox.win64-opt'
2019-05-03T21:34:52: WARNING : Skipping build 9a94bd3da98f: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.9a94bd3da98faf9f0bc27699a49cafe4b9315709.firefox.win64-opt'
2019-05-03T21:34:52: WARNING : Skipping build 2f913db74eb5: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.2f913db74eb514ea53dccc1d1f4bfe636a7c8391.firefox.win64-opt'
2019-05-03T21:34:52: WARNING : Skipping build 722b3915da31: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.722b3915da319bd9cab0a9f2a43c18b75585ffec.firefox.win64-opt'
2019-05-03T21:34:52: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.3573ac73853a361bee85971f394e3e8e26a03784.firefox.win64-opt'
2019-05-03T21:34:52: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.22b988a39a32a7dc02051aff5426bb02ad0b751c.firefox.win64-opt'
2019-05-03T21:34:52: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.df1b1891f2f85f34846067282ada1a5260d37139.firefox.win64-opt'
2019-05-03T21:34:59: WARNING : Skipping build df1b1891f2f8: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.df1b1891f2f85f34846067282ada1a5260d37139.firefox.win64-opt'
2019-05-03T21:34:59: WARNING : Skipping build 22b988a39a32: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.22b988a39a32a7dc02051aff5426bb02ad0b751c.firefox.win64-opt'
2019-05-03T21:34:59: WARNING : Skipping build 3573ac73853a: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.3573ac73853a361bee85971f394e3e8e26a03784.firefox.win64-opt'
2019-05-03T21:34:59: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.c4d22c2dae9c1e9578d7ffe08ad10f137d10bb18.firefox.win64-opt'
2019-05-03T21:34:59: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.3e844ef9583bd261dfd8ddcab6c9e04cc1bc56ca.firefox.win64-opt'
2019-05-03T21:34:59: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.14d642e940b23c3ad2531b2375ff57e99e5c599c.firefox.win64-opt'
2019-05-03T21:35:05: WARNING : Skipping build c4d22c2dae9c: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.c4d22c2dae9c1e9578d7ffe08ad10f137d10bb18.firefox.win64-opt'
2019-05-03T21:35:06: WARNING : Skipping build 14d642e940b2: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.14d642e940b23c3ad2531b2375ff57e99e5c599c.firefox.win64-opt'
2019-05-03T21:35:06: WARNING : Skipping build 3e844ef9583b: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.3e844ef9583bd261dfd8ddcab6c9e04cc1bc56ca.firefox.win64-opt'
2019-05-03T21:35:06: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.7f1c8a3ebd950a8f68003982060031eef3c1b555.firefox.win64-opt'
2019-05-03T21:35:06: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.b32055608807968d77af0b75a85e3c7dc49a692f.firefox.win64-opt'
2019-05-03T21:35:06: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.e68932c65a3f21415d615280dad4e77b3deb1118.firefox.win64-opt'
2019-05-03T21:35:13: WARNING : Skipping build 7f1c8a3ebd95: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.7f1c8a3ebd950a8f68003982060031eef3c1b555.firefox.win64-opt'
2019-05-03T21:35:13: WARNING : Skipping build e68932c65a3f: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.e68932c65a3f21415d615280dad4e77b3deb1118.firefox.win64-opt'
2019-05-03T21:35:13: WARNING : Skipping build b32055608807: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.b32055608807968d77af0b75a85e3c7dc49a692f.firefox.win64-opt'
2019-05-03T21:35:13: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.3fd4a7b0872e76f8396355a1811676dcfbd86a79.firefox.win64-opt'
2019-05-03T21:35:13: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.289a463d4dedadaa43e72903b726568a13c944b9.firefox.win64-opt'
2019-05-03T21:35:13: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.c8d9a73cf366b9cd50c40e63a80300b76256b2f2.firefox.win64-opt'
2019-05-03T21:35:19: WARNING : Skipping build 289a463d4ded: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.289a463d4dedadaa43e72903b726568a13c944b9.firefox.win64-opt'
2019-05-03T21:35:19: WARNING : Skipping build 3fd4a7b0872e: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.3fd4a7b0872e76f8396355a1811676dcfbd86a79.firefox.win64-opt'
2019-05-03T21:35:20: WARNING : Skipping build c8d9a73cf366: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.c8d9a73cf366b9cd50c40e63a80300b76256b2f2.firefox.win64-opt'
2019-05-03T21:35:20: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.ea4a69b40a661069ff0d4e212cba859b0717f814.firefox.win64-opt'
2019-05-03T21:35:20: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.b202d2f7c0cebbf53d64661ff5f1b1b51f76e79a.firefox.win64-opt'
2019-05-03T21:35:26: WARNING : Skipping build ea4a69b40a66: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.ea4a69b40a661069ff0d4e212cba859b0717f814.firefox.win64-opt'
2019-05-03T21:35:26: WARNING : Skipping build b202d2f7c0ce: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.b202d2f7c0cebbf53d64661ff5f1b1b51f76e79a.firefox.win64-opt'
2019-05-03T21:35:26: CRITICAL : First build 7452e8eb8738 is missing, but mozregression can't find a build before - so it is excluded, but it could contain the regression!
2019-05-03T21:35:26: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?startID=80001&endID=80021
2019-05-03T21:35:27: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.546397372dd75a335d91268a5b5b539f17f266d9.firefox.win64-opt'
2019-05-03T21:35:27: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.5734a9a9153133cd366f75742cc958ce205a8b5d.firefox.win64-opt'
2019-05-03T21:35:27: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.ef2b461b0a90a509075824a47115a7c94a3eb25b.firefox.win64-opt'
2019-05-03T21:35:34: WARNING : Skipping build 546397372dd7: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.546397372dd75a335d91268a5b5b539f17f266d9.firefox.win64-opt'
2019-05-03T21:35:34: WARNING : Skipping build ef2b461b0a90: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.ef2b461b0a90a509075824a47115a7c94a3eb25b.firefox.win64-opt'
2019-05-03T21:35:35: WARNING : Skipping build 5734a9a91531: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.5734a9a9153133cd366f75742cc958ce205a8b5d.firefox.win64-opt'
2019-05-03T21:35:35: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.3c21d47f9ddf9853519f2f7c49a1fe1ca5aa6463.firefox.win64-opt'
2019-05-03T21:35:35: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.e1459b0afa258f53b7799447c063654e994e4d7f.firefox.win64-opt'
2019-05-03T21:35:35: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.525dd00d5636fb4bae03be8b401bbc7ef668d4ac.firefox.win64-opt'
2019-05-03T21:35:41: WARNING : Skipping build 3c21d47f9ddf: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.3c21d47f9ddf9853519f2f7c49a1fe1ca5aa6463.firefox.win64-opt'
2019-05-03T21:35:41: WARNING : Skipping build e1459b0afa25: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.e1459b0afa258f53b7799447c063654e994e4d7f.firefox.win64-opt'
2019-05-03T21:35:42: WARNING : Skipping build 525dd00d5636: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.525dd00d5636fb4bae03be8b401bbc7ef668d4ac.firefox.win64-opt'
2019-05-03T21:35:42: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.56aaf8c9fb7c7e1acf29e1df0827e0d1e4248d78.firefox.win64-opt'
2019-05-03T21:35:42: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.1187925231944ef5c076e75e04fb3f321570fe7d.firefox.win64-opt'
2019-05-03T21:35:42: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.f63a07c8426b5f2286870f0b55c2957a8679d60a.firefox.win64-opt'
2019-05-03T21:35:48: WARNING : Skipping build 118792523194: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.1187925231944ef5c076e75e04fb3f321570fe7d.firefox.win64-opt'
2019-05-03T21:35:48: WARNING : Skipping build 56aaf8c9fb7c: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.56aaf8c9fb7c7e1acf29e1df0827e0d1e4248d78.firefox.win64-opt'
2019-05-03T21:35:48: WARNING : Skipping build f63a07c8426b: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.f63a07c8426b5f2286870f0b55c2957a8679d60a.firefox.win64-opt'
2019-05-03T21:35:48: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.4efc7fb0eae794f4708a59eea3073182080e1889.firefox.win64-opt'
2019-05-03T21:35:48: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.f2bd560573a4b7f684e0647d0031ce9e0b5c045a.firefox.win64-opt'
2019-05-03T21:35:48: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.75033c11fa3c9f10f2697badbf7c0887a5fd7e5b.firefox.win64-opt'
2019-05-03T21:35:54: WARNING : Skipping build f2bd560573a4: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.f2bd560573a4b7f684e0647d0031ce9e0b5c045a.firefox.win64-opt'
2019-05-03T21:35:54: WARNING : Skipping build 4efc7fb0eae7: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.4efc7fb0eae794f4708a59eea3073182080e1889.firefox.win64-opt'
2019-05-03T21:35:55: WARNING : Skipping build 75033c11fa3c: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.75033c11fa3c9f10f2697badbf7c0887a5fd7e5b.firefox.win64-opt'
2019-05-03T21:35:55: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.33c69b500eedc3d30b612887b5e271d11a7a7d6a.firefox.win64-opt'
2019-05-03T21:35:55: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.fa25d5068254d154157c605f572a7121d7ff995e.firefox.win64-opt'
2019-05-03T21:35:55: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.d689ce995f0a4c5f9a4cc4592c7a961755e8eb2d.firefox.win64-opt'
2019-05-03T21:36:01: WARNING : Skipping build fa25d5068254: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.fa25d5068254d154157c605f572a7121d7ff995e.firefox.win64-opt'
2019-05-03T21:36:01: WARNING : Skipping build d689ce995f0a: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.d689ce995f0a4c5f9a4cc4592c7a961755e8eb2d.firefox.win64-opt'
2019-05-03T21:36:01: WARNING : Skipping build 33c69b500eed: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.33c69b500eedc3d30b612887b5e271d11a7a7d6a.firefox.win64-opt'
2019-05-03T21:36:01: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.4e646efc209aa46b03cbbe43f6b64c0e9356b2e4.firefox.win64-opt'
2019-05-03T21:36:01: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.1b1bcfe92e219b27e6b95481d54035d9f6b06f0a.firefox.win64-opt'
2019-05-03T21:36:01: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.e6970424c0ef74b5c4331c6c489f88df37ac8f1e.firefox.win64-opt'
2019-05-03T21:36:08: WARNING : Skipping build e6970424c0ef: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.e6970424c0ef74b5c4331c6c489f88df37ac8f1e.firefox.win64-opt'
2019-05-03T21:36:08: WARNING : Skipping build 1b1bcfe92e21: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.1b1bcfe92e219b27e6b95481d54035d9f6b06f0a.firefox.win64-opt'
2019-05-03T21:36:08: WARNING : Skipping build 4e646efc209a: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.4e646efc209aa46b03cbbe43f6b64c0e9356b2e4.firefox.win64-opt'
2019-05-03T21:36:08: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.a299cc84703adeceb19dee304c8ce2c83c87c282.firefox.win64-opt'
2019-05-03T21:36:08: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.affd43bd16376575d3f06af71b5c876b46279131.firefox.win64-opt'
2019-05-03T21:36:14: WARNING : Skipping build affd43bd1637: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.affd43bd16376575d3f06af71b5c876b46279131.firefox.win64-opt'
2019-05-03T21:36:14: WARNING : Skipping build a299cc84703a: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.a299cc84703adeceb19dee304c8ce2c83c87c282.firefox.win64-opt'
2019-05-03T21:36:14: CRITICAL : Last build 3cddc7cd4da5 is missing, but mozregression can't find a build after - so it is excluded, but it could contain the regression!
2019-05-03T21:36:14: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.29168c60c4e65cf36d5df9787e1bcfca038ac31c.firefox.win64-opt'
2019-05-03T21:36:14: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.615a12a9276839868bef0858f3fb535a04106295.firefox.win64-opt'
2019-05-03T21:36:21: WARNING : Skipping build 29168c60c4e6: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.29168c60c4e65cf36d5df9787e1bcfca038ac31c.firefox.win64-opt'
2019-05-03T21:36:21: WARNING : Skipping build 615a12a92768: Unable to find build info using the taskcluster route 'gecko.v2.autoland.revision.615a12a9276839868bef0858f3fb535a04106295.firefox.win64-opt'
2019-05-03T21:36:24: INFO : Stopped

Flags: needinfo?(micha.postbox) → needinfo?(madperson)

thank you for digging this up, so this seems to have regressed by bug 1525245.

i'm redirecting the need-info to andrea to ask if this was an intentional by-product of the change discussed at https://groups.google.com/forum/#!searchin/mozilla.dev.platform/live$20documents%7Csort:date/mozilla.dev.platform/qO6MserGVmk/mGXCSclUBgAJ or if it's a bug that should be addressed.

Has Regression Range: no → yes
Flags: needinfo?(madperson) → needinfo?(amarchesini)
Regressed by: 1525245

Hi Micha,
Can you provide a test? A simple web-extension that does what you are describing? This would be extremely helpful, for me. Thanks.

Flags: needinfo?(amarchesini) → needinfo?(micha.postbox)

:baku, note that there's automated tests for downloads at https://searchfox.org/mozilla-central/source/toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_saveAs.html and its sibling test files. They use a cool test helper mechanism that makes it easy for a test to effectively define and test a pseudo-extension inline from a browser test. I wasn't aware we had such an excellent testing setup like this before, so I draw your attention to it if you also didn't know. If you already knew, even better!

I made a quick test case. Main problem was to have page with a login. Normally i have a helpdesk software running in browser, its not accessible for you. Found mozillazine forum ok, no attachments there but a button to the reply php page does it for us. Because it only correct working if you are logged in.

A download test button will be added to the forum in above area if you are in a thread. The button sends a message to the download API with the URL of the postreply button if you click.

Instructions:
install the addon
go to http://forums.mozillazine.org/
login
go to a thread
click the button and look to the download folder

Results:
Fx 52 50KB php file downloaded
Fx Nightly 14KB php file downloaded

Flags: needinfo?(micha.postbox) → needinfo?(amarchesini)

Marking as New. Marco, could you as triage owner evaluate the criticality of this bug with regards to our upcoming 67 release and prioritize accordingly? Thanks

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mak77)

Unassigned and no priority set, we are past the last beta and enter RC week on Monday, wontfix 67.

Surely it would be nice to fix this asap, considered it's breaking add-ons, but I don't know much about the underlying change that caused this bug. It looks complex enough just skimming through bug 1525245. Baku can change/re-evaluate this priority setting.
If we could get a fix for 68 (even as an uplift) it would be nice.

Points: --- → 5
Flags: needinfo?(mak77)
Priority: -- → P2
See Also: → 1561654

Fixed this in bug 1561654.

For future reference, if you have breakage of a public extensions API, especially an identified regression from a patch which opted existing tests out of real Firefox behaviour, please make sure the Addons team is aware of the problem.

We can probably better assess the priority, and help guide you with addressing the issue if needed.

Web Extension APIs have compatibility guarantees, and we want to avoid situations where published extensions are broken in release Firefox, while the bug just sits here as P2 for 3 months.

Assignee: nobody → tomica
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(amarchesini)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: