Commit Graph

667378 Commits

Author SHA1 Message Date
Andreas Farre
6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
ffxbld
c492e28658 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D43406

--HG--
extra : moz-landing-system : lando
2019-08-26 13:07:26 +00:00
tanhengyeow
516ccd19a8 Bug 1555638 - Telemetry for WS monitoring. r=Honza
Add telemetry for WS monitoring.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 12:34:14 +00:00
Cameron McCormack
857c6ccf10 Bug 1533569 - Part 3: Increase shared memory size. r=jwatt
400 KiB is just too small for Android ARM64.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 19:36:45 +00:00
Cameron McCormack
870501672b Bug 1533569 - Part 2: Enable shared UA style sheets. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D36255

--HG--
extra : moz-landing-system : lando
2019-08-23 19:36:47 +00:00
Cameron McCormack
df72efcbd0 Bug 1533569 - Part 1: Freeze UA sheet shared memory. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D36254

--HG--
extra : moz-landing-system : lando
2019-08-23 19:36:49 +00:00
Cameron McCormack
1ca68445da Bug 1574066 - Correctly count glyphs when determining text decoration intercepts. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D43396

--HG--
extra : moz-landing-system : lando
2019-08-26 09:26:22 +00:00
Nicolas Chevobbe
7f5a19c884 Bug 1576085 - Don't allow evaluation results to be repeated. r=Honza.
With top-level await, we can now have multiple
evaluation results next to each others. Which
means that if they had the same repeatId, we
would only print the first result.
We fix that by not allowing evaluation results to
be repeated.
A mochitest is added to ensure the patch properly
fixes the issue.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 11:18:50 +00:00
Dan Minor
7c3097eb13 Bug 1565800 - Use local copy of _captureCapability in OnIncomingFrame; r=jolin
In OnIncomingFrame() we check if the capture has started by calling
CaptureStarted() which holds a lock. If StopCapture() is called on the
control thread after we check CaptureStarted() it is possible that
_captureCapability will be zeroed out prior to frame being delivered because
the lock has been released. This would result in an unknown video type in
CalcBufferSize() and trigger an assertion there. This creates a local copy of
_captureCapability with the lock held to ensure it is not zeroed out when the
frame is delivered.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 15:52:31 +00:00
Arpit Bharti
214fd3f380 Bug 1563246 - Reload the Public Suffix List when data is updated in profile folder r=leplatrem,kmag
Differential Revision: https://phabricator.services.mozilla.com/D42470

--HG--
extra : moz-landing-system : lando
2019-08-23 10:56:59 +00:00
Masayuki Nakano
1779535bf3 Bug 1574852 - part 38: Move HTMLEditRules::MakeBasicBlock() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43199

--HG--
extra : moz-landing-system : lando
2019-08-26 07:09:11 +00:00
Arpit Bharti
47dfa3b891 Bug 1563226 - Download the Public Suffix List using Remote Settings r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D42469

--HG--
extra : moz-landing-system : lando
2019-08-22 14:09:42 +00:00
Benjamin Bouvier
160cdeadeb Bug 1576591: Cranelift: don't collect metadata for FillNop; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D43408

--HG--
extra : moz-landing-system : lando
2019-08-26 10:18:36 +00:00
Benjamin Bouvier
f2b3b057fc Bug 1576591: Bump Cranelift to 164f91a1f473e582e18e48d056c51787d9a1c24d; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D43407

--HG--
extra : moz-landing-system : lando
2019-08-26 10:18:17 +00:00
Andi-Bogdan Postelnicu
7b5552dee0 Bug 1575659 - Fixed crashing of mach static-analisys when no arguments where passed. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D43393

--HG--
extra : moz-landing-system : lando
2019-08-26 08:57:49 +00:00
Emilio Cobos Álvarez
f93d4c2566 Bug 1576587 - Rustfmt declaration_block.rs and glue.rs
Differential Revision: https://phabricator.services.mozilla.com/D43400

--HG--
extra : moz-landing-system : lando
2019-08-26 09:58:53 +00:00
Emilio Cobos Álvarez
70b6fda902 Bug 1575926 - Check that we have a target in CalculateCumulativeChangeHint. r=hiro
Seems we'll update the change hint properly via SetTarget if we get a new
target.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 09:08:22 +00:00
Sebastian Hengst
afa82e0ecb Bug 1575548 - Enable websockets in netmonitor's browser_net_ws-* tests to prevent them from failing on non-central branches. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D43298

--HG--
extra : moz-landing-system : lando
2019-08-26 09:19:35 +00:00
Masayuki Nakano
a6be29d2bf Bug 1574852 - part 37: Move HTMLEditRules::ApplyBlockStyle() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43198

--HG--
extra : moz-landing-system : lando
2019-08-26 04:48:21 +00:00
Masayuki Nakano
364649f84e Bug 1574852 - part 36: Move HTMLEditRules::RemvoeBlockStyle() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43197

