Граф коммитов

677691 Коммитов

Автор SHA1 Сообщение Дата
chujun 9d1969b69b Bug 1592904-Extenstion typo fix r=davidwalsh
Change occurrence of extenstion to extension in debugger

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

--HG--
extra : moz-landing-system : lando
2019-10-31 17:03:59 +00:00
Johann Hofmann b1120d1abc Bug 1592959 - Warn about non-user interaction Notification requests. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D51260

--HG--
extra : moz-landing-system : lando
2019-11-01 09:55:06 +00:00
Ryan VanderMeulen 055a35a2e2 Bug 1592804 - Update pdf.js to version 2.4.91. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D51191

--HG--
extra : moz-landing-system : lando
2019-11-01 15:34:06 +00:00
Oana Pop Rus 3d0252d00b Backed out 2 changesets (bug 1589913) on request from bz on a CLOSED TREE
Backed out changeset e8ee20fdf6ac (bug 1589913)
Backed out changeset 12d046056948 (bug 1589913)
2019-11-01 17:32:59 +02:00
Ryan Hunt a09e970f02 Bug 1591047 part 6 - Add ABIArgType::Pointer and use it for builtin functions. r=lth
When adding a pointer to WasmInstance::memCopy, it appears that we ran out of
GPRs for calling and the pointer needed to be passed via stack.

GenerateBuiltinThunk uses ABIFunctionType/ABIArgType, and converts it to
MIRType for calling StackCopy [1]. ArgType_General is treated as being equal to
MIRType::Int32, leading to only half of the pointer being passed correctly on
64bit window systems.

This means that all instance functions currently have an incorrect
ABIFunctionType but avoid this issue because they don't have enough parameters
or don't have a 64bit value that is passed by the stack.

We have to use ABIFunctionType here for compatibility with the ARM/ARM64
simulators, otherwise it would be convenient to use a different representation.

This commit:
  1. Adds an ArgType_Pointer which is equivalent to MIRType::Pointer
  2. Adds a helper constexpr for defining ABIFunctionType
  3. Fixes the ABIFunctionType used for instance calls
  4. Fixes the simulators to recognize the new ABIFunctionType's
  5. Adds an assertion that the SymbolicAddressSignature and ABIFunctionType
     are compatible.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 14:48:16 +00:00
Ryan Hunt e64ce978df Bug 1591047 part 5 - Pass heapBase to memCopy/memFill and use that to acquire length. r=lth
This commit uses the previous commits to actually optimize the OOL
implementations.

This is done by:
  * Passing the heap base pointer to each builtin
  * Acquiring the WasmArrayRawBuffer/SharedArrayRawBuffer from this pointer
    - This is trivial as they are embedded a fixed offset before the Wasm heap
  * Acquiring the heap length from the raw buffer

By doing this, we avoid cache misses from accessing:
TLSData -> Instance -> WasmMemoryObject -> ArrayBufferObject -> WasmArrayRawBuffer

This is enough to get close enough to parity with V8 for small sizes. Further
improvements should be done with an inline generated code path.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 13:45:09 +00:00
Ryan Hunt 6a392ca282 Bug 1591047 part 4 - Track Wasm memory length in WasmArrayRawBuffer. r=lth
Currently the Wasm memory length for non-shared memory is stored in a slot of
the ArrayBuffer. This commit tracks it in the WasmArrayRawBuffer as well, for
use in a future commit.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 13:44:14 +00:00
Ryan Hunt 06ed76a362 Bug 1591047 part 3 - Expose WasmArrayRawBuffer from 'ArrayBufferObject.h'. r=lth
This commit declares WasmArrayRawBuffer in the ArrayBufferObject header. This
will allow WasmInstance to access the buffer in a future commit.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 13:44:00 +00:00
Ryan Hunt 5eb3ba3b97 Bug 1591047 part 2 - Split memCopy/memFill implementations for shared/non-shared modules. r=lth
Whether a module uses shared memory or not is fixed throughout its lifetime. We
can use this to specialize the implementation of memCopy/memFill and remove a
branch on the memory type. This will also be useful when acquiring the memory
length in a future commit, which will require different code per shared-ness.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 13:43:45 +00:00
Ryan Hunt ba528581e8 Bug 1591047 part 1 - Don't lock when acquiring length of shared Wasm memory. r=lth
This commit drops the requirement to acquire the shared memory lock when we
are only acquiring the length. The length_ field is changed to be an
Atomic<SeqCst> in the process. We still need to acquire the lock when growing
the memory in order to atomically compute the new length and commit the new
pages.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 14:46:35 +00:00
Julian Descottes 0257e34647 Bug 1592996 - Bail out from walker.findNodeFront if the walker cannot reach the selectors r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D51321

