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

42 Коммитов

Автор SHA1 Сообщение Дата
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
alecclarke 960d3048f8 Bug 1486630 - Remove _manifestURI field and handling of the MozApplicationManifest message. r=mconley
Remove the _manifestURI field and handling of the MozApplicationManifest message.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 15:21:14 +00:00
Kris Maglione 22d4bb0074 Bug 1484413: Split ReaderMode.jsm into separate checking and loading components. r=Gijs
Most of the ReaderMode.jsm and Readability.js code is only needed when we
actually need to render a document in reader mode, but also winds up loaded
into any process where we ever check if a page is readerable. This winds up
wasting a huge amount of memory (and probably a huge amount of CPU time)
loading code which is almost never used.

This patch splits ReaderMode.jsm into two modules, one for checking
readability, one for actually entering reader mode. It also separates out the
isProbablyReaderable checks from Readability.js, since the overhead of loading
that script before it's needed is unsupportable.

This means we're probably going to need some effort to keep Readerable.jsm and
Readability.js in sync, but the code in question is pretty trivial, so it
shouldn't be too difficult.

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

--HG--
rename : toolkit/components/reader/Readability.js => toolkit/components/reader/Readability-readerable.js
rename : toolkit/components/reader/ReaderMode.jsm => toolkit/components/reader/Readerable.js
extra : rebase_source : 66712057591ae20dd66234e3dc78fbba90a6914e
extra : amend_source : f908f62f49ea54b9099ddb87d9f2fc11f12d4dee
2018-08-17 23:10:59 -07:00
Prathiksha 7c41699357 Bug 1438857 - Remove the Flash plugin infobar. r=Felipe
Remove Flash plugin infobar code.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 14:50:16 +00:00
shindli fd77c051cb Backed out changeset 99e8a7cd7726 (bug 1484761) as requested by the developer on IRC on a CLOSED TREE 2018-09-04 09:09:49 +03:00
trisha 88400e06ef Bug 1484761 - Change "security certificates" to "certificates" on the new cert error pages r=johannh 2018-08-31 19:12:02 +05:30
timeless c956741452 Bug 1487889 - Add missing whitespace for certErrorMismatchSinglePrefix1. r=johannh
--HG--
extra : source : 9cbc8592d649c3876156e78fb9539038913435e6
extra : histedit_source : b232208157581922fdf7cda83d05889c518b395e
2018-08-31 17:04:40 -04: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
Mark Banner f5112645af Bug 1486226 - Correctly handle empty (invalid) href attributes in <link> elements (e.g. favicons). r=mak
Differential Revision: https://phabricator.services.mozilla.com/D4487

--HG--
extra : moz-landing-system : lando
2018-08-30 08:35:51 +00:00
Johann Hofmann a05ff7f01f Bug 1484246 - Part 1 - Add more explanation to certificate errors caused by Symantec distrust. r=Gijs,keeler
Differential Revision: https://phabricator.services.mozilla.com/D3877

--HG--
extra : rebase_source : 0f45bb71e4e2d9437c687a991c55f33ab492b7bf
2018-08-21 15:04:02 +02:00
Kris Maglione 80327d3561 Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729

--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Tim Nguyen 0c68c54d3e Bug 1418602 - Allow theming sidebars. r=mconley
MozReview-Commit-ID: 97zkU7raehV

--HG--
extra : rebase_source : 02a80c78170723bf9d7d2e72834fc26850894dbc
2018-08-06 17:46:43 +01:00
Kris Maglione ba5568e69d Bug 1483738: Part 3 - Use lazy MozInvalidForm listener on desktop. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D3468

--HG--
rename : browser/modules/FormSubmitObserver.jsm => browser/actors/FormSubmitChild.jsm
extra : rebase_source : 3b61dfde2902e008528216d1382b83223fe10b1b
2018-08-15 14:13:53 -07:00
Kris Maglione 870d813b3a Bug 1483664: Part 1 - Use lazy actor infrastructure for LightweightThemeChild. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D3433

--HG--
rename : browser/modules/LightweightThemeChildHelper.jsm => browser/actors/LightweightThemeChild.jsm
extra : rebase_source : 0f6e10f9ebe5674a001846fe7ad23d13ededa8fa
2018-08-15 20:06:58 -07:00
Kris Maglione 0c6cd02ae1 Bug 1483664: Part 0 - Dispatch pagehide/pageshow to all system group listeners on frameloader swap. r=smaug,mconley
Having to add pagehide/pageshow listeners to the chrome event target is a
serious inconvience for the use cases of this bug. Dispatching to system group
listeners has approximately the same effect as the old code, but is much
easier for window-bound code to handle.

