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

712792 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 2e8e66ab3c Bug 1641512 - Rename AppendTo*Usage methods to Increment*Usage. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77450
2020-06-11 10:42:16 +00:00
Simon Giesecke dea8831f5c Bug 1641512 - Introduce Usage type with operator+/+=. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77449
2020-06-11 10:42:12 +00:00
Simon Giesecke 38fd6472cd Bug 1641512 - Remove unused include directive. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77447
2020-06-11 10:42:10 +00:00
Simon Giesecke f786f97363 Bug 1641512 - Remove unused UsageInfo::DatabaseUsage function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D77446
2020-06-11 10:42:07 +00:00
Nicolas Chevobbe 69126eb5b2 Bug 1624531 - Refresh codeMirror instance when input is resized. r=Honza.
This patch adds a ResizeObserver to the input node, which when triggered
refreshes the codeMirror instance.
This is needed because codeMirror draws specific elements, like the cursor
and selection blocks, and they need to be re-computed if the editor size
changed (the line might have wrapped, and the cursor need to be in a new
position now).

Depends on D78649

Differential Revision: https://phabricator.services.mozilla.com/D78661
2020-06-11 10:18:12 +00:00
Nicolas Chevobbe 130c2955a0 Bug 1620569 - Reset editor selection when console input is blurred. r=Honza.
CodeMirror does not have an option to automatically remove
the selection when the editor is blurred, which means there
can be a kind-of weird visual glitch when there was a selection
and the user does another selection.
This patch listen for the blur event on the editor, and if there
was a selection, removes it.
The blur event need to be piped down from the sourceeditor.
A test is added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D78649
2020-06-11 10:14:30 +00:00
Alphan Chen 13fbc508bd Bug 1643826 - Fix the problem when restoreTabContent() is called twice. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D79047
2020-06-11 09:30:29 +00:00
Timothy Nikkel 04d7907c66 Bug 1641682. Don't kick off a validation network request if the original image network request hasn't finished. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D78858
2020-06-11 09:54:18 +00:00
Dorel Luca 2a1f38a07c Backed out changeset 1c79bd1023d8 (bug 1641682) for Build bustage in worker/checkouts/gecko/config/rules.mk 2020-06-11 12:43:24 +03:00
Gijs Kruitbosch c73088ced1 Bug 1643175 - update documentation about JSWindowActor's observers list, r=Yoric
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D78566
2020-06-11 09:42:32 +00:00
Jon Coppeard 925ac1a2d0 Bug 1644393 - Fix test case to work in beta/release builds r=sfink
This changes the test to be much more specific.

It adds a way of making gcslice only trigger a slice during an incremental collection, without which the collection loop can loop forever.

Differential Revision: https://phabricator.services.mozilla.com/D79136
2020-06-11 09:31:07 +00:00
Timothy Nikkel bc84cbd3de Bug 1641682. Don't kick off a validation network request if the original image network request hasn't finished. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D78858
2020-06-10 13:34:49 +00:00
Matt Woodrow 28d755ee31 Bug 1625866 - Implement nsIProgressEventSink on DocumentLoadListener. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D77982
2020-06-08 15:15:17 +00:00
Matt Woodrow 28bef71f71 Bug 1643196 - Add 'scriptable' to nsIMultiPartChannelListener. r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78175
2020-06-10 14:03:50 +00:00
David Teller 7b9251bafc Bug 1597562 - about:memory now displays process types;r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D77541
2020-06-10 17:01:08 +00:00
Jan Varga 478765004c Bug 1621916 - Provide a usable stack when requestFinished throws; r=dom-workers-and-storage-reviewers,sg,asuth
Differential Revision: https://phabricator.services.mozilla.com/D77217
2020-06-11 07:04:38 +00:00
Simon Giesecke e655325a13 Bug 1634436 - Add support for seeking (nsISeekableStream). r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D74669
2020-06-11 08:02:29 +00:00
Simon Giesecke aa427a3937 Bug 1634436 - Add encrypted stream implementation. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D76481
2020-06-11 08:00:39 +00:00
Dale Harvey 5208a33394 Bug 1627550 - Trigger download of region maps when pref enabled r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D78884
2020-06-11 08:10:50 +00:00
Dale Harvey 01b19f11ad Bug 1627560 - Implement local geocoding r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D78611
2020-06-11 07:11:00 +00:00
Dale Harvey a114756678 Bug 1627551 - Implement call to getLocation r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D78391
2020-06-11 08:18:59 +00:00
Jan de Mooij 7ea610a449 Bug 1644425 part 2 - Optimize ToLength intrinsic in Ion/CacheIR/Warp. r=anba
For now this only optimizes the int32-argument case.

