Commit Graph

630938 Commits

Author SHA1 Message Date
Henri Sivonen
2daf725240 Bug 1514664 - Implement TextEncoder.encodeInto(). r=emk. 2019-01-11 12:35:17 +02:00
Andrea Marchesini
f3c496f926 Bug 1515277 - Separate ClearData flag for Reporting data, r=jkt, r=smaug 2019-01-11 09:43:58 +01:00
Lars T Hansen
d66fb136aa Bug 1508561 - Disentangle support for reftypes and gc. r=jseward
This does the following:

- It introduces a controlling ifdef ENABLE_WASM_REFTYPES that enables
  exactly those features that are in the reftypes proposal, excluding
  those in the gc proposal.  Any remaining features (namely, ref.eq,
  (ref T) types, struct types) are still under ENABLE_WASM_GC control.
  ENABLE_WASM_GC requires ENABLE_WASM_REFTYPES and this is checked.

- It introduces a new TestingFunctions predicate, wasmReftypesEnabled,
  that distinguishes reftype-proposal support from gc-proposal
  support.  We keep wasmGcEnabled to test for gc-proposal support.

- It segregates test cases so that gc-proposal relevant tests are in
  their own files, and tests relevant to the reftypes-proposal are now
  guarded by wasmReftypesEnabled.

- It renames the predicate HasGcSupport() as HasReftypesSupport(),
  since that is what the predicate tests for.

- It has a drive-by fix for the DEBUG-only function wasm::Classify()
  to properly put ref.null and ref.is_null under ifdef control.

Reftypes will soon be enabled unconditionally in Nightly (once we can
trace pointers from Ion frames) while gc-types will remain conditional
until Ion supports all the new instructions for struct types.  Therefore:

- The command line switch and about:config option are still called
  --wasm-gc and j.o.wasm_gc, respectively, which is fine since they will
  fairly soon control only gc-proposal features.

- Internal names still use "Gc" rather than "Reftypes", eg,
  HasGcTypes, wasmGc_, and so on.  This is most appropriate since it
  reduces the scope of the patch and these names will pertain mainly
  to the gc feature in the future.

--HG--
extra : rebase_source : 51cf3bfe67da594e89195472e4ce1ccfa36c146d
2018-12-18 17:26:32 +01:00
Lars T Hansen
3311ddda7f Bug 1515917 - Generalize testing for wasm GC availability. r=bbouvier
Generalize the testing of GC availability so that it more accurately
reflects whether GC support is actually available, this is a
complicated predicate at present.

(This was motivated by an attempt to generalize the testing
directives, but that generalization does not land yet because it has
some obscure effects that need to be addressed first.)

The generalization sets us up for splitting apart the code and test
cases for the "reftypes" and "gctypes" proposals in a subsequent
patch.

--HG--
extra : rebase_source : 109b6c53206f5f51a34beb9e568ca0183211eb85
extra : intermediate-source : 7f67226aa4e4c6c1c640b6e3439e47a5c34b3f11
extra : source : 33e686de2b00f6a6f1151b113d112e0c2bd66c86
2018-12-21 12:41:52 +01:00
William G Hatch
6568267252 Bug 1513405 - KeymapWrapper::ComputeDOMKeyCode() shouldn't ignore modifiers when computing keyCode value of non-printable key event r=karlt, masayuki
Some unusual keyboard layout may map a function key only with some
modifiers.  For example, Hatchak keyboard layout maps Tab key to
"Digit3" key and Backspace key to Level3 Shift+"Digit3" key.  So,
when Level3 Shift is active, the modifier state of the "Digit3" key
event shouldn't be ignored because computed keyCode value becomes
DOM_VK_TAB (9) rather than DOM_VK_BACK_SPACE (8).

