Commit graph

2158 commits

Author SHA1 Message Date
Samael Wang
bb968e4fcd Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : 5a1cc56554d1429f3c5af1c8cecaa1d72471ed21
2017-11-14 19:19:27 +08:00
Noemi Erli
e90c67896c Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang
ef3c08ceb1 Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : b88ccf98bc2a41aac007d79060424eaa2c2aca88
2017-11-14 19:19:27 +08:00
Dan Banner
b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Jared Wein
d2e8741f6d Bug 1410900 - Allow using shift-click on the Reload Frame context menuitem to skip the cache when reloading the frame. r=johannh
This patch uses the same logic as BrowserReloadOrDuplicate to determine if the cache should be skipped. I didn't extract out the logic to a separate function because I didn't want to add another function to the global namespace of browser.js.

MozReview-Commit-ID: 15kztsqMnAM

--HG--
extra : rebase_source : d5ad3ee62062d5971c95281368a102298e367e59
2017-10-26 19:42:18 -04:00
Drew Willcoxon
5f90902bda Bug 1417272 - The "Send Tab to Device" page action can be disabled in the page action menu but enabled in the urlbar. r=Gijs
MozReview-Commit-ID: BZ4CAqG0kkH

--HG--
extra : rebase_source : 3aaa7601b9f3f11e84d65788378c0fdb1dac9292
2017-11-15 11:25:45 -08:00
Drew Willcoxon
65176851c3 Bug 1417036 - "Save to Pocket" drop down menu glitches. r=Gijs
MozReview-Commit-ID: 1JPOmQNLn26

--HG--
extra : rebase_source : ec596c222caa916b02897cbbd36f4a9ae614e518
2017-11-15 10:44:47 -08:00
Valentin Gosu
a77a5282f4 Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : fa720f35df16985bcd929a98aeeaf9fbc759c1e6
2017-11-15 13:34:23 +01:00
Margareta Eliza Balazs
3edf7872fb Backed out changeset cfe4b1e6be9b (bug 1416343) for ESlint failing in modules/test/browser/browser_SitePermissions_tab_urls.js:38:14 r=backout on a CLOSED TREE 2017-11-15 13:46:07 +02:00
Dão Gottwald
555d47bbb5 Bug 1215335 - Remove unused notification-inner container. r=bgrins
MozReview-Commit-ID: C9kKRpD3AzU

--HG--
extra : rebase_source : 7f3dde91b73084783c63733f0c823ec0e7e80b90
2017-11-15 11:36:22 +01:00
Valentin Gosu
ba207f8c8c Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : 89c283360bc0b30aad34641b4cdce8f5c49615b3
2017-11-13 20:18:46 +01:00
Gijs Kruitbosch
8c1b02e3d4 Bug 1388029 - remove the remaining uses of AREA_PANEL, r=jaws
MozReview-Commit-ID: L017kRfHfOv

--HG--
extra : rebase_source : c9dcbb76d787281ac2dcf18c59786205aeaacaf9
2017-11-07 12:15:18 +00:00
Felipe Gomes
d7719e4ea7 Bug 1415978 - Change 'Activate Adobe Flash' to 'Run Adobe Flash' in the overlay UI. r=dthayer
MozReview-Commit-ID: JlHXRLl3DbY

--HG--
extra : rebase_source : 5ed47dffab714e4688b5d9eaa1f81a81f3ba360e
2017-11-09 18:27:49 -02:00
Felipe Gomes
20db5d5395 Bug 1409148 - Add dynamic sizing on the plugin overlay. r=dthayer,johannh
MozReview-Commit-ID: 9cxCs9GeJY8

--HG--
extra : rebase_source : 01058d3f077244826a30e9ab2c1a9ecd490c9efe
2017-11-10 14:05:04 -02:00
Drew Willcoxon
46c5139ac2 Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs
MozReview-Commit-ID: HJpu9Jfi2bB

--HG--
extra : rebase_source : ee219138b8df1744c223d81281d9525c3d7b7227
2017-11-10 11:06:02 -05:00
Neil Deakin
ee8929c13f Bug 380637, add site-specific permissions to prevent pages from overriding keyboard shortcuts. This is done by preventing the key combination from being sent to the content page, r=felipe
Users can block the overriding of shortcuts using the permissions tab of the page info dialog, as with other permissions. Site permissions also allows the use of permissions.default.shortcuts to block overriding shortcuts for all sites.
2017-11-09 18:42:39 -05:00
Drew Willcoxon
e42d94c099 Bug 1413692 - Extensions page actions are pinned to address bar again and again. r=mixedpuppy
MozReview-Commit-ID: HrhYTNSwygH

--HG--
extra : rebase_source : e67932403b4294902c5096883cb5be6759969d69
2017-11-06 21:19:26 -05:00
Sebastian Hengst
af670f4147 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-07 02:47:30 +02:00
Myk Melez
e7777b5ded Bug 1414386 - ensure BrowserUsageTelemetry is inited before uniniting it; r=mak 2017-11-06 10:43:25 -08:00
Marco Bonardo
d02470df30 Bug 1403829 - Prefer fetching properly sized favicons from pages. r=Mardak
MozReview-Commit-ID: CzMHWzsGuRo

--HG--
extra : rebase_source : a2473653d45c280448a598dfe131067948cce8bc
2017-11-03 12:07:16 +01:00
Phil Ringnalda
54c283afaf Bug 1413092 followup, redisable browser_validation_iframe.js, it's not quite ready yet
MozReview-Commit-ID: 9myhmqRjXVf
2017-10-31 22:22:00 -07:00
Matthew Noorenberghe
67d4b55c85 Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : b2109c88d799d3592f4425bc216aff20a8409c39
2017-10-31 21:18:07 -07:00
Phil Ringnalda
9ac65f67a4 Backed out changeset fdebe274e971 (bug 1413092) for failures in test_mozbuild_reading.py
CLOSED TREE

MozReview-Commit-ID: JA9UPvYmWMF

--HG--
rename : browser/modules/test/browser/formValidation/browser_form_validation.js => browser/base/content/test/general/browser_bug561636.js
rename : browser/modules/test/browser/formValidation/browser_validation_iframe.js => browser/base/content/test/general/browser_bug595507.js
rename : browser/modules/test/browser/formValidation/browser_validation_invisible.js => browser/modules/test/browser/browser_bug1319078.js
2017-10-31 20:27:48 -07:00
Matthew Noorenberghe
f610ae3d0d Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : 0883eee8c6cea0c1e9d4462ecbee50994bd7d7be
2017-10-30 22:12:35 -07:00
Doug Thayer
f55615a8df Bug 1398972 - Replace usage of plugin doorhanger XBL binding r=Felipe
Migrated to simply use PopupNotifications.jsm. Additionally, this
changes the behavior to always have two buttons and a remember
checkbox. When selecting allow with remember, it will behave like
the always allow option previously, but when selecting block with
remember, it will move that page into a quiet mode with respect
to Flash - i.e., no plugin overlays will show anymore, and instead
you will just see the plugin icon in the URL bar, which you can
continue to interact with as before.

