Commit Graph

599393 Commits

Author SHA1 Message Date
Jeff Walden
800f6db11a Bug 1467335 - Add an assertion to ungetCharIgnoreEOL that the EOF-flag has been set if EOF is being returned. r=arai
--HG--
extra : rebase_source : 233d673d307bb42d6e5b73f1cc246af4c740fe82
2018-06-07 02:13:49 -07:00
Jeff Walden
fbabc3fea0 Bug 1467334 - Make TokenStreamAnyChars::isExprEnding a well-documented array of bool, zero-initialize it using a member initializer, then overwrite its few true elements in the constructor body. r=arai
--HG--
extra : rebase_source : 68db8c022f6a89b2db14bb2e2cdda08d757445ac
2018-06-07 02:13:11 -07:00
Rick Waldron
5aaabbfc99 Bug 1457560 - Expose $262.agent.monotonicNow() for Test262 use in testing Atomic operation timeouts. r=jwalden
--HG--
extra : rebase_source : 6387145a06988112cadde2855bc69d2982f1e33a
2018-06-06 22:21:34 -07:00
Jeff Walden
799a518e22 Bug 745089 - Replace nscoord-specific positive-infinity/is-nan primitives with FloatingPoint.h uses. r=dbaron
--HG--
extra : rebase_source : bcc17dc96be6449116cf26c772a020d3eddd2bd3
2018-06-06 16:03:48 -07:00
Jeff Walden
701bad47cd Bug 1438212 - Implement mozilla::IsFloat32Representable using an algorithm that handles NaN correctly and doesn't sometimes invoke undefined behavior. r=froydnj
--HG--
extra : rebase_source : b4246ea818046b1e4100b90a3a371a866ea2b098
2018-06-06 16:03:47 -07:00
Jeff Walden
7bbef1fafc Bug 1465981 - Use memcpy instead of union-arm-punning (which has implementation-defined, desired behavior with gcc and presumably clang, and is not known to have problems on MSVC, but potentially could with other compilers) in BitwiseCast. r=froydnj
--HG--
extra : rebase_source : 686363576c84710ae0181afc32b05dee8b40a59b
2018-06-06 16:03:47 -07:00
Andreea Pavel
6efbfd2a22 Backed out changeset 88c929206539 (bug 1467071) for failing wpt at /_mozilla/wasm/jsapi.js.html on a CLOSED TREE 2018-06-08 07:03:17 +03:00
Julian Seward
a8cfabf7b6 Bug 1467071 - Wasm: import embedding_limits "limits.js" test and fix any resulting failures. r=lth.
The WebAssembly Specification, branch [1] (see also, more generally,
comments in [2]), contains a new test, limits.js, to check whether the
generally agreed embedding limits (numbers of functions, imports, etc) are
observed.  This bug is to import the test and fix any resulting breakage
detected with it.

[1] https://github.com/WebAssembly/spec/tree/embedding_limits
[2] https://github.com/WebAssembly/spec/issues/607

* js/src/wasm/WasmBinaryConstants.h:
  - Added MaxTableMaximumLength as a counterpart to MaxTableInitialLength.
  - Split the constant group into two parts: spec-required, and those
    pertaining only to our own implementation.

* js/src/wasm/WasmJS.cpp  WasmTableObject::construct():
  - Update GetLimits call with correct max size bound

* js/src/wasm/WasmValidate.cpp  DecodeTableLimits():
  - Implement missing check for a Table's maximum size.

* js/src/jit-test/tests/wasm/import-export.js:
  js/src/jit-test/tests/wasm/spec/jsapi.js:
  - Update Table maximum size tests.  All tests trying to make a Table
    with more than 10,000,000 entries now throw instead of succeeding.

* js/src/jit-test/tests/wasm/spec/harness/wasm-module-builder.js:
  - Import minimal updates and bug fixes from [1], needed to make the
    new tests work.

* js/src/jit-test/tests/wasm/spec/limits.js
  - New file.  Derived from [1], with comments added to each test to show
    SM's compliance situation, and with two tests disabled.

