Commit graph

19409 commits

Author SHA1 Message Date
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
Csoregi Natalia
e67c081821 Backed out 19 changesets (bug 1467572) for devtools failures on browser_net_telemetry_throttle_changed.js. CLOSED TREE
Backed out changeset 39123899178c (bug 1467572)
Backed out changeset 62fcbe25665c (bug 1467572)
Backed out changeset 5ef6c1c42747 (bug 1467572)
Backed out changeset e295be61276e (bug 1467572)
Backed out changeset 41d85a6f8a2a (bug 1467572)
Backed out changeset 4e6b95a6c506 (bug 1467572)
Backed out changeset 36d459a24020 (bug 1467572)
Backed out changeset abb52c2c68ab (bug 1467572)
Backed out changeset 470b9ce4ba0f (bug 1467572)
Backed out changeset 37609995dc8f (bug 1467572)
Backed out changeset 636bf5ce96f7 (bug 1467572)
Backed out changeset 5880a55d2ee8 (bug 1467572)
Backed out changeset 0f19f84bb2ed (bug 1467572)
Backed out changeset e83526778ccd (bug 1467572)
Backed out changeset c42448ca6e4a (bug 1467572)
Backed out changeset 934fb24dad26 (bug 1467572)
Backed out changeset 6102b9ef805b (bug 1467572)
Backed out changeset 7aaea1245d27 (bug 1467572)
Backed out changeset 7793f8a2b14f (bug 1467572)

--HG--
rename : devtools/client/shared/components/menu/utils.js => devtools/client/netmonitor/src/utils/menu.js
rename : devtools/client/responsive.html/components/App.js => devtools/client/responsive.html/app.js
rename : devtools/client/responsive.html/components/DevicePixelRatioMenu.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
rename : devtools/client/responsive.html/components/Toolbar.js => devtools/client/responsive.html/components/GlobalToolbar.js
rename : devtools/client/responsive.html/components/SettingsMenu.js => devtools/client/responsive.html/components/ReloadConditions.js
rename : devtools/client/shared/components/throttling/NetworkThrottlingMenu.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
2018-08-16 03:43:41 +03:00
Gabriel Luong
fb8789b523 Bug 1467572 - Part 19: Remove responsive-ua.css. r=rcaliman 2018-08-15 17:27:58 -04:00
dvarga
87db76ae1a Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : rebase_source : c9e6b9edae9ecf064d1318fa15d5d57ea42c102a
2018-08-16 01:22:36 +03:00
Csoregi Natalia
b0afa69be5 Backed out 3 changesets (bug 1449055) for multiple xpcshell failures on browser/extensions/formautofill/test/ . CLOSED TREE
Backed out changeset fc97f5b5e65d (bug 1449055)
Backed out changeset 45306ff933fe (bug 1449055)
Backed out changeset da3100049ef2 (bug 1449055)

--HG--
rename : browser/extensions/formautofill/api.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/formautofill/manifest.json => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css => browser/extensions/formautofill/skin/shared/autocomplete-item.css
rename : browser/extensions/formautofill/skin/shared/editDialog-shared.css => browser/extensions/formautofill/skin/shared/editDialog.css
2018-08-16 00:15:19 +03:00
Dave Townsend
aaea0203ca Bug 1484753: Loading an insecure favicon should make the page show as mixed content. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D3908

--HG--
extra : rebase_source : 5ee794a7079a8b7c42df18f8a7638344bb00dece
2018-08-21 10:40:42 -07:00
Kris Maglione
12c9b0e4f9 Bug 1480319: Follow-up: Fix URL in browser_startup_content test. r=bustage
--HG--
extra : amend_source : 8556858ffbc11bab4f89a46ccc3a8c847835c9d2
2018-08-15 13:22:40 -07:00
Kris Maglione
c9e334f403 Bug 1483444: Skip browser_startup_content in verify mode. r=Felipe DONTBUILD
Verify mode runs tests multiple times. In the case of browser_startup_content.js,
this gives extra modules a chance to load before subsequent runs, which leads
to failures.

