Commit Graph

2591 Commits

Author SHA1 Message Date
Kris Maglione
4e1ac07ba3 Bug 1472491: Part 5α - Add DateTimePickerChild actor. r=mconley
MozReview-Commit-ID: EWTCdNCmE9S

--HG--
rename : toolkit/modules/DateTimePickerContent.jsm => toolkit/actors/DateTimePickerChild.jsm
extra : rebase_source : c92d504e8da81151a3937d2a2091ef07356f5df7
2018-07-29 23:39:17 -07:00
Kris Maglione
aed171e1e6 Bug 1472491: Part 5z - Add WebChannelChild actor. r=markh f=mconley
MozReview-Commit-ID: 1f056kpyJW6

--HG--
rename : toolkit/modules/WebChannelContent.jsm => toolkit/actors/WebChannelChild.jsm
extra : rebase_source : b0993e4967314f50efb0acb8afb44270d6c372de
2018-07-29 23:36:12 -07:00
Kris Maglione
2771aa208c Bug 1472491: Part 5y - Add PopupBlockingChild actor. r=mconley
MozReview-Commit-ID: Bw7u8m3xY38

--HG--
rename : toolkit/modules/PopupBlocking.jsm => toolkit/actors/PopupBlockingChild.jsm
extra : rebase_source : 7c675d31c04be2eac0e37adcc9dbb2cd3766ce6a
2018-07-29 23:31:39 -07:00
Kris Maglione
dbbb50d17a Bug 1472491: Part 5x - Add SelectionSourceChild actor. r=mconley
MozReview-Commit-ID: 6RioXbevgRO

--HG--
rename : toolkit/modules/SelectionSourceContent.jsm => toolkit/actors/SelectionSourceChild.jsm
extra : rebase_source : 6c0c76cbea4e203ba715a05a68241794e6c11213
2018-07-29 23:28:10 -07:00
Kris Maglione
2cb877e6e7 Bug 1472491: Part 5t - Add ThumbnailsChild actor. r=Mossop
MozReview-Commit-ID: 31V11KaJj4D

--HG--
extra : rebase_source : d0b0334a0d02ecd85fdb81c51cd42aa021f6319d
2018-07-29 22:25:48 -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
f72cf1a680 Bug 1472491: Part 5r - Add PrintingChild actor. r=felipe
MozReview-Commit-ID: K3xcS5TNiQj

--HG--
rename : toolkit/modules/PrintingContent.jsm => toolkit/actors/PrintingChild.jsm
extra : rebase_source : d30675b4212f71f1f17a7ac74adbd42ad7b0e3c7
2018-07-29 22:05:14 -07:00
Kris Maglione
08e6ae3629 Bug 1472491: Part 5q - Add SelectChild actor. r=felipe
MozReview-Commit-ID: J5MAJMbblyr

--HG--
rename : toolkit/modules/SelectContentHelper.jsm => toolkit/actors/SelectChild.jsm
extra : rebase_source : 4ade8f5f0f3b68124c5f0f3cf2eae545db4b6854
2018-07-29 21:59:16 -07:00
Kris Maglione
d19429b2f0 Bug 1472491: Part 5o - Add FindBarChild actor. r=gijs
MozReview-Commit-ID: IGNjeh8o91l

--HG--
rename : toolkit/content/browser-content.js => toolkit/actors/FindBarChild.jsm
rename : toolkit/modules/FindBarChild.jsm => toolkit/modules/FindBarContent.jsm
extra : rebase_source : 8937478f17235dfe078feac381b871f0b5e4a424
2018-07-29 21:38:21 -07:00
Kris Maglione
9d0fd10b85 Bug 1472491: Part 5n - Add AudioPlaybackChild actor. r=felipe
MozReview-Commit-ID: DtGNW4riHQX

--HG--
rename : toolkit/content/browser-content.js => toolkit/actors/AudioPlaybackChild.jsm
extra : rebase_source : d37eef766306f0967ac4c13b4705e32197f7d0f6
2018-07-29 21:27:32 -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
Jorg K
e6b1105269 Bug 1482627 - Switch off test_NewTabUtils.js::getTopFrecentSites_improveSearch for Thunderbird. r=ursula 2018-08-13 02:55:00 +03:00
Ursula Sarracini
130d05505f Bug 1480888 - Implement blocking system for special search shortcut top sites r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3035

