Commit Graph

2323 Commits

Author SHA1 Message Date
Chris Pearce
4c40136611 Bug 1457048 - Fix permissions tests to accomodate autoplay-media. r=johannh
MozReview-Commit-ID: E0BPcXPox7p

--HG--
extra : rebase_source : 54894acffa355de817783ae7ed5b6dadeea5b2f9
2018-05-04 13:49:14 +12:00
Chris Pearce
ed8a27f065 Bug 1457048 - Ensure origins with autoplay-media exact permission can autoplay. r=bryce,johannh
Sites which are whitelisted should be allowed to autoplay audible media.
So check whether a HTMLMediaElement's owner doc's principal has an exact
"autoplay-media" permission. This ensures whitelisted origins can autoplay,
but sub-origins of whitelisted origins need their own permission.

MozReview-Commit-ID: 2IO5KIyplEa

--HG--
extra : rebase_source : 4a974aba0533bfbd5e9bb4c4c11d77d17a81db6d
2018-04-30 17:40:50 +12:00
Doug Thayer
00e503831d Bug 1176019 - Cache layers of background tabs r=mconley
We maintain a simple LRU cache of tab layers by setting their
docShellIsActive = false with preserveLayers(true). Once they
are pushed out of the cache by more recently used tabs, their
layers are discarded.

Luckily most of the complexity of this could be contained in
the AsyncTabSwitcher - the one change that had to sit outside of
that was moving the aTab.closing = true earlier in the removeTab
call, so that we could use that information to eagerly evict tabs
from the cache. This was to address a leak in a few tests on try.

MozReview-Commit-ID: 2E3uU8LEYkD

--HG--
extra : rebase_source : 1de7c196b14b2f3a368bfbae970808cbf49e6e36
2018-04-16 15:35:41 -07:00
Narcis Beleuzu
2b99556758 Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
Olli Pettay
b1f43848f2 Bug 1441647 - update contextmenu code to deal with Shadow DOM, r=jaws
--HG--
extra : rebase_source : 127543b4efe1f7c2ee6712a259ef4f2acc7b2c6d
2018-05-04 19:02:44 +03:00
Dão Gottwald
51eab9cbe5 Bug 1183135 - Update tab position attributes when a tab becomes visually selected rather than synchronously when switching tabs. r=mconley
MozReview-Commit-ID: Lvf0edXlwTu

--HG--
extra : rebase_source : ca5899905428ce3d295eeb0211f02b5799c908f2
2018-05-03 13:32:28 +02:00
arthur.iakab
9befdc9927 Backed out changeset ee1e498e3c43 (bug 1183135) for failing browser chrome tests on browser/base/content/test/performance/browser_tabclose.js a=backout 2018-05-03 13:45:10 +03:00
Dorel Luca
48f71154c5 Backed out 2 changesets (bug 1457048) for multiple failures. CLOSED TREE
Backed out changeset a5d71f8bf413 (bug 1457048)
Backed out changeset cd70fc188bc8 (bug 1457048)
2018-05-03 08:39:36 +03:00
Chris Pearce
d7eacf6ae5 Bug 1457048 - Ensure origins with autoplay-media exact permission can autoplay. r=bryce,johannh
Sites which are whitelisted should be allowed to autoplay audible media.
So check whether a HTMLMediaElement's owner doc's principal has an exact
"autoplay-media" permission. This ensures whitelisted origins can autoplay,
but sub-origins of whitelisted origins need their own permission.

MozReview-Commit-ID: 2IO5KIyplEa

--HG--
extra : rebase_source : 4d9afdec0caa4a82b53bedfd645f259a5c760e4d
2018-04-30 17:40:50 +12:00
Dão Gottwald
891e47b838 Bug 1183135 - Update tab position attributes when a tab becomes visually selected rather than synchronously when switching tabs. r=mconley
MozReview-Commit-ID: LGOk50fNaXe

--HG--
extra : rebase_source : 835411c7e88a48506a2652581443d15122025c52
2018-04-28 19:19:59 +02:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Kris Maglione
a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Andrea Marchesini
3abafd2746 Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin 2018-04-24 16:19:51 +02:00
Dorel Luca
3409e8f9fb Merge mozilla-central to autoland
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Boris Zbarsky
45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Bogdan Pozderca
b7044b1ab1 Bug 1418605 - The toolbar, toolbar_text, toolbar_field, toolbar_field_text, toolbar_field_border properties should apply to the findbar r=jaws,mconley,ntim
MozReview-Commit-ID: 821d7kR41mJ