Since there's no particular reason to run this test in verify mode, the
obvious solution is to just disable it.

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

--HG--
extra : rebase_source : 034fc518bc3e4346cc99404def659b7cf3233308
extra : amend_source : d80dfffefbc674a24c118800af03a12f638fb3a6
2018-08-15 11:34:42 -07:00
Kris Maglione
4b6d32ec6c Bug 1480319: Split favicon loading code out of ContentLinkHandler.jsm. r=Mossop
MozReview-Commit-ID: KyP42P5FJRq

--HG--
rename : browser/modules/ContentLinkHandler.jsm => browser/actors/LinkHandlerChild.jsm
rename : browser/modules/ContentLinkHandler.jsm => browser/modules/FaviconLoader.jsm
extra : rebase_source : da12d0379f976fa041b97e271abb599dc99f3848
2018-08-01 21:36:12 -07:00
sahil bhosale
bdc29311ba Bug 1478855 - Use ES6 default parameter in updateBrowserRemotenessByURL. r=dao 2018-08-15 17:24:42 +05:30
Andrew Swan
f82f899fa3 Bug 1449055 Make browser_all_files_referenced.js work with formautofill as a webextension r=florian
MozReview-Commit-ID: JV3vA8bmDWt

--HG--
extra : rebase_source : f2e408a6125b661772d796388aa32f185ab01c8c
extra : source : 644216b0ad9b5f9e1e9e8f1f930d4db1c6e717a1
2018-08-01 18:22:23 -07:00
Johann Hofmann
2f02d7915e Bug 1475739 - Ignore network.loadinfo.skip_type_assertion in browser_preferences_usage since it's debug-only. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D3310

--HG--
extra : moz-landing-system : lando
2018-08-15 08:55:09 +00:00
Michael Kaply
d8e1e3ce51 Bug 1481447 - Switch search logging to a lazy pref. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2892

--HG--
extra : moz-landing-system : lando
2018-08-15 05:34:18 +00:00
Cosmin Sabou
1c8ad7b4ba Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
Kris Maglione
b5be6c0987 Bug 1483363: Stop loading ZoomChild.jsm before necessary. r=mconley
--HG--
extra : rebase_source : 0145f5c1cded4b38f65570b75710d98370da3a32
extra : amend_source : dd6b99a67ffd22b439544295d6e16a8deb0d6dd8
2018-07-31 19:41:09 -07:00
Brendan Dahl
195f739823 Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop
Adds a new environment variable MOZ_BROWSER_XHTML to change Firefox to load
a modified version of browser.xul as browser.xhtml. Adds the xhtml
namespace to the script tags to make them work.

MozReview-Commit-ID: 2adtOVzXHKd
2018-08-14 13:13:38 -07:00
Daniel Varga
36e523e699 Merge mozilla-central to mozilla-inbound 2018-08-18 01:05:36 +03: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
Arthur Iakab
9975b98e2e Bug 1438402 - Disabled browser_csp_block_all_mixedcontent.js on linux and mac. r=jmaher 2018-08-17 10:04:00 -04:00
trisha
1925763b0c Bug 1474820 - Add the 'Accept the Risk and Add Exception' Button to the new certificate error pages r=johannh 2018-08-07 16:27:01 +05:30
Dale Harvey
59e904f6cd Bug 1476555 - Show notification when autoplay blocked globally. r=cpearce,johannh
MozReview-Commit-ID: EI0GiaoBNqX