--HG--
extra : moz-landing-system : lando
2019-11-01 13:59:12 +00:00
Lars T Hansen 131796c748 Bug 1590539 - Filter atomics ops for type early. r=jorendorff
Spec compliance requires us to check the element type of the
TypedArray at the same time as we check it's a shared TypedArray, not
later.  This results in some tests being done twice, but only for the
slow C++ path.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 15:09:02 +00:00
Johann Hofmann db040c4cd4 Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51383

--HG--
extra : moz-landing-system : lando
2019-11-01 10:50:35 +00:00
Johann Hofmann be50883421 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382

--HG--
extra : moz-landing-system : lando
2019-11-01 12:07:13 +00:00
Johann Hofmann c9f3ddcbdb Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51381

--HG--
extra : moz-landing-system : lando
2019-11-01 10:50:22 +00:00
Florin Strugariu 85629f9e1e Bug 1585456 - [mozproxy] Error out when mozproxy can't bind to port r=tarek,perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D50594

--HG--
extra : moz-landing-system : lando
2019-11-01 09:41:36 +00:00
Jon Coppeard 0c433ccc87 Bug 1592537 - Fix hazard warnings because the analysis can't tell that GCParallelTask::runTask won't GC r=me CLOSED TREE
--HG--
extra : histedit_source : e7ee24460d29c770002dd5f1bde663027a41d4e0
2019-11-01 13:27:52 +02:00
Gurzau Raul 4bbef4cb43 Backed out changeset 84c97e387e08 (bug 1591638) for failing at track-element-src-change-error.html on a CLOSED TREE. 2019-11-01 13:24:09 +02:00
Jon Coppeard 8e6f76f4bc Bug 1592936 - Remove unncessary check that helper threads have been started in GCParallelTask::startWithLockHeld r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D51274

--HG--
extra : moz-landing-system : lando
2019-11-01 10:52:05 +00:00
Marco Bonardo 8ea5e0d35f Bug 1588515 - TypeError: document.getElementById(...) is null in permanent private browsing mode on Mac. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51298

--HG--
extra : moz-landing-system : lando
2019-10-31 23:08:52 +00:00
Bogdan Tara 6f6bae4263 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-11-01 12:51:47 +02:00
Jon Coppeard 08d1fba1d5 Bug 1587096 - Part 4: Support FinlalizationGroups in the shell and add tests r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D49947

--HG--
extra : moz-landing-system : lando
2019-11-01 10:38:08 +00:00
Jon Coppeard f3b48418af Bug 1587096 - Part 3: Implmement FinalizationGroup r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D49946

--HG--
extra : moz-landing-system : lando
2019-11-01 10:37:47 +00:00
Jon Coppeard b7b220ece8 Bug 1587096 - Part 2: Add an API to set the HostCleanupFinalizationGroup callback r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D49944

--HG--
extra : moz-landing-system : lando
2019-11-01 10:37:40 +00:00
Jon Coppeard 4dd3d1c903 Bug 1587096 - Part 1: Add JS FinalizationGroupObject and related data structures r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D49943