--HG--
extra : rebase_source : d0f6e9308b261806a014fcc834c753f3a892fbbc
2018-02-10 17:24:50 -05:00
Cosmin Sabou
4595d43d3a Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
2018-04-20 01:29:10 +03:00
Jan Henning
32d9c41e41 Bug 1415342 - Part 4 - Document differences between desktop and mobile Sanitizer implementations. r=asuth
MozReview-Commit-ID: BVSf85k1jHL

--HG--
extra : rebase_source : 8de08fefb0bdc231804668fa987310e9a9371a99
2018-04-12 20:26:59 +02:00
Jan Henning
404003707f Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8
The OfflineAppCacheHelper was apparently introduced after the Sanitizer had been
forked for Fennec and so far nobody bothered to use it there as well.

MozReview-Commit-ID: 42Uk5hfvf9y

--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
extra : rebase_source : 77e542dbbdfea62b918b89b4c0799be7e3f89ef9
2018-04-12 19:16:02 +02:00
Cosmin Sabou
75fd9783c8 Backed out changeset 047536b1a60a (bug 1448918) for browser chrome failures on browser_urlbar_blanking.js. CLOSED TREE 2018-04-19 21:52:24 +03:00
Erica Wright
b8d83d9bf4 Bug 1448918 - Create about:welcome page in preperation for firstrun migration. r=dmose
MozReview-Commit-ID: CoXu6R20GhM

--HG--
extra : rebase_source : 3155bc18a5071e554de325495820b4476c0ef5ce
2018-04-13 14:39:38 -04:00
Mike de Boer
43e19414f5 Bug 1034036 - Part 3: start tracking windows activations to always be aware of their respective order. This allows consumers to iterate over a set of windows in order of appearance (e.g. z-order). r=dao
Tests are also added here for the legacy `getTopWindow` method to guard against
basic regressions.
We now start tracking browser windows right after the DOMContentLoaded event, which
is earlier than before. We now also assume that any newly tracked window has the
focus initially, which is closer to the nsIWindowMediator semantics.

MozReview-Commit-ID: 6QYJqA1tMPC

--HG--
extra : rebase_source : e04e567cf31d1a10e78647d75403b700bc65136b
2018-04-11 12:06:03 +02:00
Mike de Boer
ecf63670d4 Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
MozReview-Commit-ID: EvgAhq4uR3a

--HG--
extra : rebase_source : 8fd8040cd1eee94675d4e9ca0c8ccc60db9e1bf7
2018-04-11 12:05:59 +02:00
Mike de Boer
d16ee58ded Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu

--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Dale Harvey
80d9ecb796 Bug 1449338 - Show currently selected engine in newtabs search input. r=mikedeboer
MozReview-Commit-ID: GTsx9dReoxS

--HG--
extra : rebase_source : f44ae3d3eed6c5bbb6fc055fa0cdb3067b7841a1
2018-04-17 13:30:54 +01:00
Noemi Erli
3ef9e9fbe3 Backed out changeset 413f4d055ade (bug 1449338) for ES Linting opt failure in /builds/worker/checkouts/gecko/browser/base/content/contentSearchUI.js on a CLOSED TREE 2018-04-19 11:35:30 +03:00
Dale Harvey
9a64d286fc Bug 1449338 - Show currently selected engine in newtabs search input. r=mikedeboer
MozReview-Commit-ID: GTsx9dReoxS

--HG--
extra : rebase_source : 557d8d5df14dbbaab4195034fcdd4f3a54ef91d0
2018-04-17 13:30:54 +01:00
Noemi Erli
6b88e0ee99 Backed out 4 changesets (bug 1415342) for bc failures in browser/components/preferences/in-content/tests/siteData/browser_clearSiteData.js on a CLOSED TREE
Backed out changeset 36ff321fc1b8 (bug 1415342)
Backed out changeset d7e30b8499cd (bug 1415342)
Backed out changeset 4913f1571ece (bug 1415342)
Backed out changeset 25d665693e38 (bug 1415342)

--HG--
rename : toolkit/modules/offlineAppCache.jsm => browser/modules/offlineAppCache.jsm
2018-04-19 10:37:30 +03:00
Jan Henning
abe4e683f7 Bug 1415342 - Part 4 - Document differences between desktop and mobile Sanitizer implementations. r=asuth
MozReview-Commit-ID: BVSf85k1jHL