MozReview-Commit-ID: EUFlI7nM09t

--HG--
extra : rebase_source : 4f6fdaa602ea6c398cc646ba98282ee5c154956e
2017-10-31 11:40:04 -07:00
Sebastian Hengst
6979ea37b4 merge mozilla-central to autoland. r=merge a=merge 2017-10-30 23:58:16 +01:00
Sebastian Hengst
f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Chris H-C
75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Drew Willcoxon
e487a36e83 Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes part 2, purge cache on shutdown. r=mikedeboer
MozReview-Commit-ID: LEMywaJu8xM

--HG--
extra : rebase_source : 965816bef4ae5708eb088416bb5de923493974fc
2017-10-27 17:39:47 -04:00
Drew Willcoxon
6d7492ef9b Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes. r=Gijs
MozReview-Commit-ID: 5NOc9N2idRE

--HG--
extra : rebase_source : 17e91f9b85bfb49d6fdf29c25bfba7a7c4f86452
2017-10-27 17:39:38 -04:00
Drew Willcoxon
13280ee095 Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: Photon page action changes. r=jaws
MozReview-Commit-ID: BOEhQEJbUNO

--HG--
extra : rebase_source : ff88d19669530269486d3441fe9cbebe6c73090b
2017-10-30 17:47:54 -04:00
Phil Ringnalda
4bc2b1615d Backed out 4 changesets (bug 1408433, bug 1406391, bug 1408512) for crashing tests by touching the network contacting incoming.telemetry.mozilla.org on nightly builds
Backed out changeset 9bfd4b0927dc (bug 1408433)
Backed out changeset 555850d5107e (bug 1408512)
Backed out changeset 15d959b9123e (bug 1406391)
Backed out changeset e1f34ba9cecc (bug 1406391)

MozReview-Commit-ID: BVoGRsD73Hf
2017-10-27 21:08:27 -07:00
Chris H-C
8e6dd31d55 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-27 10:59:43 -04:00
Jared Wein
d6b4704310 Bug 1406414 - Switch to an APNG loading indicator when the browser is under schedule pressure. r=francois,mconley
MozReview-Commit-ID: 13KnlI9QcvU

--HG--
extra : rebase_source : 04ec34551ca8d0c2b4566c069ddf9202673bd3d2
2017-09-21 16:10:49 -04:00
Prathiksha
e177125c34 Bug 1334411 - Remove the UI for indexedDB in Permissions section of PageInfo and the identity block. r=johannh
MozReview-Commit-ID: 4Q9H1Aq4O2B

--HG--
extra : rebase_source : ef9673e637972a024c30eea77e5b51b39b6310d5
2017-10-04 19:59:19 +05:30
Mike Conley
dd33d08c01 Bug 1407631 - Wait about 10 minutes after browser session start before scanning for unsubmitted crash reports. r=gsvelto
While the crash reporter client is submitting a crash report, the report itself
stays in the crashes directory. We suspect that in some cases, if the browser starts
up while the crash reporter client is still sending the report, the unsubmitted
crash report handler will also attempt to send the same report.

This patch makes the unsubmitted crash report handler wait approximately 10 minutes
after the session starts before doing the unsubmitted crash report scan.

MozReview-Commit-ID: KkrPDa1Qwv1

--HG--
extra : rebase_source : cafecef5776a21a76c64300eb53fdde28e09d18b
2017-10-24 16:55:24 -04:00
Sebastian Hengst
d3632a713b Backed out changeset 4f223f11a08f (bug 1334411) for failing xpcshell's browser/modules/test/unit/test_SitePermissions.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 312a520b843a8b640ffc5060651c64b36a6ddd97
2017-10-25 00:11:02 +02:00
Prathiksha
79e0cb83c0 Bug 1334411 - Remove the UI for indexedDB in Permissions section of PageInfo and the identity block. r=johannh
MozReview-Commit-ID: 3OcrBcRPSgZ

--HG--
extra : rebase_source : 47d75389b7597566450d3d2c46674bf6bcfaaa8e
2017-10-04 19:59:19 +05:30
Mike Conley
2533270588 Bug 1391594 - Test that closing a window with a <xul:browser> with a hanging script causes that script to terminate. r=billm
MozReview-Commit-ID: HwG0hcFdBtG

--HG--
extra : rebase_source : 4605a184d312ab5f37c484f862ab2b1dc7a6731a
2017-10-13 16:23:37 -04:00
Mike Conley
5ad52e1334 Bug 1391594 - If a window closes while hosting a <xul:browser> hung on script, clear the hang. r=billm
MozReview-Commit-ID: 88oj1bqA9To

--HG--
extra : rebase_source : 1a5e5c81aae3e5df6cc0d8acc1d637513d01535b
extra : source : 746826b8d17cdd1ce98ecf1d0529ae6e3e7e570a
2017-10-13 16:15:44 -04:00
Mike Conley
e9f61a739a Bug 1391594 - Add a test that checks that hangs are dealt with on shutdown. r=billm
MozReview-Commit-ID: FvHrufdCw6d

--HG--
extra : rebase_source : 773dc4ad043906bf096493a4f0b7f1247e79fe21
2017-10-02 14:37:42 -04:00
Mike Conley
ea0c5717f6 Bug 1391594 - Unilaterally terminate script and plugin hangs during shutdown or when there are no windows. r=billm
MozReview-Commit-ID: 6DYDYTRVrYu

--HG--
extra : rebase_source : 09493e34b472cc491c0e6da1455c1e6a77b04dfa
2017-10-02 18:38:27 -04:00
Ian Moody
9d62373c5d Bug 1408670 - Use PBU.isContentWindowPrivate instead of PBU.isBrowserPrivate in ContextMenu.jsm. r=Felipe
Follow up correction to bug 1399429.  isBrowserPrivate causes console spam,
probably not e10s safe going forward.

MozReview-Commit-ID: JMoTVbc3SAx

--HG--
extra : rebase_source : 323559cbac6dd877b32f17bdc810975078583934
2017-10-14 16:43:38 +01:00
Johann Hofmann
15b4f36f56 Bug 1379560 - Part 2 - Add support for custom default permissions in SitePermissions.jsm. r=Paolo
Part 1 added support for changing default permissions via pref. This
patch adds support in the frontend code, which is required to actually
make it work for most permission prompts.

This patch introduces the concept of SitePermissions.PROMPT (which
already exists in the permission manager) to distinguish between
the default UNKNOWN state and the explicit PROMPT state. They both
have the same effect (always asking the user for confirmation).

MozReview-Commit-ID: 2Gg9uwigter

--HG--
extra : rebase_source : 2c8da24f849cee53e17be8897c0b320ca9e39e7e
2017-07-10 23:33:37 +02:00
Felipe Gomes
141837449a Bug 1405655 - Only hide Flash Activation overlay UI if the entire plugin is covered. r=dthayer
As opposed to right now where we hide if any of the corners or the center of the plugin is covered.

MozReview-Commit-ID: 9mOVXYyV1Il

