Commit Graph

624730 Commits

Author SHA1 Message Date
Dan Minor
450258b20a Bug 1406941 - Remove unused fields from AudioCodecConfig; r=padenot
With the branch 64 update we no longer configure packet size and rate
ourselves. Instead, we use the defaults provided in acm_codec_database.cc.
This removes the unused fields from AudioCodecConfig, the next commit does the
same thing for JsepAudioCodecDescription.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 17:01:33 +00:00
June Wilde
337c696973 Bug 1468542 - Restrict acceptable bounds for i in nss_secutil; r=rstrong
Summary:
Adds some missing braces on if structures
Adds a check for i being larger or equal to nb

Reviewers: rstrong

Reviewed By: rstrong

Bug #: 1468542

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

--HG--
extra : rebase_source : 51a99f5376ed8877162e82b6c15f147df81981f8
2018-11-19 20:57:50 +02:00
Matthew Gaudet
4e19cf4cb4 Bug 1501787 - Reset entered counts on stub attachment r=djvj
Resetting the entered count on an IC stub chain makes interpretation of the
counter values easier. For example, if we see an IC chain like this

    A (1000) -> B(800) -> C (400) -> D (200) -> FB (100)

We can say that there have been 100 cases not handled by chain, (and we did
not attach new stubs for those cases), and B handled the most (400) queries
to the IC chain.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 18:56:39 +00:00
Ted Campbell
471c4d6a77 Bug 1508067 - Use clang-format off in vm/Opcodes.h instead of file ignore. r=sylvestre,jandem
Differential Revision: https://phabricator.services.mozilla.com/D12240

--HG--
extra : moz-landing-system : lando
2018-11-19 09:27:17 +00:00
Ted Campbell
87e6a3bb5d Bug 1508180 - Use uppercase high-order macro names in profiler. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D12235

--HG--
extra : moz-landing-system : lando
2018-11-19 17:41:27 +00:00
Ted Campbell
a75a26eb42 Bug 1508180 - Use uppercase high-order macro names in xptinfo. r=nika
This makes clang-format stop mangling the macros.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 17:31:14 +00:00
Ted Campbell
59d3110a5a Bug 1508180 - Use uppercase macro names in mfbt/RecordReplay.h r=bhackett
Rename MOZ_MakeRecordReplayWrapper to MOZ_MAKE_RECORD_REPLAY_WRAPPER so
that clang-format doesn't mangle code.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 18:52:49 +00:00
Ted Campbell
f8cc48bd62 Bug 1508180 - Use uppercase names for high-order macros in dom/ r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D12232

--HG--
extra : moz-landing-system : lando
2018-11-19 17:31:17 +00:00
Ted Mielczarek
c19311e565 bug 1454613 - build binsource when building SpiderMonkey. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D11056

--HG--
extra : moz-landing-system : lando
2018-11-19 18:19:41 +00:00
Christian Holler
f80cef4fdd Bug 1507094 - Use tar.gz for gtest archive instead of zip. r=gps
Differential Revision: https://phabricator.services.mozilla.com/D12219

--HG--
extra : moz-landing-system : lando
2018-11-19 18:41:33 +00:00
Mark Banner
8fb3e110a9 Bug 1508322 - Define 'importGlobalProperties' variables as explicit in ESLint to help identify unused variables. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D12327

--HG--
extra : moz-landing-system : lando
2018-11-19 18:23:16 +00:00
WR Updater Bot
a023944719 Bug 1508231 - Re-vendor rust dependencies. r=kats
Depends on D12329

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

