Граф коммитов

53421 Коммитов

Автор SHA1 Сообщение Дата
Tom Ritter 90443afc02 Bug 1439365 Add a MinGW Opt Build r=glandium
MozReview-Commit-ID: Ik8THF1Fy4K
2018-02-18 23:43:29 -06:00
Andreea Pavel 15f907ee61 Backed out changeset b33237dcbabf (bug 1439365) for mochitest failures at browser/components/resistfingerprinting/test/mochitest/test_animation_api.html on a CLOSED TREE 2018-02-20 16:16:33 +02:00
Johann Hofmann e78ad90a84 Bug 1414751 - Disable frequently failing task in browser_siteData.js. r=nhnt11
MozReview-Commit-ID: LWPxJr6mCAl

--HG--
extra : rebase_source : 760ff82cede6720b6b3e481e89e1fca8cdce04e9
2018-02-20 08:13:56 +01:00
Francesco Lodolo (:flod) 5417ea18be Bug 1437583 - Split plural forms for Delete/Add bookmarks in separate strings r=standard8
Since the number of tabs is not actually displayed, having two separate strings from 1 vs many is preferable.

MozReview-Commit-ID: y1dgvsCxmC

--HG--
extra : rebase_source : ad694b2dc7bc44128f909e91a90c4822c0698770
2018-02-12 19:04:59 +01:00
Johann Hofmann 8fa5b0c9c0 Bug 1439184 - "Clear All Data" button should read "Clear Data..." instead. r=dao
MozReview-Commit-ID: 2BaNp9EVLRD

--HG--
extra : rebase_source : df43a4bc413b8c4a20067efe1c044596e5e346fd
2018-02-18 21:04:15 +01:00
Tom Ritter 96f28f6602 Bug 1439365 Add a MinGW Opt Build r=glandium
MozReview-Commit-ID: Ik8THF1Fy4K

--HG--
extra : rebase_source : 7eee82f4863e19b64cedc15e579cc38226ee652d
2018-02-18 23:43:29 -06:00
Tom Ritter aed0c1a052 Bug 1438953 Increase the epsilon on timer reduction tests r=froydnj
In Javascript, we re-clamp timers to ensure they stay the same. Because of double imprecision
sometimes they don't stay the same, and are clamped downwards. If that happens we detect it,
and if we were originally off by an epsilon from a clamped value, we accept the value in the
name of double imprecision.

However, the epsilons were originally chosen somewhat arbitrarily. They worked for small
numbers, where imprecision from doubles were very small. But large doubles have much less
precise fractional parts. So the epsilons were too large for large numbers where the
imprecision was larger.

MozReview-Commit-ID: HnYYo4cuv96

--HG--
extra : rebase_source : 3a1d70e801fe7b8e1a8b2c191854db3db11751a9
2018-02-16 12:31:55 -06:00
Marco Bonardo f7a9d7bad5 Bug 1439313 - delay loading Places treeview.js until necessary. r=florian
MozReview-Commit-ID: H4cFThfXC1c

--HG--
extra : rebase_source : 03c391cb28e7e7a24a890fc1452096ccdcd05d2b
2018-02-19 18:31:19 +01:00
Ciure Andrei f2c13991ca Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-20 12:18:56 +02:00
Ciure Andrei 47cb352984 Merge inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-20 12:15:57 +02:00
Edouard Oger 0bbfe533cc Bug 1439194 - Implement a separate state for login failed in the sidebar. r=markh
MozReview-Commit-ID: B9hY8mpPEMw

--HG--
extra : rebase_source : 57f888e59506d3e88655fd0b30fe66b13a633291
2018-02-20 09:58:05 +08:00
Csoregi Natalia c11e63682b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-19 18:46:41 +02:00
Tooru Fujisawa 9a81f2437f Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles
KeyframeEffect and KeyframeEffectReadOnly constructors can run in the caller
compartment, which is okay because the current compartment is used in the
following places and all of them are safe:

1. GlobalObject::CallerType(), that is ultimately passed to
   nsDocument::IsWebAnimationsEnabled in KeyframeEffectParamsFromUnion,
   to decide whether to copy mIterationComposite/mComposite to
   KeyframeEffectParams.

   GlobalObject::CallerType() can now be different than the target window's one,
   if the caller has the system principal and the target is web content, and
   in that case nsDocument::IsWebAnimationsEnabled there always returns true
   while Web Animations can be disabled on web content.

   honoring the mIterationComposite/mComposite properties is OK, since it just
   changes the animation behavior, and this is disabled by default until
   remaining spec issues are resolved.