This patch makes KeymapWrapper::ComputeDOMKeyCode() compute keyCode
value of non-printable key event with its modifier state first.  If
it cannot map to a DOM keyCode value, then, it keeps ignoring the
modifier state for backward compatibility and making web apps be able
to identify the key as far as possible.
2019-01-09 18:36:43 +09:00
Henri Sivonen
40eb2c1d4e Bug 256180 Dalvik part - Disable some deep-tree tests on Android, because running the tests on Dalvik is not feasible. r=snorp. 2019-01-11 09:44:09 +02:00
Henri Sivonen
34559b2b59 Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug.
MozReview-Commit-ID: K8fgv3rgklt
2019-01-11 09:44:09 +02:00
Henri Sivonen
c3fa996949 Bug 256180 layout part - Increase MAX_REFLOW_DEPTH to reduce the probability of content going silently missing. r=bzbarsky.
MozReview-Commit-ID: 7Ui0tVlLEQM
2019-01-11 09:44:09 +02:00
Henri Sivonen
681fa14255 Bug 256180 mobile part - Increase the max size for the runtime stack of the Gecko main thread on Android. r=snorp.
MozReview-Commit-ID: F85WvVTOP1S
2019-01-11 09:44:09 +02:00
Henri Sivonen
f28bbfc06f Bug 256180 build config part - Increase the max size for the runtime stack on Windows. r=glandium. 2019-01-11 09:44:09 +02:00
Henri Sivonen
cf396b408d Bug 1469904 - Disable test_temporary.js on Windows, because it fails with increased run-time stack size. r=aswan. 2019-01-11 09:44:09 +02:00
Mike Hommey
da9f57341c Bug 1480006 - Enable LTO on Android CI builds. r=froydnj 2019-01-11 16:30:55 +09:00
Matt Woodrow
7adb490485 Backed out changeset 95324d36ded5 (Bug 1518405) for causing performance regressions. 2019-01-11 18:59:46 +13:00
Daniel Varga
1b2c69a5c1 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-11 06:23:02 +02:00
Daniel Varga
f0a9c979bb Merge mozilla-inbound to mozillia-central. a=merge 2019-01-11 06:14:14 +02:00
Brian Hackett
4110ee1e5e Bug 1517626 - Treat event handlers as eval'ed sources, r=lsmyth. 2019-01-10 16:53:11 -10:00
Ryan Hunt
7972421862 Bug 1518633 part 15 - Remove unneeded mouse click test_bug633762. r=mattwoodrow
This mouse click seems superfluous, as window.focus() is called immediately after.

In addition, this click is somehow causing a page up scroll, as it's clicking
a slider frame. This causes the test to fail with scroll anchoring enabled,
for some reason. Removing this click seems to be the easiest solution, as it
doesn't seem intentional.

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

--HG--
extra : rebase_source : 6e41d587e54d083b0930173d12db1fc180ae70fa
extra : histedit_source : a604e48df440974b7554b6ee8be01641abd92a64
2019-01-10 18:20:39 -06:00
sotaro
d85d8a3b57 Bug 1516787 - Add GLContextEGL::OnMarkDestroyed() r=jgilbert 2019-01-11 09:04:26 +09:00
Cosmin Sabou
af0ac088e5 Backed out changeset 8d953c25fdef (bug 1514874) for windows asan mda failures on RemoteDecoderModule.cpp. 2019-01-11 02:03:38 +02:00
Emilio Cobos Álvarez
06e203c285 Bug 1519269 - Rustfmt recent changes. 2019-01-11 01:02:56 +01:00
Shanavas M
03d98acfa8 Bug 1519269 - Remove OrderedMap in favor of IndexMap. r=emilio
This cherry-picks https://github.com/servo/servo/pull/22656.
2019-01-11 01:02:54 +01:00
Mike Hommey
9a0967dc5d Bug 1515579 - Use absolute paths for compilers, etc. r=ted
In bug 1259382, some workarounds were added to make the build system
alter PATH and not use absolute paths for toolchain programs, because
autoconf and the build system doesn't deal with spaces in those very
well. But later in bug 1290040, we made find_program return Windows
short paths (without spaces), which alleviates the need for those
workarounds.