--HG--
extra : rebase_source : 0c6fb98047913fc50423532cc4c433c4627c5b06
2018-07-23 16:43:08 +01:00
Noemi Erli
c7ab615992 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-22 19:32:56 +03:00
Ehsan Akhgari
2346eb62c8 Bug 1484876 - Part 4: Remove nsIPrivateBrowsingTrackingProtectionWhitelist.existsInAllowList(); r=johannh 2018-08-22 12:02:44 -04:00
Dão Gottwald
526114e5e9 Bug 1446168 - Load tabbox.css as a document stylesheet. r=bgrins 2018-08-17 14:13:00 +02:00
Johann Hofmann
b7d3f78498 Bug 1484259 - Hide the "Add exception" in small iframe error pages. r=nhnt11
This CSS rule was conflicting with the "hidden" property that is being set on the
button when in an iframe. For now I just removed the rule and didn't see any obvious
breakage.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 13:29:50 +00:00
Jared Wein
c1cd17d554 Bug 1476854 - Expose whether tabs are multiselected for accessibility. r=dao,Jamie
MozReview-Commit-ID: 4LAwQxqrKiO

--HG--
extra : rebase_source : 2c1475ab4ad260922d3a65ce510277a506021be2
2018-07-31 16:40:17 -04:00
Brian Grinstead
829d7647d3 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275

--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00
Andreea Pavel
870fc40e66 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-08-14 19:17:13 +03:00
Brian Grinstead
ac11fd9d1f Bug 1442058 - Override loadURI on tabbrowser browsers with an expando property;r=dao
This allows us to remove the XBL binding inheritance, simplifying the tree of
XBL bindings under "browser" and deleting two bindings in the process.

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

--HG--
extra : moz-landing-system : lando
2018-08-14 10:14:56 +00:00
Eliza Balazs
4a5309765f Bug 1444631 - Disable browser_utilityOverlay.js on linux and mac for frequent failures. r=jmaher 2018-08-14 04:13:00 +03:00
Andreea Pavel
0018c0b979 Backed out changeset 1fbfb6dcd887 (bug 1444631) for build bustages on a CLOSED TREE 2018-08-14 13:10:52 +03:00
Arthur Iakab
4bb11eb3d5 Bug 1444631 Disabled browser_utilityOverlay.js on linux and mac. r=jmaher 2018-08-12 01:46:00 +03:00
Margareta Eliza Balazs
2b0e863a2c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-14 12:36:35 +03:00
Paolo Amadini
b4630c69a3 Bug 1481813 - Part 4 - Remove support for adding generic DOM attributes to page actions. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D3011

--HG--
extra : rebase_source : 34d987669c8c83ccf5fd50adfc31594b8c07dd46
extra : source : 0fa77a8d96fd46ef19cbfdf439ae0ca12f8fe191
2018-08-09 13:22:20 +01:00
Paolo Amadini
73dd1c2b03 Bug 1481813 - Part 3 - Remove bookmarkThisPageBroadcaster. r=Standard8,bgrins
The PageActions API is now used to assign a title to the bookmark action.

This also prevents some tooltips from being set unnecessarily on menu items.

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

--HG--
extra : source : 9222f57d2c20b59b878660b0b998646101d70022
extra : amend_source : a160298483258a7bbd9920dd4eba9dcc43cfb4f3
2018-08-13 17:25:28 +01:00
Paolo Amadini
025cd83e9c Bug 1481813 - Part 2 - Move reference strings out of the bookmark broadcaster. r=Standard8
This prevents the reference string attributes from being replicated unneededly.

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

--HG--
extra : source : 99addb2df281405ebd65805884ffde95c553f6ea
2018-08-13 17:02:44 +01:00
Paolo Amadini
88c6b35cb5 Bug 1481813 - Part 1 - Remove unneeded broadcaster observers for bookmarks. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D3007

--HG--
extra : source : a2067cf24c1befd37d200fe7055dbdb06ad9c152
2018-08-09 13:13:27 +01:00
Narcis Beleuzu
e8b59f512d Bug 1212419 - Disable browser_save_video.js on Mac for frequent failures. r=jmaher 2018-08-12 21:39:00 +03:00
Ed Lee
ce0c5871ef Bug 1482959 - Add aliased search, search styling and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3236

