Commit Graph

689597 Commits

Author SHA1 Message Date
Kristen Wright
8c1f257dcd Bug 1605328 - Always print the crashing process dump file first r=gbrown
The list of crash dumps in the dump directory appears as something like `['uuid.dmp, uuid-browser.dmp']`. When iterating over the list of files, the files are always sorted alphabetically, meaning any `uuid-<something>.dmp` goes before `uuid.dmp`. We only really care that `uuid.dmp` comes first, as the rest are just additional data not necessarily related to the crashing process, so iterating the list in reverse should put the right .dmp file first.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 12:54:23 +00:00
Julian Descottes
6d77dc5271 Bug 1611229 - Add linting rule to prevent using ChromeUtils.import(..., null) r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D60891

--HG--
extra : moz-landing-system : lando
2020-01-29 13:15:54 +00:00
André Bargull
76620e1e52 Bug 1610513: Add numberingSystem option support to Intl.RelativeTimeFormat. r=jwalden
Restricted to Nightly so we can enable it by default in tandem with enabling
the same option in NumberFormat and DateTimeFormat.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 13:07:34 +00:00
James Graham
e4205cc1a7 Bug 1610260 - Increase timeout multiplier for wpt ccov opt, r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D60486

--HG--
extra : moz-landing-system : lando
2020-01-29 10:05:13 +00:00
Jeff Gilbert
3870cfafe7 Bug 1608330 - Use Run<RPROC> instead of calling Present directly. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D60091

--HG--
extra : moz-landing-system : lando
2020-01-16 03:09:13 +00:00
alexandru.ionescu
1535129890 Bug 1573418 Run Talos harness tests in CI r=rwood,igoldan,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D56680

--HG--
extra : moz-landing-system : lando
2020-01-29 08:29:13 +00:00
Masayuki Nakano
ec2a667824 Bug 1611895 - Make EditorEventListener::DragOverOrDrop() check whether the result of DragEvent::GetRangeParentContentAndOffset() returned nullptr or not r=smaug
`DragEvent::GetRangeParentContentAndOffset()` may return `nullptr`.  Previously,
it was checked and returned `NS_ERROR_FAILURE` before landing bug 1610264.

This patch adds the null check which was accidentally removed.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 10:36:32 +00:00
Harry Twyford
afe982fafb Bug 1593886 - Update dark theme Urlbar colours. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60899

--HG--
extra : moz-landing-system : lando
2020-01-29 09:58:38 +00:00
Perry Jiang
dfe4262aaf Bug 1611046 - avoid using namespace declaration r=dom-workers-and-storage-reviewers,sg
In particular this avoids unqualified name lookup ambiguity between
::Request and mozilla::dom::Request (imported into the global namespace by
using namespace mozilla::dom).

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

--HG--
extra : moz-landing-system : lando
2020-01-29 12:05:47 +00:00
Perry Jiang
a0f4d9f5ad Bug 1611046 - add ServiceWorker shutdown progress tracking r=dom-workers-and-storage-reviewers,asuth
ServiceWorkerShutdownState encapsulates the shutdown progress for a particular
ServiceWorker. The shutdown process involves a "shutdown message" passing
multiple threads in both parent/content processes; we report a progress update
when it's known that a shutdown message has reached a particular thread. The
idea is that in the event of a shutdown timeout, ServiceWorkerShutdownBlocker
will be able to provide diagnostics for where shutdown processes are stalled.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 10:08:35 +00:00
Honza Bambas
718c54fd9f Bug 1608224 - Update originalURI of the "new" redirect channel used by a view-source channel to let consumers see it has been actually used for view-source, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D60740

--HG--
extra : moz-landing-system : lando
2020-01-29 10:30:09 +00:00
Matthew Gaudet
8901d4de27 Bug 1594851 - Run clang-plugin on SM(p) builds on linux r=sfink
Also changes SM(p) to use Clang.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 10:22:16 +00:00
Kevin Jacobs
b77ae35a28 Bug 1612062 - Remove Delegated Credentials experiment add-on r=jcj
This patch removes add-on code for the TLS Delegated Credentials experiment, backing out 5196ecfdca.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 10:07:32 +00:00
Kristen Wright
51dfe11781 Bug 1602986 - Get rid of NS_WARN_IF warnings in nsSegmentedBuffer::FreeOMT r=froydnj
At shutdown, the stream transport service is not available and `free(aPtr)` happens synchronously. These warnings will always trigger and produce a lot of logspam.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 10:03:34 +00:00
Nan Jiang
50fb7bd5cd Bug 1604681 - Add page information to the Onboarding telemetry r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D60903

