Commit Graph

634030 Commits

Author SHA1 Message Date
Bogdan Tara
1f64e117be Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-02 01:38:27 +02:00
Bogdan Tara
add2612cc6 Backed out 8 changesets (bug 1522837) for buffer-full-inspect-buffer-during-callback.html failures a=backout
Backed out changeset 2bd187c04fd9 (bug 1522837)
Backed out changeset 47c7f936579b (bug 1522837)
Backed out changeset 8fb361192757 (bug 1522837)
Backed out changeset 877d383189f4 (bug 1522837)
Backed out changeset 814aa7e78267 (bug 1522837)
Backed out changeset 2d7be3f59c9d (bug 1522837)
Backed out changeset 893db1319f23 (bug 1522837)
Backed out changeset 3eeb76f0f5d8 (bug 1522837)
2019-02-02 01:34:58 +02:00
Dana Keeler
ee42c3c5ed bug 1514118 - have CertVerifier use any third-party roots rather than going through NSS r=jcj
Before this patch, if the enterprise roots feature were enabled, nsNSSComponent
would gather any such roots and temporarily import them into NSS so that
CertVerifier could use them during path building and trust querying. This turned
out to be problematic in part because doing so would require unlocking the
user's key DB if they had a password. This patch implements a scheme whereby
nsNSSComponent can give these extra roots directly to CertVerifier, thus
bypassing NSS and any need to unlock/modify any DBs. This should also provide a
path forward for other improvements such as not repeatedly searching through all
certificates on all tokens, which has inefficiencies (see e.g. bug 1478148).

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

--HG--
extra : moz-landing-system : lando
2019-02-01 22:01:00 +00:00
Dão Gottwald
9e0b76e800 Bug 1501623 - Dispatch an input event from UrlbarInput::setValueFromResult. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D18351

--HG--
extra : moz-landing-system : lando
2019-02-01 22:54:45 +00:00
Alex Gaynor
9022c68576 Bug 1524129 - don't allow accidentally passing actors via the wrong managing actor in IPDL messages; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D18263

--HG--
extra : moz-landing-system : lando
2019-02-01 22:06:59 +00:00
Emilio Cobos Álvarez
adf24f3a98 Bug 1523285 - Don't clip outlines of a button input and such. r=bzbarsky
Sorry, should've seen this :(

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

--HG--
extra : moz-landing-system : lando
2019-02-01 22:15:34 +00:00
Dão Gottwald
61c797bca4 Bug 1523812 - Handle changing the selection when there isn't already a selection. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D18337

--HG--
extra : moz-landing-system : lando
2019-02-01 22:34:43 +00:00
Brad Werth
4f7748eb5d Bug 1521604 Part 3: Add a test of parentFlexElement. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D17433

--HG--
extra : moz-landing-system : lando
2019-02-01 22:30:45 +00:00
Brad Werth
81b95a3014 Bug 1521604 Part 2: Create a Node chrome-only parentFlexElement property, for use by devtools. r=dholbert,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17308

--HG--
extra : moz-landing-system : lando
2019-02-01 22:29:34 +00:00
Brad Werth
5fa35fae72 Bug 1521604 Part 1: Hoist the flushing version of GetPrimaryFrame from Element to nsIContent. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17713

--HG--
extra : moz-landing-system : lando
2019-02-01 22:28:54 +00:00
Gurzau Raul
44e4d42e8a Backed out 7 changesets (bug 1521907) for failing at unit/test_bug1151385.js on a CLOSED TREE.
Backed out changeset ef04359ccf0d (bug 1521907)
Backed out changeset ac1c61bf61e9 (bug 1521907)
Backed out changeset df09b7be63c5 (bug 1521907)
Backed out changeset 585fa0024d46 (bug 1521907)
Backed out changeset e593c29aaff4 (bug 1521907)
Backed out changeset ac2e180a35b6 (bug 1521907)
Backed out changeset 270b1db9ea81 (bug 1521907)
2019-02-02 00:58:16 +02:00
Gurzau Raul
25481be3b8 Backed out 2 changesets (bug 1515641) for Linux static-analysis bustage on a CLOSED TREE.
Backed out changeset 99cc2de46625 (bug 1515641)
Backed out changeset 5a8a06e5187c (bug 1515641)
2019-02-02 00:55:11 +02:00
Haik Aftandilian
a5c9d467ea Bug 1506495 - Whitelist /Library and ~/Library ColorSync Profile directories r=Alex_Gaynor
Whitelist the /Library and ~/Library ColorSync profile directories allowing gfx.color_management.display_profile to be used to load color profiles from those locations.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 22:09:24 +00:00
Hiroyuki Ikezoe
b8cb200990 Bug 1523692 - Set the prefers-reduce-motion value for test to the instance of nsLookAndFeel in child processes. r=snorp
So that we can query the test value in the child process properly.

