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

660730 Коммитов

Автор SHA1 Сообщение Дата
Chun-Min Chang 0561641171 Bug 1530715 - P3: Build cubeb-coreaudio-rs in libcubeb. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D23432

--HG--
extra : moz-landing-system : lando
2019-07-10 08:06:12 +00:00
Chun-Min Chang f6d72027f3 Bug 1530715 - P2: Import oxidized cubeb_audiounit.cpp. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D23431

--HG--
extra : moz-landing-system : lando
2019-07-17 04:48:25 +00:00
Chun-Min Chang 487c109761 Bug 1530715 - P1: Create an empty cubeb-coreaudio-rs crate in libcubeb. r=kinetik
To import cubeb-coreaudio-rs crate later, creating a dummy folder in
advance in libcubeb. It should be the mirrow of cubeb-coreaudio-rs crate
on github. The information of cubeb-coreaudio-rs is in README_MOZILLA.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 08:05:53 +00:00
Benjamin 7cd76c27d8 Bug 1566149: Added test to ensure CSP 'navigate-to' does not parse r=ckerschb
The test sets a navigate-to policy which results in a parse error.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 18:16:47 +00:00
sotaro d596757662 Bug 1565255 - Backout Bug 1552734 r=nical
Since Bug 1531898 fix, fix of Bug 1552734 is not necessary anymore. The backout reduces memory usage.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 14:10:47 +00:00
Shane Caraveo 2e9f346e73 Bug 1566585 remove permission if extension updates to incognito.now_allowed r=robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D38232

--HG--
extra : moz-landing-system : lando
2019-07-17 20:42:43 +00:00
Emilio Cobos Álvarez 24c8f44f2d No bug - Fix -Werror multiline-comment warning in previous scroll anchoring log tweak. sigh
CLOSED TREE
2019-07-18 00:21:17 +02:00
Jan-Ivar Bruaroey 0f0353066d Bug 1551316 - Add restartIce wpt tests. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D30978

--HG--
extra : moz-landing-system : lando
2019-07-17 21:20:03 +00:00
Jan-Ivar Bruaroey 3aef894f49 Bug 1551316 - Add pc.restartIce() method. r=bwc,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30976

--HG--
extra : moz-landing-system : lando
2019-07-17 21:19:51 +00:00
Emilio Cobos Álvarez 77fcf48fbf No bug - tweak scroll anchoring logs. r=npotb 2019-07-18 00:03:47 +02:00
Mike Hommey f8fabf1391 Bug 1566730 - Add docker images based on Debian 10. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38273

--HG--
extra : moz-landing-system : lando
2019-07-17 21:26:53 +00:00
sotaro 41e801baab Bug 1566468 - Fix CompositorInitiallyPaused() r=nical
CompositorInitiallyPaused() uses mNeedsUpdatingEGLSurface. But it is not good. mNeedsUpdatingEGLSurface is set to true in moz_container_set_initial_draw_callback(). If compositor is created before moz_container_set_initial_draw_callback(), compositor is not initially paused. It happens sometimes with popup window.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 14:08:39 +00:00
Ciure Andrei b90bfe8d02 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-18 00:52:45 +03:00
Mike Hommey ae3a0a230c Bug 1566687 - Use mac-cross clang for all macosx builds. r=chmanchester
We've been lucky that non-sanitizer cross-builds for macosx have not
required the clang runtime so far, but they soon will. And it's only
available in the mac-cross clang toolchain, so we need to use that on
all macosx builds.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 21:49:16 +00:00
Xidorn Quan 6aee66b8fb Bug 1403085 - Add a pref to use native full screen for Fullscreen API on macOS. r=spohl,dao
Differential Revision: https://phabricator.services.mozilla.com/D37151

--HG--
extra : moz-landing-system : lando
2019-07-17 13:31:41 +00:00
Glenn Watson 0bb61d0846 Bug 1566712 - Fix quality issues with picture caching when the transform has a fractional offset. r=kvark
This patch reverts the previous attempted fix for snapping issues
with picture caching, and implements a better solution.

This fixes the main visual issue by ensuring that any fractional
offset in the root transform is accounted for by:

 * Offsetting the tile rects by this amount, so that the content
   origin is a whole device pixel.
 * Invalidating all tiles if the fractional part of the root
   transform changes. This is required since it can affect the
   snapping logic that WR applies. Fortunately, this occurs
   very rarely - Gecko typically has a constant fractional part
   for each page.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 21:09:01 +00:00