--HG--
extra : moz-landing-system : lando
2020-01-29 09:43:09 +00:00
Simon Giesecke
ef5eb5a207 Bug 1509292 - Remove test test_broadcastchannel_worker.html r=baku
The test suffers from a race condition, and shows frequest intermittent
failures. There already is is WPT test testing the same in
/testing/web-platform/tests/webmessaging/broadcastchannel/workers.html
test case 'BroadcastChannel works in workers', which does not seem
to suffer from this problem.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 09:25:28 +00:00
Tom Tung
6db05b23ac Bug 1599496 - Turn javascript.options.shared_memory on by default on early Beta; r=bzbarsky
This patch mainly enables the pref for SharedArrayBuffer on early Beta. (We have
already enabled that on Nightly by default)

This change causes some tests to fail. This patch handles the failures for
a mochitest and web-platform-tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 14:53:08 +00:00
Boris Zbarsky
5cd4320f78 Bug 1612007. Add convenience methods for throwing various spec-defined DOMExceptions on ErrorResult. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61202

--HG--
extra : moz-landing-system : lando
2020-01-29 09:09:11 +00:00
Nicolò Ribaudo
77b4543956 Bug 1607050 - Parse await as an identifier in fields initializers r=anba
The proposal specifies class fields as follows:
  FieldDefinition[Yield, Await]:
    ClassElementName[?Yield, ?Await] Initializer[In, ~Yield, ~Await]opt

This means that await shouldn't be parsed according to the context
where the class is defined: it should always be parsed as an
identifier inside initializers.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 07:33:39 +00:00
Arthur Iakab
04787705d2 Backed out changeset 28a9739ba4c4 (bug 1610298) for causing browser-chrome failures on browser_asrouter_snippets.js
CLOSED TREE
2020-01-29 10:48:58 +02:00
Noemi Erli
c57127be79 Backed out changeset fc73a1225106 (bug 1509292) for causing build bustages CLOSED TREE 2020-01-29 10:26:15 +02:00
Michael Forney
fafd525cc9 Bug 1612025 - Avoid conflict with pread64/pwrite64 defined by libc r=gsvelto
musl libc defines these to pread and pwrite respectively, since its
off_t is always 64-bit. This causes unintended macro replacement
when defining the pread64/pwrite64 wrappers.

To prevent this, save the macro definitions at the start of the
header and restore them at the end. This is what is already done
to work around the same issue on Android NDK.

This is a cherry-pick of the following upstream change:
https://chromium.googlesource.com/linux-syscall-support/+/f70e2f1641e280e777edfdad7f73a2cfa38139c7%5E%21/

This change was also applied to google-breakpad here:
647158232b%5E%21/

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

--HG--
extra : moz-landing-system : lando
2020-01-29 07:05:44 +00:00
Simon Giesecke
475a68fff8 Bug 1509292 - Remove test test_broadcastchannel_worker.html r=baku
The test suffers from a race condition, and shows frequest intermittent
failures. There already is is WPT test testing the same in
/testing/web-platform/tests/webmessaging/broadcastchannel/workers.html
test case 'BroadcastChannel works in workers', which does not seem
to suffer from this problem.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 08:03:59 +00:00
Andrei Oprea
de60fd5486 Bug 1610298 - Snippets preview messages don't belong to a provider r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D60414

--HG--
extra : moz-landing-system : lando
2020-01-29 07:45:58 +00:00
Stephen McGruer
7e8b6e2ef8 Bug 1608980. Use long animation in webkit-animation-iteration-event.html
Some CI systems are very slow, so end up skipping short animations and
not firing iteration events for them. This commit changes
webkit-animation-iteration-event.html to have a very long iteration
duration, but uses a negative delay to position the start point right
before the end of the first iteration.

This is a cherry-pick of
fdc1a89a01
and was reviewed upstream.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 07:04:13 +00:00
Emily McDonough
20c74bb15f Bug 1611950 - Make constructor of CellMap::Cell constexpr r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D61179

--HG--
extra : moz-landing-system : lando
2020-01-29 06:34:48 +00:00
Csoregi Natalia
fa1de91185 Backed out changeset 8984a7d5601f (bug 1594851) for spidermonkey bustage. CLOSED TREE 2020-01-29 07:56:24 +02:00
Matthew Gaudet
73acd23b46 Bug 1594851 - Run clang-plugin on SM(p) builds on linux r=sfink
Also changes SM(p) to use Clang.

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