Depends on D78917

Differential Revision: https://phabricator.services.mozilla.com/D78918
2020-06-10 09:30:36 +00:00
Jan de Mooij 96041ddffc Bug 1644425 part 1 - Replace ToLength function in self-hosted code with an intrinsic. r=anba
This fixes a regression from bug 1643680 because the code relied on Math.min/max
with int32 and double arguments returning an int32 when possible. Porting this
to C++ should make this less brittle.

Differential Revision: https://phabricator.services.mozilla.com/D78917
2020-06-10 09:24:20 +00:00
Simon Giesecke 5f046f94b5 Bug 1644642 - Fix ArrayType of nsTArray_Impl iterators. a=fix. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D79253
2020-06-11 07:58:38 +00:00
Farooq AR ae23f02b59 Bug 1637867 - UI support for Server side events. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D78637
2020-06-11 07:40:07 +00:00
Simon Giesecke 4ab55413a3 Bug 1644640 - Rename RemoveElementsAt(const_iterator, const_iterator) to RemoveElementsRange. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D79033
2020-06-11 07:17:25 +00:00
Simon Giesecke 2e17d6aa5e Bug 1644642 - Use iterator-based RemoveElementsAt overload. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D79032
2020-06-11 07:17:07 +00:00
Butkovits Atila 0e09b9191c Backed out changeset 3f5baab34b1f (bug 1621916) for causing failure at QuotaRequests.cpp. CLOSED TREE 2020-06-11 09:58:59 +03:00
Jeff Gilbert 3618406994 Bug 1632249 - Remove unused var g2DContextLayerUserData.
Differential Revision: https://phabricator.services.mozilla.com/D79248
2020-06-11 06:37:53 +00:00
Jeff Gilbert 597f6fdb56 Bug 1632249 - Mark mCapturedFrameInvalidated even if mIsCanvasDirty. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D79014
2020-06-11 06:37:50 +00:00
Jeff Gilbert 15ac3e9445 Bug 1632249 - Fix Bb failures. r=gw
> /builds/worker/checkouts/gecko/gfx/gl/SharedSurface.cpp:141:1: error: control reaches end of non-void function [-Werror=return-type]

Old compilers don't realize the switch being exhaustive means the
function always returns, which we workaround here.

Differential Revision: https://phabricator.services.mozilla.com/D78837
2020-06-11 06:37:43 +00:00
Jeff Gilbert 2ac2690670 Bug 1632249 - NON_PREMULT TextureClient iff NON_PREMULT CanvasClient. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D78800
2020-06-11 06:37:40 +00:00
Jeff Gilbert 4ab7ab5da0 Bug 1632249 - Create a separate WebGLContext::PresentInto function for WebXR. r=jgilbert
- Do not apply mIsCanvasDirty bailout when presenting from a opaque FBO
back buffer.
- Create a separate WebGLContext::PresentInto with more specific XR
validations and logic.
- Use the Opaque FBO backbuffer as source when calling
BlitBackbufferToCurDriverFB
- Always invalidate OpaqueFBO regardless of the WebGL context's
preserveDrawingBuffer value.

Differential Revision: https://phabricator.services.mozilla.com/D78301
2020-06-11 06:37:38 +00:00
Jeff Gilbert 06fa957778 Bug 1632249 - WebXR compositing fixes. r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D78117
2020-06-11 06:37:36 +00:00
Jeff Gilbert cf3c8fedea Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
  to propagate
