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
Gijs Kruitbosch
dde42d4dfa
Bug 1483935 - correctly check all windows for tabs when quitting, r=mconley
...
Bug 1438499 added an optional parameter to warnAboutClosingTabs.
In bug 1475427, the arguments to warnAboutClosingTabs changed, and instead
of passing a closing tab reference as the second argument, we now need to
pass the number of tabs as the first argument. The patch in that bug
updated the callsite in nsBrowserGlue.js to add the new argument, but
didn't remove the `null` argument that we were passing for the 'extra' tab.
Additionally, the change in bug 1475427 bails early from
warnAboutClosingTabs if the number of tabs passed is less than 2. That tab
count, too, needs to take into account multiple windows and not just the
last window iterated over.
This patch fixes both of these issues.
Differential Revision: https://phabricator.services.mozilla.com/D3807
--HG--
extra : moz-landing-system : lando
2018-08-20 18:27:44 +00: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
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
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
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
0fe397f54b
Bug 1472491: Part 5γ - Add UITourChild actor. r=MattN
...
MozReview-Commit-ID: 7Pfu7sSOE1i
--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/UITourChild.jsm
extra : rebase_source : 9669a73172d4ae6cb84fddff2541e5bfbba7c7e3
2018-07-29 23:47:26 -07:00
Kris Maglione
66f4ed7652
Bug 1472491: Part 5β - Add ShieldFrameChild actor. r=mconley
...
MozReview-Commit-ID: 5HqAEEO7nJy
--HG--
rename : toolkit/components/normandy/content/ShieldFrameListener.jsm => toolkit/components/normandy/content/ShieldFrameChild.jsm
extra : rebase_source : b480265ad0746c700716ed9011db4b2c0f39b9e8
2018-07-29 23:45:18 -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
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
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
Jonathan Kingston
9b7fb2f20c
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
...
Reviewers: ckerschb!, Gijs!
Tags: #secure-revision
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9
Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
...
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
f389570122
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
...
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Subscribers: mixedpuppy, reviewbot
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Mathieu Leplatre
7d0021f371
Bug 1469525 - Remove blocklist clients files from profile r=Gijs
...
MozReview-Commit-ID: Fm5Pegz5LcU
--HG--
extra : rebase_source : 4cf1de6b60399ab5092bf01ab4c64b255fdfb068
2018-08-06 17:34:28 +02: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
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
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
Panos Astithas
3536af633e
Bug 1472921 - Fix sampling interval persistence for values <1ms. r=julienw
...
MozReview-Commit-ID: TxKzT8MCZY
--HG--
extra : rebase_source : 534e6a93928428cd24c306a0f78737d7d6a1d36f
2018-07-26 12:47:30 +03:00
Narcis Beleuzu
d948e64c34
Backed out changeset 0a485a8db67c (bug 1472921) for debug-mochitest-chrome failures on test_perf-settings-interval.html
2018-07-31 19:52:32 +03:00
Panos Astithas
43e6442dba
Bug 1472921 - Fix sampling interval persistence for values <1ms. r=julienw
...
MozReview-Commit-ID: TxKzT8MCZY
--HG--
extra : rebase_source : 3ade8100ad7687e558e084454009ced149c39c8e
2018-07-26 12:47:30 +03:00
Gijs Kruitbosch
d00ead2de2
Bug 1477670 - remove web feed handling prefs and tidy up user-set prefs if they exist, r=flod,jkt
...
MozReview-Commit-ID: 46wdeAY3wOi
--HG--
extra : rebase_source : 50b18441d32358d34ea0cbce4ba4d5895c885d6e
2018-07-24 17:58:44 +01: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
Dão Gottwald
1f4131affa
Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
...
MozReview-Commit-ID: 5lmOj3k4tFf
--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Narcis Beleuzu
91bcab3f74
Backed out 1 changesets (bug 1473595) for debug-mochitest-chrome failures on test_key_event_counts.xul and test_htmleditor_keyevent_handling.html. CLOSED TREE
...
Backed out changeset a3140755de69 (bug 1473595)
2018-07-26 13:58:57 +03:00
Dão Gottwald
844b19fbfe
Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
...
MozReview-Commit-ID: 5lmOj3k4tFf
--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Andreea Pavel
8a01d542af
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-07-25 18:10:55 +03:00
Dão Gottwald
7596141cc9
Bug 1478041 - Remove some old UI migration steps. r=Gijs
...
MozReview-Commit-ID: KnCUnzZusjf
--HG--
extra : rebase_source : c176ecee67ef62a8ec56d00b1a80ef166ef31aa7
2018-07-25 14:30:38 +02:00
Andreea Pavel
5d9f279d29
Backed out changeset 1f7d659ff506 (bug 1478041) for xpcshell failures at browser/components/tests/unit/test_browserGlue_migration_loop_cleanup.js on a CLOSED TREE
2018-07-25 15:25:22 +03:00
Dão Gottwald
5d9c8bb9d7
Bug 1478041 - Remove some old UI migration steps. r=Gijs
...
MozReview-Commit-ID: J4L7gheR2n6
--HG--
extra : rebase_source : a6ed13b36e8b0294690f0ae878b276b40f5e69dc
2018-07-24 17:32:59 +02:00
Boris Zbarsky
270fa12c79
Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs
2018-07-24 19:47:41 -04:00