Commit Graph

57054 Commits

Author SHA1 Message Date
Rob Wu
23cf8852bb Bug 1325814 - Add extension API to find menu target r=mixedpuppy
- Add info.targetElementId to menus.onShown event.

- Add info.targetElementId to menus.onClicked event.

- Add menus.getTargetElement API that is available to all contexts,
  including content scripts, which allows extensions to get the DOM
  element for a given targetElementId.

- Add new schema instead of re-using schemas/menus.json to avoid sending
  too much schema data (of the existing menus API) to content processes.

MozReview-Commit-ID: 6Onf7jZlIho

--HG--
extra : rebase_source : eb095d04ce381606be90d325712bfc57233d8291
2018-08-04 18:09:49 +02:00
Rob Wu
4f7e9cca86 Bug 1325814 - Remove unnecessary schemas/menus_internal.json r=mixedpuppy
This schema was inherited from Chromium (where it was an internal
implementation detail. This schema only defined the OnClickData
type, but was never actively used by our WebExtensions framework,
because menus.json already defines the OnClickData type.

Note: menus_internal.json specified the "menusInternal" namespace
which we do indeed implement in parent/ext-menus.js (and use in
child/ext-menus.js). However, none of the methods that we add to
menusInternal are actually defined in the schema.
This use of menusInternal was introduced in part 2 of bug 1333403 and
works without problems because the API schemas are not being used to
validate APIs as of part 2 of bug 1315575.

The only significance of "menusInternal" is that the namespace is
defined in browser/components/extensions/ext-browser.json,
implemented in browser/components/extensions/parent/ext-menus.js
and used by browser/components/extensions/child/ext-menus.js

MozReview-Commit-ID: 2ACpn595QZQ

--HG--
extra : rebase_source : f3e16486168dfb0baa56dda7ccf591855bbe90bb
2018-08-03 11:09:38 +02:00
Mark Striemer
8907042183 Bug 1482476 - Align the headings in the Home section with other sections r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D3121

--HG--
extra : moz-landing-system : lando
2018-08-10 20:47:36 +00:00
Michael Kaply
494e9c1b45 Bug 1481869 - Correct in-content reporting payload r=Dolske
Differential Revision: https://phabricator.services.mozilla.com/D3124

--HG--
extra : moz-landing-system : lando
2018-08-10 20:34:56 +00:00
Csoregi Natalia
83c5c90bf7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-13 18:45:57 +03:00
Ryan VanderMeulen
f9a01fcd85 Bug 1482901 - Update pdf.js to version 2.0.760. r=bdahl
--HG--
extra : amend_source : c3648bf72c8517538f24eaedc3c4bf2dc855c940
2018-08-13 10:54:39 -04:00
Kanika Saini
b8dfc69c2a Bug 1472528 - Design and implementation of about:policies page r=flod,felipe 2018-07-02 12:55:31 +05:30
Kris Maglione
f99ee35b82 Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.

MozReview-Commit-ID: 9PK7bYdQ0yh

--HG--
extra : rebase_source : db2516d2f00a75e233e1957649f2b62a9299b7cd
2018-08-10 13:58:18 -07:00
Kris Maglione
e890d39c82 Bug 1480244: Part 4 - Make child message managers non-global objects. r=bz
This is mostly self-explanatory. However, the patch also contains some minor
changes to frame scripts which expect to be able to call message manager
methods with a null target object, which stops working when they stop being
global objects.

MozReview-Commit-ID: HDT2RvK3F3L

--HG--
extra : rebase_source : bb3ce8861a261ff1bc28a28b3ff88ba0deaef552
2018-08-10 14:03:18 -07:00
Kris Maglione
24dc48a4df Bug 1480244: Part 3a - Fix non-strict-mode test code which expects this to be bound to its global. r=aswan
A lot of the ad-hoc frame scripts we execute for tests does not run in strict
mode, and therefore has its functions' `this` objects set to the global when
they are called without a target object.

At the moment, this gives them a MessageManager global. Once message managers
become non-global objects, however, it will give them the shared JSM global,
which is not what they expect.

This patches changes scripts which rely on this to explicitly capture or set
the appropriate `this` object for their calls.

MozReview-Commit-ID: DY8DDb0xE1K

--HG--
extra : rebase_source : 86c1fa4df070711f666dfee5487182afe28a7611
2018-08-03 14:33:38 -07:00
Tim Nguyen
aec6f53828 Bug 1483251 - Clean up bookmarks/history sidebar CSS. r=jaws
--HG--
extra : rebase_source : e44e7cbdd9f418ce5d1893906b09a0e12d24adaa
2018-08-14 17:28:16 +01:00
Cosmin Sabou
1cd617cf3c Backed out 2 changesets (bug 1482610) for mochitest failures on test_keycodes.xul. CLOSED TREE
Backed out changeset 79a59b25e535 (bug 1482610)
Backed out changeset f5873a719ec0 (bug 1482610)
2018-08-14 20:58:27 +03: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
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
56ec495c3d Bug 1472491: Part 5p - Add ExtFindChild actor. r=mikedeboer f=felipe
MozReview-Commit-ID: 3zL8iYeYAPx

--HG--
extra : rebase_source : 8d6d2f4b9776d6e66b66da7fbeba826056afe77d
2018-07-29 21:44:48 -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
2ab798f156 Bug 1472491: Part 5κ - Add ManifestMessagesChild actor. r=mconley
MozReview-Commit-ID: 20toouW9YzT

--HG--
rename : dom/ipc/ManifestMessages.jsm => dom/ipc/ManifestMessagesChild.jsm
extra : rebase_source : 204b5e01e5a2bd15a077e763e27155016c886818
2018-07-30 11:39:52 -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
5f9fcd5684 Bug 1472491: Part 5v - Remove Browser:HideSessionRestoreButton listener. r=felipe
MozReview-Commit-ID: FyCY7PCGD2H

--HG--
extra : rebase_source : e8dbe2554cf0c946a3f77c0771b7712edfe95fbd
2018-07-29 22:34:20 -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
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
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
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
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
e8a71658c6 Bug 1472491: Part 4b - Add lazy actor support to browser_all_files_referenced. r=florian
ActorManagerParent.jsm handles loading JS IPC actors from JSMs using a base
URL and some existing information. The browser_all_files_referenced test
doesn't understand these fragmentary URLs, so this patch updates it to get the
information directly from the actor registry.

MozReview-Commit-ID: 6nRn3ZoXUsR

--HG--
extra : rebase_source : e8ba244e7a1ca06fef64897c9995918dbc10b993
2018-07-31 14:56:02 -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
Ed Lee
8c69989202 Bug 1483671 - Add multiple pin/unpins, release defaults and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3441

--HG--
extra : moz-landing-system : lando
2018-08-15 22:31:54 +00:00
ahillier
d8c995db4c Bug 1482551 - avoid selecting url bar text on searches r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D3431

--HG--
extra : moz-landing-system : lando
2018-08-15 20:57:36 +00:00
Johann Hofmann
a7d5d9b4a7 Bug 1474238 - Add a "report breakage" dialog for Tracking Protection. r=Paolo
MozReview-Commit-ID: 26q5PYLUZGS

--HG--
extra : rebase_source : 34c534968c82784539aecb25c2ee77f4fb0bbdde
2018-07-11 17:14:35 +02:00
Tim Nguyen
aba9258317 Bug 1469287 - Implement new shared tree styling. r=dao
MozReview-Commit-ID: r4rU9rDKNG

--HG--
rename : toolkit/themes/linux/global/tree.css => toolkit/themes/shared/tree.inc.css
extra : rebase_source : 2ca5d9cad696bb38c24ffccd4b9c4292dde17218
2018-06-27 11:22:27 +01:00
Jonathan Kingston
736db71698 Bug 1482681 - Fix load iframe in tab context menu. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D3200

--HG--
extra : moz-landing-system : lando
2018-08-14 12:58:24 +00:00
Narcis Beleuzu
d9ee6ddde6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-10 19:06:15 +03:00
Sahil Bhosale
f644c54e3a Bug 1481401 - PanelMultiView.jsm: replace _dwu getter with _getBoundsWithoutFlushing method. r=dao 2018-08-10 02:27:00 +03:00
Margareta Eliza Balazs
2ea9c9c5dc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-10 12:24:08 +03:00
Margareta Eliza Balazs
f617807241 Merge inbound to mozilla-central. a=merge 2018-08-10 12:17:09 +03:00
Rob Wu
af1d77cbb8 Bug 1480993 - Remove unused extensions.sidebar-button.shown pref from tests r=mixedpuppy
This pref was removed in bug 1387081, when the sidebar-button started to
be shown by default. I have also removed the end of the test that
removed the button, since these were attempts to restore the default
state. At the inception of the tests, the default state is to not show
the button, but now the button is to be shown by default.

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

--HG--
extra : moz-landing-system : lando
2018-08-09 13:54:41 +00:00
Tom Schuster
5e708d06c1 Bug 1408129 - Treat webextension commands as user input. r=aswan
--HG--
extra : rebase_source : ee6c11f919ce92381bbd95672a5acd0bd6e99f12
2018-08-09 23:15:19 +02:00
Ed Lee
bd78b91e1f Bug 1482205 - Add top search, fixed search and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3047

--HG--
extra : moz-landing-system : lando
2018-08-09 21:45:06 +00:00
Noemi Erli
125e35c2c4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-10 00:35:08 +03:00
Noemi Erli
de9e45a850 Merge inbound to mozilla-central. a=merge 2018-08-10 00:31:09 +03:00
Abdoulaye O. Ly
19bf2f8d32 Bug 1458056 - Implement ability to move a selection of tabs into another window through drag and drop. r=jaws
MozReview-Commit-ID: LFFoE6HsBp8

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

--HG--
extra : moz-landing-system : lando
2018-08-09 18:45:52 +00:00
Margareta Eliza Balazs
70d6c88eae Backed out changeset a0eacbf25c0f (bug 1473932) for bc failures in toolkit/content/tests/browser/browser_findbar.js on a CLOSED TREE 2018-08-09 16:13:01 +03:00
Mike Conley
73909d3779 Bug 1477461 - Make sure tab locking freezes tab width animations until after the next flush. r=dao
Before, we were disabling the transitions, forcing a style flush, and then immediately re-enabling
the transitions for the next flush.

Now, we disable the transitions, wait until the next flush completes naturally, and then
puts the transitions back during the next requestAnimationFrame. This lets us avoid
the sync style flush, and also gets us the tab size locking behaviour.

MozReview-Commit-ID: BU7AvBrhNxO

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

--HG--
extra : moz-landing-system : lando
2018-08-09 08:47:44 +00:00
Mark Banner
226dbd7bdc Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop
MozReview-Commit-ID: 7yvvXKxYodA

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

--HG--
extra : moz-landing-system : lando
2018-08-07 14:46:19 +00:00
Dão Gottwald
53456218b2 Bug 1473932 - Load findBar.css as a document stylesheet. r=paolo 2018-08-09 11:29:13 +02:00
Tiberius Oros
fae00acf70 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-09 13:06:13 +03:00
Tiberius Oros
aff5d4ad5d Merge inbound to mozilla-central. a=merge 2018-08-09 13:02:05 +03:00
Tiberius Oros
10a8cd5f4e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-09 09:25:15 +03:00
Tiberius Oros
1d1b8fc551 Backed out changeset b5ba45e6ac73 (bug 1480349) requested by igoldan 2018-08-09 08:56:35 +03:00
Hal Wine
d56280bad5 Bug 675428 - register Firefox to handle mailto URLs in Windows r=mhowell
At least in Win10, Firefox is not an option to configure as a mailto handler.

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

--HG--
extra : moz-landing-system : lando
2018-08-08 20:56:45 +00:00
Tiberius Oros
76124f4ec0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-09 09:26:43 +03:00
Nihanth Subramanya
30046206a2 Bug 1480610 - Add minimal stub for fxmonitor add-on into build system. r=johannh
--HG--
extra : rebase_source : c029c0f7aa4e165d49e77ebced68fec94a9a82a2
2018-08-08 19:07:25 +02:00
Ian Moody
4a3f7af1ea Bug 1467541 - Add a test for opening the layout debugger. r=dbaron
Summary:

Reviewers: dbaron

Reviewed By: dbaron

Bug #: 1467541

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

--HG--
extra : histedit_source : b23b7f9a8407bf460838d56f5d66bcf6fb347cc2
2018-08-09 10:53:01 +03:00
Ian Moody
3e13ecf9a8 Bug 1467541 - Package layout debugger in debug builds. r=dbaron
Reviewers: dbaron

Reviewed By: dbaron

Bug #: 1467541

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

--HG--
extra : histedit_source : 32e707a592ede9fdbed1d1fe4b39e0e6103c949f
2018-08-09 10:52:49 +03:00
Csoregi Natalia
0f4d50ff52 Merge inbound to mozilla-central. a=merge 2018-08-08 12:58:36 +03:00
Csoregi Natalia
12a50f2d0e Merge autoland to mozilla-central. a=merge 2018-08-08 12:57:08 +03:00
Csoregi Natalia
2b802087e7 Backed out changeset ce04f86f84f4 (bug 1481559) for browser_preferences_usage.js failures. a=backout 2018-08-08 12:54:48 +03:00
Brindusan Cristian
f8555a213f Merge inbound to mozilla-central. a=merge 2018-08-08 00:51:43 +03:00
Ed Lee
613dc273cb Bug 1481559 - Add search filter, search pref and bug fixes to Activity Stream r=ursula
MozReview-Commit-ID: ANMt3NGC8HY

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

--HG--
extra : moz-landing-system : lando
2018-08-07 18:55:31 +00:00
Sam Foster
a4aca2683c Bug 1480880 - Fix exposing of payment defaults prefs object. r=MattN
MozReview-Commit-ID: DRSiGjk6wyS

--HG--
extra : rebase_source : 179cfde242c2ec965ef01c670baf26e7a06b92fb
2018-08-03 11:51:10 -07:00
Mike Conley
587dd4f432 Bug 1481519 - Let tab warming ride out to release on macOS. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2874

--HG--
extra : moz-landing-system : lando
2018-08-07 18:31:45 +00:00
Mark Banner
8c39205461 Bug 1481445 - Remove the id option for PlacesUtils.isRootItem (guids only accepted). r=lina
Depends on D2850

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

--HG--
extra : moz-landing-system : lando
2018-08-07 17:37:01 +00:00
Abdoulaye O. Ly
3776af14f0 Bug 1479257 - Implement ability to duplicate a selection of tabs through drag and drop. r=jaws
MozReview-Commit-ID: FSttZ0ytxX0

--HG--
extra : rebase_source : 6c2c3b50feddf71b0f93cf512503fa69e5e8cf8c
2018-08-05 05:52:04 +00:00
Mark Striemer
315034209f Bug 1478708 - Part 2: Selected tab text is bold in all tabs menu r=dao
MozReview-Commit-ID: GrxRUxM8YxI

--HG--
extra : rebase_source : 60f47b7e171ff3e85e4f92afa8352e4374207a97
2018-07-31 15:39:08 -05:00
Mark Striemer
9493e688b0 Bug 1478708 - Part 1: Reduce specificity for toolbarbutton font r=dao
MozReview-Commit-ID: 1Qfo3EA48fL

--HG--
extra : rebase_source : 52f26a13f692a5dfb51884c005f8f6b4f97a0927
2018-07-31 15:38:46 -05:00
arthur.iakab
1788981183 Merge mozilla-central to autoland 2018-08-07 18:45:15 +03: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
Noemi Erli
52b71d3fbe Backed out changeset 2dcb573bd271 (bug 1480349) for failures in rowser/base/content/test/urlbar/browser_urlbarAddonIframe.js 2018-08-07 15:43:20 +03:00
arthur.iakab
d39e02bf00 Merge inbound to mozilla-central a=merge 2018-08-07 12:36:18 +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
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
Marco Bonardo
4f6ac9353b Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=adw
On window resize we should format the urlbar again, to ensure the host stays visible.
Also fixes bug 1192501, that requires the same resize handler.

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

--HG--
extra : moz-landing-system : lando
2018-08-06 18:02:59 +00:00
Marco Bonardo
4744abe3c3 Bug 1480355 - The text from the URL bar is overlaid on the RTL build r=adw
Differential Revision: https://phabricator.services.mozilla.com/D2707

--HG--
extra : moz-landing-system : lando
2018-08-06 18:00:48 +00:00
Ciure Andrei
a103d25c65 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-07 01:03:59 +03:00
Ciure Andrei
9f8ebbde60 Merge inbound to mozilla-central. a=merge 2018-08-07 00:58:13 +03:00
Tim Nguyen
51514f772f Bug 1481270 - Small cleanups to LightweightThemeChildHelper.jsm. r=kmag
MozReview-Commit-ID: HGjKQPxXx4S

--HG--
extra : rebase_source : d508a156dd4709bfe8af473fe97b81950de81c3a
2018-08-06 18:33:55 +01:00
Jeremy Lempereur
20a322176f Bug 1359030 - stop using xlink:href in browser/ and toolkit/, r=jaws
MozReview-Commit-ID: 84acXHxkgq

--HG--
extra : rebase_source : 6042d72c607100966138b0ff5b2c4d3394aa19de
2018-08-04 14:57:43 +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
Jared Wein
559a6cb6d4 Bug 1476348 - Show missing field validation errors on the summary page. r=MattN
MozReview-Commit-ID: 5dOzxWH0pWp

--HG--
extra : rebase_source : 1de025d22f01c5b293355b0fe0732543769bf761
2018-08-03 18:51:31 -04:00
Marco Bonardo
40e5e32240 Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=adw
On window resize we should format the urlbar again, to ensure the host stays visible.
Also fixes bug 1192501, that requires the same resize handler.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 13:30:40 +00:00
Edouard Oger
0a3f522668 Bug 1480815 - Define fxa autoconfig pref by default. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D2727

--HG--
extra : moz-landing-system : lando
2018-08-07 01:44:35 +00:00
Dave Townsend
606d7bff5c Bug 1478823: Start loading the default favicon as soon as the head element is complete. r=mak
We have to potentially add the root favicon both after the head element completes and when the page finishes loading in the case that there was no head element.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 12:42:15 +00:00
Rob Wu
fe2be1dd11 Bug 1320462 - Support access keys in extension menus. r=mixedpuppy
MozReview-Commit-ID: GsLE3PwNeiC

--HG--
extra : rebase_source : d34b20a2e6ef81623564fd1774a034ab8af9063e
2018-08-06 16:58:21 +02:00
Tiberius Oros
a6e0ebd8ef Backed out changeset 502893089232 (bug 1475571) for browser_preferences_usage.js on a CLOSED TREE 2018-08-07 04:46:22 +03:00
Kris Maglione
a5afd46968 Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : rebase_source : 0edbb87354918950e3e66577d0dde140ddc20c23
extra : source : 3583823171dea4207f9ea5665060bcb559f5e586
2018-07-29 12:36:45 -07:00
Brindusan Cristian
8c70dfad01 Backed out changeset 5212e051d039 (bug 1479310) for bc failures on /browser/browser_onboarding_uitour.js.
--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
2018-08-07 20:49:43 +03:00
Brindusan Cristian
90cfc55b47 Backed out changeset b1ad28f117cf (bug 1480610) for ESlint failure on /browser/extensions/fxmonitor/background.js:1:1. CLOSED TREE 2018-08-07 20:29:40 +03: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
d5418d7fd0 Bug 1479313: Don't load manifestMessages.js until needed. r=felipe
MozReview-Commit-ID: s2fq6XcgQ7

--HG--
rename : dom/ipc/manifestMessages.js => dom/ipc/ManifestMessages.jsm
extra : source : f5d647fae9733c5a19f53539fc6702de2a7fbbab
2018-07-29 13:18:26 -07:00
Kris Maglione
bbe0065e6f Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : source : 3583823171dea4207f9ea5665060bcb559f5e586
2018-07-29 12:36:45 -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
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
Nihanth Subramanya
d60e939f6a Bug 1480610 - Implement Firefox Monitor add-on stub. r=johannh 2018-08-02 16:41:47 +02:00
Csoregi Natalia
c37c23c5cc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-06 02:02:32 +03:00
Thi Huynh
a86e16661f Bug 1480982 - Replace _dwu getter with _getBoundsWithoutFlushing method in CustomizeMode.jsm. r=dao
MozReview-Commit-ID: 8NKI6aI3FY0

--HG--
extra : rebase_source : 09b5bf75b8d2fdafdc8223dadf84e04b1d2ac8a7
2018-08-05 17:23:18 +07:00
Thi Huynh
64460e49f5 Bug 1480970 - Remove DOMWindowUtils fields from urlbarBindings.xml. r=dao
MozReview-Commit-ID: 2hq8HSUJ3nv

--HG--
extra : rebase_source : cb8e1ae64714773d822d5d96954f0b88dd15162f
2018-08-05 15:50:51 +07: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
dvarga
fec90d34dd Backed out changeset 0bcce164a404 (bug 1481700) failure at browser/base/content/test/tabs/browser_multiselect_tabs_using_Shift.js on a CLOSED TREE 2018-08-08 22:08:03 +03:00
Neil Deakin
1ec6f10950 Bug 1473026, use cell coordinates for comparing tree icons rather than the selection region, r=mak 2018-08-07 09:32:07 -04:00
Aaron Klotz
81731ac92a Bug 1477790: Follow up - compensate for missing typedef in some SDKs; r=bustage 2018-08-08 12:28:04 -06:00
Rob Wu
5bb726572c Bug 1280370 - Allow any scheme in targetUrlPatterns r=mixedpuppy
MozReview-Commit-ID: KupQIiAkz0h

--HG--
extra : rebase_source : 25adaca58bdea7ee911aac9496c87f7f2ebd9bf2
2018-07-24 17:26:23 +02:00
Drew Willcoxon
ed36e3dff8 Bug 1480541 - Remove em-dash from search string dropdown text when the search query is empty. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2898

--HG--
extra : moz-landing-system : lando
2018-08-08 19:52:59 +00: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
Abdoulaye O. Ly
fc3a10730b Bug 1481700 - Release clear-selection lock when 'mouseup' event is fired for tabs. r=jaws
Reapply backed out changetset with 'browser/base/content/test/tabs/multiselect_tabs_event.js' tests fixed.

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

--HG--
extra : moz-landing-system : lando
2018-08-09 18:47:56 +00:00
ffxbld
92a9c277ad No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D2997
2018-08-09 09:45:18 -04: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
Rob Wu
613a40ff15 Bug 1416103 - Re-enable browser_ext_omnibox.js everywhere r=aswan
Likely fixed by the patch for bug 1417052

Ran the test with --repeat=50 on Linux and did not observe any failures.

MozReview-Commit-ID: FuMo8jdgJCn

--HG--
extra : rebase_source : 2a296cc7817607d352bc56b5b200da81d3e26bf0
2018-08-06 11:24:20 +02:00
Michael Kaply
5eb09563bc 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-06 22:02:02 +00:00
Ciure Andrei
6056bb970c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-07 01:11:21 +03:00
Mark Striemer
226f6e8042 Bug 1477591 - Use default favicon in all tabs menu r=dao
MozReview-Commit-ID: 31kPOLp1IVV

--HG--
extra : rebase_source : ef17514450e1911fdd3a183828e71430acc0738f
2018-07-30 14:43:40 -05:00
dvarga
929aa24075 Merged mozilla-inbound to mozilla-central a=merge 2018-08-05 00:49:28 +03:00
Florian Quèze
b65daa1dca Bug 1260036 - changing the tab selection several times in a row should flush layout at most once per refresh driver tick, rather than once per tab, r=Dao. 2018-08-04 13:24:56 +02: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
Kris Maglione
06e3d470ae Bug 1357487: Enable OOP extensions by default on all platforms. r=aswan
MozReview-Commit-ID: L2Pm1frQbmo

--HG--
extra : source : e5423d29aaf0b711e02b68b7340a2297dd6bfe16
extra : intermediate-source : ef1550969466fbe9049ee922735f020af82f66d6
2018-07-25 10:29:20 -07:00
Dorel Luca
e10cc6aac4 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 8265ad85fc5376a71af7ed3afe8463b7178286f3
2018-08-04 01:08:25 +03:00
Dorel Luca
9f724d256f Merge mozilla-inbound to mozilla-central. a=merge 2018-08-04 01:01:35 +03:00
Sam Foster
5b22b7f2ef Bug 1480023 - Ensure input event is handled in the correct order by waiting for EditAutofillForm constructor before adding BasicCardForm's input & change handlers. r=MattN
MozReview-Commit-ID: F9hzp54hZxX

--HG--
extra : rebase_source : 5c8e588bd931070f9925da1bc8543f6f52bdf84f
2018-08-02 17:46:56 -07:00
Jared Wein
b5298bb1f5 Bug 1477699 - Show a generic error message when a merchant-supplied error message isn't present. r=MattN
MozReview-Commit-ID: Dn4mnvzunVd

--HG--
extra : rebase_source : b606aa2717febdf7d014c5254bd28148ebfc64be
2018-07-31 15:09:58 -04:00
Oriol Brufau
757eed8c02 Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes
MozReview-Commit-ID: JkLJyDXbOKL

--HG--
extra : rebase_source : 1e03626e9c6b4cbf850ce8e95fc69d9e715daba2
2018-07-28 02:25:34 +02:00
Coroiu Cristina
a94e766f7b Backed out changeset 5240a6344b28 (bug 1477310) for browser-chrome failures at browser/base/content/test/about/browser_aboutCertError.js
--HG--
extra : rebase_source : 17ae41fcff4cd5cc2da63de24e41878321e3fc11
2018-08-03 20:08:26 +03:00
trisha
c92a88c389 Bug 1477310 - Enable the new certificate error pages by default in Nightly r=johannh
MozReview-Commit-ID: DN7s5t2m2Nm

--HG--
extra : rebase_source : 6c329233528610b4a0f1178d8b577577ba80197f
2018-08-01 15:57:22 +05:30
Mark Striemer
558c4b9c14 Bug 1476991 - Move selected tab indicator to right side in RTL r=dao
MozReview-Commit-ID: 33EfbEXeCQg

--HG--
extra : rebase_source : 0ba48550323ffd221f91049cc04b163afea74c98
2018-07-31 16:00:35 -05:00
Bogdan Tara
0fd5041455 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-03 13:27:13 +03:00
Bogdan Tara
f2cb75b28c Merge inbound to mozilla-central. a=merge 2018-08-03 13:16:27 +03:00
trisha
0460afa15c Bug 1480038 - Update the Continue button in new cert-error pages r=flod
MozReview-Commit-ID: BXewUNCSxlt

--HG--
extra : rebase_source : 997be870d7958bc04167ce755451625b0d71bee1
2018-08-01 15:31:43 +05:30
Abdoulaye O. Ly
497a22d1d5 Bug 1477780 - In a multi-select context, 'Close Tabs To The Right' closes tabs located to right of the rightmost selected tab. r=jaws
MozReview-Commit-ID: 6Kwnv8fvFLa

--HG--
extra : rebase_source : c880c87b0c06bde570c0dad0c09136a715a251ae
2018-07-30 15:04:32 +00:00
Jared Wein
9849e2000e Bug 1472278 - Localize the required form asterisk on the address-form, basic-card-form, and CVV entry field. r=MattN
MozReview-Commit-ID: 7VN1VY7QziT

--HG--
extra : rebase_source : b28017164a32758271059b0337e295ca4883f14b
2018-07-30 21:13:36 -04:00
Narcis Beleuzu
394893c006 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-03 01:35:43 +03:00
Narcis Beleuzu
4684ccf98e Merge inbound to mozilla-central. a=merge 2018-08-03 01:28:14 +03:00
Boris Zbarsky
c955b98d55 Bug 1476142 part 2. Remove some unnecessary QIs in browser. r=gijs 2018-08-02 15:26:47 -04:00
Gijs Kruitbosch
fa65d99910 Bug 1434281 - also delete local/cache profile directory from refresh test, r=whimboo
Ensure local profile directory is also deleted in test teardown.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 18:54:28 +00:00
Narcis Beleuzu
498e726385 Backed out changeset 412b5e9b8525 (bug 1466575) for bc failures on browser_screenshots_ui_check.js and browser_UITour_availableTargets.js. CLOSED TREE 2018-08-02 21:39:16 +03:00
prathiksha
0dd94f929f Bug 1463547 - Hide the edit link in the pickers when no options are selected. r=MattN
MozReview-Commit-ID: DcTcmV2v6N1

--HG--
extra : rebase_source : bcf49fc9159db8ad8a8cc38e7ce298af55c1b8cb
extra : amend_source : 3092cfd628b768952e3887f42165b167605b095b
2018-08-02 17:21:44 -04:00
Barry Chen
369f4df732 Bug 1466575 - Replace Photon pageAction with WebExtension pageAction in Screenshots; r=_6a68
MozReview-Commit-ID: 9pkwRRN2y7O

--HG--
extra : rebase_source : 429c35a537e4a6b6605371df9e251d5df38dba20
2018-08-01 10:15:25 -05:00
Cosmin Sabou
de8c2bd891 Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE 2018-08-02 19:59:53 +03:00
Masatoshi Kimura
feea19030c Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : a62521fdc66def4e4d5d7bf52e68365a786b5c55
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09: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
Drew Willcoxon
9987b543d1 Bug 1462790 - Update Save to Pocket icons to use outline icon treatment. r=jaws
Update the Save to Pocket svg icons in the urlbar, page action panel, and reader view. There's another Save to Pocket icon in activity stream that the bug doesn't mention but that should probably be updated too. I'll make a different revision for it.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 20:13:13 +00:00
Narcis Beleuzu
31527185b4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-03 01:34:26 +03:00
Jared Wein
f9f97a19b6 Bug 1477114 - Add an asterisk to the required fields of the credit card form as well as the CVV placeholder. r=sfoster
MozReview-Commit-ID: 2zg5HOZVtxN

--HG--
extra : rebase_source : 88eff9da5e84abf8ee726ceb7fcf338ecc1f50ee
2018-07-30 17:52:24 -04:00
Brindusan Cristian
d0b636e70f Backed out changeset d402c7b803c6 (bug 1477114) as requested by jaws. 2018-08-02 23:18:53 +03: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
Jared Wein
66c08eb74d Bug 1477114 - Add an asterisk to the required fields of the credit card form as well as the CVV placeholder. r=sfoster
MozReview-Commit-ID: 2zg5HOZVtxN

--HG--
extra : rebase_source : e2ed448ec2e82a5c874e5186ee318773f3250c09
2018-07-30 17:52:24 -04: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
Kris Maglione
25c94b46d8 Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz
Right now, a lot of test code relies on side-effects of SpecialPowers being
loaded into frame script globals. In particular:

- It forces permissive COWs from those scopes, which allows frame scripts to
  pass objects from those scopes to unprivileged content that they otherwise
  wouldn't.
- It imports a bunch of helper modules and WebIDL globals which would
  otherwise not be available.

Fortunately, this seems to only impact test code at this point. But there's a
real down-the-road risk of it impacting shipping code, which ends up working
in automation due to the side-effects of SpecialPowers, but failing in real
world use.

MozReview-Commit-ID: G27eSSOHymX

--HG--
extra : rebase_source : 1702e63fed719fc92def2bdbbb8a7c53572432db
extra : source : 41bedc526dd6ec6b7e8c7be1c832ac60c81d6263
2018-08-07 14:13:06 -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
Dão Gottwald
2baf8e31d6 Bug 1481321 - Stop eagerly creating thumbnails for the Ctrl+Tab panel. r=jaws 2018-08-07 11:34:42 +02:00
Aaron Klotz
8380550ef5 Bug 1479057: Improved sanity checking in mozilla::nt::PEHeaders; r=mhowell 2018-07-19 15:59:10 -06:00
Aaron Klotz
5d912c2b75 Bug 1477790: Add ability for firefox.exe to use launcher process by default when the build is configured to do so; r=mhowell
Since we don't want to inadvertently expose some way for malware to disable the
launcher via command-line/environment, I opted to query Windows for the PID of
the process that launched us, and then compare its executable path against ours.

Strictly speaking, the PROCESS_BASIC_INFORMATION::InheritedFromUniqueProcessId
field is not necessarily the parent pid, but it will match any process that was
created via the normal CreateProcess machinery.
2018-07-16 16:41:55 -06:00
Aaron Klotz
33fc6f7c47 Bug 1481635: Add option to allow the launcher process to wait for the browser before terminating, while properly handling UAC or high-integrity cases; r=mhowell 2018-08-07 14:39:01 -06:00
Abdoulaye O. Ly
12717a07c9 Bug 1481700 - Release clear-selection lock when 'mouseup' event is fired for tabs. r=jaws
MozReview-Commit-ID: FslyILLXMrj

--HG--
extra : rebase_source : 55c14ce7244ba7c3eab5eec87d5a4004bd69ee0b
2018-08-08 03:00:29 +00:00
Jonathan Kingston
c15f69d427 Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
Summary: Depends on D2046

Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Bug #: 1362034

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

--HG--
extra : rebase_source : ccded0f06a0dc4567b827f42ee29f4b8954154fe
extra : amend_source : 94da8ecc053e56958fa4137d7e497362fa2c11f1
2018-08-08 20:05:30 +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
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
c1969dbca2 Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz
Right now, a lot of test code relies on side-effects of SpecialPowers being
loaded into frame script globals. In particular:

- It forces permissive COWs from those scopes, which allows frame scripts to
  pass objects from those scopes to unprivileged content that they otherwise
  wouldn't.
- It imports a bunch of helper modules and WebIDL globals which would
  otherwise not be available.

Fortunately, this seems to only impact test code at this point. But there's a
real down-the-road risk of it impacting shipping code, which ends up working
in automation due to the side-effects of SpecialPowers, but failing in real
world use.

MozReview-Commit-ID: G27eSSOHymX

--HG--
extra : rebase_source : c528dffe3a54eec75ad6cb358980b783b00eb4a4
2018-08-07 14:13:06 -07:00
Paolo Amadini
c140ab38d1 Bug 1480082 - Remove broadcasters from the identity panel. r=johannh
MozReview-Commit-ID: DOBK86SAs3q

--HG--
extra : rebase_source : 8ce16ff641f77e25d91e196a02a1ea26c5cb2717
2018-08-01 13:51:39 +01:00
Mark Striemer
d7600324bb Bug 1470865 - Dynamically show hidden audio tabs in all tabs menu r=dao
When a hidden audio tab is muted it isn't pulled into the main all tabs
panel. Unmuting that tab will now add it to the main all tabs panel,
even if the all tabs menu it open.

MozReview-Commit-ID: 2HtZvy7aBsG

--HG--
extra : rebase_source : d728739ef382f14f3a759e9c6aef7cb2771f7c95
2018-07-11 22:30:36 -05:00
Noemi Erli
be6ab34c54 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : 691b5b30b6c3b2ddece605c045ad913e466fdbab
2018-08-10 00:35:58 +03:00
arthur.iakab
959d3394ad Backed out changeset 435661644b2d (bug 1481401) For Eslint failure on PanelMultiView.jsm CLOSED TREE 2018-08-10 00:02:02 +03:00
Sahil Bhosale
d9e5093116 Bug 1481401 - "PanelMultiView.jsm: replace _dwu getter with _getBoundsWithoutFlushing method" [r=dao+bmo] 2018-08-09 11:48:00 +03:00
Dão Gottwald
01959e09c2 Bug 1482078 - Port browser_bookmark_popup.js fix from beta to central. r=standard8
browser_bookmark_popup.js failed when the panel is big enough to overlay the center of the browser window.
2018-08-09 12:49:36 +02: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
Sebastian Hengst
f1b93a05ce Bug 1480434 - set browser.tabs.multiselect to true in browser_multiselect_tabs_reorder.js. r=jaws
MozReview-Commit-ID: GRk8K0k6Ttk

--HG--
extra : rebase_source : 923855315d88db4def88f63eecbb8e3566772ff7
2018-08-02 18:23:46 +03:00
Rob Wu
0360fe3b9c Bug 1398542 - Add test coverage for video/audio context menus r=mixedpuppy
MozReview-Commit-ID: 22VB0Jltj56

--HG--
extra : rebase_source : 98d56e06c4e217816116f1f9e8e47f00d5189677
2018-08-01 18:20:17 +02:00
Dan Banner
ba2daaeae2 Bug 1450923 - Update favicons for default bookmarks in Firefox Nightly. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D2645

--HG--
extra : moz-landing-system : lando
2018-08-02 13:00:41 +00: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
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
Zibi Braniecki
16229f69ef Bug 1475903 - Add mozIDOMLocalization API. r=mossop
In order to use DOMLocalization from C++ we need an XPIDL interface.
mozIDOMLocalization exposes the class and functionality allowing DocumentL10n to hook into it.

MozReview-Commit-ID: GPMhw61LPEg

--HG--
extra : rebase_source : 65d6e2b84379e78201f0c8b674630d1f485aaf8c
2018-06-22 13:14:23 -07:00
Ryan VanderMeulen
36b1f729cb Bug 1481280 - Update pdf.js to version 2.0.750. r=bdahl
--HG--
extra : amend_source : 42fb56f3a979a71c023af7eb842c2c6ad62eed4d
2018-08-06 14:11:10 -04:00
Andreea Pavel
f5c1119983 Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE
Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
2018-08-06 20:42:44 +03:00
Jonathan Kingston
4ca581ffed Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
Summary: Depends on D2046

Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Bug #: 1362034

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

--HG--
extra : rebase_source : 4bb9e7feb0704239756e6e38623c0fea81669f7b
extra : amend_source : 9417f96547735fbdc55ea23666327a5cb86ac92f
2018-08-06 19:56:37 +03:00
Jonathan Kingston
9be2ebdb53 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: reviewbot

Bug #: 1362034

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

--HG--
extra : rebase_source : 57c6bda461781ec20f0ceba8d1dd9c48778bf568
extra : amend_source : 2eebbf1e7df91697ce984d2845dbae41f9dcbcbd
2018-08-06 19:54:47 +03:00
Masatoshi Kimura
3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09: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
8e28811008 Merge mozilla-central to mozilla-inbound. a=merge 2018-08-02 16:15:22 +03:00
Olli Pettay
69b0c7d14a Bug 1480130 - Shadow DOM interferes with Cmd+click handling, r=felipe 2018-08-02 14:55:09 +03:00
Noemi Erli
58e27f3dd9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-02 12:04:24 +03:00
Noemi Erli
8f66a71e70 Merge inbound to mozilla-central. a=merge 2018-08-02 11:54:46 +03: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
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
dvarga
e487e6e564 Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00
Siddhant
76afa8409f Bug 1478267 - Drop the callback parameter to getShortcutOrURIAndPostData r=standard8 2018-08-01 15:00:51 +05:30
Andrea Marchesini
5991b3ebdd Bug 1457170 - Get rid of nsICookieService::ACCEPT_FOR_N_DAYS, r=valentin 2018-08-01 14:41:21 +02:00
Andreea Pavel
7c754d1621 Backed out changeset fbbb0327f0f1 (bug 1475903) for failing intl/l10n/test/test_mozdomlocalization.js 2018-08-02 06:14:05 +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
fb8f4c7562 Bug 1479313: Don't load manifestMessages.js until needed. r=felipe
MozReview-Commit-ID: s2fq6XcgQ7

--HG--
rename : dom/ipc/manifestMessages.js => dom/ipc/ManifestMessages.jsm
extra : rebase_source : be3c8b11dac18219b2e4b8aafa8d213cd1435c80
2018-07-29 13:18:26 -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
Kris Maglione
2cb03639b4 Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : rebase_source : 79ecc8b8df092dc9c9e837f0b11eede052df42c7
2018-07-29 12:36:45 -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
Ryan VanderMeulen
c49c9c1831 Bug 1480202 - Update pdf.js to version 2.0.719. r=bdahl 2018-08-01 16:25:11 -04: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
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
Jared Wein
b891ceac20 Bug 1478175 - Implement the branding in the lower left corner of the payment-summary page. r=sfoster
MozReview-Commit-ID: Dp8SdEzlrG3

--HG--
extra : rebase_source : d7144c0c83a1574bba6f85d7aae123cf5fdecb24
2018-07-30 17:24:16 -04:00
Abdoulaye O. Ly
c45c4fbe32 Bug 1458066 - Implement ability to move a selection of tabs within the same window through drag and drop. r=jaws
MozReview-Commit-ID: A3t0CAgrI5Z

--HG--
rename : browser/base/content/test/general/browser_tabReorder.js => browser/base/content/test/tabs/browser_tabReorder.js
extra : rebase_source : d3c329ab3ff02bdcae03cbd749ac83a0e34a9512
2018-07-23 19:01:17 +00: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
Dorel Luca
a6587cb874 Merge mozilla-cental to mozilla-inbound
--HG--
rename : browser/components/payments/test/mochitest/test_labelled_checkbox.html => browser/components/payments/test/mochitest/test_completion_error_page.html
extra : rebase_source : 8549ae557dceba753101a71840a5076783bd1d36
2018-08-01 12:54:59 +03:00
Dorel Luca
d0a0ae30d5 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-01 12:51:56 +03:00
George Echim
b293b4d31b Bug 1439832 - Add a test for checking that bookmarks can be opened from Bookmarks in the Library Menu. r=standard8
MozReview-Commit-ID: 69rAIfo2w06

--HG--
extra : rebase_source : baf194bb08abcae140c616bceb7987f249ae06a7
2018-07-31 20:29:12 +01:00
Alexis Deschamps
dded25327a Bug 1476034 - about:crashes: switched to fluent. r=flod,Pike
Summary:
The about:crashes page is being updated (bug 1463515). To facilitate these changes,
this patch changes the about:crashes page to use Fluent for localization instead of the old systems.
This also includes a script to migrate strings from the old .DTD and .properties files
to the new .ftl one.

Test Plan:
1. build Firefox with the changes
2. run Firefox
3. go to the about:crashes page
4. expect nothing to be different

This extension: https://github.com/rhelmer/webext-experiment-crashme can be used to
add local crash reports for verifying the different states of the about:crashes page.

Reviewers: flod, Pike, jchen, snorp

Reviewed By: flod, Pike, jchen, snorp

Subscribers: nalexander, reviewbot

Bug #: 1476034

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

--HG--
extra : rebase_source : 0ca9516b4df78e735fd03907f2ea324bc72ca893
2018-08-01 10:31:14 +03:00
Jared Wein
6ecd2e45dd Bug 1468153 - Update the edit strings (Add/Update) and the failure strings to use the hostname. r=sfoster
MozReview-Commit-ID: HcOMsP5zWBg

--HG--
rename : browser/components/payments/test/mochitest/test_labelled_checkbox.html => browser/components/payments/test/mochitest/test_completion_error_page.html
extra : rebase_source : a5e2ed74badabed047e707620f977081ae99247b
2018-07-30 14:22:52 -04:00
Bogdan Tara
33e48d218b Backed out 3 changesets (bug 1454627) for test-oop-extensions/browser_ext_user_events.js failures
Backed out changeset 38d9cbe6e3d2 (bug 1454627)
Backed out changeset 44b38de7dc3d (bug 1454627)
Backed out changeset 22de883763ac (bug 1454627)

--HG--
extra : rebase_source : d2ec7c40e9c9ba2cf45057aa72f790a107ec79b9
2018-08-01 00:36:28 +03:00
alwu
5116578704 Bug 1476701 - notify observer when audible autoplay occurred. r=cpearce,jaws
In our autoplay shield-study, we want to collect the information which could tell us how many website
contains audible autoplay media, but there is no way to get this information on current API desigin.

Therefore, I would like to send a new notification when autoplay occurred.

The extension code could get the information by following way,
```
Services.obs.addObserver((subject, topic, data) => {
    // DO SOMETHING
}, "AudibleAutoplayMediaOccurred");
```

MozReview-Commit-ID: 4bSYcxDZOGK

--HG--
extra : rebase_source : 2a4f060dbd582419bf0727408b04f2540155aa02
2018-07-25 09:08:44 -07:00
Dave Townsend
389a969138 Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489

--HG--
extra : moz-landing-system : lando
2018-07-31 19:13:38 +00:00
Bogdan Tara
642f18b262 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-31 21:32:12 +03:00
Bogdan Tara
b95ba78360 Merge inbound to mozilla-central. a=merge 2018-07-31 21:30:12 +03:00
Bogdan Tara
fb57ee9280 Backed out changeset 7e49d55f0240 (bug 1446956) for browser_ext_omnibox.js failures CLOSED TREE 2018-07-31 21:07:33 +03:00
Bogdan Tara
8ccee52ef3 Backed out changeset cc67a75b9160 (bug 1446956) for browser_ext_omnibox.js failures CLOSED TREE 2018-07-31 21:03:08 +03:00
Gijs Kruitbosch
dcbec7c8b6 Bug 1478404 - remove _xpcom_categories annotations as they're dead code, r=florian
Support for the _xpcom_categories property was removed in Bug 568691,
but we left a bunch of consumers behind, and it's been cargo-culted a bit more.
We should remove the remaining remnants.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 17:39:25 +00: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
Emilio Cobos Álvarez
3deb38c4a8 Bug 1474142: Don't skip calling _onDragEnd even if the from and to target is the customizable area. r=Gijs
We may not really receive a dragend event if we're fast enough.

Calling _onDragEnd multiple times is fine (it should be idempotent).

This particular exception was added in bug 978084 along with all the _onDragEnd
calls, but I don't think it's sound over-all.

I don't really want to dig into the XUL button code to see why drag end was
consistently firing there, unless you think it's really really needed :)

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

--HG--
extra : moz-landing-system : lando
2018-07-31 15:38:34 +00:00
shindli
eb2f38acfb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-31 13:09:14 +03:00
shindli
f0d8729e09 Merge inbound to mozilla-central. a=merge 2018-07-31 12:50:32 +03:00
Paolo Amadini
1866365ec8 Bug 1479215 - Back out spurious files from changeset 162e063abd54. a=backout
--HG--
extra : rebase_source : 137b47f944935184bf4c26ba9b6e7f8616a72c42
2018-07-31 09:49:53 +01:00
Coroiu Cristina
11bdeb280a Backed out 2 changesets (bug 1454627) for frequently failing browser-chrome at browser/components/extensions/test/browser/test-oop-extensions/browser_ext_user_events.js
Backed out changeset 3285f664c261 (bug 1454627)
Backed out changeset 9661870b7453 (bug 1454627)
2018-07-31 03:49:03 +03:00
Mark Striemer
f106ce9b88 Bug 1478042 - Check if gBrowser exists in History menu for hidden tabs r=mak
MozReview-Commit-ID: F8zhbb4l7J8

--HG--
extra : rebase_source : 1a35e66c2bb8558ec76d84c2342eee695b910107
2018-07-27 17:13:55 -05:00
Mark Banner
3285ea59f0 Bug 1479053 - Remove nsIAnnotationObserver::onPageAnnotationSet/Removed. r=mak
MozReview-Commit-ID: JkUhtuV1fvU

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

--HG--
extra : moz-landing-system : lando
2018-07-31 11:40:52 +00: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
Dão Gottwald
25eb433a54 Bug 1479775 - Rename removeTabs' aParams variable. r=jaws
MozReview-Commit-ID: 3ZtCme8mCdC

--HG--
extra : rebase_source : 1eb0422e88f3a7426dd927e3b3ecd5e318b00863
2018-07-31 16:11:47 +02:00
Rob Wu
8fa8bb1f95 Bug 1454627 - Fix timing issue in browser_ext_user_events.js r=mixedpuppy
MozReview-Commit-ID: 9eg6sz1s1e3

--HG--
extra : rebase_source : 2ad7b7004ec4be540675cf197986841e1425fc12
2018-07-31 16:58:41 +02:00
Rob Wu
38f52336fc Bug 1454627 - Run "onclick" event of menu with user input r=mixedpuppy
MozReview-Commit-ID: r1URJfOKUB

--HG--
extra : rebase_source : 1f5c5bb7b6dbd9709a26bf10abddcda919eff70f
2018-07-27 19:06:00 +02:00
Rob Wu
47a802bd4e Bug 1454627 - Re-enable browser_ext_user_events.js (bug 1381305) r=mixedpuppy
Re-enable the test that was disabled in bug 1381305 and fix the
underlying issue that caused th intermittent failure in the first place.

MozReview-Commit-ID: BL9wS2fogaf

--HG--
extra : rebase_source : 685f43b2e47d80f71814385a5c8b94fd3000eac9
2018-07-27 18:52:21 +02:00
Rob Wu
c532133b3d Bug 1446956 - Test that activeTab is not granted for bookmarks menu r=mixedpuppy
This ensures that the check that was introduced by bug 1370499 still
continues to work even though it was refactored by the previous commit.

MozReview-Commit-ID: GdbIPA6vxIB

--HG--
extra : rebase_source : 9246a1d6855de45eca8de5ee806d3a3e5ab7f0be
2018-07-19 16:35:22 +02:00
Rob Wu
d15750c82b Bug 1446956 - Grant access to the clicked tab in menus.onClicked r=mixedpuppy
MozReview-Commit-ID: 3mVWOEcZFYn

--HG--
extra : rebase_source : aec91b4c8b0770208ca7ce9972d1fcf877d53bb1
2018-07-18 22:04:58 +02:00