--HG--
extra : rebase_source : 3a6bcd34e939924ef068b0c3d3230c1f9391a3a4
2017-10-17 12:10:31 -02:00
Panos Astithas
e670592385 Bug 1406234 - Remove historical search suggestions and move search suggestions on top. r=mak
MozReview-Commit-ID: 9SbHU63amlN

--HG--
extra : rebase_source : 57fcce07fe60f2f3b4023abb4f34a5c2f624a99f
2017-10-13 17:13:25 +03:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Ian Moody
df5fd8a19d Bug 1399429 - Properly determine if the content window is private for the contextMenu. r=Felipe
MozReview-Commit-ID: Ipo3Rcs1TZ8

--HG--
extra : rebase_source : ac17083a7b3d3d12f39c797c8e073b37c0c1c770
2017-10-13 19:13:35 +01:00
Alessio Placitelli
fb8a2826f2 Bug 1406097 - Use the cached attribution code in the environment. r=mhowell
This adds a new sync function to AttributionCode.jsm that returns the cached
attribution data. The cached data is then used to populate the environment
instead of relying on the async function.

MozReview-Commit-ID: F0se7kXspo2

--HG--
extra : rebase_source : 0a2631651e3da6edde9592eabd354b070ffa6ae8
2017-10-09 12:03:38 +02:00
Drew Willcoxon
9100f68edc Bug 1387141 - Pocket button does not stay red after URL pocketed and animation has finished. r=Gijs
MozReview-Commit-ID: KQVOUJUOfrx

--HG--
extra : rebase_source : 07e77c7835286c78789fc6c6ff553ae475f26e5e
2017-10-05 13:03:44 -07:00
Marco Bonardo
c14d0488a0 Bug 1356758 - Intermittent timeouts in browser_UsageTelemetry_urlbar.js. r=adw
MozReview-Commit-ID: 3pCG35lHis2

--HG--
extra : rebase_source : 23427009c0848ef4bcd09280567da065539747bd
2017-10-04 17:39:59 +02:00
Marina Samuel
cb6b28216d Bug 1406087: All PingCentre pings should go to production by default. r=ursula
MozReview-Commit-ID: 9ZmAG9fBWqX

--HG--
extra : rebase_source : bed3bb4981dd3a5f5a0886726fca530d65d2bfd9
2017-10-05 11:12:17 -04:00
Mike Conley
d908d328bf Bug 1399068 - Send the context menu target node up to the parent as an explicit CPOW to fix login selection. r=Felipe
LoginManagerParent expects either a CPOW or a DOM node (in the non-e10s case) to
be passed as the inputElement for LoginManagerParent.fillForm. In bug 1360406,
we serialized the target in the content process so that the parent didn't have
access to the CPOW anymore.

This patch adds a targetAsCPOW property to the nsContextMenu solely for passing
back and forth between the parent and content processes in order to refer to
the target DOM node.

MozReview-Commit-ID: IMwVK0Ewlhy

--HG--
extra : rebase_source : deadcb3d5e340402ebe615529fe937a184785e07
2017-10-04 14:29:09 -04:00
Drew Willcoxon
b852f82f5a Bug 1385882 - Intermittent browser/base/content/test/urlbar/browser_page_action_menu.js | Test timed out. r=Gijs
MozReview-Commit-ID: 8uzQAPQEldP

--HG--
extra : rebase_source : 3f7723da3e0b52abb6edcd4e571b37bed8ab965d
2017-10-02 10:55:00 -07:00
Wes Kocher
0196bb1eed Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9KMX1mdjylD
2017-09-29 14:48:25 -07:00
Kyle Machulis
2ac26c5527 Bug 1403795 - Remove nsIDOMHTMLButtonElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLButtonElement, replacing it
with binding class usage.

MozReview-Commit-ID: CzqRb7lI28W
2017-09-29 11:57:19 -07:00
Marco Bonardo
77a1296e26 Bug 1402373 - Slack's red badge favicon is shown for no reason and then isn't cleared when all messages are read. r=Mardak,nanj
MozReview-Commit-ID: D1t9xo3Dlfv

--HG--
rename : browser/base/content/test/general/.eslintrc.js => browser/base/content/test/favicons/.eslintrc.js
rename : browser/base/content/test/general/discovery.html => browser/base/content/test/favicons/discovery.html
extra : rebase_source : 5282f27a55a37e3c75fe54f5b5edb050b7906fb4
2017-09-28 17:32:57 +02:00
Gijs Kruitbosch
c6ffe22372 Bug 1393843 - add telemetry for page action items and the context menu that enables/disables them, data-review=rweiss, r=adw,rweiss+418169
MozReview-Commit-ID: E52TGDLgjCC

--HG--
extra : rebase_source : 9a370490ec927bde37468295c1fb4415aa6e0212
2017-09-20 17:32:11 +01:00
Xidorn Quan
0a75705c55 Bug 1403127 - Don't try to pass fullscreen element through IPC. r=jaws
MozReview-Commit-ID: DaiBNVdqAOh

--HG--
extra : rebase_source : 5e48becb2554f0861d554471ca61ba5933b3f1ac
2017-09-27 16:27:36 +10:00
Ed Lee
a79fee5205 Bug 1403215 - Fix broken Snippets pref, perceived performance and bug fixes to Activity Stream. r=k88hudson,ursula
MozReview-Commit-ID: JSvQB4nxduM

--HG--
extra : rebase_source : 251b4aad88f9086f3b00100fd8a03675f2a062cf
2017-09-27 08:28:06 -04:00
Wes Kocher
6ff89f3f7d Backed out changeset b31be2f4c9b4 (bug 1403215) for mac failures in browser_newtab_focus.js a=backout
MozReview-Commit-ID: HvuhYscvVi0
2017-09-27 14:35:46 -07:00
Ed Lee
d9a2f3b235 Bug 1403215 - Fix broken Snippets pref, perceived performance and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: JSvQB4nxduM

--HG--
extra : rebase_source : 0a537c181ecf6b5e7fcaa1ced1ae5401abcee018
2017-09-27 08:28:06 -04:00
Nan Jiang
f505a60dec Bug 1399880 - Add telemetry for page metadata size. r=francois,ursula
MozReview-Commit-ID: 5SGAiZlmkMi

--HG--
extra : rebase_source : 29dd01b4a51c1c376638200a843be54999f6a673
2017-09-26 14:13:47 -04:00
Wes Kocher
acf8913934 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Kyle Machulis
9be401bdd6 Bug 1389650 - Change nsIDOMHTMLAnchorElement instanceof checks to getClassName; r=bz
MozReview-Commit-ID: Il2Ig98BHYP
2017-09-26 11:40:15 -07:00
Sebastian Hengst
b3d9e88e3d Backed out changeset 50d5710ae6c0 (bug 1389650) for eslint failure at browser/modules/PluginContent.jsm:684: 'contentWindow' is assigned a value but never used. r=backout 2017-09-26 10:48:27 +02:00
Kyle Machulis
6b7c6911ae Bug 1389650 - Change nsIDOMHTMLAnchorElement instanceof checks to getClassName; r=bz
MozReview-Commit-ID: Il2Ig98BHYP
2017-09-25 23:12:44 -07:00
Sebastian Hengst
e1664a3d4e Backed out changeset 9c0e1bf558e6 (bug 1401777) for failing browser_discovery.js. r=backout 2017-09-22 17:16:25 +02:00
Marco Bonardo
747ec544c2 Bug 1401851 - Skip masked favicons in ContentLinkHandler until we support them. r=nanj
MozReview-Commit-ID: 99du7AD11x7

