Commit Graph

604008 Commits

Author SHA1 Message Date
Cosmin Sabou
fe3851b801 Backed out changeset 16e2aaf4043c (bug 1474940) for causing crashes on crashtests/1393272.webm 2018-07-13 14:13:05 +03:00
Cosmin Sabou
5b013c7fc5 Backed out 2 changesets (bug 1474722) for causing multiple mochitest failures on several files. CLOSED TREE
Backed out changeset 68019e52d1b9 (bug 1474722)
Backed out changeset 77597cd3461c (bug 1474722)
2018-07-13 13:10:56 +03:00
Andrea Marchesini
9fc78a12aa Bug 1475189 - Block storage access in tracking sub-resources when not in iframes - part 3 - image cache, r=ehsan
--HG--
rename : toolkit/components/antitracking/test/browser/script.sjs => toolkit/components/antitracking/test/browser/subResources.sjs
2018-07-13 12:02:19 +02:00
Andrea Marchesini
1892fdf469 Bug 1475189 - Block storage access in tracking sub-resources when not in iframes - part 2 - subresources, r=ehsan 2018-07-13 12:02:19 +02:00
Andrea Marchesini
2df3284f16 Bug 1475189 - Block storage access in tracking sub-resources when not in iframes - part 1 - tests, r=ehsan 2018-07-13 12:02:19 +02:00
Andrea Marchesini
1498612e1b Bug 1474812 - No needs to store granted storage access in nsILoadInfo and in the inner window, r=ehsan 2018-07-13 12:02:19 +02:00
Jon Coppeard
aab81fd480 Bug 1475226 - Use JSContext for malloc allocation rather than Zone where possible r=sfink 2018-07-13 10:49:51 +01:00
Nicolas Silva
4a4d59570c Bug 1474940 - Add a crashtest for very large blurred rects. r=Bas 2018-07-13 11:36:47 +02:00
Nicolas Silva
7a270b1782 Bug 1474722 - Allow very large nine-patched shadows. r=Bas 2018-07-13 11:30:57 +02:00
Nicolas Silva
61fd0c3a3e Bug 1474722 - Add a reftest. r=Bas 2018-07-13 11:30:51 +02:00
Paolo Amadini
7555809ad6 Bug 1470870 - Load "menu.css" as a document stylesheet. r=bgrins
The specificity of some Windows rules is reduced to match other platforms.

MozReview-Commit-ID: 28oUf7b6vCW

--HG--
extra : source : 3c131dac495ed46d524f4de2f92cfe79049aff8f
extra : intermediate-source : 7c1de225e4ab5dff9443c763ad59f5aecd72a593
2018-07-13 10:20:21 +01:00
Margareta Eliza Balazs
494d8952b9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-13 11:59:44 +03:00
Margareta Eliza Balazs
448f792f96 Merge inbound to mozilla-central. a=merge 2018-07-13 11:52:00 +03:00
Cosmin Sabou
30d35fa996 Backed out changeset 21285bab4f03 (bug 1474365) for ESlint failure on telemetry.js. CLOSED TREE 2018-07-13 09:58:39 +03:00
Mihir
c72e13268e Bug 1474365 - Prevent submitting sync telemetry for self hosting users. r=markh
--HG--
extra : rebase_source : d038ab6ea682500452f30a7c6c8996f584628a75
2018-07-13 11:07:57 +05:30
James Teh
e5a1c32097 Bug 1475376: Support aria-valuetext for implicit ARIA roles. r=MarcoZ
For example, <input type="range"> maps to role="slider", so aria-valuetext should be supported.

MozReview-Commit-ID: IYBVTHP3ZLo

--HG--
extra : rebase_source : 906dfacf92d040abf97b46ff67bafbabc5c9a1ea
2018-07-12 20:22:09 -04:00
Andrea Marchesini
bc5414c5f3 Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
Masayuki Nakano
7581aff013 Bug 1450882 - part 4: Make C++ users of nsICommandParams use nsCommandParams directly r=Ehsan
nsICommandParams is implemented only by nsCommandParams.  So, all C++ users
can treat all instances of nsICommandParams as nsCommandParams.  Therefore,
this patch makes all set/get value calls use non-virtual methods and all
constructors directly create nsCommandParams instance.

MozReview-Commit-ID: CscgK0gKp5g