Note that the APIs used for setting the prefers-reduced-motion value for testing
are only used on Android and MacOSX.  As for MacOSX we have a different
machinery (see bug 1486971) to deliver the test value without spinning native
event loop in the child process so the change here is valid only for Android.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 22:07:26 +00:00
Mike Hommey
0706706c4e Bug 1519353 - Import minidump_stackwalk changes from https://hg.mozilla.org/users/tmielczarek_mozilla.com/stackwalk-http. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D16300

--HG--
extra : moz-landing-system : lando
2019-02-01 22:03:55 +00:00
Gurzau Raul
34253a9d78 Backed out changeset 56023d83552d (bug 1518377) for bustages at /tests/basic/bug908915.js on a CLOSED TREE 2019-02-01 21:36:39 +02:00
Boris Zbarsky
1272d3984b Bug 1521907 part 7. Start using CheckedUnwrapStatic/Dynamic in JS debugger. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D17889

--HG--
extra : moz-landing-system : lando
2019-02-01 18:51:09 +00:00
Boris Zbarsky
fd2464c36c Bug 1521907 part 6. Start using CheckedUnwrapStatic/Dynamic in toolkit. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D17886

--HG--
extra : moz-landing-system : lando
2019-02-01 18:49:45 +00:00
Boris Zbarsky
aaacae7c45 Bug 1521907 part 5. Start using CheckedUnwrapStatic/Dynamic in XPConnect. r=peterv
I am not a huge fan of the UnwrapReflectorToISupports setup here.  Maybe we
should introduce two differently-named methods that make it somewhat clear what
the limitations of not taking a JSContext are?  I couldn't think of sane
naming...

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

--HG--
extra : moz-landing-system : lando
2019-02-01 18:49:04 +00:00
Boris Zbarsky
76e1fab0c7 Bug 1521907 part 4. Start using CheckedUnwrapStatic/Dynamic in non-binding DOM code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D17884

--HG--
extra : moz-landing-system : lando
2019-02-01 18:48:36 +00:00
Boris Zbarsky
d061930645 Bug 1521907 part 3. Start using CheckedUnwrapStatic/Dynamic in bindings. r=peterv
The basic idea for the changes around UnwrapObjectInternal and its callers
(UnwrapObject, UNWRAP_OBJECT, etc) is to add a parameter to the guts of the
object-unwrapping code in bindings which can be either a JSContext* or nullptr
(statically typed).  Then we test which type it is and do either a
CheckedUnwrapDynamic or CheckedUnwrapStatic.  Since the type is known at
compile time, there is no actual runtime check; the compiler just emits a call
to the right thing directly (verified by examining the assembly output on
Linux).

The rest of the changes are mostly propagating through that template parameter,
adding static asserts to make sure people don't accidentally pass nullptr while
trying to unwrap to a type that might be a WindowProxy or Location, etc.

There are also some changes to places that were calling CheckedUnwrap directly
to use either the static or dynamic version, as needed.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 18:48:13 +00:00
Boris Zbarsky
20b1b5359b Bug 1521907 part 2. Add dynamic CheckedUnwrap support to CrossOriginObjectWrapper. r=peterv,sfink
This will allow us to correctly handle CheckedUnwrapDynamic on wrappers around
WindowProxy and Location.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 22:00:58 +00:00
Boris Zbarsky
511978c370 Bug 1521907 part 1. Add a version of CheckedUnwrap that can do a dynamic security check. r=jandem,sfink
We're going to need this because we will have multiple Realms in the same
compartment which want different CheckedUnwrap behavior in some cases.  So we
need to be able to check which Realm we're in.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 22:00:10 +00:00
Mike Hommey
5d92a7a815 Bug 1515641 - Check for nasm >= 2.13 for dav1d. r=TD-Linux,nalexander
Depends on D18294

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