--HG--
extra : moz-landing-system : lando
2020-01-29 05:25:26 +00:00
Bert Peers
123e2ce473 Bug 1605283 - Improve support for invalidation debugging and testing r=nataliaCs
Differential Revision: https://phabricator.services.mozilla.com/D61207

--HG--
extra : moz-landing-system : lando
2020-01-29 05:21:52 +00:00
Masayuki Nakano
ddb9a88943 Bug 1606655 - Make NativeKey stop adding alternative char codes while user inputs a Unicode character with Alt + some numpad keys r=m_kato
Custom keyboard layout may set unusual character to each numpad key.  In our
shortcut and acceleration key handling, we refer alternative char code values
stored in `eKeyDown` or `eKeyPress` and they may contain an alphabet which is
used by menubar but it shouldn't be performed while user inputs a Unicode
character with `Alt` + numpad keys because it's being handled by Windows.
(In strictly speaking, I think that we shouldn't dispatch key events of the
sequence, but Chrome does it so that we should keep dispatching for web-compat.)

This patch makes `NativeKey` stores same `mCommittedCharsAndModifiers`,
`mShiftedString` and `mUnshiftedString` values as usual keyboard layout
even active keyboard layout customized numpad key values.

Note that Windows handles the key sequence without virtual key code, meaning
that even if the numpad keys are shuffled by keyboard layout, typed numbers
are computed from physical key position.  E.g., even if `Numpad7` is mapped
to `1`, it's treated as `7`.  Therefore, this patch refers scan code in
some places.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 12:01:56 +00:00
sotaro
45e4405493 Bug 1611743 - Handle IDCompositionSurface::BeginDraw() error r=nical
Differential Revision: https://phabricator.services.mozilla.com/D61101

--HG--
extra : moz-landing-system : lando
2020-01-28 15:22:23 +00:00
Emilio Cobos Álvarez
78ba77f68b Bug 1611661 - Give nsNumberControlFrame a TextInput type. r=mats
LayoutFrameType::NumberControl is unused, and nsNumberControlFrame inherits now
from nsTextControlFrame. There are three places that check for
LayoutFrameType::TextInput. Two direct ones:

 * ShouldApplyOverflowCLipping
 * nsFontInflationData

And one indirect via IsTextInputFrame, the one mentioned in comment 2. For all
those three, it makes sense for nsNumberControlFrame to be handled in the same
way as nsTextControlFrame.

Long term we may want to get rid of the concept of frame types and just use
queryFrame or some sugar of that sort, as it's error prone. But for now this
fixes the bug.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 21:10:26 +00:00
Matthew Noorenberghe
d81e89c89a Bug 1582738 - ChromeProfileMigrator: Don't initialize crypto if there are no rows. r=Gijs
Initializing OSCrypto can lead to a useless macOS Keychain prompt when there are no logins to import.

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

--HG--
rename : browser/components/migration/tests/unit/AppData/Local/Google/Chrome/User Data/Default/Login Data => browser/components/migration/tests/unit/AppData/LocalWithNoData/Google/Chrome/User Data/Default/Login Data
rename : browser/components/migration/tests/unit/Library/Application Support/Google/Chrome/Default/Login Data => browser/components/migration/tests/unit/LibraryWithNoData/Application Support/Google/Chrome/Default/Login Data
rename : browser/components/migration/tests/unit/Library/Application Support/Google/Chrome/Local State => browser/components/migration/tests/unit/LibraryWithNoData/Application Support/Google/Chrome/Local State
rename : browser/components/migration/tests/unit/test_Chrome_passwords.js => browser/components/migration/tests/unit/test_Chrome_passwords_emptySource.js
extra : moz-landing-system : lando
2020-01-28 10:50:10 +00:00
Andy Bruère
96f76ae89c Bug 1597993 - Add regression test for login-item focus trap r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D60258

--HG--
extra : moz-landing-system : lando
2020-01-28 22:33:26 +00:00
Andy Bruère
dab63aaf2a Bug 1597993 - Rework login-item overflow rule to solve focus trap r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D60257

--HG--
extra : moz-landing-system : lando
2020-01-26 20:49:54 +00:00
Matthew Noorenberghe
f5aec46ab3 Bug 1216186 - Use the actual browser name for imported bookmark folders from Chromium. r=Gijs
Using _getLocalePropertyForBrowser isn't ideal but ideally this patch would get uplifted so I didn't want to do a larger refactoring to fix this.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 12:27:25 +00:00
Harry Twyford
4133cc649b Bug 1611271 - Remove -moz-mac-focusring border colour. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60901