--HG--
extra : rebase_source : a1f1ec730ecae22f2aa0f510c15ebc934489a1b3
2018-06-07 09:36:09 +02:00
Kris Maglione
1cd42622dd Bug 1464548: Fix linux32 xpcshell bustage. r=bustage
--HG--
extra : rebase_source : 2b2b530fad43fe9d340c75437fca39475e2f108f
2018-06-07 18:24:57 -07:00
Tooru Fujisawa
fc618ed15a Bug 1467052 - Use BindingName tag to distinguish between var and top-level function, instead of offset range. r=shu 2018-06-08 10:06:13 +09:00
Kris Maglione
7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Kris Maglione
4eacff920e Bug 1464548: Part 2 - Add ESLint support for defineLazyGlobalGetters. r=standard8
MozReview-Commit-ID: 38hk1MquFrg

--HG--
extra : rebase_source : 8b418883093e15ed2ae7d052d7f191fc07e93636
2018-05-25 22:27:00 -07:00
Kris Maglione
a4973ad0d6 Bug 1464548: Part 1b - Don't delete properties before redefining them, because deleting properties kills JIT performance. r=mccr8
MozReview-Commit-ID: IUMg59xRoIu

--HG--
extra : rebase_source : 6be1c84601ff868835cad53116ab920d2f2db317
2018-05-25 19:17:58 -07:00
Kris Maglione
bbbb42012f Bug 1464548: Part 1a - Add defineLazyGlobalGetters helper. r=mccr8
This allows us to lazily import global properties using
Cu.importGlobalProperties. Aside from making it easier to avoid lazily
importing these properties, it also defines them all in the shared JSM global
so that we don't risk re-creating them in Sandboxes or frameloader globals.

MozReview-Commit-ID: GV6shguUlIG

--HG--
extra : rebase_source : 6b9269f3b33fe085c5ed63ee16e5b4ce9e5343a4
2018-05-25 22:28:27 -07:00
Kris Maglione
4e85667d52 Bug 1464552: Part 4 - Split selection source helpers into separate JSM. r=felipe
MozReview-Commit-ID: 5ak7dg2umfu

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/SelectionSourceContent.jsm
extra : rebase_source : baf3706289389166b023377386e01abf26361a84
2018-05-25 18:26:32 -07:00
Kris Maglione
f28199fcc4 Bug 1464552: Part 3 - Split print preview helpers into separate JSM. r=felipe
MozReview-Commit-ID: 59Z0fZIf7Ym

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/PrintingContent.jsm
extra : rebase_source : f808b33b62efede347284952e46cd1564ddda296
2018-05-25 18:22:09 -07:00
Kris Maglione
fafa2903e4 Bug 1464552: Part 2 - Split blocked site handler into separate JSM. r=felipe
MozReview-Commit-ID: H4d6qThnguk

--HG--
rename : browser/base/content/content.js => browser/modules/BlockedSiteContent.jsm
extra : rebase_source : 6eca3637064a1609bba68df425fa0e47595060c3
2018-05-25 17:59:27 -07:00
Kris Maglione
93ad637ad0 Bug 1464552: Part 1 - Split net and cert error utils into separate JSM. r=felipe
MozReview-Commit-ID: BxLld6faIEm

--HG--
rename : browser/base/content/content.js => browser/modules/NetErrorContent.jsm
extra : rebase_source : 4720fda9d30f8fde437ff29ef9cd211eee4bc54a
2018-05-25 17:50:22 -07:00
Francois Marier
251bca17ba Bug 1452445 - Fix update error observer in unit test. r=gcp
We should only observe for update errors while we are expecting
a successful update.

MozReview-Commit-ID: 3grGhmxqhIX

--HG--
extra : rebase_source : d099b83560ac5ec15b18fb69177368a645b63952
2018-05-29 18:06:49 -07:00
Mike Hommey
03b4a0d6e0 Bug 1462498 - Update clang 6 pre to clang 6 final on linux and mac. r=gps 2018-06-08 09:25:49 +09:00
Tom Ritter
729f85aec8 Bug 1466242 Look for Sprintf.h instead of Assertions.h in the symbolstore test r=glandium
It turns out sometimes (in the LTO+CFI case at least) Assertions.h
will not be present in the opt build, presumably because it was optimized
out.