--HG--
extra : moz-landing-system : lando
2018-11-19 18:25:34 +00:00
WR Updater Bot
fa2171c1f6 Bug 1508231 - Update webrender to commit 262edcb7d48deb72509141e14e1c7d914c1970fb (WR PR #3326). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12329

--HG--
extra : moz-landing-system : lando
2018-11-19 18:25:27 +00:00
Michael Cooper
931c45e92e Bug 1506816 - Check for action errors in Normandy tests, and fix revealed problems. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D12156

--HG--
extra : moz-landing-system : lando
2018-11-19 18:23:54 +00:00
Tarek Ziadé
139a810511 Bug 1508257 - Remove io.activity.intervalMilliseconds - r=valentin
This preference is not used. Let's get rid of it.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 14:52:26 +00:00
Tim Nguyen
3a94eda144 Bug 1508143 - Remove builderView and contentView from tree binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12224

--HG--
extra : moz-landing-system : lando
2018-11-19 18:04:15 +00:00
Jason Orendorff
15b39e62f9 Bug 1507845 - Dispense with TODO comment about cloneForBranch2 in ReadableStream implementation. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D12148

--HG--
extra : moz-landing-system : lando
2018-11-16 17:12:42 +00:00
Sylvestre Ledru
9202a447a8 Bug 1508220 - Refresh the list of third party code in dom/media/ r=jya
DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2018-11-19 14:41:33 +00:00
Sylvestre Ledru
1e099ba528 Bug 1508128 - Update our coding style config files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12221

--HG--
extra : moz-landing-system : lando
2018-11-19 15:55:00 +00:00
Daniel Varga
1c97afe7cd Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 2a24106f8c3136d60a1a08aa839ec4c20d3f1a84
2018-11-19 19:06:29 +02:00
Jan de Mooij
bccfe7c569 Bug 1508065 - Change JS_PUBLIC_{API,DATA} and JS_FRIEND_{API,DATA} to be more like similar macros to avoid confusing clang-format. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12256

--HG--
extra : moz-landing-system : lando
2018-11-19 17:02:47 +00:00
Daniel Varga
7f346e170a Merge mozilla-inbound to mozilla-central. a=merge 2018-11-19 19:01:21 +02:00
Nicolas Chevobbe
2df90a7acc Bug 1506118 - Use chromeUtilsWindow to start the parser worker; r=Honza.
As we were using the browserWindow to start the
parser worker, this was causing an exception
when evaluation from the browser toolbox.
Using chromUtilsWindow fixes the issue.

There is no tests yet as I'm not sure there's
an easy way to test things in the browser toolbox.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:33:22 +00:00
Michael Kaply
29e96df9fe Bug 1507223 - Show an error when full URL is used for permissions. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D12181

--HG--
extra : moz-landing-system : lando
2018-11-19 16:15:56 +00:00
Dorel Luca
3a97449464 Backed out changeset dfc775a144ad (bug 1504728) for Brwoser-chrome failure in browser/base/content/test/trackingUI/browser_trackingUI_trackers_subview.js. CLOSED TREE 2018-11-19 18:34:50 +02:00
Dorel Luca
d6df0e3688 Backed out changeset 87037e14247b (bug 1506852) for build bustage. CLOSED TREE 2018-11-19 18:30:36 +02:00
Ted Campbell
5d89dbbb32 Bug 1508064 - Use clang-format off in parts of js/ r=jandem
Protect tabular macros or struct initializers that can mangled by
clang-format.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:04:03 +00:00
Ted Campbell
2b703c59e4 Bug 1508064 - Simplify JS_FOR_PROTOTYPES. r=jandem
Add JS_FOR_PROTOTYPES_ macro that takes REAL_IF_SAB, etc helpers to
handle conditional proto keys. This is easier to read and avoids macro
expansion issues confusing clang-format.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 13:54:02 +00:00
Andreas Farre
7a0d054505 Bug 1506852 - Make sure to also clear opener in BrowsingContext. r=peterv
When calling nsGlobalWindowOuter::SetOpenerWindow with null we should
make sure to also clear BrowsingContext::mOpener.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 15:57:27 +00:00
Andreas Farre
0b8ae7ec69 Bug 1507168 - Only assert if window isn't being torn down. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D12258

--HG--
extra : moz-landing-system : lando
2018-11-19 15:59:04 +00:00
Agi Sferro
87e24dcfbf Bug 1506267 - Add android-api-lint to automation; r=nalexander
Depends on D11821

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:55 +00:00
Agi Sferro
7c73e99698 Bug 1506267 - Use apilint to track API changes in api.txt. r=snorp,nalexander.
Depends on D12047

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:43 +00:00
Agi Sferro
b707132e54 Bug 1506267 - Add plugins.gradle.com to Nexus. r=nalexander.
Differential Revision: https://phabricator.services.mozilla.com/D12047

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:33 +00:00
Matthew Gaudet
1923df8841 Bug 1508280: Remove no longer used invalidity bits in ICs r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D12300

--HG--
extra : moz-landing-system : lando
2018-11-19 15:38:17 +00:00
Emily Toop
e4c40c72e8 Bug 1500566 - Change the default URL loaded in geckoview_example on startup to about:blank. r=geckoview-reviewers,snorp
This is to prevent the load of the Mozilla homepage on startup.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 14:34:42 +00:00
Dragana Damjanovic
428228861f Bug 1502641 - Change ref-counting for nsHostRecord, change nsCOMPtr<*HostRecord> into RefPtr<*HostRecord>, remove pure virtual functions from nsHostRecord. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D12121

--HG--
extra : moz-landing-system : lando
2018-11-19 15:23:39 +00:00
Valentin Gosu
c54ae4d096 Bug 1507157 - Set network.disable.ipc.security to true r=kershaw
This pref is left over from B2G days. It is currently disabled for firefox
desktop, but not for Android. This didn't affect us until now because we
always ran Android tests in non-e10s mode.

The pref ought to be removed in bug 1306801.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 15:41:57 +00:00
Ehsan Akhgari
abc8be6d57 Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D11122

--HG--
extra : moz-landing-system : lando
2018-11-19 15:25:33 +00:00
Ehsan Akhgari
9c03122818 Bug 1508114 - Ignore the initial about:blank in browser_alltabslistener.js r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12220

--HG--
extra : moz-landing-system : lando
2018-11-19 15:22:09 +00:00
Luke Schwalfenberg
2589f25a3d Bug 1497725 - Add a search field to the new "about:config" page. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D11843

--HG--
extra : rebase_source : eaeed808b1b1ecfbd01b4c06f91ece8ade0275c7
extra : amend_source : 94c7fc57bd9cde0f57af1e6037947acb9b9c90e3
2018-11-19 13:52:08 +00:00
Julian Descottes
6380b99f50 Bug 1498143 - Pass nodeActorID to screenshot actor to enable feature in iframes and shadowroots;r=pbro,yulia
Differential Revision: https://phabricator.services.mozilla.com/D12124

--HG--
extra : moz-landing-system : lando
2018-11-19 13:27:51 +00:00
Sebastian Hengst
8e870bf61e Bug 1508248 - Update in-tree bugzilla metadata to use 'Firefox Build System :: Mach Core' for mach files r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12278

--HG--
extra : moz-landing-system : lando
2018-11-19 13:35:14 +00:00
Sylvestre Ledru
804b8b8883 Bug 1204606 - Reformat of dom/media r=jya
# skip-blame

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

--HG--
extra : moz-landing-system : lando
2018-11-19 13:25:37 +00:00
James Graham
266219812c Bug 1508253 - Fix wpt metadata update, r=gsnedders 2018-11-19 13:18:21 +00:00
Ted Campbell
49eabf2337 Bug 1508180 - Use uppercase names for high-order macros in js/ r=jandem
This pleases clang-format and makes many of these behave better when
auto formatted. Special cases may still be marked |clang-format off| in
later commits.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 13:05:09 +00:00
moz-wptsync-bot
920a2c5949 Bug 1507401 - [wpt-sync] Update web-platform-tests to f082fd63300fec7b6201cf5e0eaf0944ee7ccb6e, a=testonly
wpt-head: f082fd63300fec7b6201cf5e0eaf0944ee7ccb6e
wpt-type: landing
2018-11-19 11:46:29 +00:00
Anders Hartvoll Ruud
2ef355c4a9 Bug 1506956 [wpt PR 14039] - [css-properties-values-api] Support fallbacks., a=testonly
Automatic update from web-platform-tests[css-properties-values-api] Support fallbacks.

According to css-variables-1, any custom property that participates in a
cycle is invalid. This also applies to registered custom properties.
In the current implementation, however, registered custom properties
with an initial value can not become invalid; they compute to their initial
value instead, as provided by registerProperty. A consequence of this, is
that fallbacks (specified by var()-references) are never triggered if the
referenced property is a registered property with an initial value defined.

The value for any unregistered custom property, if no other value is
specified, is the invalid initial value described by css-variables-1.
This means we can just avoid storing the variable on ComputedStyle, to
signify the invalid initial value.

However, the value for any registered custom property, if no other value is
specified, can be the initial value specified by registerProperty. When
there is no value explicitly stored on ComputedStyle, we check
StyleInitialData and fetch the initial value from there. Hence, we can not
use the absence of a value to signify an invalid registered variable, as
we already use this state to mean "initial value from registerProperty".
This means that we must explicitly store a value for registered properties
that participate in a cycle. This CL adds CSSInvalidVariableValue to do
this.

 * When resolving a registered custom property, if a cycle is detected, set
   the registered value to CSSInvalidVariableValue.
 * When looking up a registered custom property, if we already have the
   value CSSInvalidVariableValue, return nullptr instead of initial data.
   This triggers fallbacks.
 * The code that set the cycle_detected flag was weird; a cycle could be
   marked as detected, even though ResolveTokenRange succeeded. This meant
   that any custom property which referenced a property in a cycle would
   also be treated as part of the cycle, which is wrong. Fixed by only
   setting the cycle_detected flag when we have cycle start points.
 * CSSInterpolationType did not initialize its cycle_detected variable,
   which led to undefined behavior.

R=futhark@chromium.org

Bug: 641877
Change-Id: I2c518b176de26f7b2f05b36b568041a228fcb0ea
Reviewed-on: https://chromium-review.googlesource.com/c/1333758
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608014}