--HG--
extra : moz-landing-system : lando
2019-11-01 10:37:25 +00:00
Jon Coppeard 360fa579c4 Bug 1587098 - Add a shell option to enable support for weak references, off by default r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D49942

--HG--
extra : moz-landing-system : lando
2019-11-01 10:37:09 +00:00
Bogdan Tara 59de675101 Merge autoland to mozilla-central. a=merge 2019-11-01 11:35:44 +02:00
shindli 27ded6834e Merge autoland to mozilla-central. a=merge 2019-11-01 05:53:48 +02:00
Justin Wood ac23441f9b Bug 1593093 - Bump Wix toolchain. r=mhowell a=me for CLOSED TREE
MANUAL PUSH: Needed on central to populate the index for a non-gecko release expected today.

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

--HG--
extra : rebase_source : 02ca5e6033c7708c2cc462f2ef76c3ec661ed20f
extra : amend_source : 4169f1357dbf29de60fcb80c2a46aee5c867a29a
2019-10-31 15:34:32 -04:00
Jamie Nicol b35d194fe6 Bug 1591945 - Ensure strings passed to glShaderSource are null-terminated on android emulator. r=gw
The emulator's implementation of glShaderSource can crash if the source string
are not null-terminated, even though we correctly pass the lengths of the
strings. Work around this by adding a null terminator when running on the
emulator.

Depends on D51293

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

--HG--
extra : moz-landing-system : lando
2019-10-31 19:09:23 +00:00
Jamie Nicol 0fa5e56eb1 Bug 1591436 - Avoid using glTexImage3D on android emulator. r=gw
A bug in the android emulator means that glTexImage3D thinks the maximum texture
size is the value of GL_MAX_TEXTURE_SIZE, rather than the value returned by
glGetIntegerv(GL_MAX_TEXTURE_SIZE). This means that calls to glTexImage3D fail
when width, height, or depth > 3379.

This forces us to use glTexStorage3D instead of glTexImage3D, avoiding
this bug. This relies upon swizzling, which is indeed supported on the
android emulator.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 19:08:37 +00:00
Jon Coppeard 469002ab6c Bug 1592537 - When waiting for a GC task, run it on the main thread if has not yet been picked up by a helper thread r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D51104

--HG--
extra : moz-landing-system : lando
2019-11-01 10:22:47 +00:00
Jon Coppeard 146d4f474f Bug 1592537 - Give GCParallelTask a new 'running' state and refactor r=jandem
The new state is entered when the task starts executing on a helper thread. This is so we can tell the difference between tasks we have dispatched and those that have actually started running.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 10:22:40 +00:00
Sebastian Hengst 3dc3a1599d Bug 1591678 - add process name to regexps for harness errors to let their occurrences trigger the task to fail. r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D50700

--HG--
extra : moz-landing-system : lando
2019-11-01 00:29:23 +00:00
Andy Wingo bea2a69e9a Bug 1592958 - Ensure new WebAssembly blocks have slots enough for predecessor results r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D51259

--HG--
extra : moz-landing-system : lando
2019-11-01 10:11:21 +00:00
Chun-Min Chang 7f26e8dfa4 Bug 1591249 - Bump coreaudio-sys to 0.2.3. r=glandium
The current coreaudio-sys in gecko is a custom 0.2.2 version that used
to avoid the cross-compiling issue mentioned in bug 1569003. The issue
has been fixed in the coreaudio-sys 0.2.3, so we should follow the
upstream instead of using a custom version. As a result, the
coreaudio-sys would generate API bindings based on the MacOS SDK defined
in the build settings.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:14:00 +00:00
Csoregi Natalia 5f86f24e67 Backed out changeset da311583ecc1 (bug 1583575) for gv-junit failures. CLOSED TREE 2019-11-01 11:27:17 +02:00
Daosheng Mu 681b4117d9 Bug 1592713 - Avoid to update VR HMD sensor states when pages are not in the presenting mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D51288