--HG--
extra : moz-landing-system : lando
2018-08-13 20:59:54 +00:00
Dorel Luca
fbc665b6b3 Backed out changeset 9aae17d0e090 (bug 1482256) for browser-chrome failures on browser/base/content/test/static/browser_all_files_referenced.js. CLOSED TREE 2018-08-14 05:33:44 +03:00
Dorel Luca
d1bfb0cc14 Backed out 2 changesets (bug 1449055) for xpcshell failures on browser/extensions/formautofill/test/unit/heuristics/test_de_fields.js. CLOSED TREE
Backed out changeset 644216b0ad9b (bug 1449055)
Backed out changeset ecda6532c852 (bug 1449055)

--HG--
rename : browser/extensions/formautofill/api.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/formautofill/manifest.json => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css => browser/extensions/formautofill/skin/shared/autocomplete-item.css
rename : browser/extensions/formautofill/skin/shared/editDialog-shared.css => browser/extensions/formautofill/skin/shared/editDialog.css
2018-08-14 05:31:58 +03:00
Andrew Swan
00221bdb58 Bug 1449055 Make browser_all_files_referenced.js work with formautofill as a webextension r=florian
MozReview-Commit-ID: JV3vA8bmDWt

--HG--
extra : rebase_source : aa32a8f8d05271b1e53f680e4de65d3b2ddf6405
2018-08-01 18:22:23 -07:00
Brendan Dahl
143db4e31d Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop
Adds a new environment variable MOZ_BROWSER_XHTML to change Firefox to load
a modified version of browser.xul as browser.xhtml. Adds the xhtml
namespace to the script tags to make them work.

MozReview-Commit-ID: 2adtOVzXHKd
2018-08-13 14:39:47 -07:00
Csoregi Natalia
2466b82b72 Merge inbound to mozilla-central. a=merge 2018-08-13 18:42:53 +03:00
trisha
7526b69b1d Bug 1476509 - Implement a new clock skew error page r=flod,johannh
MozReview-Commit-ID: 5WmgrxUcSZ6

--HG--
extra : rebase_source : 340fd6b1468e4b0ecd80a7eea2233a8d5499da40
2018-08-02 22:59:04 +05:30
Jonathan Kingston
a91f8e8108 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : 5eab8f37c4bd6048057069cb0ac2ab0b4729d950
2018-07-16 10:17:51 +01:00
Trisha Gupta
0569a40197 Bug 1477310 - Enable the new certificate error pages by default in Nightly. r=johannh
MozReview-Commit-ID: DN7s5t2m2Nm
2018-08-01 15:57:22 +05:30
Andreea Pavel
830da67792 Merge mozilla-central to mozilla-inbound. a=backout 2018-08-11 13:50:07 +03:00
Andreea Pavel
dc28b8bddf Backed out changeset ef30529d43dd (bug 1476509) for breaking localization a=backout 2018-08-11 13:45:07 +03:00
Andreea Pavel
b51569ce3d merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-08-11 13:28:47 +03:00
Dão Gottwald
f11266e761 Bug 1481754 - Use inheritance for menu fonts. r=mstriemer 2018-08-09 09:38:19 +02:00
Bogdan Tara
89268618f4 Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE
--HG--
rename : browser/base/content/test/contextMenu/browser_utilityOverlay.js => browser/base/content/test/general/browser_utilityOverlay.js
2018-08-11 03:20:30 +03:00
Johann Hofmann
b72851d67d Bug 1476224 - Update the Tracking Protection section in the main menu for Content Blocking. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D2978

--HG--
extra : rebase_source : 0d37900b25bf2e7164ed13e3d6e88bd1bec4e87b
2018-08-09 01:33:38 +02:00
Johann Hofmann
5584301845 Bug 1476218 - Part 3 - Update Tracking Protection tests to reflect Content Blocking changes. r=nhnt11
This commit also moves the remaining trackingUI_* tests out of b/b/c/test/general,
since I needed to touch them anyway

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