--HG--
extra : moz-landing-system : lando
2019-08-26 04:00:15 +00:00
Masayuki Nakano
72ea02b6a7 Bug 1574852 - part 35: Move HTMLEditRules::SplitRangeOffFromBlockAndRemoveMiddleContainer() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43196

--HG--
extra : moz-landing-system : lando
2019-08-26 03:59:48 +00:00
Masayuki Nakano
627c9ff582 Bug 1574852 - part 34: Move HTMLEditRules::SplitRangeOffFromBlock() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43195

--HG--
extra : moz-landing-system : lando
2019-08-26 03:20:35 +00:00
Mirko Brodesser
3ec84ce64d Bug 1575495: part 5) Add comment to setWrapColumn that value 0 disables wrapping. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42841

--HG--
extra : moz-landing-system : lando
2019-08-23 13:17:08 +00:00
Mirko Brodesser
887a1c3c6d Bug 1575495: part 4) Add AddLineBreak to CurrentLineContent. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42840

--HG--
extra : moz-landing-system : lando
2019-08-23 14:00:50 +00:00
Mirko Brodesser
eea034bd57 Bug 1575495: part 3) Sync argument names of declaration and definition of DoAddText. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42839

--HG--
extra : moz-landing-system : lando
2019-08-23 13:16:46 +00:00
Mirko Brodesser
6515718068 Bug 1575495: part 2) Move MaybeReplaceNbspsForOutput to CurrentLineContent. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42838

--HG--
extra : moz-landing-system : lando
2019-08-23 13:16:37 +00:00
Mirko Brodesser
7dc44a76e6 Bug 1575495: part 1) Simplify assignments to mAtFirstColumn. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42837

--HG--
extra : moz-landing-system : lando
2019-08-23 13:16:30 +00:00
Ed Lee
12ebb4efcb Bug 1576284 - Land strings for Firefox 70 What's New messages r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43311

--HG--
extra : moz-landing-system : lando
2019-08-26 04:57:45 +00:00
Masayuki Nakano
d42fe61844 Bug 1574852 - part 33: Move HTMLEditRules::MakeBlockquote() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43194

--HG--
extra : moz-landing-system : lando
2019-08-26 01:55:01 +00:00
Masayuki Nakano
337a97617a Bug 1574852 - part 32: Move HTMLEditRules::MaybeSplitAncestorsForInsertWithTransaction() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43193

--HG--
extra : moz-landing-system : lando
2019-08-26 01:38:56 +00:00
Markus Stange
337e804b70 Bug 1576391 - Override _titlebarHeight so that the window's NSTitlebarContainerView includes the full height of the window buttons even after we've shifted them down, and re-enable the floating titlebar. r=mattwoodrow
I've tried hard to find a solution for the clipped window button problem which
does not involve swizzling but could not find one.
The officially ratified ways of moving the window buttons are:
 1. Use an NSToolbar in your window, or
 2. Make a custom window with your own buttons.

I don't think having an NSToolbar is an option for us. And making our own window frame
implementation would be hard to get right and can easily behave differently from the
native implementation.
I've also tried asking the window to not render any window buttons on its own; then we
could make our own buttons and place them on top of our view. But if I change the
window's styleMask to be just NSTitledWindowMask, it doesn't only make the buttons
disappear, it also makes the window non-resizable. And if I include NSResizableWindowMask,
the buttons come back (only the zoom button is enabled, the other two are grayed out).

This change also stops overriding _wantsFloatingTitlebar when CoreAnimation is
enabled, which is necessary for the window buttons to render.

Depends on D43341

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

--HG--
extra : moz-landing-system : lando
2019-08-26 02:05:24 +00:00
Markus Stange
47f90a7414 Bug 1576391 - Use NSFullSizeContentViewWindowMask for ToolbarWindows. r=mattwoodrow
This gives us two behaviors for free which we were achieving through manual
overrides:
 - The content view is sized to cover the entire window frame.
 - The window controls are placed on top of the content view (instead of
   underneath it in z-order).

It also forces CoreAnimation layers for the window's entire NSView hierarchy, so
we only use it when the CoreAnimation pref is enabled.

NSFullSizeContentViewWindowMask is only available on 10.10 and up, but we still
support 10.9, so we cannot remove the code with the manual overrides just yet.

This change also requires a change to NonDraggableView in order to preserve
window dragging behavior in the titlebar: When NSFullSizeContentViewWindowMask
is used, the method which assembles the window's draggable region takes a
different path. It treats the titlebar specially, and traverses the NSView
hierarchy twice, once for the titlebar area and once for the rest of the window.
Outside the titlebar, it calls _opaqueRect on every visible NSView, but for the
titlebar area, it calls _opaqueRectForWindowMoveWhenInTitlebar instead.