Eric Rahm a2d6b2398d Bug 1565757 - Don't run networking binary checks on PGO instrumented builds. r=mshal
We don't need to run binary checks on the instrumentation builds, only the final optimized build.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 19:01:46 +00:00
Markus Stange 6eda849f2d Bug 1565668 - Make BasicCompositor PreRender/PostRender handling more consistent with CompositorOGL / WebRender. r=mattwoodrow
This was the order of calls for CompositorOGL+WebRender before this patch:
 - PreRender, calls [mView preRender:]
 - [compositing happens]
 - PostRender, calls [mView postRender:]

And this was the order of calls for BasicCompositor before this patch:
 - PreRender, ignored
 - StartRemoteDrawing(InRegion)
 - [software compositing happens]
 - EndRemoteDrawing, calls [mView preRender:], does a GL composition, then calls [mView postRender:]
 - PostRender, ignored

After this patch, all paths call [mView preRender:] and [mView postRender:] from
PreRender and PostRender.
This changeset also makes it so that we can't tear down the ChildView while
BasicCompositor compositing is happening.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:47:16 +00:00
Markus Stange a49d1d1622 Bug 1565668 - Do not override _wantsFloatingTitlebar when using CoreAnimation. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D26410

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:51 +00:00
Markus Stange daf06d791b Bug 1565668 - Add back-pressure to WebRender+OGL by implementing RenderCompositorOGL::WaitForGPU(). r=sotaro
Without CoreAnimation, back-pressure was applied by SwapBuffers: On a
double-buffered NSOpenGLContext which is bound to an NSView, [context flushBuffer]
waits for the previous frame to be finished. With CoreAnimation, the context
is no longer bound to an NSView, and SwapBuffers acts as a regular glFlush.
glFlush on its own does not prevent overproduction.

If we submit GPU work at a faster rate than the GPU can handle, we end up
delaying the window server's GPU work. This can cause the window server to skip
frames. So even if Gecko can produce frames at 60FPS, the window server might
only present those frames at 30FPS, skipping every second frame.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:39 +00:00
Markus Stange 4cb29aef1d Bug 1565668 - Add back-pressure to CompositorOGL. r=sotaro
Without CoreAnimation, back-pressure was applied by SwapBuffers: On a
double-buffered NSOpenGLContext which is bound to an NSView, [context flushBuffer]
waits for the previous frame to be finished. With CoreAnimation, the context
is no longer bound to an NSView, and SwapBuffers acts as a regular glFlush.
glFlush on its own does not prevent overproduction.

If we submit GPU work at a faster rate than the GPU can handle, we end up
delaying the window server's GPU work. This can cause the window server to skip
frames. So even if Gecko can produce frames at 60FPS, the window server might
only present those frames at 30FPS, skipping every second frame.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:25 +00:00
Markus Stange 6356d8ee08 Bug 1565668 - Add an off-by-default preference called gfx.core-animation.enabled. r=jrmuizel
This preference doesn't do anything yet but having it at this point in the
patch stack lets me untangle things a bit.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:14 +00:00
Markus Stange b34e2b7e1e Bug 1565668 - Add CFTypeRefPtr which is a RefPtr-style smart pointer for CFTypeRef types. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D30402

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:04 +00:00
Markus Stange 503bb734ad Bug 1565668 - Read screenshots from the correct framebuffer when the default framebuffer is overridden. r=mattwoodrow
RenderTargetOGL::Bind on mWindowRenderTarget needs to bind the default framebuffer, not framebuffer 0.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:02 +00:00
Markus Stange 51a3779fea Bug 1565668 - Make WebRender draw into the default framebuffer. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26624

--HG--
extra : moz-landing-system : lando
2019-07-17 20:45:54 +00:00
Markus Stange e17435e83e Bug 1565668 - Create a depth buffer for the default framebuffer of a GLContext that is used with WebRender. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D26623

--HG--
extra : moz-landing-system : lando
2019-07-17 20:45:53 +00:00
Markus Stange b105e4af50 Bug 1565668 - Add support for using an IOSurface as the default framebuffer for a GLContextCGL. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D26404