MozReview-Commit-ID: GB3GIoSdIUK
2018-06-08 09:24:53 +09:00
Geoff Brown
619e1afee0 Bug 1433308 - Change mach android-emulator default to x86-7.0; r=me,a=test-only
The x86-7.0 avd is great and offers much better performance than the arm 4.3
configuration. 7.0 is okay if you need arm / are in an arm context.
2018-06-07 17:00:48 -06:00
Geoff Brown
bf2dcd9a16 Bug 1433308 - Remove Android 6.0/x86-6.0 options for mach android-emulator; r=me,a=test-only
mach android-emulator currently supports 6 different avds; I am struggling to maintain
that many configurations. I don't see a lot of value in keeping both 6.0 and 7.0,
and Android 6.0 is not as popular as 7.0. Let's remove 6.0, encouraging 7.0 as an
alternative; same for x86-6.0 -> x86-7.0.
2018-06-07 17:00:45 -06:00
Tom Schuster
731eb0bfab Bug 1451017 - Remove Xray resolveNativeProperty. r=bz
--HG--
extra : rebase_source : 3fca06866110b912478448b06f12dc2158f560c7
2018-05-08 22:09:05 +02:00
Ciure Andrei
83c5f0bd74 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
--HG--
rename : browser/app/LaunchUnelevated.cpp => browser/app/winlauncher/LaunchUnelevated.cpp
rename : browser/app/LaunchUnelevated.h => browser/app/winlauncher/LaunchUnelevated.h
rename : browser/app/LauncherProcessWin.cpp => browser/app/winlauncher/LauncherProcessWin.cpp
rename : browser/app/LauncherProcessWin.h => browser/app/winlauncher/LauncherProcessWin.h
rename : browser/app/ProcThreadAttributes.h => browser/app/winlauncher/ProcThreadAttributes.h
2018-06-08 00:56:15 +03:00
Ciure Andrei
05605d68c4 Merge inbound to mozilla-central. a=merge 2018-06-08 00:50:18 +03:00
Ciure Andrei
ffa6cb75f4 Merge autoland to mozilla-central. a=merge 2018-06-08 00:47:58 +03:00
Ciure Andrei
9aae925042 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-06-08 00:07:12 +03:00
Ciure Andrei
e0538d334b Backed out 1 changesets (bug 1465117) for fix_task_dependencies not working as expected a=backout
Backed out changeset 3d3fe54d0cb6 (bug 1465117)
2018-06-08 00:00:20 +03:00
Randell Jesup
c0b25e1706 Bug 1395246: nullcheck DataChannel SendPacket calls, add some diagnostics r=drno 2018-06-07 15:26:25 -04:00
Honza Bambas
e5398fd8f8 Bug 1413868 - Only run the test on Windows. r=me on a CLOSED TREE 2018-06-07 14:58:34 -04:00
Simon Fraser
25d47ea71f Bug 1467456 Use correct hg repo in repo-update r=lguo
1. Updated hgrepo to work with mozilla-beta, mozilla-esr60 and project branches (just in case)
2. Presquashed commits, so we only submit one.
3. Replaced 'which' with 'command -v' to avoid future shellcheck issues.

Differential Revision: https://phabricator.services.mozilla.com/D1582
2018-06-07 17:55:50 +00:00
Andreea Pavel
412ea23300 Backed out 2 changesets (bug 1467278) gecko decision task failure, causing mass OSX intermittent failures on a CLOSED TREE
Backed out changeset 436a6ebd505e (bug 1467278)
Backed out changeset e0e3ad8c81ec (bug 1467278)
2018-06-07 21:58:45 +03:00
André Bargull
f7acf7bc9c Bug 1466909 - Use AddLvalueReference for UniquePtr's operator*(). r=froydnj
--HG--
extra : rebase_source : df072aca7e79ce534c3bc620a352adfc92fbf245
2018-06-07 07:27:22 -07:00
Mats Palmgren
b6ef1b3ae7 Bug 1467483 - Assert that PresArena is only used on the main thread. r=mattwoodrow 2018-06-07 22:39:11 +02:00
Coroiu Cristina
c621276fbd Backed out changeset b08454f26dc5 (bug 1466539) for breaking the Android nightlies a=backout 2018-06-07 15:58:33 +03:00
Kris Maglione
670fc0f25f Bug 1464743: Restore extension child shutdown timeout. r=aswan
MozReview-Commit-ID: 8O6CgKsOwom