We still, however, and unfortunately, need to alter PATH to account for
the fact that MSVC DLLs are not necessarily alongside the compiler
executables...

Depends on D15181

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

--HG--
extra : moz-landing-system : lando
2019-01-10 23:37:46 +00:00
Eric Rahm
f32fd66363 Bug 1519209 - Disable NSS_ALLOW_SSLKEYLOGFILE in beta and release. r=glandium
This disables NSS_ALLOW_SSLKEYLOGFILE in beta in release in order to avoid shutdown hangs until the NSS project has time to fix the root cause of the issue.

--HG--
extra : rebase_source : 51c84d4841308d283f993a7fda576031d7c4f449
2019-01-10 13:14:41 -08:00
Bas Schouten
fd9a23b073 Bug 1519227: Register payload appropriately in CrossProcessCompositorBridgeParent. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D16246

--HG--
extra : rebase_source : d3c9ad182bbb83931b95bff0b130a98c8a66b8e5
2019-01-10 22:41:14 +01:00
Robert Strong
e2c81d08b4 Bug 1517044 - Don't allow nsIWritablePropertyBag calls to overwrite nsIUpdate and nsIUpdatePatch attributes. r=mhowell 2019-01-10 15:18:14 -08:00
Sean Stangl
56c0daa179 Bug 1518957 - Implement ARM64 truncation and remove unused emitRoundDouble(). r=nbp
--HG--
extra : amend_source : 6d7336b98d91c2f252431d38823731b394e30dd7
2019-01-10 23:16:27 +02:00
Nathan Froyd
d983955203 Bug 1518922 - part 2 - remove GetChildProcessTmpDir; r=gsvelto
After part 1, this function and the code associated with it is no longer
used.
2019-01-10 16:13:37 -05:00
Nathan Froyd
fcefa80c7c Bug 1518922 - part 1 - remove dead code for extra crashreporting directory; r=Alex_Gaynor
The command-line parameter used by nsEmbedFunctions.cpp is turned into
an nsIFile, and then said nsIFile is never used.  Its last use was
deleted in bug 1407693, where we reworked how extra annotations were
done.
2019-01-10 16:13:37 -05:00
Jed Davis
ebb609373d Backed out changeset a0cf88b1fe5b (bug 1487287) 2019-01-10 13:55:31 -07:00
Mike Hommey
546e2487aa Bug 1515579 - Add some mk_export_correct_style to win64-aarch64 mozconfig. r=ted
Like for other windows platforms. This currently doesn't make a
difference, but will with next change.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:36:40 +00:00
Kartikaya Gupta
7bb962bec3 Bug 1519175 - Save the clip-scroll tree to the WR capture. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D16229

--HG--
extra : moz-landing-system : lando
2019-01-10 22:50:07 +00:00
Kartikaya Gupta
2dc2417751 Bug 1519175 - Allow creating PrintTree instances with other sinks. r=kvark
This will let us print trees to files instead of stdout.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 22:47:37 +00:00
Ryan Hunt
19f9146aed Bug 1305957 part 14 - Disable scroll-anchoring in webconsole-output. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D16127

--HG--
extra : rebase_source : b540a7768d14494d43ffedef919ed2d24a685720
extra : source : 51c86d025ecb710b8d37d3454a1d0adcfff8f89d
2019-01-09 16:15:56 -06:00
Ashley Hauck
0c9af78f5c Bug 1514919 - Do not constant-fold the same nodes more than once. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D14813

--HG--
extra : moz-landing-system : lando
2019-01-09 21:27:39 +00:00
Matt Howell
219be7ea4f Bug 1512039 - Allow the stub installer to detect and download the AArch64 Windows build. r=agashlin
This patch also removes the last vestiges of the old architecture dropdown
structure, and removes a use of GetBinaryTypeW because it doesn't seem to
return a useful result for any ARM ISA.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 23:09:01 +00:00
James Willcox
f4b85965af Bug 1354200 - Exit instead of MOZ_CRASH on channel error in child process r=jld
Android mercilessly kills the parent in low memory situations, and we
don't want that to trigger a crash when the child is abruptly
disconnected.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 22:45:44 +00:00
Mike Hommey
516c65acec Bug 1519042 - Remove OS_TEST. r=ted
Depends on D16162

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