--HG--
extra : moz-landing-system : lando
2019-07-17 20:44:44 +00:00
Markus Stange 93ba33db74 Bug 1565668 - Persist wantsTitleDrawn window property across HideWindowChrome (full screen mode). r=spohl
This is an existing problem: Whenever you enter DOM fullscreen mode on a
window that has drawsContentsIntoWindowFrame == YES, we drop the information
about whether the title should be shown in the titlebar on top of Gecko's
drawing. Then, when you leave DOM fullscreen again, the freshly-created
ToolbarWindow will have mDrawTitle and titleVisibility set to their default
values: mDrawTitle defaults to NO and titleVisibility defaults to
NSWindowTitleVisible.
The title can be drawn in two different modes:
 - If the ChildView is covering the titlebar and drawing it in its OpenGL
   context, the ChildView handles the drawing of the title text. That drawing
   code respects the window's mDrawTitle field, and ignores titleVisibility.
 - If Cocoa is drawing the titlebar, it respects the titleVisibility property.
At the moment, Cocoa's drawing is never visible, because it is covered up by
the ChildView's OpenGL context. As a consequence, the extraneous title is never
actually visible on the screen and the bug doesn't actually cause a visible
glitch.
Once we use CoreAnimation, Cocoa's drawing will become visible, and the wrong
value of the titleVisibility property would become apparent.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:44:32 +00:00
Tom Ritter bbc642431a Bug 1560183 - Re-enable the RDD Process for MinGW builds r=jya
Bug 1557844 fixed (inadvertently) the failures we were getting with RDD

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

--HG--
extra : moz-landing-system : lando
2019-07-17 11:40:32 +00:00
Nicholas Nethercote 381d39648e Bug 1566720 - Properly disable AV1 on Android. r=jya
`ANDROID` is a preprocessor constant; `Android` is not.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 20:41:37 +00:00
Luke Crouch 6248e5a601 Bug 1565267: match root domains of logins and breaches r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D37759

--HG--
extra : moz-landing-system : lando
2019-07-17 19:27:26 +00:00
Geoff Brown a0158936ae Bug 1566957 - Ensure robocop runs with --disable-e10s; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38395

--HG--
extra : moz-landing-system : lando
2019-07-17 20:32:17 +00:00
Matt Woodrow e6b8f44989 Bug 1566956 - Wait for a response from the VideoBridge to ensure textures are available before telling the content process about them. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D37781

--HG--
extra : moz-landing-system : lando
2019-07-17 20:17:45 +00:00
Razvan Maries adc6758e36 Backed out 2 changesets (bug 1564466) for perma fails on EnsureMTA.h. CLOSED TREE
Backed out changeset 8011dd41d7d3 (bug 1564466)
Backed out changeset b162d0e42bee (bug 1564466)
2019-07-17 22:48:41 +03:00
Erica Wright 345f8ad058 Bug 1557061 - Add summary information to the protection report. r=fluent-reviewers,mtigley,flod
Differential Revision: https://phabricator.services.mozilla.com/D38110

--HG--
extra : moz-landing-system : lando
2019-07-17 19:22:32 +00:00
Ted Campbell 33ac809939 Bug 1564909 - Test binaries do not need to manually include libatomic. r=chmanchester
These configurations are already taken care of in js/src/build/moz.build
and do not need to duplicated.

Depends on D37567

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

--HG--
extra : moz-landing-system : lando
2019-07-17 19:04:03 +00:00
Ted Campbell fc8d337b67 Bug 1564909 - Add js-standalone.mozbuild. r=bbouvier,chmanchester
Consolidate build settings required by standalone builds into a single
mozbuild script. A full Gecko build does not use these settings and thus
we cannot simply put them in js/src/build/moz.build

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

--HG--
extra : moz-landing-system : lando
2019-07-17 19:09:45 +00:00
Razvan Maries 8a1a9ad055 Backed out changeset 7dfe5c98cefc (bug 1564466) for causing assertion fails at EnsureMTA.h. CLOSED TREE 2019-07-17 22:35:06 +03:00
sagudev 002e466982 Bug 1458624 - Firefox on Linux now sends signal strength to geolocation API as RSSI dBm instead of a percentage. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D38266

--HG--
extra : moz-landing-system : lando
2019-07-17 19:11:19 +00:00
Karl Tomlinson 35faeb0880 bug 1558123 call AudioWorkletProcessor.process() r=padenot,bzbarsky
https://heycam.github.io/webidl/#call-a-user-objects-operation may be a
simpler option here, but there are some small optimizations possible with
using JS::Call() directly:
JS::ExposeObjectToActiveJS() is not necessary because parameters are
PersistentRooted and so won't be gray.  MaybeWrapObjectValue() is not
necessary because parameters are already in the appropriate compartment.