--HG--
extra : rebase_source : cee8a1ee51ff0b28fdfbaaa1fa95e508a06affef
2018-04-12 20:26:59 +02:00
Jan Henning
14468b6342 Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8
The OfflineAppCacheHelper was apparently introduced after the Sanitizer had been
forked for Fennec and so far nobody bothered to use it there as well.

MozReview-Commit-ID: 42Uk5hfvf9y

--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
extra : rebase_source : b7010f732ca13583fd2b2c62102b4ea1c13a4cc6
2018-04-12 19:16:02 +02:00
Bogdan Tara
6cb59b5809 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-19 01:46:00 +03:00
Johann Hofmann
11d031b2f8 Bug 1252998 - Use hosts instead of principals to delete ServiceWorkers in the SiteDataManager. r=baku
site.principals is not always guaranteed to contain elements, only if
the site has quota storage or AppCache. This patch simplifies the function
to use hosts instead.
2018-04-12 11:24:07 +02:00
Andrea Marchesini
231aae58dd Bug 1252998 - StorageActivityService - part 5 - nsIStorageActivityService::getActiveOrigins, r=asuth 2018-04-18 18:19:13 +02:00
Andrea Marchesini
c3b61ca1bf Bug 1252998 - StorageActivityService - part 4 - Introduce ServiceWorkerCleanUp.jsm to clean up ServiceWorker data, r=asuth 2018-04-18 18:19:12 +02:00
Kris Maglione
0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Marco Bonardo
dbde0c7df9 Bug 1453580 - Remove promiseFaviconLinkUrl and fix its consumers. r=Gijs
MozReview-Commit-ID: GrY8s3l71Mp

--HG--
extra : rebase_source : 6f5ec9404f12eb988501df56c7ee264ade2b054c
2018-04-16 18:24:06 +02:00
gilad
632711f514 Bug 1445895 - Replace BrowserUtils.makeURI with Services.io.newURI in Feeds.jsm. r=johannh
--HG--
extra : rebase_source : eea6e8f5971c5ac4f593648b724823a773dec899
2018-04-17 00:22:02 +03:00
Andrew Swan
68d8f5e967 Bug 1331521 Remove about:newaddon r=kmag
MozReview-Commit-ID: 6OFXGYEmSmy

--HG--
extra : rebase_source : 80ee72c190a2b2d06b895ad5bda22cc9b5849b01
2018-04-16 14:11:10 -07:00
Marco Bonardo
257c0cb28b Bug 1452890 - Move address bar right-click selection from 'enterSelection' to its own histogram bucket. r=adw
MozReview-Commit-ID: AcP7Spl0sdZ

--HG--
extra : rebase_source : 9de517c50674956526c0de4bc91fbf2ab6e02afc
2018-04-13 16:11:19 +02:00
Dale Harvey
5aeada7d94 Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange
MozReview-Commit-ID: sJXl2If9Ou

--HG--
extra : rebase_source : b88ff89e1d28bab28c3575c2f7f30c91bd584aea
2018-03-12 09:16:51 +00:00
Michael Kohler
4c381de5f6 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD

--HG--
extra : rebase_source : 0ba78e764ea2c77ecaafcd35a502940ea1a37ac2
2018-04-09 20:46:45 +02:00
Jan-Ivar Bruaroey
6a472b4cb4 Bug 1452031 - Close fingerprint concern by removing code no longer needed to handle NotFoundError spec case. r=pehrsons
MozReview-Commit-ID: KVQjO18PL0I

--HG--
extra : rebase_source : 3e8f94c486bad728c5c54b8ea3f148f452ea2b07
2018-04-10 01:49:15 -04:00
Boris Zbarsky
b43b5abed4 Bug 1453345 part 5. Remove pointless JS implemenations of QI to nsIDOMEventListener. r=smaug
MozReview-Commit-ID: Db0v6GZ0deo
2018-04-12 00:03:45 -04:00
Boris Zbarsky
409641ea37 Bug 1452819. Use the right URI when getting data from the image cache for the "Save Image As..." context menu options. r=dao
MozReview-Commit-ID: zZggyJ6y7n
2018-04-11 10:27:01 -04:00
Kris Maglione
b5c2235a0f Bug 1382953: Fix permission prompts in about:addons options browsers. r=aswan
MozReview-Commit-ID: At5F5cqGSWu