--HG--
extra : rebase_source : 62eb0f60aada795a44cf5496cdafbff6cba80013
2018-07-10 20:04:21 +09:00
Masayuki Nakano
bf9dea1dda Bug 1450882 - part 3: Create non-virtual methods to nsCommandParams and expose its header r=Ehsan
nsCommandParams is used internally but accessed via nsICommandParams.  For
such internal users, nsCommandParams should have non-virtual methods to
get/set values.

The new method names are similar to Preferences API for consistency with it.

MozReview-Commit-ID: FJwWMFzV9w

--HG--
extra : rebase_source : 649990ba827cd14503fd46dd647452d06acf6bf0
2018-07-10 18:48:43 +09:00
Masayuki Nakano
5a2332692a Bug 1450882 - part 2: Make nsICommandParams::GetCStringValue() and nsICommandParams::SetCStringValue() treat nsACString instead of char r=Ehsan
nsICommandParams::GetCStringValue() and nsICommandParams::SetCStringValue()
treat char.  However, this makes their callers complicated.  So, they should
be rewritten as treating nsACString.

MozReview-Commit-ID: DWO9veSyzyG

--HG--
extra : rebase_source : fbea13f6d7116ea1887434c0842b7768a7dc59ec
2018-07-10 18:04:46 +09:00
Masayuki Nakano
f91fdd906b Bug 1450882 - part 1: Make nsICommandParams builtinclass r=Ehsan
nsICommandParams is not implemented with JS.  Therefore, we can make it
builtinclass.

MozReview-Commit-ID: Gutw79akyaJ

--HG--
extra : rebase_source : ef1093a82e74679c5a0be1163c602847aa2d8bda
2018-07-10 16:50:44 +09:00
Masayuki Nakano
6118393cb8 Bug 1399126 - Make nsWindow for Windows not notify widget listener of activated/inactivated if active window is changed from/to popup window r=jimm
Some odd mouse drivers try to activate a window which the mouse driver wants to
scroll its content (such window is typically under the mouse cursor when mouse
wheel is turned).  However, this is illegal behavior and such odd mouse drivers
try to activate our popup windows which won't be activated without such apps.

We prevented this odd focus behavior with fixing of bug 953146.  However, it
did NOT stop notifying widget listener of activating nor inactivating the
windows.  Therefore, that caused a lot of reflow for supporting
-moz-window-inactive pseudo class.

This patch makes nsWindow::DealWithPopups() consume WM_ACTIVATE message before
nsWindow::ProcessMessage() because nsWindow::ProcessMessage() notifies widget
listener of activating and inactivating window even when focus move from and to
our popup window.  So, in other words, this patch stops notifying widget
listener of activating and inactivating window when focus moves from/to
a popup window.

MozReview-Commit-ID: 2dyq07zHZKp

--HG--
extra : rebase_source : 8075a3ead73a5f2892a1a1a8e71252e574200bf4
2018-07-10 21:24:06 +09:00
Brian Birtles
c96dd5e595 Bug 1475162 - Drop pref annotations from tests that no longer need them; r=hiro
Many tests set the dom.animations-api.core.enabled pref to true when all they
really require are the features covered by the dom.element-animate.core.enabled
pref. Now that we have removed that pref and permanently enabled that
functionality we can drop the annotations from such tests.

MozReview-Commit-ID: CGOLp6pVFLE

--HG--
extra : rebase_source : e298e9404d76d55421d9ca4b514410d02cc243b1
2018-07-12 17:22:09 +09:00
Brian Birtles
a2a2e0da37 Bug 1475162 - Drop dom.animations-api.element-animate.enabled pref; r=bz
MozReview-Commit-ID: 5xKS30NmNbL

--HG--
extra : rebase_source : c34e8da8a04bee15d40c719db5e57037899cddd8
2018-07-12 15:56:05 +09:00
Mathieu Leplatre
ee7030befa Bug 1471901 - Allow synchronization of custom record IDs in RemoteSettings r=florian
MozReview-Commit-ID: 5LjcZ7Xjjxi

--HG--
extra : rebase_source : a3969670d7d78493e6cc00ca05a4e0668de23f65
2018-07-11 14:50:47 +02:00
Chris Manchester
ae2d841079 Bug 1475210 - Do not generate rules to install test-specific libraries during artifact builds. r=gps
MozReview-Commit-ID: B25vvkhBUo2