* Mortgage/strip out more OffscreenCanvas code for now

Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-11 06:37:35 +00:00
Jan Varga e72a3e7779 Bug 1621916 - Provide a usable stack when requestFinished throws; r=dom-workers-and-storage-reviewers,sg,asuth
Differential Revision: https://phabricator.services.mozilla.com/D77217
2020-06-11 06:36:55 +00:00
Tom Tung bf2c33ba86 Bug 1641231 - Reduce raw pointers as functions arguments for DirectoryLock related functions in QuotaManager; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D78068
2020-06-10 10:11:53 +00:00
Tom Tung 4970cd9ea4 Bug 1641231 - Use FlippedOnce for DirectoryLockImpl::mInvalidate; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D78067
2020-06-10 12:25:09 +00:00
Tom Tung 714f42fd9c Bug 1641231 - Use InitializedOnce for DirectoryLockImpl::mOpenListener; r=dom-workers-and-storage-reviewers,janv,sg
Differential Revision: https://phabricator.services.mozilla.com/D78066
2020-06-10 10:11:53 +00:00
Tom Tung 9810bb5a2b Bug 1641231 - Use NotNull for DirectoryLockImpl's member variables; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D78065
2020-06-10 10:10:47 +00:00
Tom Tung 55867d7488 Bug 1641231 - Replace raw pointers as functions arguments in DirectoryLockImpl; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D78062
2020-06-10 10:10:39 +00:00
Dmitry Bezhetskov 6fe78d055f Bug 1599722 - Address incoming stack args from FP in wasm stubs r=lth,wingo
We address incoming stack args via FP in Baseline and Ion now, so it's time for wasm stubs.

Differential Revision: https://phabricator.services.mozilla.com/D78472
2020-06-11 05:52:40 +00:00
Dmitry Bezhetskov e8e88da594 Bug 1639153 - Remove using Frame::tls in Jit import exit stub r=lth,wingo
To completely remove Frame::tls we shouldn't use it in wasm stub.
So, in this patch we manually preserve WasmTlsReg in jit import exit stub and so remove using masm.loadWasmTlsRegFromFrame.

There are no any uses of WasmTlsReg in wasm stubs.

Only in masm.callABI but we are going to handle this later.

Differential Revision: https://phabricator.services.mozilla.com/D78223
2020-06-11 05:37:09 +00:00
Jamie Nicol 6ac8fcda94 Bug 1644732 - Don't call NotifyNotUsed() from ~RenderAndroidSurfaceTextureHostOGL(). r=sotaro
Doing so means it is called twice, which causes an assertion failure.

Differential Revision: https://phabricator.services.mozilla.com/D79127
2020-06-11 05:27:09 +00:00
Paul Bone 9ae88523bb Bug 1550571 - Pref on Browsing Context preservation r=kmag,remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D77764
2020-06-10 06:51:36 +00:00
Bogdan Tara 2b80bfb16b Backed out changeset 61bdbb94ab7a (bug 1637431) for browser_ext_tabs_cookieStoreId.js failures CLOSED TREE 2020-06-11 07:36:35 +03:00
dpk 43998630ac Bug 1637431 - Gives meaningful tabs.query error message. r=robwu,geckoview-reviewers,agi
***
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu

Differential Revision: https://phabricator.services.mozilla.com/D78466
2020-06-11 03:44:23 +00:00
Mihai Alexandru Michis 9167a29a3a Backed out changeset 436777b95e22 (bug 1637431) for causing bc failures in browser_ext_tabs_cookieStoreId.js
CLOSED TREE
2020-06-11 06:35:23 +03:00
Markus Stange f3f9f2bf34 Bug 1493789 - Render solid colors for the source-list-selection -moz-appearance values on 10.10+ if they're not used in a vibrant context. r=spohl
Depends on D51460

Differential Revision: https://phabricator.services.mozilla.com/D78923
2020-06-09 16:26:33 +00:00
Markus Stange c0eb520247 Bug 1644459 - Style the browser window's root element with -moz-appearance: dialog on macOS (which is the default). r=ntim
This is preferable over a hardcoded color because it lets Gecko choose where the
window background should come from. We would like the background to be handled
by the OS widget, and prevent Gecko from painting a CSS background color.

Differential Revision: https://phabricator.services.mozilla.com/D51460
2020-06-09 22:41:26 +00:00