Kris Maglione
0db0423880
Bug 1484415: Blocklist PrivateBrowsingUtils.jsm at content process startup. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D3688
--HG--
extra : rebase_source : a0941867a3b47fcf0aa797a8236d86e7aedc3c1b
2018-08-17 23:38:40 -07:00
Brian Grinstead
e6b9b350e4
Bug 1484326 - Load customElements.js even for windowless browsers in xpcshell tests;r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D3660
--HG--
extra : moz-landing-system : lando
2018-08-20 16:22:47 +00:00
Brian Grinstead
4995c61b0f
Bug 1482667 - Migrate mochitest-browser tests in browser/ to use element variations of firstChild, etc;r=paolo
...
Differential Revision: https://phabricator.services.mozilla.com/D3530
--HG--
extra : moz-landing-system : lando
2018-08-17 16:45:52 +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
12c9b0e4f9
Bug 1480319: Follow-up: Fix URL in browser_startup_content test. r=bustage
...
--HG--
extra : amend_source : 8556858ffbc11bab4f89a46ccc3a8c847835c9d2
2018-08-15 13:22:40 -07:00
Kris Maglione
c9e334f403
Bug 1483444: Skip browser_startup_content in verify mode. r=Felipe DONTBUILD
...
Verify mode runs tests multiple times. In the case of browser_startup_content.js,
this gives extra modules a chance to load before subsequent runs, which leads
to failures.
Since there's no particular reason to run this test in verify mode, the
obvious solution is to just disable it.
Differential Revision: https://phabricator.services.mozilla.com/D3430
--HG--
extra : rebase_source : 034fc518bc3e4346cc99404def659b7cf3233308
extra : amend_source : d80dfffefbc674a24c118800af03a12f638fb3a6
2018-08-15 11:34:42 -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
Johann Hofmann
2f02d7915e
Bug 1475739 - Ignore network.loadinfo.skip_type_assertion in browser_preferences_usage since it's debug-only. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D3310
--HG--
extra : moz-landing-system : lando
2018-08-15 08:55:09 +00:00
Michael Kaply
d8e1e3ce51
Bug 1481447 - Switch search logging to a lazy pref. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D2892
--HG--
extra : moz-landing-system : lando
2018-08-15 05:34:18 +00:00
Kris Maglione
b5be6c0987
Bug 1483363: Stop loading ZoomChild.jsm before necessary. r=mconley
...
--HG--
extra : rebase_source : 0145f5c1cded4b38f65570b75710d98370da3a32
extra : amend_source : dd6b99a67ffd22b439544295d6e16a8deb0d6dd8
2018-07-31 19:41:09 -07:00
Kris Maglione
f97cab9ee3
Bug 1472491: Part 5η - Add BrowserChild actor. r=florian f=mconley
...
MozReview-Commit-ID: D1d4hFGNKXj
--HG--
extra : rebase_source : 2f5eb873285824d6b190b59b93309342d66b45aa
2018-07-30 10:52:55 -07:00
Kris Maglione
5b2b235a9a
Bug 1472491: Part 5μ - Add WebNavigationChild actor. r=mconley
...
MozReview-Commit-ID: 3AiCuNfMenb
--HG--
rename : toolkit/modules/WebNavigationChild.jsm => toolkit/actors/WebNavigationChild.jsm
extra : rebase_source : 085ffbe1d8cf5b51570bb2de406d2c177a6051be
2018-07-30 12:55:22 -07:00
Kris Maglione
a1bab19851
Bug 1472491: Part 5s - Add ZoomChild actor. r=mconley
...
MozReview-Commit-ID: 9vTa1PbTh5t
--HG--
rename : toolkit/content/browser-child.js => toolkit/actors/ZoomChild.jsm
extra : rebase_source : 68edc86e4e93304292a1d99e76d8e4258de98e8f
2018-07-29 22:18:52 -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
Kris Maglione
739cafdadd
Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe
...
This adds the basic framework for defining IPC actors which are lazily
instantiated for the appropriate frame loaders based on DOM events, message
manager messages, and observers. Actual actors are defined in follow-up
commits.
MozReview-Commit-ID: Jb6CWWW7v3v
--HG--
extra : rebase_source : 6c465c492ef423616346d70047c4fd4b074af303
2018-08-11 15:27:12 -07:00
Ed Lee
ce0c5871ef
Bug 1482959 - Add aliased search, search styling and bug fixes to Activity Stream r=k88hudson
...
Differential Revision: https://phabricator.services.mozilla.com/D3236
--HG--
extra : moz-landing-system : lando
2018-08-13 20:59:54 +00:00
Jonathan Kingston
2f0987a202
Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb r?=gijs
...
Summary: Depends on D2046
Reviewers: ckerschb!, Gijs!
Tags: #secure-revision
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2047
--HG--
extra : source : 33884d05cc94463950b31fab1fd2f37ada9becef
extra : intermediate-source : 72471adb75d5ec3dc2b0c8f972a6f1f26bfd3ae2
extra : histedit_source : f384cbab58401575afc3443c9a431b73cff806d4
2018-07-06 21:16:29 +01:00
Drew Willcoxon
68ed88f0e3
Bug 1480503 - Create API for setting text (keyword) in and focusing on the awesomebar. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D2895
--HG--
extra : moz-landing-system : lando
2018-08-08 19:45:52 +00:00
Ed Lee
da465fb8f2
Bug 1481559 - Add search filter, search pref and bug fixes to Activity Stream r=ursula
...
Differential Revision: https://phabricator.services.mozilla.com/D2878
--HG--
extra : moz-landing-system : lando
2018-08-08 16:24:36 +00:00
Kris Maglione
773d32e9fe
Bug 1481021: Part 2 - Stop loading SpecialPowers into frame script scopes. r=bz,jmaher,aswan
...
Loading SpecialPowers into frame scripts has side-effects, detailed in part 1,
which are undesirable. The main side-effect that I'm trying to get rid of here
is the force-enabling of permissive COWs in frame script scopes, which is
blocking changes that I need to make elsewhere. But both that and the scope
pollution it causes are likely to allow code to work when running in
automation which fails in real world usage.
This patch changes our special powers frame scripts to load specialpowers.js
and specialpowersAPI.js as JSMs, which run in their own global, but define
most of the same properties on our frame script globals.
Most other callers still load those scripts via <script> tags or the subscript
loader, and should ideally migrated in a follow-up. But even so, this patch
still gives us a cleaner separation of the frame script and non-frame-script
loading code.
MozReview-Commit-ID: CR226gCDaGY
--HG--
extra : rebase_source : 251574d238ded31b9df32dc89852251831d55757
extra : source : c53c7b0249ad3359fbc9f144f2cf9ca3b6386c59
2018-08-07 14:03:21 -07:00
Brindusan Cristian
16ec846afc
Backed out 2 changesets (bug 1481021) for bc failures on security/sandbox/test/browser_bug1393259.js.
...
Backed out changeset c53c7b0249ad (bug 1481021)
Backed out changeset 41bedc526dd6 (bug 1481021)
2018-08-08 03:22:16 +03:00
Kris Maglione
b9e9588050
Bug 1481021: Part 2 - Stop loading SpecialPowers into frame script scopes. r=bz,jmaher,aswan
...
Loading SpecialPowers into frame scripts has side-effects, detailed in part 1,
which are undesirable. The main side-effect that I'm trying to get rid of here
is the force-enabling of permissive COWs in frame script scopes, which is
blocking changes that I need to make elsewhere. But both that and the scope
pollution it causes are likely to allow code to work when running in
automation which fails in real world usage.
This patch changes our special powers frame scripts to load specialpowers.js
and specialpowersAPI.js as JSMs, which run in their own global, but define
most of the same properties on our frame script globals.
Most other callers still load those scripts via <script> tags or the subscript
loader, and should ideally migrated in a follow-up. But even so, this patch
still gives us a cleaner separation of the frame script and non-frame-script
loading code.
MozReview-Commit-ID: CR226gCDaGY
--HG--
extra : rebase_source : fa253abde2029ec09c724404106d83623f064875
2018-08-07 14:03:21 -07:00
Kris Maglione
ddfce49435
Bug 1479312: Move WebNavigation and WebProgress child listeners to JSMs. r=felipe
...
MozReview-Commit-ID: B2b4QXge7S4
--HG--
rename : toolkit/content/browser-child.js => toolkit/modules/WebNavigationChild.jsm
rename : toolkit/content/browser-child.js => toolkit/modules/WebProgressChild.jsm
extra : source : d403426d1dcdd7b7cd5b51e62b7b71c5d69631a3
extra : intermediate-source : a68daa762119d5f2f67fdb2c29d2d70bf9ec89c8
2018-07-29 17:08:58 -07:00
Kris Maglione
5a93297232
Bug 1479235: Stop whitelisting SpecialPowers helper modules for content process startup. r=felipe
...
MozReview-Commit-ID: 3y3qTVsB3ly
--HG--
extra : source : 8f9c9580f68754c4617c7a8e674cf99cf917caac
2018-07-28 17:38:05 -07:00
Kris Maglione
dfe5c95ca1
Bug 1479241: Don't eagerly load AboutPages.jsm in content processes. r=mythmon
...
MozReview-Commit-ID: 1ewRIxTVzJR
--HG--
rename : toolkit/components/normandy/content/shield-content-process.js => toolkit/components/normandy/shield-content-process.js
extra : source : f150e62dcbbdc14bec93db0705470a5d9e71737e
2018-07-31 14:13:03 -07:00
arthur.iakab
cf3d94e908
Merge autoland to mozilla-central a=merge
2018-08-07 18:41:31 +03:00
Cosmin Sabou
901f34bef4
Backed out 12 changesets (bug 1479309, bug 1479312, bug 1479313, bug 1479310, bug 1479235, bug 1479945, bug 1479241, bug 1479318) for causing a big performance regression on OS X. a=backout
...
Backed out changeset 915862a355e9 (bug 1479318)
Backed out changeset f150e62dcbbd (bug 1479241)
Backed out changeset a68daa762119 (bug 1479312)
Backed out changeset 2a5aa9de1fd9 (bug 1479945)
Backed out changeset 163276881d35 (bug 1479945)
Backed out changeset 20a1a11b4d0b (bug 1479945)
Backed out changeset ca43bd11f431 (bug 1479945)
Backed out changeset 71700b368132 (bug 1479945)
Backed out changeset f5d647fae973 (bug 1479313)
Backed out changeset 3583823171de (bug 1479310)
Backed out changeset 2d46e1fe3121 (bug 1479309)
Backed out changeset 8f9c9580f687 (bug 1479235)
--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
rename : dom/ipc/ManifestMessages.jsm => dom/ipc/manifestMessages.js
rename : toolkit/components/normandy/content/ShieldFrameListener.jsm => toolkit/components/normandy/content/shield-content-frame.js
rename : toolkit/components/normandy/shield-content-process.js => toolkit/components/normandy/content/shield-content-process.js
2018-08-07 17:30:52 +03:00
Michael Kaply
0880b79763
Bug 1475571 - Replace follow-on addon with in tree telemetry. r=mikedeboer,florian
...
Differential Revision: https://phabricator.services.mozilla.com/D2125
--HG--
extra : moz-landing-system : lando
2018-08-07 11:59:16 +00:00
Dão Gottwald
5b4e355993
Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
...
MozReview-Commit-ID: 53Mu4zb9X1C
--HG--
rename : browser/components/sessionstore/nsSessionStartup.js => browser/components/sessionstore/SessionStartup.jsm
extra : rebase_source : 5b4f5c2e45841a5ee9123386e8657d8c262ba416
2018-08-04 13:27:40 +02:00
Brian Grinstead
b0b2b901d0
Bug 1470910 - Migrate input-box and input-box-spell to a Custom Element;r=paolo
...
Instead of `<xul:hbox class="textbox-input-box">`, consumers now should use
`<xul:moz-input-box />`. This covers the normal case and also handles
[spellcheck=true] while sharing much of the code within one class.
MozReview-Commit-ID: DjvT8sFq3SQ
--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/textbox.js
2018-08-02 20:53:59 -07:00
Kris Maglione
577b96ad55
Bug 1479245: Don't eagerly load any PDF.js scripts in the content process. r=bdahl
...
MozReview-Commit-ID: GDSmAH9gpnX
--HG--
rename : browser/extensions/pdfjs/content/PdfJsRegistration.jsm => browser/extensions/pdfjs/pdfjs.js
extra : source : f0ccbdcaa8a1e82b43406540c76ebac4236581ee
extra : amend_source : 4efab8deca2fe945ba7cc3434efaf725ea5ee12a
2018-07-28 19:05:22 -07:00
Cosmin Sabou
681a500716
Backed out changeset f0ccbdcaa8a1 (bug 1479245) for causing a spike on timeouts on browser_pdfjs_views.js
...
--HG--
rename : browser/extensions/pdfjs/pdfjs.js => browser/extensions/pdfjs/content/PdfJsRegistration.jsm
2018-08-02 11:16:01 +03:00
Kris Maglione
67b4db6498
Bug 1479241: Don't eagerly load AboutPages.jsm in content processes. r=mythmon
...
MozReview-Commit-ID: 1ewRIxTVzJR
--HG--
rename : toolkit/components/normandy/content/shield-content-process.js => toolkit/components/normandy/shield-content-process.js
extra : rebase_source : 4ed1666a824418ee0b769e59b09e6bcf925f4898
2018-07-31 14:13:03 -07:00
Kris Maglione
0b15b2934b
Bug 1479245: Don't eagerly load any PDF.js scripts in the content process. r=bdahl
...
MozReview-Commit-ID: GDSmAH9gpnX
--HG--
rename : browser/extensions/pdfjs/content/PdfJsRegistration.jsm => browser/extensions/pdfjs/pdfjs.js
extra : rebase_source : b0a5b8131657e198f32fb2f61367c2a713f4ffbe
2018-07-28 19:05:22 -07:00
Kris Maglione
05038dadc9
Bug 1479312: Move WebNavigation and WebProgress child listeners to JSMs. r=felipe
...
MozReview-Commit-ID: B2b4QXge7S4
--HG--
rename : toolkit/content/browser-child.js => toolkit/modules/WebNavigationChild.jsm
rename : toolkit/content/browser-child.js => toolkit/modules/WebProgressChild.jsm
extra : rebase_source : 128bf02f44db3ce0f4e2032d3734536bd27d8015
extra : source : d403426d1dcdd7b7cd5b51e62b7b71c5d69631a3
2018-07-29 17:08:58 -07:00
Andreea Pavel
e02d5545eb
Backed out changeset d403426d1dcd (bug 1479312) for failing eslint at builds/worker/checkouts/gecko/toolkit/modules/WebProgressChild.jsm on a CLOSED TREE
2018-08-02 02:06:43 +03:00
Kris Maglione
e8b4457933
Bug 1479312: Move WebNavigation and WebProgress child listeners to JSMs. r=felipe
...
MozReview-Commit-ID: B2b4QXge7S4
--HG--
rename : toolkit/content/browser-child.js => toolkit/modules/WebNavigationChild.jsm
rename : toolkit/content/browser-child.js => toolkit/modules/WebProgressChild.jsm
extra : rebase_source : 5ea15ece35ca5bcfd2cd585ede5980e40b4e9f35
2018-07-29 17:08:58 -07:00
Kris Maglione
4a168a8034
Bug 1479235: Stop whitelisting SpecialPowers helper modules for content process startup. r=felipe
...
MozReview-Commit-ID: 3y3qTVsB3ly
--HG--
extra : rebase_source : 01a7939d874d4435dd09fbf29bb166c2a234bad5
2018-07-28 17:38:05 -07:00
Boris Zbarsky
821d23d616
Bug 1446940 hopefully last-ever followup to fix test orange. r=bzbarsky
...
We need to hold on to the docshell, because the test can close the window before we remove the reflow observer.
2018-08-01 15:18:33 -04:00
Boris Zbarsky
c503b4fea7
Bug 1446940 _another_ followup to fix test breakage from review comments. r=bzbarsky
2018-08-01 13:46:01 -04:00
Boris Zbarsky
4abc5c5a25
Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs
2018-08-01 13:07:10 -04:00
Emilio Cobos Álvarez
dbf24cdab5
Bug 1478990: Make NonCustomPropertyId <-> nsCSSPropertyId conversions fast. r=xidorn
...
We have a different order in nsCSSPropertyId for no good reason. The only
invariant there is that longhands come before shorthands, and shorthands before
aliases.
Luckily that's also an invariant that NonCustomPropertyId has, so we can reuse
them.
Differential Revision: https://phabricator.services.mozilla.com/D2463
MozReview-Commit-ID: 1hsQu6hmqiN
2018-07-30 12:51:19 +02:00
Dão Gottwald
2e725785fe
Bug 1479031 - Use destructuring assignment for optional loadTabs parameters. r=jaws
...
MozReview-Commit-ID: FMRObafFcS9
--HG--
extra : rebase_source : 7632a9ae1b58fd9162c3ea9ab11b05ea8b89a8ba
2018-07-27 19:00:40 +02:00
Tim Nguyen
b3a838d6e4
Bug 1474163 - Make use of sharedData for content theme data. r=mconley
...
MozReview-Commit-ID: Etz8huX2YCt
--HG--
rename : browser/modules/LightweightThemeChildListener.jsm => browser/modules/LightweightThemeChildHelper.jsm
extra : rebase_source : 913275a0002531ddefce19308fc13b3cfbf5efec
2018-07-13 16:21:34 +01:00
Felipe Gomes
bea03efd33
Bug 1470324 - Clean up some unused code in EnterprisePoliciesContent.js. r=kmag
...
There was some unused code in this file which was wasting memory.
This patch also avoids some more policies from being sent to the content process as they are not really needed there
MozReview-Commit-ID: C4FzesWMQi0
--HG--
extra : rebase_source : ba21f04cca8614d9dd4b34f4e093ece0e3153502
2018-07-27 14:51:12 -03:00
Gijs Kruitbosch
5c0e726193
Bug 1477670 - remove content handler code from browser/, r=florian,jkt
...
MozReview-Commit-ID: 3kS7yPdkjGs
--HG--
extra : rebase_source : 6aae9414ed8e5c2a31509f85ef0cbfc9b31895fd
2018-07-24 17:54:40 +01:00
Dorel Luca
704612cf44
Merge mozilla-inbound to mozilla-central. a=merge
2018-07-27 13:19:26 +03:00