--HG--
extra : rebase_source : 2bce19447ae0bd4b6cd8f51b16f1e7fabe59d6c8
extra : amend_source : 911e5b1f2d7ee501d08918c6191a79217f0d0b6f
2018-04-07 20:38:21 -07:00
Yura Zenevich
442d872d5b Bug 1428427 - add 'Inspect Accessibility Properties' context menu item when right clicking on content element. r=jdescottes, mixedpuppy
MozReview-Commit-ID: 4aav1f6eslQ
2018-04-10 10:52:58 -04:00
Jonathan Kingston
ff73ac0338 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja

--HG--
extra : rebase_source : 29d337e111d82e9c5729b5a59e1a16d06e67774c
2018-02-21 14:28:48 +00:00
Andreea Pavel
26f640b36b Backed out 4 changesets (bug 1366808) for Windows GPU leakchecks on a CLOSED TREE
Backed out changeset 23f60e5acaa2 (bug 1366808)
Backed out changeset bf2262b6aca8 (bug 1366808)
Backed out changeset 1fc82af3a155 (bug 1366808)
Backed out changeset 0649f0d9884b (bug 1366808)
2018-04-10 05:11:36 +03:00
Stephen A Pohl
3dc231c02e Bug 1366808: Fix Eslint failures on inbound. CLOSED TREE r=me 2018-04-09 21:08:48 -04:00
Stephen A Pohl
73071eec8f Bug 1366808: Add telemetry probe for about:restartrequired page. r=jimm 2018-04-09 20:16:38 -04:00
Stephen A Pohl
b40a23754c Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz 2018-04-09 20:16:31 -04:00
Dão Gottwald
f8110c1b6a Bug 1451709 - Remove code for the "Restore Tabs From Last Time" button in the tab bar. r=mikedeboer
MozReview-Commit-ID: JMmkE6axBBK

--HG--
extra : rebase_source : 2449c9fd6fe8f59280dbdfe5a1a55bcd2867a665
2018-04-05 14:02:55 +02:00
arthur.iakab
a63676a8df Merge mozilla-central to autoland 2018-04-06 01:14:00 +03:00
Marco Castelluccio
dbeabc37e3 Bug 1423667 - Reenable some tests that were disabled because of a Clang update. r=jmaher
--HG--
extra : rebase_source : 1ace11df58e858905e9d53c32d9cf8e1f75046d4
2018-04-05 09:20:47 +01:00
Jan-Erik Rediger
2c31418dd5 Bug 1443609 - Remove legacy components from UITelemetry r=chutten
Reporting was already disabled in Bug 1443605.

This keeps the `enabled` getter as a way to detect if it is enabled, in use in BrowserUITelemetry only.
This keeps `addEvent` and related methods, as they are still in use on Android.
2018-04-04 07:39:00 +03:00
Johann Hofmann
e8482a9496 Bug 1348223 - Part 2 - Move SiteDataManager.jsm to components and improve functionality for getting and removing by host. r=florian
This commit is in preparation of using SiteDataManager in the page info
window to display site data information for a individual hosts.

MozReview-Commit-ID: 3YmUZInvoAT

--HG--
rename : browser/components/preferences/SiteDataManager.jsm => browser/modules/SiteDataManager.jsm
extra : rebase_source : 2d48740a023f63a2ec7af06f4510ab9cbb91fc66
2018-03-22 17:48:13 +01:00
Mike Conley
4e10ada3b9 Bug 1447193 - Remove all displayport suppression logic from AsyncTabSwitcher. r=dthayer
It looks like TabChild::RenderLayers already does the work of suppressing the displayport,
so all of the suppression and bookkeeping that AsyncTabSwitcher is doing is superfluous
and probably opening us up to weird graphical glitches (like the one associated with this
bug).

MozReview-Commit-ID: 5qIVguSMsnr

--HG--
extra : rebase_source : 59e72715791cb8aa25310e48b5a02e1b86762543
2018-03-23 16:10:17 -04:00
Brad Werth
1de7e2d845 Bug 1451115 Part 1: Make UpdateZoomUI not throw an exception if gBrowser is not set on window. r=mossop
MozReview-Commit-ID: 6N51Dqxt3jk

--HG--
extra : rebase_source : 55813db8d6dbab8cc53912015256714b0577db2e
2018-04-03 13:36:24 -07:00
Dão Gottwald
bf9d434a13 Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
MozReview-Commit-ID: 8spvIOus9ai