--HG--
rename : browser/base/content/test/general/benignPage.html => browser/base/content/test/trackingUI/benignPage.html
rename : browser/base/content/test/general/browser_trackingUI_3.js => browser/base/content/test/trackingUI/browser_trackingUI_3.js
rename : browser/base/content/test/general/browser_trackingUI_4.js => browser/base/content/test/trackingUI/browser_trackingUI_animation_2.js
rename : browser/base/content/test/general/browser_trackingUI_6.js => browser/base/content/test/trackingUI/browser_trackingUI_fetch.js
rename : browser/base/content/test/general/browser_trackingUI_5.js => browser/base/content/test/trackingUI/browser_trackingUI_pbmode_exceptions.js
rename : browser/base/content/test/general/browser_trackingUI_telemetry.js => browser/base/content/test/trackingUI/browser_trackingUI_telemetry.js
rename : browser/base/content/test/general/file_trackingUI_6.html => browser/base/content/test/trackingUI/file_trackingUI_fetch.html
rename : browser/base/content/test/general/file_trackingUI_6.js => browser/base/content/test/trackingUI/file_trackingUI_fetch.js
rename : browser/base/content/test/general/file_trackingUI_6.js^headers^ => browser/base/content/test/trackingUI/file_trackingUI_fetch.js^headers^
rename : browser/base/content/test/general/trackingPage.html => browser/base/content/test/trackingUI/trackingPage.html
extra : rebase_source : 2a12463ab2ba39bdcf077580a2d6e565f80c879c
2018-08-08 14:31:34 +02:00
Johann Hofmann
29edd41fd0 Bug 1476218 - Part 1 - Update Tracking Protection section in the identity popup for Content Blocking. r=nhnt11
This commit switches the identity popup to use "Content Blocking" as a top-level section
instead of Tracking Protection, which is now demoted to a category of Content Blocking.

To keep this change halfway reviewable, I avoided renaming variables, classNames, ids, etc.
that use the term trackingProtection if they were otherwise unaffected by this patch. There
will be other patches that can do this in the future

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

--HG--
rename : browser/base/content/browser-trackingprotection.js => browser/base/content/browser-contentblocking.js
extra : rebase_source : 0dd57d6142c971617e9f47d32ce76a4a028d98eb
2018-08-06 12:43:59 +02:00
trisha
c17b929023 Bug 1476509 - Implement a new clock skew error page r=johannh
MozReview-Commit-ID: BUR0hCnh5gb

--HG--
extra : rebase_source : 464b40d21e23e54542a34bd87de44895e990fd89
2018-08-02 22:59:04 +05:30
Bogdan Tara
dfe849c923 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-11 06:46:31 +03:00
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
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
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
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
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
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
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
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
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
Dave Townsend
79bc1ca39f Bug 1472476: Allow restoring sessions from before favicons were only allowed to be local schemes. r=adw
Re-introduces support for setting remote icons provided a loading principal is
passed. Removes some now defunkt code from sessionstore.

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

--HG--
extra : rebase_source : f039f34d13aa43c52af880d8f59962f6450791be
extra : amend_source : e60b5d7fb22538728837d5196b866ecf2284bc64
2018-08-20 12:32:27 -07:00
Margareta Eliza Balazs
f617807241 Merge inbound to mozilla-central. a=merge 2018-08-10 12:17:09 +03: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
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
Tiberius Oros
fae00acf70 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-09 13:06:13 +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
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
Csoregi Natalia
0f4d50ff52 Merge inbound to mozilla-central. a=merge 2018-08-08 12:58:36 +03: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
Brindusan Cristian
f8555a213f Merge inbound to mozilla-central. a=merge 2018-08-08 00:51:43 +03: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
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
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
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
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
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
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
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
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
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
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
Csoregi Natalia
c37c23c5cc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-06 02:02:32 +03: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
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
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
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
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
Narcis Beleuzu
31527185b4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-03 01:34:26 +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
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
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
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
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