--HG--
extra : moz-landing-system : lando
2019-02-01 20:57:09 +00:00
Mike Hommey
df9fa46b6d Bug 1515641 - Turn --enable-av1 around. r=nalexander
AV1 is actually enabled everywhere by default (except 32-bits Windows
when building with MSVC), so let's make the option --disable-av1 rather
than --enable-av1. Also, since AV1 is backed by both libaom and
libdav1d, remove mentions to libaom.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 20:58:20 +00:00
Bryce Van Dyk
4f095e63a3 Bug 1523683 - Use mozilla::Variant to select if the MoofParser should parse a single track or multiple. r=jya
Using a variant more clearly indicates how MoofParser works: you cannot request
a specific track id and to parse all tracks. Callers must now explicitly select
one or the other.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 21:34:37 +00:00
Gurzau Raul
6d07735d66 Backed out 2 changesets (bug 1520966) for failing at mochitest/test_ext_webrequest_auth.html on a CLOSED TREE
Backed out changeset f66aef24ffe6 (bug 1520966)
Backed out changeset 060f52cbeaf2 (bug 1520966)

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_xhr.html => toolkit/components/passwordmgr/test/test_xhr.html
2019-02-01 23:30:55 +02:00
Makoto Kato
b93b9a8c45 Bug 1515004 - Move --with-android-sdk to moz.configure. r=nalexander
Since ./mach bootstrap installs Android SDK into ~/.mozbuild, we should detect
this location as default SDK install path.

Also, --with-android-max-sdk and --with-android-min-sdk are still in android.m4
because confvars.sh sets MOZ_ANDROID_MIN_SDK_VERSION.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 21:12:51 +00:00
Daosheng Mu
033a88aff9 Bug 1523926 - Fix open VR shmem mutex failed issue when without VR process. r=kip
MozReview-Commit-ID: 5P7D75wAWI7

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

--HG--
extra : moz-landing-system : lando
2019-02-01 21:10:45 +00:00
Jared Wein
b107f77585 Bug 1523166 - Explicitly wait for the localized buttons before sizing the window to content. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D17777

--HG--
extra : moz-landing-system : lando
2019-02-01 20:53:47 +00:00
Kartikaya Gupta
b7b2ce33e3 Bug 1524437 - Replace text with div to avoid antialiasing effects. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D18300

--HG--
extra : moz-landing-system : lando
2019-02-01 18:45:48 +00:00
Ted Campbell
8bc1fdd88f Bug 1518377 - Fix the way isIon accesses current script r=nbp
Existing code didn't handle IonIC frames, but the
FrameScriptIter::script function does the right thing for us here.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 11:19:03 +00:00
Nils Ohlmeier [:drno]
c8aea55c6b Bug 1524145: set Opus stereo on send stream with 2 channels. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D18175

--HG--
extra : moz-landing-system : lando
2019-02-01 18:28:10 +00:00
Kartikaya Gupta
73a9848a1b Bug 1524580 - Turn on the remaining WPT jobs on windows-qr. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D18345

--HG--
extra : moz-landing-system : lando
2019-02-01 18:05:34 +00:00
Kartikaya Gupta
d0185dde1e Bug 1524580 - Update WPT annotations for WebRender on Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D18344

--HG--
extra : moz-landing-system : lando
2019-02-01 18:05:19 +00:00
Ciure Andrei
3fc7bec4e3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-01 19:57:45 +02:00
Ciure Andrei
71db6522be Merge inbound to mozilla-central. a=merge 2019-02-01 19:56:27 +02:00
Kartikaya Gupta
0deb9fd9cb No bug - Adjust fuzziness for reftest on mac which showed up after merging autoland and inbound. r=me on a CLOSED TREE 2019-02-01 10:07:53 -05:00
Benjamin Bouvier
d9ab10a50d Bug 1522882: Define SpewBeginWasmFunction in non-debug builds too to fix bustage on a CLOSED TREE; r=me 2019-02-01 16:05:40 +01:00
Tom Tung
15907fc6e1 Bug 1519822 - Support IPv6 URL on OriginParser; r=asuth
The supporting format for IPv6 URL based on
https://url.spec.whatwg.org/#host-representation

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

