Jared Wein
c686b5d561
Bug 1639606 - Downloads that are set to launchWhenSucceeded with an external application should not get handled internally, unless an attempt has already been made to launch externally. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D76243
2020-05-23 16:21:16 +00:00
Mihai Alexandru Michis
9afe3180db
Backed out changeset 2708f3e553cb (bug 1639606) for causing xpcshell failures in toolkit/components/downloads
...
CLOSED TREE
2020-05-23 00:26:32 +03:00
Jared Wein
1b3310643d
Bug 1639606 - Downloads that are set to launchWhenSucceeded with an external application should not get handled internally, unless an attempt has already been made to launch externally. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D76243
2020-05-22 17:43:57 +00:00
Bogdan Tara
404a84e0a6
Backed out changeset ee9c7714e513 (bug 1639606) for browser_download_open_with_internal_handler.js failures CLOSED TREE
...
DONTBUILD
2020-05-22 07:04:45 +03:00
Jared Wein
c9919e67e4
Bug 1639606 - Downloads that are set to launchWhenSucceeded with an external application should not get handled internally, unless an attempt has already been made to launch externally. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D76243
2020-05-22 02:09:45 +00:00
Matt Woodrow
b7105cc963
Bug 1627533 - Create LoadGroups for docshells using the BrowsingContext's request context id. r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D75885
2020-05-21 03:38:37 +00:00
Emilio Cobos Álvarez
c3b7227771
Bug 1639392 - Merge nsIStyleSheetLinkingElement and nsStyleLinkElement, and call it LinkStyle. r=jwatt
...
Which is the spec term. nsIStyleSheetLinkingElement is even more
confusing since it may not be an element at all (see: processing
instructions).
Differential Revision: https://phabricator.services.mozilla.com/D76071
2020-05-21 03:07:16 +00:00
Noemi Erli
3adaaeb800
Backed out 3 changesets (bug 1627533) for causing assertions in RequestContextService.cpp CLOSED TREE
...
Backed out changeset 3b35a1852a60 (bug 1627533)
Backed out changeset 70fa5e075269 (bug 1627533)
Backed out changeset 0d1046670534 (bug 1627533)
2020-05-21 04:16:21 +03:00
Matt Woodrow
f8b14e22ba
Bug 1627533 - Create LoadGroups for docshells using the BrowsingContext's request context id. r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D75885
2020-05-20 23:41:36 +00:00
Jared Wein
f5e23e91eb
Bug 1638683 - When opening a PDF internally, the new tab should appear adjacent to the opening tab. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D75818
2020-05-20 14:28:04 +00:00
Honza Bambas
d88ed92c5f
Bug 1618548 - Make `Link: rel=preload` response header work with preload-as-speculative-load, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D75133
2020-05-18 17:33:57 +00:00
Gijs Kruitbosch
34a6029cd6
Bug 1633270 - don't default to saveToDisk if we are supposed to handle internally, r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D75581
2020-05-16 13:22:01 +00:00
Honza Bambas
7a64bc8d9b
Bug 1618543 - Let `fetch()` use "fetch" preloads, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D74899
2020-05-18 12:18:14 +00:00
Mihai Alexandru Michis
19a4744fcc
Backed out 2 changesets (bug 1620679) for causing failures in nsDocShell.cpp
...
CLOSED TREE
Backed out changeset 2957142243c5 (bug 1620679)
Backed out changeset 60df74b03f34 (bug 1620679)
2020-05-18 14:47:37 +03:00
Matt Woodrow
2f95a6ac80
Bug 1620679 - Don't fire load event from within Stop(). r=smaug
...
This matches what the spec says, and what blink does.
Differential Revision: https://phabricator.services.mozilla.com/D73994
2020-05-18 07:30:14 +00:00
Gijs Kruitbosch
72186b2199
Bug 1638092 - do not require a browsingcontext to call the external protocol service's loadURI method, r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D75543
2020-05-17 22:54:30 +00:00
Narcis Beleuzu
da3bd17056
Backed out 2 changesets (bug 1633270) for mochitest failure on test_allowContentRetargeting.html
...
Backed out changeset 77d5aff05a0e (bug 1633270)
Backed out changeset cb53eac110d1 (bug 1633270)
2020-05-16 16:16:57 +03:00
Gijs Kruitbosch
7331d81a95
Bug 1633270 - don't default to saveToDisk if we are supposed to handle internally, r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D75581
2020-05-15 18:20:53 +00:00
Jared Wein
2c619e2a98
Bug 773942 - Create a new init method in nsITransfer that accepts a BrowsingContext and if the download should be handled internally for backwards-compat. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D75186
2020-05-16 06:00:08 +00:00
Jared Wein
f370299b89
Bug 773942 - Add tests that cover the generic PDF description and the 'open with (internal handler)' option of the Unknown Content Type dialog. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D73537
2020-05-16 06:00:03 +00:00
Jared Wein
9b0a889740
Bug 773942 - Hide the 'Open with Firefox' option if the download is started from the download button in pdf.js. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D72779
2020-05-16 05:59:55 +00:00
Jared Wein
3ab25176e5
Bug 773942 - Use the browsingContext to open the new tab with correct userContextId, private-ness, and ownerTab. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D72778
2020-05-16 05:59:53 +00:00
Jared Wein
e2e5ff74a3
Bug 773942 - Use a generic string for the PDF description since it is not necessarily tied to the default handler. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D72777
2020-05-16 05:59:50 +00:00
Jared Wein
3074d7ebb9
Bug 773942 - Open PDFs using pdf.js in a new tab when the Preview option is selected from the Unknown Content Type dialog. r=Gijs
...
This is currently preffed off behind the "browser.helperApps.showOpenOptionForPdfJS" pref.
Differential Revision: https://phabricator.services.mozilla.com/D72776
2020-05-16 05:59:43 +00:00
Narcis Beleuzu
35b6e759f7
Backed out 9 changesets (bug 773942) for xpcshell failure on test_getMIMEInfo_pdf.js
...
Backed out changeset 6fb0f25b2f5d (bug 773942)
Backed out changeset 27e9fe03a549 (bug 773942)
Backed out changeset ee0ecad5e90a (bug 773942)
Backed out changeset df062e14287b (bug 773942)
Backed out changeset 7da06239ccfb (bug 773942)
Backed out changeset dfedbeeaec66 (bug 773942)
Backed out changeset 286e1be9dc46 (bug 773942)
Backed out changeset f4df0a553bc0 (bug 773942)
Backed out changeset 97f3b96b6be0 (bug 773942)
2020-05-16 08:37:53 +03:00
Jared Wein
788718620f
Bug 773942 - Create a new init method in nsITransfer that accepts a BrowsingContext and if the download should be handled internally for backwards-compat. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D75186
2020-05-16 04:26:12 +00:00
Jared Wein
6db46926a5
Bug 773942 - Add tests that cover the generic PDF description and the 'open with (internal handler)' option of the Unknown Content Type dialog. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D73537
2020-05-16 04:25:18 +00:00
Jared Wein
b804d9a64f
Bug 773942 - Hide the 'Open with Firefox' option if the download is started from the download button in pdf.js. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D72779
2020-05-16 04:25:06 +00:00
Jared Wein
58822bff64
Bug 773942 - Use the browsingContext to open the new tab with correct userContextId, private-ness, and ownerTab. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D72778
2020-05-16 04:25:03 +00:00
Jared Wein
fbedeb01f3
Bug 773942 - Use a generic string for the PDF description since it is not necessarily tied to the default handler. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D72777
2020-05-16 04:24:59 +00:00
Jared Wein
3ace9de33d
Bug 773942 - Open PDFs using pdf.js in a new tab when the Preview option is selected from the Unknown Content Type dialog. r=Gijs
...
This is currently preffed off behind the "browser.helperApps.showOpenOptionForPdfJS" pref.
Differential Revision: https://phabricator.services.mozilla.com/D72776
2020-05-16 04:24:56 +00:00
Aaron Klotz
b6a9c67e2a
Bug 1637452: Part 4 - Fix JNI includes in uriloader; r=nika
...
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.
Differential Revision: https://phabricator.services.mozilla.com/D75367
2020-05-15 17:04:17 +00:00
Razvan Maries
481517ce87
Backed out 2 changesets (bug 1558394) for perma failures on iframe_sandbox_anchor_download_block_downloads.sub.tentative.html. CLOSED TREE
...
Backed out changeset 79046ff8143b (bug 1558394)
Backed out changeset e13ede3c68d4 (bug 1558394)
2020-05-15 19:18:34 +03:00
Sebastian Streich
6733f1311c
Bug 1558394 - Block downloads in sandboxed iframes r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67351
2020-05-15 14:03:43 +00:00
Bogdan Tara
edcb53f163
Backed out 2 changesets (bug 1558394) for nsDocShellLoadState related bustage CLOSED TREE
...
Backed out changeset 5889105bd089 (bug 1558394)
Backed out changeset 80a0ea17c9f8 (bug 1558394)
2020-05-14 15:17:32 +03:00
Honza Bambas
3195caba81
Bug 1637888 - Add a null-check for Document passed to `PreloaderBase::NotifyRestart` as it is a valid case to happen, r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D75282
2020-05-14 11:24:03 +00:00
Sebastian Streich
bb85ae41b1
Bug 1558394 - Block downloads in sandboxed iframes r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67351
2020-05-14 10:05:55 +00:00
Gijs Kruitbosch
da06939745
Bug 1196151 - avoid loading mailto: and other standard schemes into frames, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D74560
2020-05-11 17:48:50 +00:00
Gijs Kruitbosch
228e52aebe
Bug 1196151 - use BrowsingContext for external helper app handling of protocols, r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D74434
2020-05-11 13:13:03 +00:00
Geoff Brown
12eb1c9908
Bug 1637367 - Improve GRE_HOME setting in remote xpcshell tests; r=bc
...
Previously this would typically set GRE_HOME to /data/data/org.mozilla.geckoview.test,
even though org.mozilla.geckoview.test is not normally installed when running
xpcshell tests -- a non-existent directory in a privileged location!
The new location, remoteBinDir, is typically /data/local/xpcb, the location of the
xpcshell executable.
Differential Revision: https://phabricator.services.mozilla.com/D74938
2020-05-12 21:03:59 +00:00
ssengupta
cf852bbfb9
Bug 1635399 - Function PrincipalInfoToPrincipal now returns Result<nsCOMPtr<nsIPrincipal>, nsresult> r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D73868
2020-05-12 19:02:05 +00:00
Honza Bambas
82d44154a6
Bug 1636106 - Do not cancel a preload channel and do not remove a preload from Document`s preloads when last <link preload> node referencing it is removed from the DOM tree or otherwise updated making it abandon the preload, r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D74480
2020-05-12 12:15:57 +00:00
Geoff Lankow
0688ffdef2
Bug 1618535 - Add missing `#include "nsIDocShell.h"` to unbreak the Thunderbird build r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D74753
2020-05-12 07:11:11 +00:00
Honza Bambas
bc388980de
Bug 1618322 - Merge `network.preload.experimental` pref to `network.preload`, r=dragana
...
Depends on D70235
Differential Revision: https://phabricator.services.mozilla.com/D70526
2020-05-11 14:15:30 +00:00
Honza Bambas
ec52ba8274
Bug 1618536 - Preload for fonts, r=heycam,hsivonen
...
Depends on D72118
Differential Revision: https://phabricator.services.mozilla.com/D70235
2020-05-11 14:14:32 +00:00
Honza Bambas
9e027ce534
Bug 1618535 - Implement preloading for as="fetch" type r=kershaw,baku
...
Depends on D69860
Differential Revision: https://phabricator.services.mozilla.com/D69628
2020-05-11 14:12:33 +00:00
Edgar Chen
3f250fba44
Bug 1618295 - Make imgRequestProxy implement and use PreloaderBase to support the preload as speculative load feature; r=tnikkel,smaug,mayhemer
...
Depends on D72083
Differential Revision: https://phabricator.services.mozilla.com/D69860
2020-05-11 14:43:05 +00:00
Honza Bambas
ba512a53f7
Bug 1618293 - Make css::Loader derive and use PreloaderBase to support new preload as speculative load feature, r=smaug
...
Depends on D67481
Differential Revision: https://phabricator.services.mozilla.com/D68786
2020-05-11 14:08:08 +00:00
Honza Bambas
3af63237fe
Bug 1618292 - Make ScriptLoadRequest derive and use PreloaderBase to support new preload as speculative load feature, r=smaug
...
Depends on D67483
Differential Revision: https://phabricator.services.mozilla.com/D67481
2020-05-11 14:07:24 +00:00
Honza Bambas
2d65fbb465
Bug 1618298 - Update PreloadService to provide APIs to integrate with link DOM element, r=smaug
...
Depends on D67480
Differential Revision: https://phabricator.services.mozilla.com/D67482
2020-05-11 14:05:22 +00:00