Overriding _opaqueRectForWindowMoveWhenInTitlebar allows us to achieve the old
dragging behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 02:03:56 +00:00
Markus Stange
5aaf080881 Bug 1576391 - Move some method overrides to ToolbarWindow. r=mattwoodrow
This makes them only apply in windows with titlebars, which is the only place
where they're needed. The setContentView override can even cause harm for other
windows, such as sheet windows, because it'll move the content view below a
full-window covering solid grey view provided by the system, in builds that
link against the 10.14 SDK and don't override _wantsFloatingTitlebar.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 02:04:09 +00:00
Nicholas Nethercote
66a26ccca9 Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 01:44:59 +00:00
Brad Werth
e4dcb9887c Bug 1575097 Part 6: Change RDM test helper function to check innerWidth instead of screen.width. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D43131

--HG--
extra : moz-landing-system : lando
2019-08-25 23:56:04 +00:00
Brad Werth
f40bd42907 Bug 1575097 Part 5: Update test to check outerWidth and screen.width and device-width media queries with meta viewport on. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D42748

--HG--
extra : moz-landing-system : lando
2019-08-25 23:54:48 +00:00
Brad Werth
2ca2008ad6 Bug 1575097 Part 4: Make nsMediaFeatures::GetDeviceSize return unscaled browser sizes for RDM documents. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42986

--HG--
extra : moz-landing-system : lando
2019-08-25 23:54:16 +00:00
Brad Werth
5ba85219c5 Bug 1575097 Part 3: Make nsScreen::GetRDMScreenSize get the size from the window. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D42745

--HG--
extra : moz-landing-system : lando
2019-08-25 23:53:54 +00:00
Brad Werth
ea3e370cf2 Bug 1575097 Part 2: Make nsScreen::GetRDMScreenSize accept a CSSIntSize instead of an nsRect. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D42743

--HG--
extra : moz-landing-system : lando
2019-08-25 23:53:31 +00:00
Brad Werth
5dccfe286b Bug 1575097 Part 1: Add a method nsGlobalWindowOuter::GetRDMDeviceSize and use it in GetOuterSize. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43130

--HG--
extra : moz-landing-system : lando
2019-08-25 23:53:04 +00:00
Cameron McCormack
79a431d339 Bug 1569077 - Part 3: Add --capture-profile argument to the layout debugger. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D39469

--HG--
extra : moz-landing-system : lando
2019-08-25 23:38:30 +00:00
Cameron McCormack
712f284101 Bug 1569077 - Part 2: Add --autoclose argument to the layout debugger. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D39468

--HG--
extra : moz-landing-system : lando
2019-08-25 23:38:28 +00:00
Cameron McCormack
7ce6716163 Bug 1569077 - Part 1: Refactor layout debugger command line handling. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D39467

--HG--
extra : moz-landing-system : lando
2019-08-25 23:38:26 +00:00
Nicholas Nethercote
adb9edf389 Bug 1574388 - Implement PHC on Mac. r=gsvelto,glandium
But it is not yet enabled; bug 1576515 will do that.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 23:16:05 +00:00
Edgar Chen
20182dbcb2 Bug 1576154 - Check mSVGDocumentWrapper when trying to report use counters; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43256

--HG--
extra : moz-landing-system : lando
2019-08-25 22:45:33 +00:00
Bastien Orivel
a5f69db222 Bug 1576450 - Update cookie to 0.12 in webdriver. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D43354

--HG--
extra : moz-landing-system : lando
2019-08-25 23:22:11 +00:00
Markus Stange
d62299cf77 Bug 1491451 - Limit CompositorOGL drawing to the invalid rect. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D42421

--HG--
extra : moz-landing-system : lando
2019-08-25 21:43:07 +00:00
Markus Stange
5349415d12 Bug 1574592 - When rendering into a copy target with CompositorOGL, and the window uses native layers for rendering, render into an offscreen RenderTarget instead of using a native layer. r=mattwoodrow
On platforms that don't use native layers for rendering, we usually want reftests
to see exactly what's going to end up in the window. It's conceivable that
rendering into offscreen framebuffers might miss bugs on those platforms (though
I'm not sure if we've seen any evidence of this).
But when we're rendering to native layers, we have non-default framebuffers either
way, so we might as well create our own framebuffer rather than asking a native
layer for one. We're not interested in getting this rendering to the screen, so
it's better to leave the native layer out of this.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 17:11:39 +00:00
Markus Stange
1593f9f2ef Bug 1574592 - Create a render target per IOSurface, laying the groundwork for multiple native layers. r=mattwoodrow
This makes CompositorOGL always render into offscreen render targets.
CompositorOGL no longer expects the GLContext to have a default framebuffer.
This duplicates a bunch of code from GLContextCGL, but that code can be removed
from GLContextCGL once WebRender no longer needs it.
This also makes it so that we don't recreate render targets on every frame;
instead, we create one render target for every IOSurface in the native layer's
"swap chain" and cycle through those render targets. We only throw away the
render targets when the window is resized or closed.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 17:11:25 +00:00
Markus Stange
3503a868b7 Bug 1574592 - Remove unused CompositorWidget::DrawWindowUnderlay. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D42404

--HG--
extra : moz-landing-system : lando
2019-08-25 17:11:11 +00:00