--HG--
extra : moz-landing-system : lando
2019-01-10 22:06:12 +00:00
Mike Hommey
8bfba15706 Bug 1519042 - Replace the last non-third-part uses of OS_TEST with TARGET_CPU. r=ted
Depends on D16161

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

--HG--
extra : moz-landing-system : lando
2019-01-10 22:06:10 +00:00
Mike Hommey
28376bb4f9 Bug 1519042 - Remove special case adding -xgot assembly flag on NetBSD. r=ted
None of the values tested against OS_TEST are actually possible per
split_triplet in build/moz.configure/init.configure, so the code is
dead in practice.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 22:06:02 +00:00
Mike Hommey
65e1e6bb41 Bug 1519040 - Remove some unused old-configure assignments. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16159

--HG--
extra : moz-landing-system : lando
2019-01-10 22:02:04 +00:00
Mike Hommey
d5fbdc4b28 Bug 1519030 - Move libav-fft configuration to python configure. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16157

--HG--
extra : moz-landing-system : lando
2019-01-10 22:00:41 +00:00
Mike Hommey
8153f29959 Bug 1519012 - Move most PGO-related configure flags back to toolchain.configure. r=froydnj
LLVM_PROFDATA needs the toolchain search dir, per bug 1515579.

Also, most of the options actually don't do anything useful with
artifact builds. In fact, the only one that artifact builds would need
is MOZ_PGO. So we move to options back to toolchain.configure, somewhere
late enough ; except MOZ_PGO, that we move to the top-level
moz.configure (because we don't need a separate file for one option).

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:25:12 +00:00
Tom Prince
4ba731a175 No bug: [taskgraph] Remove unused channel for defining taskcluster gecko.* routes; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D16230

--HG--
extra : moz-landing-system : lando
2019-01-10 21:19:37 +00:00
Coroiu Cristina
1468575650 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-01-10 23:45:07 +02:00
Cosmin Sabou
15939f75f2 Backed out 6 changesets (bug 1487416) for causing Android build bustages on RemoteDataDecoder.cpp. CLOSED TREE
Backed out changeset 05bcc598e9fb (bug 1487416)
Backed out changeset b99936efbbc9 (bug 1487416)
Backed out changeset ee55b284223e (bug 1487416)
Backed out changeset d25449127f8f (bug 1487416)
Backed out changeset f7c201b7f9bc (bug 1487416)
Backed out changeset 233aedc8b42e (bug 1487416)
2019-01-10 23:37:20 +02:00
Cameron McCormack
58ee8c6caf Bug 1518992 - Remove unnecessary mem::transmute in MediaListKey r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D16147

--HG--
extra : moz-landing-system : lando
2019-01-10 06:01:03 +00:00
Botond Ballo
6790cc7377 Bug 1507279 - Expose the visual scrolling mechanism to internal JS users. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D16142

--HG--
extra : moz-landing-system : lando
2019-01-10 20:59:21 +00:00
Botond Ballo
2d2fffe3ea Bug 1507279 - Add a mechanism for the main thread to set a visual viewport offset. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D16141

--HG--
extra : moz-landing-system : lando
2019-01-10 20:59:13 +00:00
Iain Ireland
c13d092342 Bug 1517135: Improve performance of BytecodeEmitter::finishTakingSrcNotes r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D16106

--HG--
extra : moz-landing-system : lando
2019-01-10 20:59:11 +00:00
Bryce Van Dyk
01a302ea14 Bug 1487416 - Handle cbcs data from mp4parse-rust. r=jya
Handle mp4parse-rust providing cbcs data in the track metadata. Explicitly check
the crypto scheme we get in the metadata and error if we encounter something
outside of cenc and cbcs -- catch unexpected data early.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:39:27 +00:00