See also https://github.com/WebAudio/web-audio-api/issues/1967 and
https://github.com/WebAudio/web-audio-api/issues/1933

Microtask support is tracked in
https://bugzilla.mozilla.org/show_bug.cgi?id=1566312

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

--HG--
extra : moz-landing-system : lando
2019-07-17 08:20:45 +00:00
Karl Tomlinson 87d828f979 Bug 1558123 copy audio samples to/from JS arrays r=padenot
Direct use of aInput buffers for ArrayBuffer elements is not possible in
general.  aInput buffers are const because they may be used elsewhere but
ArrayBuffer elements may be modified by script.  If necessary, it would be
possible to later add a mechanism to mix inputs directly into the ArrayBuffer,
but often no mixing is required.

Direct use of output ArrayBuffer elements would require DetachArrayBuffer to
ensure the elements are not modified by script, but that would require
creation of a new ArrayBuffer JS object on each call.

https://github.com/WebAudio/web-audio-api/issues/1932 tracks specification of
making output data available for reading (for downstream node input).

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

--HG--
extra : moz-landing-system : lando
2019-07-17 06:36:43 +00:00
Karl Tomlinson 44690447a6 bug 1558123 create JSObjects for inputs/outputs AudioWorkletProcessor.process() parameters r=padenot,bzbarsky
Objects are retained for re-use so as to reduce garbage generation and other
performance benefits.  This is currently unspecified.

https://github.com/WebAudio/web-audio-api/issues/1934
https://github.com/WebAudio/web-audio-api/issues/1933

https://github.com/WebAudio/web-audio-api/issues/1935 tracks specification of
zero-channels of input when inputs are not actively processing.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 20:27:39 +00:00
Gabriel Luong 6e997644fa Bug 1566467 - Speed up shared/node-attribute-parser getType function. r=nchevobbe
We can speed up the getType function by changing the dataType into an object from an array.
That way we avoid looping looking for the matching tagName and namespaceURI and access the typeData directly by their tagName.

Differential Revision: https://phabricator.services.mozilla.com/D38196
2019-07-16 11:19:59 -04:00
Karl Tomlinson 46486e57c9 bug 1558123 set AudioWorkletNode output channel counts r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D34835

--HG--
extra : moz-landing-system : lando
2019-07-16 04:40:33 +00:00
Jon Coppeard 1dd2923ea1 Bug 1565275 - Don't call drop() on debugger handler that has never been associated with a frame object r=jimb
The changes made in bug changeset 03e0de747d02 assume that drop() is only called on handlers that have been succesfully set on a DebuggerFrame object, and attempt to remove the memory associated with that object. That logic fails if these are called due to an error during initialisation as is happening here. The patch changes a call to drop() to js_delete() and adds assertions that drop() is only called on handlers that are currently associated.

Differential Revision: https://phabricator.services.mozilla.com/D37874
2019-07-12 15:47:56 +01:00
Sebastian Hengst c6f86473b1 Merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Environment.cpp
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Frame.cpp
rename : js/src/dbg/Debugger.cpp => js/src/dbg/NoExecute.h
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Object.cpp
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Script.cpp
2019-07-17 18:53:14 +02:00
Sebastian Hengst 3bf19e3023 Backed out changeset 27f5a7e925a2 (bug 1565275) for merge conflict with central. CLOSED TREE, DONTBUILD
--HG--
extra : amend_source : 0d095c109297d4b43f133bd1ceccd539bf2ea486
2019-07-17 18:41:59 +02:00
Daniel Varga fdca87c5b8 Merge mozilla-inbound to mozilla-central. a=merge 2019-07-17 18:53:21 +03:00
Christoph Kerschbaumer 110a817c1a Bug 1497209: Apply Meta CSP to about:sessionrestore and about:welcomeback. r=Gijs,vporof
Differential Revision: https://phabricator.services.mozilla.com/D38081

--HG--
extra : moz-landing-system : lando
2019-07-17 11:22:35 +00:00
Mirko Brodesser de74655cfa Bug 1566751: update description of `nsINode::ComputeIndexOf` about anonymous content. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D38288
2019-07-17 12:59:08 +02:00