--HG--
extra : rebase_source : 488da59a8dcd3c233d9dda38ccb2535b787e9985
2017-09-21 10:02:38 +02:00
Marco Bonardo
d088caae0a Bug 1401777 - don't use rich icons for tabs and remove crisp filters making hi res icons look blocky. r=Mardak
MozReview-Commit-ID: DcqxEme7hfx

--HG--
extra : rebase_source : edc6989f8e16a8dced8ed0903f5cbbcfe846a517
2017-09-21 10:21:50 +02:00
Jonathan Kingston
3d183512ad Bug 1400812 - Removal of containers drawer icon. r=baku,dao
MozReview-Commit-ID: JK2tB0ITRqY

--HG--
extra : rebase_source : 26f534fe05e898d8b33cff1b629a84a5c6ae4dff
2017-09-21 16:26:26 +01:00
Wes Kocher
733c3896f8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 9mZaPGxxjXd
2017-09-21 17:04:03 -07:00
Kershaw Chang
3ccf2143f7 Bug 1247843 - Part 2: Set request context ID for the channel used to load favicon. r=mak
This patch covers two cases when loading a favicon:
1. Get the request context ID of the document load group, when <link rel="icon"> is found in the page.
2. Use the top level document's request context ID when using the default favicon.
2017-09-20 20:09:00 -04:00
Michael Kaply
20d1c205fc Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 93ab53e43be09b0b24bb7c7fcd73c0010fc912a2
2017-09-07 19:38:55 -05:00
Sebastian Hengst
117f151830 Backed out changeset 7e8e47c972f4 (bug 1397975) for eslint failure at browser/components/extensions/ext-chrome-settings-overrides.js:124: windowTracker is not defined. r=backout 2017-09-21 22:56:07 +02:00
Michael Kaply
9b7d4d878e Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 674a8e9e4e3e0769a58ed919f268678cb5af48c7
2017-09-07 19:38:55 -05:00
Ed Lee
94e1a5a468 Bug 1401683 - Add section deduping, about:home telemetry and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: FYICIp1oVNf

--HG--
extra : rebase_source : 888f7d68a60ace3368875121d8976489ac337b58
2017-09-20 12:45:26 -07:00
Drew Willcoxon
132b4582e5 Bug 1380021 - Remove 5000ms timeout from browser_PageActions.js test. r=Gijs
MozReview-Commit-ID: EQBbKIdN235

--HG--
extra : rebase_source : 8cec83d6031841611a06abf7f0c4725615740fec
2017-09-19 16:29:50 -07:00
Wes Kocher
3baa8a7e6e Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Jonathan Kingston
9914e60252 Bug 1272304 - Add disabled state to screen sharing permission r=florian
MozReview-Commit-ID: LsZmQD5fWzW

--HG--
extra : rebase_source : 8bb8a901290ec651c23fbc8a69b323c501587920
2017-08-12 18:54:24 +01:00
Sebastian Hengst
18a3ca206d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-19 11:15:12 +02:00
Ehsan Akhgari
fecb44a276 Bug 1401028 - Remove the content-contextmenu observer notification; r=kmag
This was used by the add-on SDK.
2017-09-19 00:35:08 -04:00
Ed Lee
2ccefc0859 Bug 1400626 - Metadata not saved when opening multiple pages. r=ursula
MozReview-Commit-ID: 3am9OptKj4z

--HG--
extra : rebase_source : a65c2e77bbbee11b1f86273d1c485b79751bad76
2017-09-16 18:05:29 -07:00
Nan Jiang
dcc9a5e00a Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm

--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Marco Bonardo
45a04bb796 Bug 1401777 - don't use rich icons for tabs. r=Mardak
MozReview-Commit-ID: DcqxEme7hfx

--HG--
extra : rebase_source : a134d0cae3cad93d9a7c8285abc76c694ef7da33
2017-09-21 10:21:50 +02:00
Alessio Placitelli
5a6918d43b Bug 1400202 - Move URI/domain tests out of browser_UsageTelemetry.js. r=Gijs
MozReview-Commit-ID: LZYwQGhwEuN

--HG--
rename : browser/modules/test/browser/browser_UsageTelemetry.js => browser/modules/test/browser/browser_UsageTelemetry_domains.js
extra : rebase_source : c4a567b4b0fe7e7e115be3de55a3405ee13ef5a5
2017-09-15 15:12:15 +02:00
Mike Conley
2e651bf46f Bug 1399796 - UnsubmittedCrashHandler should never check for unsubmitted crash reports if disabled or suppressed. r=Felipe
Bug 1355492 moved the logic for scanning for unsubmitted crash reports out of the initialization
of UnsubmittedCrashHandler, and the initialization is what decided whether or not it was
appropriate to scan in the first place. This was done so that scanning could be deferred
until idle after first paint.

This patch makes it so that the scanning logic first ensures that the UnsubmittedCrashHandler
is actually enabled and not suppressed (which is calculated earlier).

I've also taken the liberty of adding a regression test.

MozReview-Commit-ID: 3Aihom5Q17R

--HG--
extra : rebase_source : 0430dc2464acfd7b648ba9d4658ab3fb01606570
extra : source : 593ef0951840f01384def383c2690cc90767a118
2017-09-15 09:25:04 -07:00
Sebastian Hengst
a772602f0e Backed out changeset 1256cadba71b (bug 1399796) for eslint failure at browser/modules/ContentCrashHandlers.jsm:675: Async method 'checkForUnsubmittedCrashReports' expected no return value. r=backout 2017-09-15 19:31:36 +02:00
Mike Conley
44acce0c1a Bug 1399796 - UnsubmittedCrashHandler should never check for unsubmitted crash reports if disabled or suppressed. r=Felipe
Bug 1355492 moved the logic for scanning for unsubmitted crash reports out of the initialization
of UnsubmittedCrashHandler, and the initialization is what decided whether or not it was
appropriate to scan in the first place. This was done so that scanning could be deferred
until idle after first paint.

This patch makes it so that the scanning logic first ensures that the UnsubmittedCrashHandler
is actually enabled and not suppressed (which is calculated earlier).

I've also taken the liberty of adding a regression test.

MozReview-Commit-ID: 3Aihom5Q17R

--HG--
extra : rebase_source : 2284ae29bc9c7eb9e457086adcd78b70dabb61fa
extra : source : 593ef0951840f01384def383c2690cc90767a118
2017-09-15 09:25:04 -07:00
Dão Gottwald
e9674fb263 Bug 1384686 - Use currentColor with a fill-opacity for toolbar button icons. r=ntim
MozReview-Commit-ID: G5G9i29KIac