2. GlobalObject::Context(), that is ultimately passed to
   KeyframeUtils::GetKeyframesFromObject and used while extracting information
   from passed-in keyframe object, with iterable/iterator protocols.

   Performing that operation in the caller side is okay, since the same thing
   can be done on caller, and the operation doesn't perform any GCThing
   allocation on the target window global.
2018-02-17 17:21:13 +09:00
Florian Quèze 055aab242e Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze 708b543532 Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze ed88da887a Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh. 2018-02-14 22:15:05 +01:00
Masayuki Nakano cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Johann Hofmann 256143626d Bug 1438806 - Set correct default permission when showing blocked popups in the identity popup. r=prathiksha
MozReview-Commit-ID: 9dSsGViBbbU

--HG--
extra : rebase_source : cc6759d4b7dffd94312d418ea8bfb1ca75203e01
2018-02-16 12:21:02 +01:00
shindli 58aef5128f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-18 11:39:20 +02:00
shindli 6afe060566 Merge inbound to mozilla-central. a=merge 2018-02-18 11:35:16 +02:00
Andreea Pavel 8c17198d4b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-17 23:49:01 +02:00
Andreea Pavel 2e506ce663 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-17 23:44:10 +02:00
Paolo Amadini 84fbdaa982 Bug 1437811 - Part 3 - Add a safety timeout for blockers registered by event handlers. r=Gijs
MozReview-Commit-ID: 6dfRVInzNps

--HG--
extra : rebase_source : a164b8221ed4f22ab49a24e97479d21ac132520b
2018-02-16 15:04:24 +00:00
Paolo Amadini 0eac64a01c Bug 1437811 - Part 2 - Prepare the main view just before opening the panel. r=Gijs
This allows the ViewShowing event for the main view to prevent the panel from opening. It also avoids setting up the main view if the panel is not opened.

MozReview-Commit-ID: LK8tBcz6lkK

--HG--
extra : rebase_source : beb721ff996f11d7e162a4ff431c38b30bf42ca6
extra : source : c8115e90ffa8af27ef00cbd0f8da68dce7ce36bd
2018-02-16 15:03:18 +00:00
Nihanth Subramanya 64a18c9611 Bug 1438511 - Copy top window's uidensity attribute in sidebarUtils.js instead of forcing gUIDensity.update(). r=florian
MozReview-Commit-ID: Ljwn5iyV37V

--HG--
extra : rebase_source : e21d8f8ab9c6e035a98f6ffdf90ab640c5d19973
2018-02-15 19:59:13 +05:30
Nihanth Subramanya a37bd50fe6 Bug 1438511 - Don't update sidebar UI density before SidebarUI is initialized, or if the sidebar is not open. r=florian
MozReview-Commit-ID: GTfBrSccecX

--HG--
extra : rebase_source : 878f733204cfcea79590975a3b3b93e365b7963c
2018-02-15 19:31:03 +05:30
Paolo Amadini f5f1c89ced Bug 1437811 - Part 1 - Fix test that didn't wait for PanelMultiView events. r=Gijs
MozReview-Commit-ID: CxWMEkzGMyZ

--HG--
extra : rebase_source : c1862d866caf1808300b174c5bc75f7f3cbddbb3
2018-02-14 14:12:57 +00:00
Marco Bonardo 579018b9e5 Bug 1433938 - Move Synced Tab matches above general history matches in the Address Bar. r=adw
Puts Remote (Synced) Tab matches before other history results.
Changes deduping algorithm to replace simple history matches with tab matches when the url is the same.
Keeps overriding a Remote Tab with a Local Tab when the url is the same.

MozReview-Commit-ID: 76urDklKtRF

--HG--
extra : rebase_source : f5d37af3d0c0714e0f33b5548c4bb3b90519543b
2018-02-13 14:34:44 +01:00
Xidorn Quan 969afa42df Bug 1417138 part 1 - Skip about:downloads in about url test. r=Gijs
MozReview-Commit-ID: HfgQI5OlvI9

--HG--
extra : rebase_source : 3b782d17b6a92f485ff56bd0ed826d8c447114c1
2018-02-14 17:01:57 +11:00
Dorel Luca e3b96b7694 Merge mozilla-central to mozilla-inbound 2018-02-17 12:01:23 +02:00
Tooru Fujisawa d58a217b1c Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles
KeyframeEffect and KeyframeEffectReadOnly constructors can run in the caller
compartment, which is okay because of the following reasons:

1. The target window global is used for most operation:
     * KeyframeEffectReadOnly::ConstructKeyframeEffect uses the target window
       global instead of current global.
     * KeyframeEffectParamsFromUnion which receives `aGlobal.CallerType()`

   In Xray case, Web Animations API can be disabled on web content
   (currently disabled on beta/release by default), and in that case some API
   won't work even it's triggered from WebExtensions, but it should be fine.

2. GetKeyframesFromObject is executed in the caller's compartment to access
   the passed-in JSObject that is keyframe, with iterable/iterator protocols.
   This operation doesn't perform any GCThing allocation on the target window
   global.
2018-02-17 17:21:13 +09:00
Gurzau Raul 641a1a335b Merge autoland to mozilla-central. a=merge 2018-02-17 00:07:28 +02:00
Kathy Brade 34468c39be Bug 1433523 - Disable Session Restore in Permanent PBM. r=mikedeboer
When in permanent private browsing mode, always return false
for isAutomaticRestoreEnabled. This ensures that there will
not be any confusion inside nsBrowserContentHandler.defaultArgs
as to whether a one time session restore will occur.

Also, for consistency and in case someone looks at the pref,
avoid setting browser.sessionstore.resume_session = true during
browser shutdown.

This bug occurred when staging was not used during the update
process. On Windows it always occurred because staging is not
used even when it should be (https://trac.torproject.org/18292).
2018-02-12 22:08:00 +02:00
Brindusan Cristian 8770a04e9b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-16 11:53:00 +02:00
Narcis Beleuzu 2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Dão Gottwald 694859a3f8 Backed out changeset f23ac3f571cf
MozReview-Commit-ID: FLl0Gd0oG6o
2018-02-16 09:27:40 +01:00
Dão Gottwald 080e52a924 Backed out changeset c03c60285f5d
MozReview-Commit-ID: 1JWaWpvbii6
2018-02-16 09:27:22 +01:00
Dão Gottwald 3907cbdf72 Backed out changeset 9833d3aa5451
MozReview-Commit-ID: HwyR97pKxfA
2018-02-16 09:27:05 +01:00
Margareta Eliza Balazs 428a385d22 Backed out changeset ebbcdc3e642d (bug 1433593) for X failing in toolkit/components/passwordmgr/test/unit/test_maybeImportLogin.js on a CLOSED TREE 2018-02-16 04:50:42 +02:00
Noemi Erli 060d1f8fed Backed out 2 changesets (bug 1417138) for failing in slave/test/build/tests/reftest/tests/layout/reftests/xul/menulist-shrinkwrap-2.xul on a CLOSED TREE
Backed out changeset 4e0d4c91940b (bug 1417138)
Backed out changeset 92fa88d94170 (bug 1417138)
2018-02-16 04:48:23 +02:00
Gurzau Raul c276a6b86e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-17 00:11:50 +02:00
Ed Lee ef5ddbeefb Bug 1438821 - Fix drag placeholders, Pocket labels and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: BlSK701BOUQ

--HG--
extra : rebase_source : fa29246a7abc5c52debb999e0218169a6cab3759
2018-02-16 12:23:10 -08:00
Oriol Brufau da20c7145a Bug 1437178 - Fix various pageAction visibiltiy issues when using show_matches and hide_matches r=mixedpuppy
MozReview-Commit-ID: 5jQ7MkkKWRk

--HG--
extra : rebase_source : 4af4acda8d25c606ea8734b2ce3bd96954647dbd
2018-02-09 22:22:43 +01:00
Prathiksha 3ef0cd25b3 Bug 1434976 - Stop setting web-extension install prompt message details dynamically. r=johannh
MozReview-Commit-ID: GfewQFsgEAa

--HG--
extra : rebase_source : 4751a6874fad38dfb0dd41d67736fdfba52e1241
2018-02-15 18:44:29 +05:30
Andreea Pavel 3391719f1c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-02-17 23:50:07 +02:00
Tooru Fujisawa d70a10cbd8 Backed out changeset c3f16a179c93 (bug 1414674) 2018-02-18 01:24:08 +09:00
Brendan Dahl 40c81820ad Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf

--HG--
extra : rebase_source : 64677186122f74ab95912d5f3f173cf37472458a
2018-02-05 13:33:58 -08:00
Jonathan Kingston 9f340d8168 Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 897ca40537493cc9df4bef7a538a5fdb04769889
2018-02-04 12:10:10 +00:00
Margareta Eliza Balazs 55aa0e75d6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-15 22:43:18 +02:00
ffxbld 50c3d499e0 No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-02-15 11:54:34 -08:00