--HG--
extra : moz-landing-system : lando
2020-01-28 16:27:31 +00:00
shindli
717e768d35 Merge mozilla-central to autoland on a CLOSED TREE 2020-01-29 00:25:17 +02:00
shindli
05de837272 Backed out changeset 6a1a55bc4edf (bug 1605188) for webrender and wrench bustages. These are being detected with delay, see bug 1576040 a=backout 2020-01-29 00:20:16 +02:00
Bert Peers
05e00eed63 Bug 1605283 - Improve support for invalidation debugging and testing r=gw a=reland CLOSED TREE
Third iteration:

Fix broken scrolling (and incorrect positioning of quad tree lines) by
serializing the SpaceMapper(-transform) from take_context, and using it
to transform the primitive rects (instead of the previous translation
based on unclipped.origin);
Note: this is done at visualization time and not at export time to
distinguish actually moving elements from merely-scrolling ones.

Serialize the entire UpdateList, so we get the data (Keys) that's being
added; add it to the overview;

Move the static CSS code into tilecache_base.css; add this and the .js
file to the binary, write them as part of output (instead of manual
copy); clean up CSS a bit;

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

--HG--
extra : source : 535ae1d4818a3f0af64d61846035135751352bd1
extra : histedit_source : bf9a8f830ec7db4c2d1fcb6deaaf72949d6b69ed
2020-01-28 20:05:38 +00:00
Csoregi Natalia
25b1fb82cf Backed out changeset 535ae1d4818a (bug 1605283) for cargo related bustage. CLOSED TREE 2020-01-28 22:56:27 +02:00
Emily McDonough
faa250d528 Bug 1611951 - Basic documentation of fields of ComputedGridTrackInfo r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61180

--HG--
extra : moz-landing-system : lando
2020-01-28 16:58:06 +00:00
Dão Gottwald
5bf3f1776c Bug 1611689 - Make OverflowableToolbar::_checkOverflow return early in DOM fullscreen mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61181

--HG--
extra : moz-landing-system : lando
2020-01-28 15:55:50 +00:00
Glenn Watson
080f81eb29 Bug 1611314 - Update expectations for shape-outside-linear-gradient-013.htm r=nical
Differential Revision: https://phabricator.services.mozilla.com/D61145

--HG--
extra : moz-landing-system : lando
2020-01-28 15:21:50 +00:00
Bert Peers
cd0e366e52 Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Third iteration:

Fix broken scrolling (and incorrect positioning of quad tree lines) by
serializing the SpaceMapper(-transform) from take_context, and using it
to transform the primitive rects (instead of the previous translation
based on unclipped.origin);
Note: this is done at visualization time and not at export time to
distinguish actually moving elements from merely-scrolling ones.

Serialize the entire UpdateList, so we get the data (Keys) that's being
added; add it to the overview;

Move the static CSS code into tilecache_base.css; add this and the .js
file to the binary, write them as part of output (instead of manual
copy); clean up CSS a bit;

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

--HG--
extra : moz-landing-system : lando
2020-01-28 20:05:38 +00:00
Razvan Maries
0801935dae Backed out changeset 228931ff1d49 (bug 1607364) for mochitest failures. CLOSED TREE 2020-01-28 22:03:47 +02:00
Arnaud Renevier
4ba9c81516 Bug 1607364 - CrashReporting API r=baku
Implement Crash Report for Reporting API.

The browser test will force a crash of the renderer and check that a report is
sent to the server. Because of this (intentional) crash, the verification test
fail. So we disable verification test for that test.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 18:06:47 +00:00
Florin Strugariu
cb537c4f9f Bug 1611924 - raptor remove_raptor_webext does not reset the webext value after is closed r=perftest-reviewers,octavian_negru
Differential Revision: https://phabricator.services.mozilla.com/D61170

--HG--
extra : moz-landing-system : lando
2020-01-28 13:45:28 +00:00
Kristen Wright
76a14dda81 Bug 1604877 - Convert the nsSystemInfo thread to a background ET. r=mconley
Converts the one-off LazyIdle thread in nsSystemInfo to use a background event target dispatching the dedicated background thread pool instead.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 15:06:17 +00:00
Botond Ballo
abcab3d351 Bug 1599930 - Support --no-install for web platform tests. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D55046

--HG--
extra : moz-landing-system : lando
2020-01-28 15:28:19 +00:00