--HG--
extra : rebase_source : c9d04802df66bff1e3848b3fa555a2d56ea897ab
2017-09-15 13:00:40 +02:00
Shane Caraveo
85604b0c2b Bug 1393150 prevent remote extensions when e10s is off, r=bz,kmag
MozReview-Commit-ID: HjLLa9vx2UW

--HG--
extra : rebase_source : d37088f31931a74ef2c40dc510794ebc5f4931ab
2017-09-14 15:12:45 -07:00
Ryan VanderMeulen
578923dcdc Bug 1367895 - Remove some obsolete nightly_only & release_or_beta test manifest annotations. r=mconley 2017-09-12 21:26:17 -04:00
Drew Willcoxon
c0de9ab9f5 Bug 1398375 - PageActions forgets about actions added after bug 1397501 landed. r=Gijs
MozReview-Commit-ID: IIAPvUSUMot

--HG--
extra : rebase_source : 724e067bb1d642dbb57d7120ed2b64a35d3b5bf7
2017-09-09 14:14:12 -07:00
Andrei Oprea
d4cd0423d0 Bug 1398080 - Fix intermittent failures related to about:home search. r=Mardak
MozReview-Commit-ID: 1SRe0a0nIDT

--HG--
extra : rebase_source : 944f1ff24d08f66e5f7960bf5ca48d9ac3adf020
2017-09-06 10:34:26 +03:00
Ed Lee
3098df1a89 Bug 1396609 - Add Highlights, smooth prefs and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: 1FTc9n2xxFZ

--HG--
extra : rebase_source : 5b411b1baebdcd320f9d551281cc749b30b4ef86
2017-09-08 07:43:37 -07:00
Sebastian Hengst
e52b8eb6e4 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: E6LQYNHgmiv
2017-09-08 10:53:26 +02:00
Drew Willcoxon
67fd8c9838 Bug 1397501 - Page actions added to the urlbar should always come before the bookmark star. r=Gijs
MozReview-Commit-ID: 6pVlr9d0crn

--HG--
extra : rebase_source : 0f83a8ea8ada71bc6ce88859d09fc93460abafa3
2017-09-07 16:44:34 -07:00
Wes Kocher
2ec453d1bb Backed out 2 changesets (bug 1379833) for android lint failures a=backout
Backed out changeset 8bbf531110dd (bug 1379833)
Backed out changeset c06bc2f7acd3 (bug 1379833)

MozReview-Commit-ID: 5iCJ3qsMC1Q
2017-09-07 16:25:50 -07:00
Andrew Swan
c6db1e511a Bug 1379833 Part 1: Move common code to format permission dialog strings to Extension.jsm r=zombie
MozReview-Commit-ID: LvyEy7x9TJg

--HG--
extra : rebase_source : 18fedb2b86ef6a1baf36b33caed3d3d3a7150147
extra : intermediate-source : e742aefc28987ea2e80fda91ff277343862d2b5a
extra : source : 90778683c3dd067754dfff4ca776e2c0f9ad7c3b
2017-08-02 13:15:30 -07:00
Sebastian Hengst
92ec846a75 merge mozilla-central to autoland. r=merge a=merge 2017-09-08 00:05:35 +02:00
Ursula Sarracini
49c86b15ec Bug 1393924 - Collect description and preview image and store it into moz_places r=mak,Mardak
MozReview-Commit-ID: 4ZPGMpz21S9

--HG--
extra : rebase_source : 1ec64bb45fe6a8f0d034bab7b7e6a5d3a81ce276
2017-09-07 16:51:02 -04:00
Wes Kocher
92f5cfcf34 Backed out changeset 60cb967ca47f (bug 1393924) for frequent failures in browser_meta_tags.js a=backout
MozReview-Commit-ID: EIkibRE8z3P
2017-09-07 12:32:58 -07:00
Ursula Sarracini
bb971f3f6a Bug 1393924 - Collect description and preview image and store it into moz_places r=mak
MozReview-Commit-ID: 8AgBMOodQop

--HG--
extra : rebase_source : f440e9497ee52a3b38e7bcf6dac7fee574f7885d
2017-09-07 11:05:03 -04:00
Will Wang
8955c23a64 Bug 1357114 - Move the taskbar refresh timer to idle dispatch. r=florian 2017-09-07 12:15:13 +08:00
Paolo Amadini
fe96089fe4 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P

--HG--
extra : rebase_source : 2e02e0a809d08ff26291a027b73a54668d6d5f9d
2017-09-06 13:09:27 +01:00
Sebastian Hengst
ec19d57d55 Backed out changeset 9018e3691e11 (bug 1378461) for failing browser-chrome's browser_oneOffContextMenu.js. r=backout 2017-09-07 00:26:17 +02:00
Michael Kaply
55f5d65f9d Bug 1378461 - Report other search engine names. r=mak, data-r=rweiss
--HG--
extra : rebase_source : bc3d6c3f8bc4931d3aa3e25801e89e94387afdc2
2017-09-06 15:11:25 -05:00
Drew Willcoxon
8128003b90 Bug 1395743 - Pocket button should come before bookmarks star button in urlbar. r=Gijs
MozReview-Commit-ID: 2KPSv3Fy8kn

--HG--
extra : rebase_source : 714c1ae1faebc08f62d9898dfc2a455c486c802d
2017-09-01 14:46:52 -07:00
Drew Willcoxon
7fb6175d88 Bug 1396053 - Page action urlbar button ordering can get messed up for new windows. r=Gijs
MozReview-Commit-ID: 1KwrS6tsnhO

--HG--
extra : rebase_source : 05f4a7e485757ca72fb56a1116e271ad3d6241bf
2017-09-04 23:58:27 -07:00
Andrei Oprea
7fef598305 Bug 1394777 - Add test for Activity Stream about:home search. r=Mardak
MozReview-Commit-ID: HYjjeGgqshl

--HG--
extra : rebase_source : 613c8ae29e2a6b3921bc9a00df32c8be2471f1cf
2017-09-01 14:37:04 +02:00
Ed Lee
c9c38bf7d6 Bug 1395642 - Add placeholders, finalized 57 strings and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 8x6ez3edtoQ

--HG--
extra : rebase_source : 55820ab30e0408b35e2849c16fafb8daec96cf90
2017-09-01 14:52:57 -07:00
Drew Willcoxon
73ad0ddaf3 Bug 1388835 - Hide page action urlbar buttons on about pages (about:preferences, etc.). r=Gijs
MozReview-Commit-ID: 9lid8VpPkJE

--HG--
extra : rebase_source : b57a37788f20345750d8daa5f73011bf6fac1ef8
2017-08-26 12:47:33 -07:00
Marina Samuel
e2f2aed4ac Bug 1390249: Add PingCentre to browser/modules. r=ursula
MozReview-Commit-ID: GtwWh0iAqlu

--HG--
extra : rebase_source : 3486145d65b837baacfa18c1f5bb1f5806573df8
2017-08-08 14:41:15 -04:00
Panos Astithas
6d7be02dd3 Bug 1181644 - Include local search suggestions in the awesomebar like all other access points. r=mak
MozReview-Commit-ID: 3RT3xXCA1lB