--HG--
extra : moz-landing-system : lando
2019-02-01 13:04:14 +00:00
Robin Templeton
98afdc103b Bug 1524136 - Fix BigInt errors in string conversion and remainder operations r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D18171

--HG--
extra : moz-landing-system : lando
2019-02-01 12:17:06 +00:00
Sylvestre Ledru
8181a46381 Bug 1524194 - Do not add stack pointer to clobber list r=ted
Cherry-pick upstream patch to address a build issue with gcc 9

https://chromium.googlesource.com/linux-syscall-support/+/8048ece6c16c91acfe0d36d1d3cc0890ab6e945c

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

--HG--
extra : moz-landing-system : lando
2019-02-01 11:37:06 +00:00
Ted Mielczarek
dacb17a7c0 bug 1506848 - remove some no-longer-necessary bits from mozconfig.cache. r=nalexander,glandium
Differential Revision: https://phabricator.services.mozilla.com/D18265

--HG--
extra : moz-landing-system : lando
2019-02-01 11:22:16 +00:00
Ted Mielczarek
8a4288a193 bug 1506848 - switch Windows debug flags from -Zi to -Z7. r=nalexander
We default to -Zi for Windows debug flags, which is for generating debug info
into a PDB file, but clang-cl doesn't actually implement that so -Zi is
an alias for -Z7 in clang-cl:
http://clang.llvm.org/docs/UsersManual.html#id9

sccache has special handling for -Zi because multiple compiles writing
to the same PDB file is not cacheable, so we've always overridden -Zi with -Z7
in CI when using sccache.

Given that everyone should be using clang-cl nowadays and MSVC will no longer
be supported soon, this patch changes the default and removes some PDB
file name flag setting from rules.mk, as well as the no-longer-necessary
overrides from mozconfig.cache.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 11:12:06 +00:00
Daisuke Akatsuka
33dd1d5c09 Bug 1521440: Add a test for hostType into browser_toolbox_target. r=ochameau
Depends on D17796

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

--HG--
extra : moz-landing-system : lando
2019-02-01 09:31:50 +00:00
David Parks
32fe24cedb Bug 1514073: Allow Windows plugin process to access Macromedia roaming folder (r=bobowen)
The sandbox already permits the process to create/delete the folder and access files in it.  This patch gives is access to the folder itself, namely it allows NtQueryAttributesFile to evaluate it.  For complex reasons, this fixes Flash's ability to store local objects (see AS3's SharedObject API).

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

--HG--
extra : moz-landing-system : lando
2019-02-01 09:22:29 +00:00
Felipe Gomes
c48e1ed307 Bug 1355588 - Implement slide-up/down tab opening/closing animation. r=dao
This patch implements a new, preffed-off tab opening/closing animation where the tab slides up and down in place. In addition, it adjusts some tests and code that were relying on the max-width transitionend event happening. The intent of the patch is to land it preffed-off and iterate on the design in the tree

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

--HG--
extra : moz-landing-system : lando
2019-02-01 17:35:05 +00:00
Ciure Andrei
63b0f3f854 Backed out 7 changesets (bug 1521907) for JSObject Wrapper.cpp bustages and failures CLOSED TREE
Backed out changeset ce3108090e77 (bug 1521907)
Backed out changeset efd05f4979f1 (bug 1521907)
Backed out changeset 2d0895148907 (bug 1521907)
Backed out changeset 192152fe986a (bug 1521907)
Backed out changeset ca65b46b0d37 (bug 1521907)
Backed out changeset b3daf5ca3d11 (bug 1521907)
Backed out changeset 1b0a09a46c70 (bug 1521907)
2019-02-01 19:38:25 +02:00
Vlad Baicu
e8663334b6 Bug 1516665 - Part 3: Additional logging. r=JanH
Added additional logging. In case the agent is not attached but we are not on a
release or beta build, allow createNotification to be called with a null context
so that we may be able to gather more information from the reports.

Depends on D18115

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

--HG--
extra : moz-landing-system : lando
2019-02-01 15:51:27 +00:00
Vlad Baicu
8938560671 Bug 1516665 - Part 2: Cleanup. r=JanH
Some code cleanup.

Depends on D17391

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

--HG--
extra : moz-landing-system : lando
2019-02-01 15:08:00 +00:00