Commit Graph

634138 Commits

Author SHA1 Message Date
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
Matthew Noorenberghe
8c24e0d946 Bug 1258912 - Enable the no-undef rule in pwmgr tests. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D18168

--HG--
extra : rebase_source : 0bc63cc16e10a0a4ce962c243e0fe11a9a9d3c4f
2019-02-01 12:40:05 -08: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
Vlad Baicu
e55eb8e3c9 Bug 1516665 - Prevent MediaControlService NPE. r=JanH
Use MediaControlService's context when creating the notification in order to
prevent a NPE.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 15:07:29 +00:00
Masayuki Nakano
b64bb949e0 Bug 1466208 - part 8: Clean up PresShell::EventHandler::GetFrameForHandlingEventWith() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D16958

--HG--
extra : moz-landing-system : lando
2019-02-01 02:18:55 +00:00
Mark Banner
38d03bf5ca Bug 1524536 - Port some tests to QuantumBar (Search Engine results, a11y label, autoselect, tab switch reset). r=mak
This starts porting other tests to work with QuantumBar and starts expanding UrlbarTestUtils.jsm with more helper functions.

For the tests, I'm generally using replacing with UrlbarTestUtils except for promiseAutocompleteResultPopup/promiseSearchComplete. These functions feel like they need a more in-depth change (bug 1522902), but probably not until we can remove the old bar.

browser_autocomplete_a11y_label.js and browser_autocomplete_autoselect.js are partially ported, but won't run on QuantumBar yet due to missing functionality.

Depends on D18262

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

--HG--
rename : browser/components/urlbar/tests/legacy/browser_action_searchengine.js => browser/components/urlbar/tests/browser/browser_action_searchengine.js
rename : browser/components/urlbar/tests/legacy/browser_action_searchengine_alias.js => browser/components/urlbar/tests/browser/browser_action_searchengine_alias.js
rename : browser/components/urlbar/tests/legacy/browser_autocomplete_edit_completed.js => browser/components/urlbar/tests/browser/browser_autocomplete_edit_completed.js
rename : browser/components/urlbar/tests/legacy/browser_new_tab_urlbar_reset.js => browser/components/urlbar/tests/browser/browser_new_tab_urlbar_reset.js
rename : browser/components/urlbar/tests/legacy/browser_urlbar_remove_match.js => browser/components/urlbar/tests/browser/browser_urlbar_remove_match.js
extra : moz-landing-system : lando
2019-02-01 16:33:24 +00:00
Dylan Roeh
c8d8aee4ef Bug 1522153 - Pass an empty list rather than null to onChoicePrompt when no choices are present. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D18261

--HG--
extra : moz-landing-system : lando
2019-01-31 23:48:47 +00:00
Emanuel Hoogeveen
77a300f11a Bug 1520783 - Don't assert if we fail to map a file after reserving the memory. r=sfink
--HG--
extra : histedit_source : 3665ff06fffa8d2ea6c1f38518c35ea15f72d5ae
2019-01-31 12:17:00 +02:00
Bas Schouten
a3c4519183 Bug 1521368 - Part 3: Ensure DrawTargetDual properly implements IsValid(). r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D18383

--HG--
extra : rebase_source : a9af7a64f274c89a48c3aedb05f77d0d63fcfa2e
2019-02-01 21:22:48 +01:00
Bas Schouten
296f494160 Bug 1524554: Ensure Canvas surfaces are initialized on the main thread and ensure their validity. r=rhunt
This isn't the prettiest solution but it's minimally invasive. More long-term a better solution may be to expose a call on DrawTargets to ensure their initialization even if they're on the main thread. IsValid probably isn't a good candidate for this as we want it to be usable freely on the main thread to ensure none of the basic conditions of the surface are still valid.

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

--HG--
extra : rebase_source : 2b2f05a247ea8c6896288624c5620501592e3dcc
2019-02-01 13:18:55 +01:00
Daisuke Akatsuka
e318e6b1c6 Bug 1521440: Add test for reloading about:devtools-toolbox. r=jdescottes
Depends on D17795

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

--HG--
extra : moz-landing-system : lando
2019-01-31 01:39:39 +00:00
Daisuke Akatsuka
0c01c764aa Bug 1521440: Avoid to move to about:blank after destroying. r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D17795

--HG--
extra : moz-landing-system : lando
2019-01-31 18:08:19 +00:00
Mark Banner
91c1df13da Bug 1524377 - In QuantumBar, don't affect the search url when checking to see if we need to canonize the result. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D18262

--HG--
extra : moz-landing-system : lando
2019-02-01 10:50:05 +00:00
Oriol Brufau
35e59fd61b Bug 1524254 - Rename addTab's title parameter to lazyTabTitle. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D18320

--HG--
extra : moz-landing-system : lando
2019-02-01 10:33:19 +00:00
sotaro
4776754f01 Bug 1524168 - Request AlphaVisual for WebRender r=jrmuizel
When hardware acceleration is enabled, GLContextGLX::FindVisual() is used to choose visual. When widget does not request AlphaVisual, the FindVisual() always choose RGB(24bit) visual. It causes to loose alpha during readback.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 16:49:08 +00:00
Matthew Noorenberghe
dbc2f6e676 Bug 1258912 - Enable the no-unused-vars eslint rule in pwmgr tests. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D18167

--HG--
extra : rebase_source : 72f46857966f0e689d9a39a719822c2e534edf5b
2019-01-30 17:33:56 -08:00