--HG--
extra : rebase_source : bf3666479f6c95c1a1a1d7b459213eec4636e8f9
2017-08-24 18:10:53 +03:00
Wes Kocher
829c7d45a7 Backed out changeset 25f127dff090 (bug 1390249) for browser_all_files_referenced.js failures a=backout CLOSED TREE
MozReview-Commit-ID: GRUTuGs7F4M

--HG--
extra : amend_source : afe4e3e3a2cd1701ec3d8e7da015ed17c78cbe5b
2017-08-24 14:22:00 -07:00
Wes Kocher
096bc1e19f Backed out changeset 69f853076a0f (bug 1381460) for failures in browser_UsageTelemetry_content.js a=backout
MozReview-Commit-ID: 3oQoIoK1uwD
2017-08-24 12:50:14 -07:00
Marina Samuel
57702c15fc Bug 1390249: Add PingCentre to browser/modules. r=ursula
MozReview-Commit-ID: GtwWh0iAqlu

--HG--
extra : rebase_source : 2e9ec8ed02055783420d457177f1914d248669cf
2017-08-08 14:41:15 -04:00
Andrei Oprea
63f279cbf5 Bug 1392324 - Add pref to enable Activity Stream on about:home. r=Mardak
MozReview-Commit-ID: 8aRn6vWWpF0

--HG--
extra : rebase_source : 109a378df1463df44720b34ffa53e37db0c97fb1
2017-08-23 10:37:33 +02:00
Andrei Oprea
e21c68b1df Bug 1381460 - Add telemetry search event for Activity Stream. r=Dexter data-r=bsmedberg
MozReview-Commit-ID: 2NdtjQ2Tsbo

--HG--
extra : rebase_source : fc9458c35dd5b2881fd61232040184f2583cc572
2017-08-22 15:35:52 +02:00
Kris Maglione
821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Francesco Lodolo (:flod)
95bcdec305 Bug 1391933 - Fix localization issues in Kill Add-on dialogs, r=kmag
Changes originally landed in bug 1356334:
* Removed SUMO link as a localizable string.
* Updated SUMO link: removed "en-US" from link and "cache" parameter.
* Use ordered placeholder instead of %S.
* Fix typo ("responsing").
* Use "extension" instead of "add-on" in DOM strings for consistency.
* Removed period from KillAddonScriptGlobalMessage, since it's a checkbox.

MozReview-Commit-ID: 5IFH2ruISZb

--HG--
extra : rebase_source : a0e84e5338b22e39c0f629c89b4d4b42b3d6bcbe
2017-08-20 10:52:32 +02:00
Sebastian Hengst
f575346459 Backed out changeset ed1101844eea (bug 1381460) for eslint failure at browser/modules/test/browser/browser_UsageTelemetry_content.js:148: 'getSearchCountsHistogram' is not defined. r=backout 2017-08-21 18:27:57 +02:00
Andrei Oprea
dafc6cbd15 Bug 1381460 - Add telemetry search event for Activity Stream. r=Dexter data-r=bsmedberg
MozReview-Commit-ID: GLbDNLglvDY

--HG--
extra : rebase_source : 2aee316d1b8354f67c7b3236f75f5e4b104f8705
2017-08-05 17:59:49 +02:00
Wes Kocher
c043502159 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7sFZmPUXSx6
2017-08-18 17:21:29 -07:00
Kris Maglione
267cf409eb Bug 1356334: Part 6 - Allow completely terminating a slow content script sandbox. r=billm
MozReview-Commit-ID: 5CDLHrAeuDt

--HG--
extra : source : d832803270ac831fd760356f36e16ef2a2d6d45b
extra : histedit_source : 11b535e7924700b86747f2855ef33c9707db719a
2017-04-16 14:01:16 -07:00
Kris Maglione
6aef819287 Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm
MozReview-Commit-ID: 2nyDmoiBKp4

--HG--
extra : source : b83aea215a82d44bec7443b69e60feef32f5fb2c
extra : histedit_source : 5a94f13db992c197ebb49fbb8e6a91bb97288fb6
2017-08-17 20:17:51 -07:00
Ryan VanderMeulen
3fe1f45009 Backed out 8 changesets (bug 1356334) for frequent test_ext_contentscript_async_loading.html failures on Android debug on a CLOSED TREE.
Backed out changeset 9c677ebfdda0 (bug 1356334)
Backed out changeset 16b49fd1c38a (bug 1356334)
Backed out changeset 4f5bcd2b2dc6 (bug 1356334)
Backed out changeset d832803270ac (bug 1356334)
Backed out changeset b83aea215a82 (bug 1356334)
Backed out changeset b2a663ffd144 (bug 1356334)
Backed out changeset 805c56806930 (bug 1356334)
Backed out changeset 7c880eca810a (bug 1356334)
2017-08-18 11:32:18 -04:00
Kris Maglione
bdbbf869dd Bug 1356334: Part 6 - Allow completely terminating a slow content script sandbox. r=billm
MozReview-Commit-ID: 5CDLHrAeuDt

--HG--
extra : rebase_source : 00f75b5be53e38d912b90b8fe777c5aa7ff135bf
2017-04-16 14:01:16 -07:00
Kris Maglione
2c6fe4f014 Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm
MozReview-Commit-ID: 2nyDmoiBKp4

--HG--
extra : rebase_source : 311d9ad486210e6d5fa3a06bb837d3597b9d2800
2017-08-11 22:11:25 -07:00
Gabriele Svelto
7a192b0fc6 Bug 1376795 - Print a message when quitting in response to a content crash; r=cyu
MozReview-Commit-ID: HluXiBtux23

--HG--
extra : rebase_source : 16c168c048ee14db93d4df66c6dfa761952c3577
2017-08-16 11:22:04 +02:00
Wes Kocher
366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher
9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Gabor Krizsanits
722233fed1 Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-16 13:00:22 +02:00
Carsten "Tomcat" Book
a478b0ef54 Backed out changeset adf5ed713e0d (bug 1376895) 2017-08-16 11:15:50 +02:00
Drew Willcoxon
3c27aee62b Bug 1385418 - Remove disabled pocket code for the toolbar button now that it's been replaced by the item in the page action panel. r=Gijs
MozReview-Commit-ID: 1wANxaD3QaV

--HG--
extra : rebase_source : f87650ab8c09f7a313cda9b7ec73ee1e20d6fe34
2017-08-16 10:13:15 -07:00
Lie Ryan
0270e19add Bug 1361855 - Filter TAB_COUNT histogram to record only on 5 minute intervals; r=Gijs
MozReview-Commit-ID: F5mI1eiffWN

--HG--
extra : rebase_source : 477b4c7df0c6c7dec0fad0648ff069037fc8e696
2017-06-16 12:48:19 +00:00
Lie Ryan
360b5ce3ad Bug 1361855 - Update tab count on page load and other URL changes; r=Gijs
MozReview-Commit-ID: gKqdEHI3M1