--HG--
extra : rebase_source : bd5f4a07490d4165234c396337d7d92123dd14be
2018-07-12 12:37:46 -07:00
Cameron McCormack
441af12cbe Bug 1475191 - Measure heap allocations hanging off selector components. r=emilio
MozReview-Commit-ID: D7vZQ7v8owS

--HG--
extra : rebase_source : c94ae45bdf2d39b1fdd5ee75b964db80989fadfa
2018-07-12 19:44:00 +10:00
Francois Marier
3aa5d0aeda Bug 1362761 - Make WritePrefixes() more readable. r=dimi
Add assertions to highlight what the various data structures
should look like.

Also assert to ensure that mIndexPrefixes is always the same
length as mIndexDeltas and avoid writing the prefixes to disk
if that's not the case.

Do a single fallible allocation before we create the indexStarts
array instead of checking on each AppendElement() to simplify
the loop and emphasize the number of elements that the array
will receive (indexSize + 1). Remove the last element since we
don't actually end up writing it to disk.

MozReview-Commit-ID: HIg7ZmgaL7x

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

--HG--
extra : moz-landing-system : lando
2018-07-11 09:10:31 +00:00
Francois Marier
b81007a163 Bug 1362761 - Safer Clean() and IsEmpty() handling in PrefixSet. r=dimi
This simplifies the logic around clearing the prefix set and also adds
the clearing of the mIndexDeltasChecksum which should have been done
as part of 3a00711bb0e6.

Additionally, the checks for whether or not the prefix set is empty
include some sanity-checking asserts.

Finally, mTotalPrefixes could be out of sync with mIndexPrefixes
and mIndexDeltas if LoadPrefixes() or MakePrefixSet() fail so we
now only update it once all elements have been added successfully.

There is now a release assert to catch grossly out-of-sync (or
corrupt) values of mTotalPrefixes.

MozReview-Commit-ID: BSbyD2dGsUY

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

--HG--
extra : moz-landing-system : lando
2018-07-11 12:40:34 +00:00
Francois Marier
6d1a4291f4 Bug 1362761 - Add more specific warnings in case of file corruption. r=dimi
MozReview-Commit-ID: KsgcQWLGulH

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

--HG--
extra : moz-landing-system : lando
2018-07-11 08:58:15 +00:00
Francois Marier
3e4ea00c5f Bug 1362761 - Force file and streams to use smart pointers. r=dimi
MozReview-Commit-ID: GscB9PaaN02

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

--HG--
extra : moz-landing-system : lando
2018-07-12 22:19:40 +00:00
Johannes Willbold
2919be8a89 Bug 1438536: Added bool field to indicate whether direction was specified to RustSdpAttributeExtmap, r=drno
Added a bool field in RustSdpAttributeExtmap that tracks whether the direction was specified.
Added the correspodning C++/Rust glue code

MozReview-Commit-ID: yGL8yTDb49

--HG--
extra : rebase_source : d65f35051338673062d13b7bde591de880052558
2018-07-10 16:23:50 -07:00
Francois Marier
53ee4cb546 Bug 1362761 - Make prefix and chunk sets as const as possible. r=dimi
MozReview-Commit-ID: JdnNOxnBAgC

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

--HG--
extra : moz-landing-system : lando
2018-07-11 12:52:37 +00:00
Mark Hammond
81219a04ca Bug 1471906 - ensure FxA error icons are centered to prevent distortion. r=eoger
MozReview-Commit-ID: FzRiQzVoryK

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

--HG--
extra : moz-landing-system : lando
2018-07-12 23:26:15 +00:00
Marco Bonardo
d932936d53 Bug 1475276 - Remove some no more necessary usage of promiseItemGuid. r=lina
Some code is unnecessarily using promiseItemGuid

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

--HG--
extra : moz-landing-system : lando
2018-07-12 21:38:21 +00:00
Daniel Stenberg
af7b8b701a bug 1472662 - only send DNS_TRR_NS_VERIFIED telemetry once r=mcmanus
... by making sure we only retry TRR when we go from CP bad=>good.

MozReview-Commit-ID: FcDwzSHm6Ia

--HG--
extra : rebase_source : dce21e18e6a4d854bd2023c61974658b100c1484
2018-07-11 09:43:38 +02:00
Chris Manchester
7edeeaa646 Bug 1475058 - Send SIGINT when interrupting interactive in mach before sending SIGKILL. r=mshal
MozReview-Commit-ID: 2XxLyNi1ZuS