--HG--
extra : moz-landing-system : lando
2018-08-10 19:54:24 +00:00
Brindusan Cristian
3fba2fdf68 Backed out changeset 44e1ccd1d22b (bug 1480888) for xpcshell failure on toolkit/modules/tests/xpcshell/test_CanonicalJSON.js. CLOSED TREE 2018-08-10 19:22:22 +03:00
Ursula Sarracini
24b94b7aae Bug 1480888 - Implement blocking system for special search shortcut top sites r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3035

--HG--
extra : moz-landing-system : lando
2018-08-10 15:12:58 +00:00
Shane Caraveo
f77c0154cc Bug 1471387 fix calling onBeforeRequest for data/etc urls, r=kmag
MozReview-Commit-ID: 7dKmGLzn99z

--HG--
extra : rebase_source : b146dc67dc8206e89f8003861fbb2f707ed31626
2018-08-06 10:26:39 -03:00
Brindusan Cristian
e40aaf2b8f Backed out changeset d103f117bb84 (bug 1480888) for xpcshell failures on /extensions/test/xpcshell/test_ext_topSites.js. 2018-08-10 08:36:36 +03:00
Ursula Sarracini
114388d304 Bug 1480888 - Implement blocking system for special search shortcut top sites r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3035

--HG--
extra : moz-landing-system : lando
2018-08-09 19:52:16 +00:00
Tim Nguyen
552399eb7e Bug 1347207 - Implement theme_experiment manifest field. r=jaws
MozReview-Commit-ID: DuUiVAMcti2

--HG--
extra : rebase_source : 2fef94584c628da57a59d08f240e32f1e55d6b6e
2018-07-23 18:46:40 +01:00
Andreea Pavel
c8db2b8801 acked out changeset 20d0116ece9a (bug 1347207) for failing xpcshell at xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_manifest_themes.js on a CLOSED TREE 2018-08-09 19:39:40 +03:00
Tim Nguyen
adf0b6d294 Bug 1347207 - Implement theme_experiment manifest field. r=jaws
MozReview-Commit-ID: DuUiVAMcti2

--HG--
extra : rebase_source : 06788d3e7f06820ba944434a379fffbd46f888c1
2018-07-23 18:46:40 +01:00
Brian Grinstead
abf1620630 Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw

--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Andreea Pavel
feaee7b26c Backed out changeset 421c12a2837b (bug 1347207) for bc failures at toolkit/components/extensions/test/browser/browser_ext_themes_experiment.js on a CLOSED TREE 2018-08-09 16:31:06 +03:00
Tim Nguyen
96c6b8f5ac Bug 1347207 - Implement theme_experiment manifest field. r=jaws
MozReview-Commit-ID: DuUiVAMcti2

--HG--
extra : rebase_source : 62ffd3057ff5fbdde32f52277eec48296007a426
2018-07-23 18:46:40 +01:00
Andreea Pavel
c7eba1716b Backed out changeset 91a30d78c074 (bug 1347207) for browser_ext_themes_experiment.js test failures 2018-08-09 14:46:38 +03:00
Tim Nguyen
1784c2f3a0 Bug 1347207 - Implement theme_experiment manifest field. r=jaws
MozReview-Commit-ID: DuUiVAMcti2

--HG--
extra : rebase_source : e76ade5a02df1cb87165ce4c8148908b2a3b35d8
2018-07-23 18:46:40 +01:00
Kris Maglione
c50886cf4e Bug 1480327: Part 2 - Modernize what's left of Log.jsm a bit. r=Mossop
MozReview-Commit-ID: H06rpiZuIEF

--HG--
extra : rebase_source : e10781ffdfaa264370ca95a720298dc3607a079b
2018-08-01 23:23:34 -07:00
Kris Maglione
bf729d7e98 Bug 1480327: Part 1 - Get rid of most of Log.jsm. r=Mossop
MozReview-Commit-ID: JVKJtkLhCDS

