Commit Graph

604028 Commits

Author SHA1 Message Date
Andrea Marchesini
eb58d7637b Bug 1475236 - Expiration time for the anti-tracking permission should be controllable via pref, r=ehsan 2018-07-13 19:19:26 +02:00
Andrea Marchesini
f1d9bed10f Bug 1473718 - Speculative connection should start using the correct OriginAttributes values, r=mconley 2018-07-13 19:17:58 +02:00
Ryan Hunt
cfffe8f09f Bug 1471892 - Block OMTP before OSX 10.10 to work around CoreGraphics crash. r=jrmuizel
MozReview-Commit-ID: JYmlucAG6rB

--HG--
extra : rebase_source : 03c0963bf54b967f34108fa7c879b180685dd868
extra : amend_source : b17adf02508d9a93d1d4149a1573919192440fe8
2018-07-10 16:12:58 -05:00
Andrea Marchesini
057b294956 Bug 1469566 - Port ServiceWorkers to WorkerRef - part 2 - KeepAliveHandler, r=bkelly 2018-07-13 18:26:29 +02:00
Andrea Marchesini
fbd07c7a9d Bug 1469566 - Port ServiceWorkers to WorkerRef - part 1 - LifeCycleEventWatcher, r=bkelly 2018-07-13 18:25:58 +02:00
Kartikaya Gupta
63972a55bf Back out cset 5b8041f7f604 (bug 1446181) for introducing a low-volume crash. r=me 2018-07-13 12:00:29 -04:00
Andrea Marchesini
d6ce364ced Bug 1470306 - Adding some MOZ_DIAGNOSTIC_ASSERT in MessagePort, r=smaug 2018-07-13 17:41:34 +02:00
Emilio Cobos Álvarez
1494e3f878 Bug 1474903: Minor static_cast cleanup in nsDisplayList. r=miko
MozReview-Commit-ID: 30vwluk0r39
2018-07-13 17:17:03 +02:00
Ryan VanderMeulen
16fa6aac83 Bug 1473064 - Update HarfBuzz to version 1.8.3. r=jfkthame
--HG--
extra : rebase_source : 3c306d165a8c22c9f38f6faa9aa755d07ad197c8
2018-07-11 10:47:57 -04:00
Cosmin Sabou
1f2b809d39 Backed out 6 changesets (bug 1421091, bug 1472095) for gtest failures on AudioEventTimeline. CLOSED TREE
Backed out changeset 5d0cce417e56 (bug 1421091)
Backed out changeset 1f89fc574e6c (bug 1472095)
Backed out changeset 1cfa0dff8393 (bug 1472095)
Backed out changeset 721346b51bf3 (bug 1472095)
Backed out changeset 8c22cb391d72 (bug 1421091)
Backed out changeset 9d34c85e0ec1 (bug 1421091)
2018-07-13 15:41:20 +03:00
Paul Adenot
3216748173 Bug 1421091 - Remove a bit from a gtest that is tested directly in the bindings, on a CLOSED TREE.
--HG--
extra : rebase_source : a50e161f2a888f997540eec6cf48cccdff229fd3
extra : amend_source : baf6cf91c39010d543030aae2b2ea9d005e2f370
2018-07-13 14:31:53 +02:00
Kai Engert
e1ac8acd9d Bug 1470914, NSS 3.39 beta revision 53c2ee896c57 UPGRADE_NSS_RELEASE r=me 2018-07-13 14:14:38 +02:00
Emilio Cobos Álvarez
1bee1307a0 Bug 1475220: Cleanup push_applicable_declarations. r=xidorn
This patch changes the behavior to skipping XBL rules for
getDefaultComputedStyle.

MozReview-Commit-ID: 52cwDyBAXO
2018-07-13 14:09:34 +02:00
Xidorn Quan
2c5c2a4e44 Bug 1475229 - Remove unused parent parameter in ComputedValues::new. r=emilio
MozReview-Commit-ID: EBG0TS7tI4P

--HG--
extra : source : 9e548c6bf4a2c9f7795b30ac84e2251b86fb637f
2018-07-13 22:06:05 +10:00
Paul Adenot
ec94171aba Bug 1472095 - Update the web-platform-tests for the Web Audio API to expect the right kind of type error. r=bz
This is the result of an execution of:

> find testing/web-platform/tests/webaudio/the-audio-api -exec sed -i "s/'TypeError'/TypeError/" {} \;

MozReview-Commit-ID: 8T0RoOobxJW

--HG--
extra : rebase_source : 12e8de86d2355ce9950fb3a985f012eb6cbf9fcd
extra : source : 30c0660089d57c5c63a1dff88a340e1e4d5779a3
extra : histedit_source : f2c4046e795a69abab5fac0913007b3db4728303
2018-07-04 16:57:37 +02:00
Paul Adenot
53d7f11613 Bug 1472095 - Update web-platform-test's audit.js file throw() method to be able to pass in exactly the error or exception to expect. r=bz
MozReview-Commit-ID: EU5iuLe1BZV

--HG--
extra : rebase_source : 0503975d7fc04b4fb202161a82e3d5943645205d
extra : source : 4a4c1fc6c877d4b10415ffa454aa0f75a53f6a5a
extra : histedit_source : 7ff7bd4dce684d23b375a35991bda5d05f260b79
2018-07-04 16:41:52 +02:00
Paul Adenot
c0ccabfd05 Bug 1472095 - Explicitely label the assertions for DelayNode.delayTime tests, and test the error type. r=karlt
MozReview-Commit-ID: KHOiXoIAliG

--HG--
extra : rebase_source : b62e616d2260120e6f5c547fd3f94a65d1d2f081
extra : source : f4dae6f9f64ceecae8cf055aa566b36b556ad715
extra : histedit_source : 9f426094ab82b1c67ef3c3e69d04c73c77a62788
2018-07-11 14:22:46 +02:00
Paul Adenot
389239acf5 Bug 1421091 - Update wpt expectations. r=karlt
MozReview-Commit-ID: 997zAYWaezz

--HG--
extra : rebase_source : 862e96a6428a919034aded52f823a68cb8d01975
extra : source : 4f7cf608ef6658961deec726790c707f565cda73
extra : histedit_source : bd9e8c2361c32c9bf455dfa17e006503721bc63c
2018-07-11 16:28:06 +02:00
Paul Adenot
6c20d2d971 Bug 1421091 - Update AudioParam.setValueCurveAtTime to take sequence<float> instead of a Float32Array. r=baku,karlt
Link to the standard: https://webaudio.github.io/web-audio-api/#dom-audioparam-setvaluecurveattime

MozReview-Commit-ID: 8GwaIbQkfr2

--HG--
extra : rebase_source : ad5a2d8ebebf72d1728458e1dc180bec1e4576b1
extra : source : d752fc72a9a35fdc0ce7b8bce94b29149eaf7639
extra : histedit_source : 17a3215bebdafb6dd04aa6ddb6c62cc8672862bf
2018-07-03 18:00:27 +02:00
Nicolas Silva
69b2908737 Bug 1474940 - Add a crashtest for very large blurred rects. r=Bas
--HG--
extra : source : 16e2aaf4043cc315126c18fbb9fc14a1bb130276
2018-07-13 11:36:47 +02:00
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