--HG--
extra : moz-landing-system : lando
2019-10-31 22:10:43 +00:00
Jonathan Kew 4114aeff1a Bug 1587385 - Give a better info (not error) message if a webfont is not used because of font-display timeout. r=heycam
This is not an error in the same way as a download failure, and should not be reported as one.
An Info message is sufficient.

Also suppress "unknown" location in messages about @font-face rules, as it is not useful,
pending a proper fix (bug 1450903).

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

--HG--
extra : moz-landing-system : lando
2019-11-01 08:54:05 +00:00
yulia 18f3e9c47c Bug 1566141 - Add tests for nullish coalescing r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D50911

--HG--
extra : moz-landing-system : lando
2019-10-31 17:17:08 +00:00
yulia bf306593a3 Bug 1566141 - add precedence requirement and disallow mixing of logical operators with nullish r=jorendorff
coalescing operator

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

--HG--
extra : moz-landing-system : lando
2019-10-31 17:16:56 +00:00
yulia 6828085ca8 Bug 1566141 - Nullish coalesce behavior in bytecode r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D50058

--HG--
extra : moz-landing-system : lando
2019-10-31 17:16:43 +00:00
yulia b0183bf037 Bug 1566141 - Nullish coalesce operator tokens r=jorendorff
Fake it till you make it

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

--HG--
extra : moz-landing-system : lando
2019-10-31 17:16:31 +00:00
Dan Glastonbury 196b08c653 Bug 1578319: Telemetry for total time spent in layout per Refresh Driver tick. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D44427

--HG--
extra : moz-landing-system : lando
2019-11-01 04:33:48 +00:00
Oriol Brufau f57eb64b4c Bug 1588760 - Move css-lists reftests into WPT r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D49278

--HG--
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001-ref.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001a.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001b.html
extra : moz-landing-system : lando
2019-11-01 04:27:32 +00:00
Nicholas Nethercote a518709339 Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm
Lots of these callbacks have a non-`void*` final parameter, which UBSAN
complains about. This commit changes them to have a `void*` parameter.

This requires undoing the machinery added in the first two commits of bug
1473631: `TypePrefChangeFunc` and `PREF_CHANGE_METHOD`. The resulting code is
simpler (which is good) and more boilerplate-y (which is bad) but avoids the
undefined behaviour (which is good).

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

--HG--
extra : moz-landing-system : lando
2019-11-01 02:57:20 +00:00
Jason Laster cd8222f74c Bug 1581249 - Revert - The timeline should show breakpoint hits. r=bhackett
This reverts commit 34ddff68bdfc54cc61252cd76e708697d1629e86.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 00:05:58 +00:00
Glenn Watson 9e558efb0a Bug 1593154 - Fix semantics of partial present API for webrender. r=sotaro
- When partial present is not valid, ensure that a single dirty
   rect the entire size of the framebuffer is returned.
 - Ensure that we never return an empty dirty rect. If nothing is
   dirty, the returned dirty rects array is empty, which can be
   used by the client to completely skip calling Present.
 - Remove partial present Multi mode (for now). This mode has
   some issues with overlapping tiles which can be resolved as
   a follow up.

This should allow enabling partial present for a single dirty rect,
which covers most common cases. We can re-implement the more
complicated Multi partial present mode if / when we find pages
where supporting multiple partial present rects is a good win.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 02:03:41 +00:00
Martin Stransky 04afc29457 Bug 1592350 [Wayland] Call wl_surface_commit() on parent surface when subsurface position is updated, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D51133

--HG--
extra : moz-landing-system : lando
2019-10-31 19:00:30 +00:00
Dragana Damjanovic 764af517bf Bug 1592927 - Test test_anonymous-coalescing is racy. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D51245

--HG--
extra : moz-landing-system : lando
2019-10-31 19:53:54 +00:00