Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kingston f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston dd4c731d8c Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20771

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:54 +00:00
Dorel Luca 4a4dcd57fa Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00
Jonathan Kingston 63ab2bd8aa Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-24 20:27:55 +00:00
Jonathan Kingston 147e351e0b Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20771

--HG--
extra : moz-landing-system : lando
2019-02-25 00:07:42 +00:00
Christoph Kerschbaumer 08be3dab62 Bug 1529252: Remove the 2 from the various version to create a channel within nsIIOService.idl. r=valentin 2019-02-21 12:48:20 +01:00
Jonathan Kingston 3421b8fcff Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
Replacing js and text occurences of asyncOpen2
Replacing open2 with open

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

--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Dave Townsend 1c728fbeac Bug 1517029: Fail favicon requests when encountering an icon that requires credentials. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D15768

--HG--
extra : moz-landing-system : lando
2019-01-07 17:57:46 +00:00
Dave Townsend db7545da18 Bug 1516658: Favicon requests should use an accept header appropriate for images. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D15778

--HG--
extra : moz-landing-system : lando
2019-01-07 17:43:23 +00:00
Dave Townsend 0f41ddb2a4 Bug 1513113: Bail out of loading icons if the content page has unloaded. r=mak
There is a problem in FaviconLoader where we can attempt to load icons after the
page has been unloaded somehow. Because DeferredTask pushes its task to the idle
queue there is a short gap between when DeferredTask's timer fires and when its
task starts. If the page is unloaded in that gap we are unable to cancel the
task and when it starts it fails to access the content page.

However, when the page unloads we do clear the list of icons and since there is
no reason to do anything when the list of icons is empty we can just bail out
of the load task early and never try to touch the content page in this case.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 17:12:53 +00:00
Gijs Kruitbosch 2efc57c842 Bug 1511903 - r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13714

--HG--
extra : moz-landing-system : lando
2018-12-05 10:24:56 +00:00
Dorel Luca 4ce99f5758 Backed out changeset 5516f3e7b817 (bug 1511903) for browser-chrome failures in browser/components/sessionstore/test/browser_attributes.js. CLOSED TREE
--HG--
extra : amend_source : ce52b72a7637a7a04f0f0c9531aecb4bf9ed8457
2018-12-04 15:20:13 +02:00
Gijs Kruitbosch bbf6af58e6 Bug 1511903 - r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13714

--HG--
extra : moz-landing-system : lando
2018-12-04 12:12:05 +00:00
Dave Townsend 73268fba43 Bug 1504470: Drop favicons above 2048x2048. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D13362

--HG--
extra : rebase_source : 23f76080b037dbae71d25b2851e03e4afd179d84
2018-11-28 13:38:42 -08:00
Dave Townsend da469d9988 Bug 1504470: Switch to using a storage stream for caching favicon data. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D13361

--HG--
extra : rebase_source : 52a4012baa5ff921fb83fb43988c3eb797ab918c
2018-11-28 12:42:51 -08:00
Dave Townsend 3e18f3d532 Bug 1503696: Cache cookies in the same way we did before Firefox 63. r=mak
Previous to bug 1453751 favicons were loaded from the network by a <xul:image>
tag with validate="never". This caused us to always use any cached version if
possible. Bug 1453751 used a normal load type causing us to revalidate with the
server for each request. This switches the loader to using the cache if possible.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 20:46:32 +00:00
Andreea Pavel 6cebff1713 Backed out changeset 655b8b4a0e67 (bug 1503696) for failing eslint at gecko/browser/base/content/test/favicons/browser_favicon_cache.js on a CLOSED TREE 2018-11-12 19:11:08 +02:00
Dave Townsend 918425999d Bug 1503696: Cache cookies in the same way we did before Firefox 63. r=mak
Previous to bug 1453751 favicons were loaded from the network by a <xul:image>
tag with validate="never". This caused us to always use any cached version if
possible. Bug 1453751 used a normal load type causing us to revalidate with the
server for each request. This switches the loader to using the cache if possible.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 16:41:35 +00:00
Marco Bonardo 751325b9aa Bug 1488296 - Race condition when setting favicons for a browser with a changed currentURI. r=mossop
There is a race condition between the time we decide to fetch an icon and the time we actually store that icon, where the original browser currentURI may have changed.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 13:24:41 +00:00
Dorel Luca 70d09db423 Backed out changeset fddb4d2af447 (bug 1488296) for browser-chrome failures on browser/components/originattributes/test/browser/browser_favicon_userContextId.js 2018-09-13 01:51:59 +03:00
Marco Bonardo 7cdcd1eef1 Bug 1488296 - Race condition when setting favicons for a browser with a changed currentURI. r=mossop
There is a race condition between the time we decide to fetch an icon and the time we actually store that icon, where the original browser currentURI may have changed.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 17:07:15 +00:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Dave Townsend 730ca3472e Bug 1473514: Display an empty space for the tab icon while waiting for the real favicon to appear. r=dao
This adds a simple empty box that is displayed when we're still loading an icon
but are no longer showing the throbber. Ideally I'd like to keep showing the
throbber and maintain the busy state but that seems more risky for now.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 18:27:36 +00:00
Kris Maglione 6d732b690f Bug 1480319: Split favicon loading code out of ContentLinkHandler.jsm. r=Mossop
MozReview-Commit-ID: KyP42P5FJRq

--HG--
rename : browser/modules/ContentLinkHandler.jsm => browser/actors/LinkHandlerChild.jsm
rename : browser/modules/ContentLinkHandler.jsm => browser/modules/FaviconLoader.jsm
extra : rebase_source : dccf68b3e9e5d90dfca72a8860ca88d7ba67dfb7
extra : source : aa14dcca91fb46a6e44a68d2b0370dd0eff8d400
2018-08-01 21:36:12 -07:00
Csoregi Natalia fcbb856357 Backed out 4 changesets (bug 1480319) for mochitest failures on test_ext_webrequest_filter.html. CLOSED TREE
Backed out changeset 186ad2d171c1 (bug 1480319)
Backed out changeset 0161b3bbc9d2 (bug 1480319)
Backed out changeset 30a0f8cede1e (bug 1480319)
Backed out changeset aa14dcca91fb (bug 1480319)

--HG--
rename : browser/modules/FaviconLoader.jsm => browser/modules/ContentLinkHandler.jsm
2018-08-16 03:46:56 +03:00
Kris Maglione 4b6d32ec6c Bug 1480319: Split favicon loading code out of ContentLinkHandler.jsm. r=Mossop
MozReview-Commit-ID: KyP42P5FJRq

--HG--
rename : browser/modules/ContentLinkHandler.jsm => browser/actors/LinkHandlerChild.jsm
rename : browser/modules/ContentLinkHandler.jsm => browser/modules/FaviconLoader.jsm
extra : rebase_source : da12d0379f976fa041b97e271abb599dc99f3848
2018-08-01 21:36:12 -07:00