--HG--
rename : browser/components/sessionstore/nsSessionStore.manifest => browser/components/sessionstore/nsSessionStartup.manifest
extra : rebase_source : fc353af87bd620b7039d3e6241cc60c3788e3da6
2018-04-05 16:30:48 +02:00
Michael Kelly
704cdc9a8f Bug 1450156: Do not wipe out tags in request template. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D834

MozReview-Commit-ID: 7WWtyz4PakT

--HG--
extra : rebase_source : a2e61970ad7ab4ccb7846e479b7ab761d18533b2
extra : amend_source : 5efe0e081d4a0bca2e29719339e1e51879af5fb3
2018-04-03 09:54:02 -07:00
Michael Kelly
0c559849e3 Bug 1450153: Count extension errors separately in keyed scalar. r=Gijs
Also adds resource://devtools to the whitelist of reported paths for the
scalar.

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

MozReview-Commit-ID: BiAyoTQsWxx

--HG--
extra : rebase_source : ce9e81a153a2c17ebfbb0c894821e7684c547a9a
extra : amend_source : 4ad84421c0b3334d218b2f6928290f95edffa351
2018-04-03 09:52:39 -07:00
Michael Kelly
6e60c098ef Bug 1449367: Use 100% sample rate for devtools error reports. r=jryans
Differential Revision: https://phabricator.services.mozilla.com/D835

MozReview-Commit-ID: IgtFosj2mii

--HG--
extra : rebase_source : c1090924be94df402c4761d5cf5bbf3aa59c24e3
extra : amend_source : 94236a6405c1b716107c1e91748c106f4d0a3a6b
2018-04-02 13:22:45 -07:00
Kris Maglione
0b49219fad Bug 1449200: Return icon URL for all sizes when processing an icon string. r=Gijs
The CSS for page action icons doesn't handle fallback when only one variable
is defined, so for widgets that don't define their icons using CSS, we always
need to provide both.

MozReview-Commit-ID: 7UgMSVS3W6K

--HG--
extra : rebase_source : d8e38c256b45efecf04f1e20b5fcc6024e839f25
2018-03-29 17:01:06 -07:00
Narcis Beleuzu
2d0803379f Merge inbound to mozilla-central. a=merge 2018-03-31 00:49:19 +03:00
Shane Caraveo
cfe18d0c3e Bug 1446913 - document and fix event object usage, r=felipe 2018-03-30 12:04:40 -05:00
Ciure Andrei
5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Michael Kelly
8f726c448f Bug 1449312: Include isExtensionError in all reports. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D820

MozReview-Commit-ID: 8b8JFWaCMHp

--HG--
extra : rebase_source : 49c817d3342c65e079a3361c2ea54c5e1f98ecbb
extra : amend_source : 5af7a91bdc642b8d0518801cca74e5c88ec94fb7
2018-03-29 11:11:23 -07:00
Gurzau Raul
b85716429c Backed out changeset e3613e0e4fe2 (bug 1447193) for failing on tests/mochitest/test_mousecapture.xhtml on a CLOSED TREE 2018-03-29 04:51:04 +03:00
Mike Conley
6424c99346 Bug 1447193 - Remove all displayport suppression logic from AsyncTabSwitcher. r=dthayer
It looks like TabChild::RenderLayers already does the work of suppressing the displayport,
so all of the suppression and bookkeeping that AsyncTabSwitcher is doing is superfluous
and probably opening us up to weird graphical glitches (like the one associated with this
bug).

MozReview-Commit-ID: 5qIVguSMsnr

--HG--
extra : rebase_source : 35f944a324415401c4a28ed0006baf9361ef73c8
2018-03-23 16:10:17 -04:00
Drew Willcoxon
e5e43736bc Bug 1221539 - Add search engine discovery to the page action menu. Part 2: Add the new action. r=Gijs
MozReview-Commit-ID: DEEZBwmV0JD

--HG--
extra : rebase_source : 71b68621198d72c069f505d922e92ed357eefe8b
2018-03-28 11:28:20 -07:00
Drew Willcoxon
36b7f691ee Bug 1221539 - Add search engine discovery to the page action menu. Part 1: Page action changes. r=Gijs
MozReview-Commit-ID: DGy3sBibpRW