--HG--
extra : rebase_source : 39876c42493acc46733bb73a5a42cf7630983eb0
2017-06-11 19:28:20 +00:00
Lie Ryan
0eaa56dfd2 Bug 1361855 - Record TAB_COUNT histogram during TabOpen event; r=Gijs
MozReview-Commit-ID: 7ZHakmLZYHu

--HG--
extra : rebase_source : 739401bbf02cd39f9d78b4fd5db0460b3da88ba6
2017-06-09 18:40:24 +00:00
Lie Ryan
9b963ca9b0 Bug 1361855 - Add helper function BrowserUsageTelemetry:_recordTabCount(); r=Gijs
MozReview-Commit-ID: B6IRJ904bCr

--HG--
extra : rebase_source : e49aa411af378ff6778ffede57fe846b15c621fb
2017-06-11 19:27:02 +00:00
Lie Ryan
4102eb4e5b Bug 1361855 - Refactor browser/modules/test/browser/head.js:getHistogram() and getKeyedHistogram(); r=Gijs,MattN
MozReview-Commit-ID: 3GyNfmXm5g6

--HG--
extra : rebase_source : 192ab9b904886e1e371c9c60ac06e6618f9f683e
2017-06-09 17:27:39 +00:00
Gabor Krizsanits
a53261ca24 Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-15 14:05:17 +02:00
Blake Kaplan
4e6c08cc9c Bug 1375243 - Explicitly create a URI object to avoid sync URI fixups from the content process. r=Gijs
I'm not entirely certain that we need to pass the charset here, but it seems
like it might be needed based on my reading of the code. This also fixes a
test to mock a link node better (we must have an ownerDocument that will have
a characterSet).

MozReview-Commit-ID: 5L1dKocNX0h

--HG--
extra : rebase_source : ce768f8144b83ac8e1d78dd7e2a362bd253028fc
2017-08-10 17:19:35 -07:00
Gijs Kruitbosch
45e1742ade Bug 1390006 - fix up expectations of BrowserUITelemetry tests to match what devedition is doing, r=johannh
MozReview-Commit-ID: I03npiUHECK

--HG--
extra : rebase_source : bc5dcf02afb6236d5e943a6a7a94dc83ea683bbc
2017-08-14 12:17:34 +01:00
Jared Wein
baaaed0eec Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t

--HG--
extra : rebase_source : e862c01c1d71165ccd5d0932299c7f1fbdebe659
2017-08-08 11:56:49 -04:00
Mike Taylor
9130bd250b Bug 1373650. Disable Report Site Issue page action before running page action tests. r=adw
MozReview-Commit-ID: J5gAWBvw8td

--HG--
extra : rebase_source : 61823de48dcbc475aed6dee8e54ae20d4a1e0700
2017-08-09 14:53:53 -04:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Wes Kocher
27c54e1a5c Backed out changeset 99cf11868f47 (bug 1375243) for failures in browser_bug413915.js a=backout
MozReview-Commit-ID: 3JyS99zK3z2
2017-08-10 16:43:41 -07:00
Wes Kocher
3c7cc8f012 Backed out changeset d4cc2f1e5c48 (bug 1387077) for windows debug crashtest failures a=backout
MozReview-Commit-ID: kEMoucDCJY
2017-08-10 15:46:38 -07:00
Blake Kaplan
a7cc551058 Bug 1375243 - Explicitly create a URI object to avoid sync URI fixups from the content process. r=Gijs
I'm not entirely certain that we need to pass the charset here, but it seems
like it might be needed based on my reading of the code.

MozReview-Commit-ID: En9voHg8ti9

--HG--
extra : rebase_source : 8595baf25b650b2382f781f809a294af0a9c182c
2017-08-08 16:00:25 -07:00
Jared Wein
8880224f6b Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t

--HG--
extra : rebase_source : bef396788013f8ed60d72b01bf59e34e01d36209
2017-08-08 11:56:49 -04:00
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Gijs Kruitbosch
8b5c74561f Bug 1383009 - fix tests, BrowserUITelemetry and pocket to deal with the changes to the navbar, r=jaws
MozReview-Commit-ID: 9dZI5AI3kvP

--HG--
extra : rebase_source : 5be8516451149b34b1ac758436027fde10f623f5
2017-08-08 15:09:44 +01:00
Masatoshi Kimura
6815cee2bd Bug 1387790 - Remove [deprecated] decodeImageData from imgITools. r=tnikkel
MozReview-Commit-ID: GZBYTPanHH6

--HG--
extra : rebase_source : f6ccc1a661533f7bdba8bb33bc9a85855b51ffae
2017-08-06 10:54:14 +09:00
Ami
18023835cc Bug 1388283 - Combine two if statements; r=dao 2017-08-08 23:46:00 +02:00
Shane Caraveo
1fe5a3a13e Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y

--HG--
extra : rebase_source : 8f82fa6beabfa89916bbc97ec799c6e5d6b3ff18
2017-08-16 08:54:21 -07:00
Drew Willcoxon
e3ddbef6f2 Bug 1391082 - Page action panel ordering can get messed up. r=Gijs
MozReview-Commit-ID: 3hQLTLF3RU8

--HG--
extra : rebase_source : 7ed94560c20882ac85114df80d50221eb0e2b172
2017-08-17 16:40:35 -07:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Masatoshi Kimura
8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Sebastian Hengst
ca40024d84 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
45d5f35624 Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe

--HG--
extra : rebase_source : 20d6404db9f90cfcb7de03d4c527ad6ed79d49f8
2017-08-05 20:37:40 +02:00
Sebastian Hengst
d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Georg Fritzsche
e035cc0e52 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.

--HG--
extra : rebase_source : 639f9353a7e9383efe87f7f059ca83b56fb3b2a7
2017-08-03 07:03:00 -04:00
Gijs Kruitbosch
03a486b23d Bug 1354117 - fix telemetry and a number of tests that flip photon prefs, r=johannh
MozReview-Commit-ID: 7ynaIQm22eS

--HG--
extra : rebase_source : 703ceae16cbf521de2fa1689668c68f1f06f682a
2017-08-01 20:15:48 +01:00
UK992
04a7b8f7ca Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH

--HG--
extra : rebase_source : aef306464344009feb0e28295a0159cc9aab19ad
2017-07-30 20:39:55 +02:00
UK992
77670afaf3 Bug 1363485 - Update BrowserUITelemetry.jsm r=Gijs
MozReview-Commit-ID: Ah8SAEADJ7O

--HG--
extra : rebase_source : 17e861ebcc30e65dc4668909849bbaf68ec0b196
2017-06-30 16:22:06 +02:00
Drew Willcoxon
8626ed5a44 Bug 1363188 - Add an add/remove context menu to page actions in the urlbar. r=Gijs
MozReview-Commit-ID: 5rJWvID5OPd

--HG--
extra : rebase_source : 6074725a6136dcc674b2d09abed461dc7134536a
2017-08-02 09:31:07 -07:00
Sebastian Hengst
8b7fe50655 Backed out changeset 0b1f1dbc1b5a (bug 1363485) 2017-08-02 16:25:00 +02:00
Sebastian Hengst
4f5ee61f5b Backed out changeset f3e224764ca8 (bug 1363485) 2017-08-02 16:24:54 +02:00
Masatoshi Kimura
f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Rajesh Kathiriya
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
UK992
4d606a1288 Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH

--HG--
extra : rebase_source : aef306464344009feb0e28295a0159cc9aab19ad
2017-07-30 20:39:55 +02:00
UK992
15ee08dd2b Bug 1363485 - Update BrowserUITelemetry.jsm r=Gijs
MozReview-Commit-ID: Ah8SAEADJ7O

--HG--
extra : rebase_source : 17e861ebcc30e65dc4668909849bbaf68ec0b196
2017-06-30 16:22:06 +02:00
Drew Willcoxon
be54613bde Bug 1386337 - Disable Photon page actions when Photon is not enabled. r=Gijs
MozReview-Commit-ID: 3GrsscIxeyW

--HG--
extra : rebase_source : c227aa7c300d533b07d5776bb9cef758ee605c07
2017-08-01 20:37:22 -07:00
ahillier
2a610d7f14 Bug 1385090 - Pass Remote Pages instance from AboutNewTab on override r=mossop
MozReview-Commit-ID: 7oBsmIUpQXs

--HG--
extra : rebase_source : 820f50652c905aabe59ce7c3b248179608896157
2017-08-01 15:08:16 -04:00
Sebastian Hengst
6c737f2554 Backed out changeset ae8bd889b02d (bug 1385090) for eslint failures in AboutNewTab.jsm and RemotePageManager.jsm. r=backout on a CLOSED TREE 2017-08-01 20:55:03 +02:00
ahillier
7babb467c7 Bug 1385090 - Pass Remote Pages instance from AboutNewTab on override r=mossop
MozReview-Commit-ID: 7oBsmIUpQXs

--HG--
extra : rebase_source : 63df4d8968031e23fd1973bce56bc95bfe6705be
2017-08-01 14:22:40 -04:00
Sebastian Hengst
804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Drew Willcoxon
bafcf94652 Bug 1374477 - Add a new test for Photon page actions, along with some related code changes. r=Gijs
MozReview-Commit-ID: ADaEnEiGFvX

--HG--
extra : rebase_source : 0c7e8b3d5244eb9c3def5dac0c9a2bf3b830f4f7
2017-07-29 20:25:14 -07:00
Drew Willcoxon
73afb41a36 Bug 1374477 - Add PageActions.jsm for Photon page actions. r=Gijs
MozReview-Commit-ID: ASMQlPX5t1i

--HG--
extra : rebase_source : 8b8914d192b2e16f8d809fccb384507db22fe1c1
2017-07-29 20:24:51 -07:00
Marco Castelluccio
18ff02cf4e Bug 1357517 - Remove Preferences.jsm usage from LaterRun.jsm. r=jaws
--HG--
extra : rebase_source : bd04a0e601fad4625be36fd4769d90e1214cf29c
2017-07-28 21:20:27 +02:00
Carsten "Tomcat" Book
139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Ricky Chien
9352eae160 Bug 1384402 - Fix broken about:preferences link after reorg v2 r=jaws
MozReview-Commit-ID: LnQsKHhrDWI

--HG--
extra : rebase_source : 627f9dd1c5b02954c2a14ae3fe107de90218083f
2017-07-27 11:30:05 +08:00
Kershaw Chang
fc3aa4a532 Bug 1366822 - Part1: Modify NetworkPrioritizer to only update selected tab's window ID, r=dao
The original NetworkPrioritizer tracks each browser window and give the high priority to the selected tab.
This patch is based on the NetworkPrioritizer, but only send a notification of the current selected tab's content outer window ID to network module.
2017-07-27 23:41:00 +02:00
Jared Wein
109235b976 Bug 1384522 - Add automated test for TextZoomChange and the urlbar-zoom-button. r=dao
MozReview-Commit-ID: adhZCyStXz

--HG--
extra : rebase_source : 55bcfa284b7d23086a5cf5b7d5981654859a06cf
2017-07-26 07:30:03 -04:00
Carsten "Tomcat" Book
732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Sam Foster
fba4d7c501 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher
4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster
fef0cddea2 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Wes Kocher
823f61b3a6 Backed out changeset 7e0990dca8d1 (bug 1380065) at developer's request a=backout
MozReview-Commit-ID: HTBdXaEmagI
2017-07-24 16:13:28 -07:00
Sam Foster
3dd758f190 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
2017-07-13 14:30:38 -04:00
Jared Wein
7231c8759e Bug 1383662 - Return early from onZoomChange if the document being referenced by the TextZoomChange event is missing a documentElement since we will not be able to find the related browser for the document in this case. r=florian
MozReview-Commit-ID: 34Ium8oqZmb

--HG--
extra : rebase_source : ba648ff412ba20e94a30d64d0811f7e375d7cd26
2017-07-24 11:16:37 -04:00
Andrew Swan
a806967d80 Bug 1379833 Part 1: Move common code to format permission dialog strings to Extension.jsm
MozReview-Commit-ID: LvyEy7x9TJg

--HG--
extra : rebase_source : 02e748210100e2f3b0a08b77746d0171f4085149
extra : intermediate-source : e742aefc28987ea2e80fda91ff277343862d2b5a
extra : source : 90778683c3dd067754dfff4ca776e2c0f9ad7c3b
2017-08-02 13:15:30 -07:00
Perry Jiang
491c7f5d8c Bug 1393582 - Remove CastingApps support for Firefox desktop. r=felipe
MozReview-Commit-ID: B2bqiNXibPP
2017-08-25 14:03:47 -07:00
Perry Jiang
15d0cf7b73 Bug 1360406 - Remove context menu sync IPC. r=felipe
MozReview-Commit-ID: 1oCwC283Suv
2017-08-21 15:42:37 -07:00
Michael Kaply
84dc410d2d Bug 1378461 - Report other search engine names. r=mak, data-r=rweiss
--HG--
extra : rebase_source : 0b3088af1691db055a13feeff86041e6ab6346b2
2017-09-06 17:36:07 -05:00
Wes Kocher
55d0ef80b9 Backed out changeset 49c4c4a3fb81 (bug 1380065) for failures in browser_aboutStopReload.js a=backout CLOSED TREE
MozReview-Commit-ID: Hxfpijgy3dL

--HG--
extra : amend_source : 588ff0272fac30b78726cf2e216c4f0294c2f3ab
2017-07-21 17:01:30 -07:00
Sam Foster
d169f11f91 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : a83177668dc2035ff5c6d92a5f93227190583229
2017-07-13 14:30:38 -04:00
Mike Conley
63848b9f96 Bug 1378036 - TabCrashHandler should key browsers to dumpIDs on permanentKeys, and fallback to the browser itself if no permanentKey exists. r=Felipe
MozReview-Commit-ID: 45JRjPIAFE8

--HG--
extra : rebase_source : 7d1c6b0385744abe3d26da5d7ed4df3fc313fede
2017-07-17 18:27:16 -04:00