--HG--
extra : rebase_source : 8b47dbfaa6f279901b99c93c26eee27f719b1d1d
2018-08-01 23:41:01 -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
5ccef39c52 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
extra : intermediate-source : 915862a355e959c92c9ea7fb1cd7adbcf03bfb98
2018-07-29 14:38:44 -07: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
Noemi Erli
23c8a3a9f3 Backed out changeset 1e9ecba54e7b (bug 1348273) for failing on widget/tests/test_bug1123480.xul 2018-08-04 12:39:40 +03:00
Gabriele Svelto
50ba13cce4 Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov
This introduces the machinery needed to generate crash annotations from a YAML
file. The relevant functions are updated to take a typed enum (in C++) and an
integer constant (in JavaScript). A JavaScript wrapper around the crash
reporter service is provided to hold the constants. The existing whitelists
and blacklists of annotations are also generated from the YAML file and the
existing duplicate code has been consolidated. Once written out to the .extra
file the annotations are converted in string form and are no different than
the existing ones.

All existing annotations have been included (and some obsolete ones removed)
and all call sites have been updated including tests.

--HG--
extra : rebase_source : b4f0d4bf83c64851028c271d3fab3ebcb6fbcd3e
2018-07-05 15:42:11 +02:00
Coroiu Cristina
1ba19a32ac Backed out changeset 86471a18672f (bug 1348273) for ESlint failure at toolkit/modules/WebNavigationChild.jsm
--HG--
extra : rebase_source : e0c94f49ddc1f1b119b72c06fccc1b4363b9d340
2018-08-03 22:48:51 +03:00
Gabriele Svelto
eff24befbd Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov
This introduces the machinery needed to generate crash annotations from a YAML
file. The relevant functions are updated to take a typed enum (in C++) and an
integer constant (in JavaScript). A JavaScript wrapper around the crash
reporter service is provided to hold the constants. The existing whitelists
and blacklists of annotations are also generated from the YAML file and the
existing duplicate code has been consolidated. Once written out to the .extra
file the annotations are converted in string form and are no different than
the existing ones.

All existing annotations have been included (and some obsolete ones removed)
and all call sites have been updated including tests.

--HG--
extra : rebase_source : f0e8d229581ac5c0daa0e0454cb258746108e28d
2018-07-05 15:42:11 +02:00
Boris Zbarsky
e4b74becff Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Boris Zbarsky
357b6b1348 Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D2669

--HG--
extra : moz-landing-system : lando
2018-08-03 00:05:07 +00:00
Narcis Beleuzu
31527185b4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-03 01:34:26 +03:00
Boris Zbarsky
ae576db7db Bug 1476142 part 1. Remove some unnecessary QIs in toolkit. r=gijs 2018-08-02 15:26:47 -04:00
Boris Zbarsky
30718f15fe Bug 1480310. Use docshell's editingSession getter instead of getInterface to get editing sessions. r=kmag
All the C++ consumers already call the getter, so we can remove
nsIEditingSession from the docshell GetInterface method completely.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 19:15:27 +00:00
Kris Maglione
5482f0b45c Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : rebase_source : 7dc4ed4615f87c0ea9897105e2c62d69020c2940
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
2018-07-29 14:38:44 -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
b61c8b8293 Backed out changeset 177e4adb94d1 (bug 1479318) for failing android on different files on a CLOSED TREE 2018-08-02 03:10:16 +03: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
dvarga
956d57e7f2 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-02 01:26:29 +03:00
Kris Maglione
df9c9824a6 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : rebase_source : 09af1eb3d02ed2403d76671bda627ef09067cfe7
2018-07-29 14:38:44 -07: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
Mark Banner
c7192b42df Bug 1478305 - Remove unnecessary imports and fix ESLint warnings about unused variables for toolkit/. r=mossop
MozReview-Commit-ID: CB8xT8c5E4L

--HG--
extra : rebase_source : d19443e823ff4f7a6830bf97bef1257176b830af
2018-07-30 11:04:36 +01:00
Ursula Sarracini
7c0ec8d2ba Bug 1470211 - Dismissing a Bookmarked highlight also dismisses a Saved To Pocket highlight of the same content - Part 1 r=Mardak
MozReview-Commit-ID: 4yjzEILD4Fs

--HG--
extra : rebase_source : a5470b69e408698139075aa96b82e0e0bc18484d
2018-07-31 16:13:53 -04:00
Boris Zbarsky
0fcb24c18d Bug 1446940 part 1. Stop getting docshells from windows via getInterface in toolkit. r=gijs
The change to test_hiddenPrivateWindow.xul is to make sure we pass windows, not
docshells, to an API that expects windows.
2018-08-01 13:07:09 -04:00