--HG--
extra : rebase_source : b2c60c94707a0fd950c01fc7c5976888f4481c8a
2018-03-28 11:28:13 -07:00
Csoregi Natalia
3854319e77 Backed out changeset de19108477c7 (bug 1447193) for not fixing the issue- requested. CLOSED TREE 2018-03-28 21:16:32 +03:00
Mike Conley
f0500e5bda Bug 1447193 - Unsuppress display ports immediately after the tab switch has completed. r=dthayer
We suppress the displayport when requesting a tab or warming it, in order to reduce
the amount of work that the content process needs to do to paint it (we paint just
the displayport area and nothing around it). Afterwards, we unsuppress the displayport
so that we can paint the surrounding areas when scrolling. We normally do this
unsuppression in destroy(), but with tab warming, that unsuppression can happen
after a few seconds (after the tab warming eviction timeout).

This results in users seeing checkerboarding sometimes, where the tab they're looking
at is still suppressing its displayport and waiting for the timeout to complete.

This patch updates the AsyncTabSwitcher to unsuppress the displayport for a tab as
soon as the tab has been switched to, instead of waiting for the timeout.

Out of an abundance of caution, we still unsuppress displayports for tabs that
never get to enter the STATE_LOADED state, although that really should never
happen.

MozReview-Commit-ID: 5qIVguSMsnr

--HG--
extra : rebase_source : 90c0d617ac3d43a8d4513e864ba2f0a3228a5582
2018-03-23 16:10:17 -04:00
Michael Kelly
e79e6e14a3 Bug 1448185: Use appBuildId as release for browser error reports. r=Gijs
Release is already included in the context as browser info and doesn't need to
be kept as a tag like appBuildId was.

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

MozReview-Commit-ID: IGzT3C3HSG

--HG--
extra : rebase_source : eda48fdf022f19bc681002635f893b2a726836f8
extra : amend_source : 55f7d9fe77af586863576ee9b3ed6bc4fae6d639
2018-03-27 13:03:49 -07:00
Tim Nguyen
f92cfc19f5 Bug 1417883 - Refactor theme code to have processing code in the variable map. r=dao 2018-03-27 13:40:06 +02:00
Dylan Stokes
a538a161a1 Bug 1417883 - Allow theming autocomplete popups. r=ntim, jaws 2018-02-11 12:32:33 -05:00
Bogdan Tara
39d9b048b9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-27 12:16:26 +03:00
Bogdan Tara
302a55b534 Merge inbound to mozilla-central. a=merge 2018-03-27 12:12:57 +03:00
Zhengyi Lian
7b7b462b5d Bug 1423757 - Allow theming toolbar fields focused state r=jaws,ntim
MozReview-Commit-ID: 9XrN64FTMA4

--HG--
extra : rebase_source : 8c585eb710c913adcaea5b29360292db8893b670
2018-03-07 02:59:00 -05:00
Kris Maglione
d47023da3b Bug 1446686: Follow-up: Fix pending permission prompts when prompt is dismissed. r=bustage
MozReview-Commit-ID: 35tW39omECd

--HG--
extra : rebase_source : e0b2a229f1f4a2e4bd452c233469e3fd92f9b3ce
2018-03-26 19:06:00 -07:00
Kris Maglione
1f5d2b4db6 Bug 1446686: Part 3 - Fix discovery pane and drag-and-drop tests which rely on legacy extensions. r=aswan
This removes some discovery pane tests which are obsolete. The discovery pane
page that it tests uses InstallTrigger, rather than mozAddonManager as we use
in production, and fails when used with WebExtensions.

The other tests have been updated to use WebExtensions, and some relevant
PopupNotifications bugs have been fixed so that they actually pass.

MozReview-Commit-ID: 1g0n73vhncp

--HG--
rename : toolkit/mozapps/extensions/test/browser/addons/browser_dragdrop1/install.rdf => toolkit/mozapps/extensions/test/browser/addons/browser_dragdrop1/manifest.json
rename : toolkit/mozapps/extensions/test/browser/addons/browser_dragdrop2/install.rdf => toolkit/mozapps/extensions/test/browser/addons/browser_dragdrop2/manifest.json
rename : toolkit/mozapps/extensions/test/browser/addons/browser_dragdrop_incompat/install.rdf => toolkit/mozapps/extensions/test/browser/addons/browser_dragdrop_incompat/manifest.json
extra : rebase_source : 0334268d0476227d084fb81bc8455deb186e6bd1
2018-03-17 17:42:51 -07:00
Mike Conley
fc0c43807a Bug 1450170 - Add Nightly-only observer notification that fires anytime a tab switch spinner is displayed. r=dthayer
MozReview-Commit-ID: 3S34IVb9BEf