--HG--
extra : rebase_source : d67c14e9ba91772d8a9dd82481120b34bdb551e0
2018-08-15 20:06:49 -07:00
Dave Townsend 35b08ddffc Bug 1483910: Clear seenTabIcon on pagehide so subsequent loads attempt to load the root favicon. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D3534

--HG--
extra : moz-landing-system : lando
2018-08-16 17:29:57 +00:00
Margareta Eliza Balazs 48299c8cd6 Merge inbound to mozilla-central. a=merge 2018-08-16 12:24:26 +03: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 962487a047 Bug 1480319: Follow-up: Re-enable favicon guessing during WebRequest tests. r=Mossop
--HG--
extra : rebase_source : fa21ef2a779d39c08bf0e1616046cde7126789ca
2018-08-15 14:56:49 -07: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
Timothy Guan-tin Chien d4311b7918 Bug 1431255 - Part VI, Redirect target in ContextMenu.jsm to HTMLMediaElement r=jaws
Set the referenced node to that of the containing media element so related
menu items will be shown in the context menu.

MozReview-Commit-ID: 4BKlINHmTSb

--HG--
extra : rebase_source : 1eb1757c693bcdc432b765aac9fbf28f283a492e
2018-07-06 13:26:59 +08:00
Kris Maglione 8681170415 Bug 1472491: Follow-up: Add bug component to actors/ directories. r=bustage,npotb CLOSED TREE 2018-08-14 10:14:02 -07:00
Kris Maglione 4bcb8916be Bug 1472491: Part 5θ - Add WebRTCChild actor. r=florian f=mconley
MozReview-Commit-ID: 8ucJr2Hp0F9

--HG--
rename : browser/modules/ContentWebRTC.jsm => browser/actors/WebRTCChild.jsm
extra : rebase_source : f2da8d03f16c9d9d21a74f0e5248c17bfd1ead1e
2018-07-30 10:53:15 -07:00
Kris Maglione 96bdaf839b Bug 1472491: Part 5w - Add PageMetadataChild actor. r=mconley
MozReview-Commit-ID: DpTG8tTJCL4

--HG--
rename : browser/base/content/content.js => browser/actors/PageMetadataChild.jsm
extra : rebase_source : 6b6d4cd46b43ea784a05b60120b819500f2f4601
2018-07-29 23:08:52 -07:00
Kris Maglione 53be0d783d Bug 1472491: Part 5u - Add URIFixupChild actor. r=gijs
MozReview-Commit-ID: IqFGfjXhc6z

--HG--
extra : rebase_source : 61cb950eb2322be21ac5d8447ce2bbc3f9ca55d5
2018-07-29 22:30:34 -07:00
Kris Maglione 0e0b74319e Bug 1472491: Part 5m - Add DOMFullscreenChild actor. r=felipe
MozReview-Commit-ID: JwJNUieHp5d

--HG--
rename : browser/base/content/tab-content.js => browser/actors/DOMFullscreenChild.jsm
extra : rebase_source : 7add7da8aa314786db0bca4ac3f7bee2d12b80d6
2018-07-29 21:20:01 -07:00
Kris Maglione 68a10a9e01 Bug 1472491: Part 5l - Add OfflineAppsChild actor. r=felipe
MozReview-Commit-ID: Jo8Uqifw7sm

--HG--
rename : browser/base/content/content.js => browser/actors/OfflineAppsChild.jsm
extra : rebase_source : 054432c08510d3551253d9e7ff3797a7759ce035
2018-07-29 21:17:41 -07:00
Kris Maglione 8556b44e55 Bug 1472491: Part 5k - Add NetErrorChild actor. r=johannh f=felipe
MozReview-Commit-ID: EclR3sogB4i

--HG--
rename : browser/modules/NetErrorContent.jsm => browser/actors/NetErrorChild.jsm
extra : rebase_source : e5c2337d220ede90f577cec80035d9116c348fc2
2018-07-29 21:00:29 -07:00
Kris Maglione 9ccb6f3057 Bug 1472491: Part 5j - Add BlockedSiteChild actor. r=johannh f=felipe
MozReview-Commit-ID: JnEBCvtQu7E

--HG--
rename : browser/modules/BlockedSiteContent.jsm => browser/actors/BlockedSiteChild.jsm
extra : rebase_source : 933517fd4236eaab987ec6389f60c04acae3d79d
2018-07-29 20:53:09 -07:00
Kris Maglione 7580e5b5ed Bug 1472491: Part 5i - Add PluginChild actor. r=felipe
MozReview-Commit-ID: 63iOMa9OsWu