--HG--
extra : rebase_source : d956c911188fc12451ac6fe8491b9fe87f2d6677
extra : histedit_source : 34c2fc20b42be87651124bca0ebe4d1572321100
2018-06-06 12:43:26 -07:00
Mats Palmgren
e95647ed68 Bug 1467526 - Add a few MOZ_DIAGNOSTIC_ASSERT in nsLineBox::DeleteLineList to enforce our invariants better. r=emilio 2018-06-07 20:20:34 +02:00
David Major
1a8d574976 Bug 1467284 - Remove the now-unused BUILDER_NAME_PREFIX map. r=aki 2018-06-07 14:09:20 -04:00
Honza Bambas
eef37ac56e Bug 1413868. r=valentin 2018-06-07 13:56:16 -04:00
Eric Rahm
51f133db96 Bug 1467048 - Add a version of CorruptionCanary for statics. r=froydnj
This adds 'CorruptionCanaryForStatics', which as the name implies is suitable
for use in objects that are statically declared. It has a trivial destructor
which allows us to avoid the need for static constructors.

--HG--
extra : amend_source : 27f8eff9ead21fde9f5f5d17f16c322d2c995a27
2018-06-06 14:50:17 -07:00
Matthew Gaudet
9d8092fba3 Bug 1466189: followup patch to make discard stack unconditional r=jandem
--HG--
extra : rebase_source : bf19d39abb1ee0857ea73f72f1aa26f24ef1cf38
2018-06-07 11:25:02 -04:00
Kris Maglione
714319bf73 Bug 1467113: Save signedState in startup data. r=aswan
MozReview-Commit-ID: 5iIzy1qKS0P

--HG--
extra : rebase_source : 8849d2cc24a007051a3eeb0ed4cb8a415d71e74c
2018-06-06 13:50:19 -07:00
Kris Maglione
f4d72dda4a Bug 1465413: Fix mozAddonManager enable/disable API. r=aswan
MozReview-Commit-ID: 5jvCYFQEzrd

--HG--
extra : rebase_source : f14ccb173551be3f35ab6db783672394ca7286f3
2018-06-06 13:08:34 -07:00
Gabriel Luong
e18a43e435 Bug 1192642 - Add a left host type for the toolbox. r=pbro 2018-06-07 12:45:53 -04:00
Mats Palmgren
633c43f009 Bug 1467503 - Make it compile with --disable-accessibility again. r=surkov 2018-06-07 18:43:06 +02:00
Andrew Halberstadt
d19095947f Bug 1417920 - [python-test] Use a global pytest.ini configuration file, r=davehunt
This changes two config options:

pytest_classes = PyTest  # only classes that start with 'PyTest' will be considered tests (previously this was Test)
xfail_strict = true      # tests marked as xfail will cause pytest to return non-zero if they unexpectedly pass

MozReview-Commit-ID: DCWoDFbe6Mk

--HG--
extra : rebase_source : 9aa806e035d62d51bb338708396851c40f55ee00
2018-06-06 14:00:04 -04:00
Francesco Lodolo (:flod)
1a5f8dc284 Bug 1467515 - Update license text regarding English dictionary r=mhoye
MozReview-Commit-ID: 41fLan7dv3f

--HG--
extra : rebase_source : 5b9b5fee469914e2a373c9a90d929fa4e0bc78c4
2018-06-07 19:30:45 +02:00
Adam Gashlin
d696e09ca3 Bug 1458119: Part 2: Test session restore across Windows shutdown. r=Gijs,whimboo
When the Windows OS shuts down, we use a synchronous shutdown mechanism,
this exercises session save and restore in a unique way.

MozReview-Commit-ID: 6sCa3E2wmLY

--HG--
extra : rebase_source : 05014c26faa932165b03f922a63ec9576462bc67
2018-06-07 10:33:55 -07:00
David Walsh
34ffde80bf Bug 1466870 - Update Debugger Frontend v63 r=jdescottes 2018-06-06 09:09:14 -05:00