--

wpt-commits: f082fd63300fec7b6201cf5e0eaf0944ee7ccb6e
wpt-pr: 14039
2018-11-19 11:46:28 +00:00
Youenn Fablet
28d789381d Bug 1503287 [wpt PR 13784] - Move getDisplayMedia to MediaDevices, a=testonly
Automatic update from web-platform-testsMove getDisplayMedia to MediaDevices

--
Merge pull request #13784 from youennf/move-getDisplayMedia-to-MediaDevices

Move getDisplayMedia to MediaDevices
--

wpt-commits: 08eff2d0b1ba1deec04f6eb154036bb7f86acfe5, 0e1c7257baef0329be409632de2e13bf001bc95c
wpt-pr: 13784
2018-11-19 11:46:28 +00:00
Stephen Chenney
99d04130b6 Bug 1507028 [wpt PR 14042] - Fix background image painting of very small images, a=testonly
Automatic update from web-platform-testsFix background image painting of very small images

The background image fast path painting rounds the image src rect
to integer sizes assuming sprite maps and/or reasonably large images.
When a very small image is used scaled up to a large size (such as
constant color images scaled up to form progress bars by animating
background size) the src rect may be 1 x [small number] which gets
rounded to zero size.

This patch changes the code to detect this situation and not round
in such cases.

It's worth recording that an alternate approach is to detect when
the rounding results in a significant change in src rect and always
switch to unrounded in that case. But it would be more expensive for
a relatively uncommon case.

R=fmalita
BUG=904042

Change-Id: I24657a5d087c0dda0fd8a5e3c3d08e1e4eb02473
Reviewed-on: https://chromium-review.googlesource.com/c/1334291
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607901}

--

wpt-commits: e1a59fb1af26d892ffee739205d1ab536d0d2819
wpt-pr: 14042
2018-11-19 11:46:27 +00:00
moz-wptsync-bot
bc853f1afa Bug 1506155 [wpt PR 14005] - Update wpt metadata, a=testonly
wpt-pr: 14005
wpt-type: metadata
2018-11-19 11:46:27 +00:00