--HG--
rename : browser/modules/PluginContent.jsm => browser/actors/PluginChild.jsm
extra : rebase_source : 0c1d81b38ba0e7a74cf15330814f6fe0fea88f88
2018-07-29 20:37:42 -07:00
Kris Maglione 561a33134b Bug 1472491: Part 5h - Add LightWeightThemeChild actor. r=felipe
MozReview-Commit-ID: CmUbpPZxNeS

--HG--
rename : browser/modules/LightWeightThemeWebInstallListener.jsm => browser/actors/LightWeightThemeInstallChild.jsm
extra : rebase_source : 4ddca3d174896be4552ba8b37354a9b0b5fb3ade
2018-07-29 20:34:21 -07:00
Kris Maglione 44b124801c Bug 1472491: Part 5g - Add PageInfoChild actor. r=felipe
MozReview-Commit-ID: G5FjgrCtldA

--HG--
rename : browser/modules/PageInfoListener.jsm => browser/actors/PageInfoChild.jsm
extra : rebase_source : ee1b5ed7bcca8c2c17e13a2cb21c2b6f0ac8cbb3
2018-07-29 20:31:33 -07:00
Kris Maglione df5c58898b Bug 1472491: Part 5f - Add ClickHandlerChild actor. r=felipe
MozReview-Commit-ID: 881jtz6qDCa

--HG--
rename : browser/modules/ClickEventHandler.jsm => browser/actors/ClickHandlerChild.jsm
extra : rebase_source : 1af9d73f8ba40120a26d6b83b44aecd8aa30715e
2018-07-29 20:11:22 -07:00
Kris Maglione a9fef908c6 Bug 1472491: Part 5e - Add ContextMenuChild actor. r=felipe
MozReview-Commit-ID: GUJfyCPkRw8

--HG--
rename : browser/modules/ContextMenu.jsm => browser/actors/ContextMenuChild.jsm
extra : rebase_source : 3454bf58882fedf39842e2c2af38e52c44959eac
2018-07-29 20:07:33 -07:00
Kris Maglione 0c0831f6d0 Bug 1472491: Part 5d - Add ContentSearchChild actor. r=adw f=felipe
MozReview-Commit-ID: 5u7VpedF3xH

--HG--
rename : browser/base/content/tab-content.js => browser/actors/ContentSearchChild.jsm
extra : rebase_source : abfaa941f6769428a7dd47cc7c3f953f6d8c3e87
2018-07-29 20:00:11 -07:00
Kris Maglione 572e4a0ada Bug 1472491: Part 5c - Add PageStyleChild actor. r=felipe
MozReview-Commit-ID: DccnrQyiBAd

--HG--
rename : browser/modules/PageStyleHandler.jsm => browser/actors/PageStyleChild.jsm
extra : rebase_source : 2029d61372a8d635560d03e77f6a940d62820a07
2018-07-29 19:54:17 -07:00
Kris Maglione fa799430d3 Bug 1472491: Part 5b - Add AboutReaderChild actor. r=jaws f=felipe
MozReview-Commit-ID: H2vZT2lim3L

--HG--
rename : browser/base/content/tab-content.js => browser/actors/AboutReaderChild.jsm
extra : rebase_source : a8f8721f5ea4bd7f2e009fbb38587f438a9deac3
2018-07-29 19:51:00 -07:00
Kris Maglione 30986431c7 Bug 1472491: Part 5a - Add BrowserTabChild actor. r=felipe
MozReview-Commit-ID: 38Y1xwkgxCx

--HG--
extra : rebase_source : 61a85af58f9f16b8e39b716e3df2d09b788fcb1a
2018-07-29 19:42:46 -07:00
Timothy Guan-tin Chien bfd7aeb85d Bug 1431255 - Part III, Create per-origin sandboxes from XPCJSRuntime and load UA widgets scripts r=bholley,jaws,sfink
This patch creates the basic structure on how the widget scripts can be loaded
and be pointed to the Shadow Root, from the UAWidgetsChild.jsm.

The UAWidgetsClass class asks for a sandbox from Cu.getUAWidgetScope(), which
calls into XPCJSRuntime::GetUAWidgetScope(). It creates and keeps the
sandboxes, in a GCHashMap keyed to the origin, so we could reuse it if needed.

MozReview-Commit-ID: J6W4PDQWMcN

--HG--
extra : rebase_source : a62b0a22195f09cdb508df72c954e20d18c7bf68
2018-06-27 11:34:07 -07:00