--HG--
extra : rebase_source : d91eed728446219da6be78e310b1a12b597a0d99
2018-07-12 11:50:48 -07:00
Andreea Pavel
10f6df7c1f Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
2018-07-13 00:53:43 +03:00
Andreea Pavel
b0e30af17e Merge mozilla-inbound to mozilla-central. a=merge 2018-07-13 00:51:26 +03:00
Mark Banner
0b74f5f689 Bug 1473158 - Add a basic test for the selectBookmark sub-dialog in preferences. r=jaws
MozReview-Commit-ID: KCCKHRvOCme

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

--HG--
extra : moz-landing-system : lando
2018-07-12 18:51:59 +00:00
Andreea Pavel
1e8d2e6f7d Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Daniel Holbert
754824a1ae Bug 1462983 diagnostic: when test_bug607529.html fails JSON.parse operation, print the string that it choked on. r=bz
MozReview-Commit-ID: G8O0GP7VpFQ

--HG--
extra : rebase_source : c078e34862b3b21abd91fc8cb66b2ad4aefcc97c
2018-07-12 09:48:22 -07:00
Andreea Pavel
1da225dc25 Backed out 2 changesets (bug 1471951) for failing android at org.mozilla.geckoview.test.AccessibilityTest.testClipboard on a CLOSED TREE
Backed out changeset cb7687c97e1f (bug 1471951)
Backed out changeset 590ba4c10edd (bug 1471951)
2018-07-12 22:27:17 +03:00
Andreea Pavel
a8997f7051 Backed out 12 changesets (bug 1445683) on request by dminor (will break msvc win32 pgo build)
Backed out changeset e68935c355ab (bug 1445683)
Backed out changeset d9a9e3c9ca90 (bug 1445683)
Backed out changeset 83f43f8c169f (bug 1445683)
Backed out changeset 2ade4353bf78 (bug 1445683)
Backed out changeset 26fb32120d5c (bug 1445683)
Backed out changeset 9e1c87de8b85 (bug 1445683)
Backed out changeset d1bd9413b789 (bug 1445683)
Backed out changeset 55f4f0860c7e (bug 1445683)
Backed out changeset 6baf4a04beb6 (bug 1445683)
Backed out changeset 9e6b648152b5 (bug 1445683)
Backed out changeset 9b9f6b34ea89 (bug 1445683)
Backed out changeset 0f760232724f (bug 1445683)

--HG--
rename : third_party/aom/stats/aomstats.h => third_party/aom/aomstats.h
rename : third_party/aom/build/cmake/aom_config.c.template => third_party/aom/build/cmake/aom_config.c.cmake
rename : third_party/aom/common/md5_utils.h => third_party/aom/md5_utils.h
rename : third_party/aom/stats/rate_hist.h => third_party/aom/rate_hist.h
rename : third_party/aom/common/warnings.h => third_party/aom/warnings.h
rename : third_party/aom/common/webmenc.h => third_party/aom/webmenc.h
rename : third_party/aom/common/y4minput.h => third_party/aom/y4minput.h
2018-07-12 21:25:02 +03:00
Lee Salzman
41ab2c5cfb Bug 1473041 - save and restore PermitSubpixelAA state for basic layer paint callback. r=mstange 2018-07-12 14:19:07 -04:00
Eitan Isaacson
4dee2b4ee8 Bug 1471951 - Support expand selection with caret (2/2). r=yzen r=jchen 2018-07-12 11:04:42 -07:00
Eitan Isaacson
0bf46feb8c Bug 1471951 - Support set selection and clipboard actions (1/2). r=yzen r=jchen 2018-07-12 11:04:41 -07:00
Florian Quèze
c23f304b7f Bug 1474990 - Remove the 'Memory usage of Subprocesses' table from about:performance, r=mconley. 2018-07-12 20:01:23 +02:00
Sebastian Hengst
d492c4a7e2 Backed out 2 changesets (bug 1471951) for eslint failure at accessible/jsat/ContentControl.jsm:25. CLOSED TREE
Backed out changeset 78356edc6a51 (bug 1471951)
Backed out changeset a682e5c249b8 (bug 1471951)
2018-07-12 20:30:43 +03:00
Eitan Isaacson
6f3f7fc631 Bug 1471951 - Support expand selection with caret (2/2). r=yzen r=jchen 2018-07-12 10:04:25 -07:00