--HG--
extra : rebase_source : 084a98ece1ffa0d32109811d700f80e3e2b1eaf0
2018-03-29 22:37:07 -04:00
Kirk Steuber
4f68045c04 Bug 1428948 - Add policies to modify the available search engines r=Felipe,florian
This adds a policy with the capability of adding search engines, choosing the default search engine, and blocking the installation of new search engines.

Additionally, fixes the messages for errors reported by MainProcessSingleton.addSearchEngine so that the offending URL is printed rather than "[xpconnect wrapped nsIURI]".

MozReview-Commit-ID: HuLT15Rnq0r

--HG--
rename : browser/components/search/test/testEngine.xml => browser/components/enterprisepolicies/tests/browser/opensearchEngine.xml
extra : rebase_source : 7815f5d03395decc39ee2657ba05c071dd332abb
2018-03-02 12:11:16 -08:00
Brindusan Cristian
2c121fc11d Merge inbound to mozilla-central. a=merge 2018-03-26 00:44:42 +03:00
Kiran
78451d10e0 Bug 1447956 - Use this.tabbrowser.tabContainer instead of this.tabbrowser.tabbox.tabs. r=dao 2018-03-25 19:49:00 +02:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Tim Nguyen
5e399b2f06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : 31166bca511e5bc16ffff2acab2e3295d9f6079c
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
27703664b0 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tim Nguyen
78b296ff06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : e44817bd271a3477fdd54f405beb1b5096a032d0
2018-03-25 13:59:50 +02:00
Prathiksha
eb3768c868 Bug 1443781 - Eliminate innerHTML usage in contentSearchUI.js. r=johannh
MozReview-Commit-ID: 3JmZF6dR0jZ

--HG--
extra : rebase_source : fb6474f138db7087f24283eb661eaefece3a273f
2018-03-18 00:13:14 +05:30
Daniel Almeida
673edf8ee3 Bug 1447950 - use a switch statement in place of chained if-else in AsyncTabSwitcher.handleEvent. r=dao 2018-03-23 19:00:01 +01:00
Dão Gottwald
1b366a1008 Bug 1448102 - Move tabWarmingEnabled, tabWarmingMax, tabWarmingUnloadDelay properties from gBrowser to AsyncTabSwitcher.jsm. r=mconley
MozReview-Commit-ID: 2pI1aDUxWFw

--HG--
extra : rebase_source : ed6f75031f47456e91ed419c939b2e29ecc58526
2018-03-22 19:36:00 +01:00
Andreea Pavel
4dc16ea693 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-22 11:34:04 +02:00
Boris Zbarsky
bf1ef0641d Bug 1444143 part 10. Remove unnecessary QIs to Ci.nsIFrameLoader in JS. r=mystor
nsFrameLoader is on WebIDL bindings, so those QIs are no-ops anyway, unless the given object is no a frameloader to start with.

MozReview-Commit-ID: IPiW70H5NPc
2018-03-21 22:43:17 -04:00
arthur.iakab
24af737f4c Merge inbound to mozilla-central. a=merge 2018-03-22 01:46:39 +02:00
Marco Bonardo
36e5d86043 Bug 1446951 - 3 - Make AsyncExecuteLegacyQueries singular. r=standard8
MozReview-Commit-ID: KyYw92tzyN6

--HG--
extra : rebase_source : 0c31233d251c7b0062047ab12b52d25fbc9510f5
2018-03-16 18:10:09 +01:00
Michael Kelly
2893d7699c Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : rebase_source : f4294437829b4fa0e86bdc222eb747165dc7b0f7
extra : intermediate-source : 882d329ad652edabf01be8bdf16e38915bbaba55
extra : source : a760e111f2f157fbb18e66117f026ca298d4343e
2018-03-16 13:24:39 -07:00
Peter Van der Beken
f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Tim Nguyen
3bb39714db Bug 1449765 - Fix urlbar focusring on macOS. r=jaws
MozReview-Commit-ID: VHpMDilA0p

--HG--
extra : rebase_source : 3042f91db2b4310133b89210192ded542afcc67b
2018-03-29 00:38:37 +02:00