Jan Varga
975c16dc24
Bug 1798459 - Add a shutdown check to FileSystemRequestHandler::GetWritable; r=dom-storage-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D161171
2022-11-09 17:15:34 +00:00
Jan Varga
9bb3260919
Bug 1798459 - Run test_writableFileStream.js in the mochitest context and in the main thread xpcshell context; r=dom-storage-reviewers,jari
...
Depends on D158405
Differential Revision: https://phabricator.services.mozilla.com/D161032
2022-11-09 17:15:33 +00:00
Jari Jalkanen
7e919b0c5a
Bug 1798459 - Close parent side file handles to unlock child side. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D158405
2022-11-09 17:15:33 +00:00
Jan Varga
f6a5912643
Bug 1798459 - Support writes with length less than 2GB for now; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D161269
2022-11-09 17:15:32 +00:00
Jan Varga
0d5b8c0826
Bug 1798459 - Remove dead code related to now removed mTaskQueue; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D161268
2022-11-09 17:15:32 +00:00
Jan Varga
504b78d1c9
Bug 1798459 - Use a dedicated close message for closing writable file streams; r=dom-storage-reviewers,jesup,jari
...
Depends on D160915
Differential Revision: https://phabricator.services.mozilla.com/D161023
2022-11-09 17:15:32 +00:00
Jan Varga
cd3ad114fc
Bug 1798459 - Fix TestFileSystemDatabaseManagerVersion001 perma gtest failure; r=dom-storage-reviewers,jari
...
Depends on D160914
Differential Revision: https://phabricator.services.mozilla.com/D160915
2022-11-09 17:15:31 +00:00
Jan Varga
c2906fd70c
Bug 1798459 - Remove unnecessary include directives; r=dom-storage-reviewers,jari
...
Depends on D160913
Differential Revision: https://phabricator.services.mozilla.com/D160914
2022-11-09 17:15:31 +00:00
Jan Varga
e4b4a9006d
Bug 1798459 - Share origin metadata between TestFileSystemDataManager.cpp and TestFileSystemDataManagerVersion001.cpp; r=dom-storage-reviewers,jari
...
Depends on D160911
Differential Revision: https://phabricator.services.mozilla.com/D160913
2022-11-09 17:15:30 +00:00
Jan Varga
2671c0026c
Bug 1798459 - Clean up FileSystemWritableFileStream member variables; r=dom-storage-reviewers,jari
...
Having protected members in a final class doesn't make sense.
Depends on D160910
Differential Revision: https://phabricator.services.mozilla.com/D160911
2022-11-09 17:15:30 +00:00
Jan Varga
3847807668
Bug 1798459 - Move FileSystemWritableFileStream::ClearActor to the correct place; r=dom-storage-reviewers,jari
...
Depends on D160909
Differential Revision: https://phabricator.services.mozilla.com/D160910
2022-11-09 17:15:29 +00:00
Jan Varga
c55e290779
Bug 1798459 - Synchronize the order of WebIDL methods between the h and cpp file; r=dom-storage-reviewers,jari
...
Depends on D160908
Differential Revision: https://phabricator.services.mozilla.com/D160909
2022-11-09 17:15:29 +00:00
Jan Varga
83b24d715d
Bug 1798459 - Make FileSystemWritableFileStream::DoSeek a private method; r=dom-storage-reviewers,jari
...
Depends on D160907
Differential Revision: https://phabricator.services.mozilla.com/D160908
2022-11-09 17:15:29 +00:00
Jan Varga
8159e1ddd2
Bug 1798459 - Separate out FileSystemWritableFileStream::Close and IsClosed which are not part of the WebIDL interface; r=dom-storage-reviewers,jari
...
Depends on D160906
Differential Revision: https://phabricator.services.mozilla.com/D160907
2022-11-09 17:15:28 +00:00
Jan Varga
d7ad1e23fa
Bug 1798459 - Clean up FileSystemWritableFileStream construction code; r=dom-storage-reviewers,jari
...
Depends on D160905
Differential Revision: https://phabricator.services.mozilla.com/D160906
2022-11-09 17:15:28 +00:00
Jan Varga
0dca106ad5
Bug 1798459 - Remove dead code related to blobs; r=dom-storage-reviewers,jari
...
Depends on D160904
Differential Revision: https://phabricator.services.mozilla.com/D160905
2022-11-09 17:15:27 +00:00
Jan Varga
24fb6ce573
Bug 1777361 - Mark more OPFS WPT tests as expected to PASS; r=dom-storage-reviewers,jesup
...
These tests now pass because createWritable is now supported and D160904 fixed
a cycle collection related crash.
Differential Revision: https://phabricator.services.mozilla.com/D161401
2022-11-09 17:15:27 +00:00
Jan Varga
0c158cf15a
Bug 1798459 - Add FileSystemWritableFileStream::mManager to cycle collection; r=dom-storage-reviewers,jari
...
Depends on D160903
Differential Revision: https://phabricator.services.mozilla.com/D160904
2022-11-09 17:15:27 +00:00
Jan Varga
898dfc8ee4
Bug 1798459 - Remove unused FileSystemWritableFileStream::mRequestHandler; r=dom-storage-reviewers,jari
...
Depends on D160901
Differential Revision: https://phabricator.services.mozilla.com/D160903
2022-11-09 17:15:26 +00:00
Jan Varga
baade56939
Bug 1798459 - Move StreamAlgorithms to the cpp file and rename it to WritableFileStreamUnderlyingSinkAlgorithms; r=dom-storage-reviewers,jari
...
Depends on D161025
Differential Revision: https://phabricator.services.mozilla.com/D160901
2022-11-09 17:15:26 +00:00
Jari Jalkanen
6150d8cd94
Bug 1769057 - Fix static analysis issues. r=dom-storage-reviewers,janv
...
Depends on D146203
Differential Revision: https://phabricator.services.mozilla.com/D161025
2022-11-09 17:15:25 +00:00
Randell Jesup
2f2e6d51f3
Bug 1769057: WritableFileStream for OPFS implementation r=janv,webidl,dom-storage-reviewers,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D146203
2022-11-09 17:15:25 +00:00
Fred Chasen
00b380b6a4
Bug 1778320 - Hide option to simplify reader mode pages in print preview r=mstriemer
...
Checks if the url for the page to be printed starts with about:reader and if so prevents showing the option for printing the simplified version (which would result in an article load failure).
Differential Revision: https://phabricator.services.mozilla.com/D158814
2022-11-09 17:06:33 +00:00
Brad Werth
987a61fc5c
Bug 1798532 Part 3: Allow JPEGDecoder to handle frame data in the footer. r=tnikkel
...
This also modifies red-bad-marker.jpg to add a SOF6 marker (0xFFC6) in the
footer.
Differential Revision: https://phabricator.services.mozilla.com/D161637
2022-11-09 17:01:35 +00:00
Cristian Tuns
ce0b61513b
Backed out changeset 06cfb7445c64 (bug 1799801) for causing build bustages CLOSED TREE
2022-11-09 11:57:02 -05:00
André Bargull
7d0125b8c7
Bug 1799859: Add support for "microsecond" and "nanosecond" units. r=dminor
...
Steps performed:
- Add "microsecond" and "nanosecond" to "intl/icu/data_filter.json".
- Run "icu_sources_data.py" to update the ICU data file.
- Run "update-tzdata.sh" to reapply the tzdata 2022f changes.
- Add "microsecond" and "nanosecond" to "SanctionedSimpleUnitIdentifiers.yaml".
- Run "make_intl_data.py units" to regenerate additional SpiderMonkey files.
Spec PR: https://github.com/tc39/ecma402/pull/708
Differential Revision: https://phabricator.services.mozilla.com/D161676
2022-11-09 16:45:43 +00:00
Jim Blandy
9d1f26b312
Bug 1799801: Update wgpu to 261069d0 (2022-10-5) r=nical,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D161662
2022-11-09 16:42:50 +00:00
William Durand
9741d52c88
Bug 1799842 - Move all the lists inside the same container in the unified extensions panel. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D161668
2022-11-09 16:32:45 +00:00
Nicolas Chevobbe
a49c3bce45
Bug 1788033 - [devtools] Update StyleEditor documentation for at-rules sidebar. r=jdescottes.
...
We take this as an opportunity to update the existing
screenshots of the page as the previous one were quite
outdated.
Differential Revision: https://phabricator.services.mozilla.com/D161684
2022-11-09 16:29:51 +00:00
Nicolas Chevobbe
6153f85643
Bug 1788033 - [devtools] Display container, layer and supports in StyleEditor at-rules sidebar. r=jdescottes.
...
Differential Revision: https://phabricator.services.mozilla.com/D157084
2022-11-09 16:29:51 +00:00
Nicolas Chevobbe
38d79b9eaf
Bug 1788033 - [devtools] Rename StyleEditor media sidebar to at-rules sidebar. r=jdescottes,fluent-reviewers,devtools-backward-compat-reviewers.
...
Since we plan to add other rules than `@media` into the sidebar, it makes sense
to rename it.
Differential Revision: https://phabricator.services.mozilla.com/D157083
2022-11-09 16:29:50 +00:00
David Shin
247d54c98b
Bug 1791069 - Clamp scrollable element's first/last baseline position to border box. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D161068
2022-11-09 16:25:46 +00:00
Jim Blandy
e7ac53264e
Bug 1799799: cargo vet naga crate 0.9.0 -> 0.10.0 r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D161660
2022-11-09 16:22:09 +00:00
Cristian Tuns
239d775bde
Backed out 2 changesets (bug 1795311) for causing build bustages on WebGPUParent.cpp CLOSED TREE
...
Backed out changeset 71697f876d88 (bug 1795311)
Backed out changeset 60b9bfda2e8b (bug 1795311)
2022-11-09 11:17:43 -05:00
Mike Maksymowych
592f21d08e
Bug 1492570 - Resolve shadow variable warnings. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D155799
2022-11-09 15:49:12 +00:00
Dan Minor
793353a464
Bug 1798883 - Reserve capacity in Buffer::reserve; r=anba
...
This fixes a problem where we were hitting simulated OOMs due to a mismatch
between what had been reserved and the actually capacity of the underlying
Vector. It's safe to use up to the capacity of the Vector, but simulated OOMs
are triggered if an attempt is used more space than what has been reserved.
With this change in place, we can use infallible resize operations in the
written method, avoiding problems with simulated OOMs there as well.
Differential Revision: https://phabricator.services.mozilla.com/D161330
2022-11-09 15:26:59 +00:00
Mathew Hodson
fc3705fe5d
Bug 1747470 - Remove FileUtils.getFile from services folder. r=barret
...
Differential Revision: https://phabricator.services.mozilla.com/D155782
2022-11-09 15:17:34 +00:00
Byron Campen [:bwc]
831cc881e8
Bug 1799168: Ensure that we don't pair candidates with different protocols. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D161322
2022-11-09 15:01:28 +00:00
Byron Campen [:bwc]
da6285e415
Bug 1799168: Test case for bug. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D161321
2022-11-09 15:01:28 +00:00
Emilio Cobos Álvarez
115e164299
Bug 1799343 - Remove a last-minute optimization that should work but breaks some automated tests.
...
We seem to rely on clicking on overflowing children of panels in some
tests. That makes no sense tho, since those aren't painted because the
native widget doesn't have the right size.
MANUAL PUSH: Trivial partial backout CLOSED TREE
2022-11-09 16:14:02 +01:00
Julian Descottes
10bc25610c
Bug 1414361 - [devtools] Truncate extremely long text nodes in the ruleview r=nchevobbe
...
Depends on D161494
In this bug, if we fix the original issue, the markupview will start rendering a property value with the base64 for the image, but the text is so long that the markup view becomes unusable both from a UX perspective (node is way too tall) and from a performance perspective (resizing the markupview triggers reflow which freeze the browser for a very long time).
Differential Revision: https://phabricator.services.mozilla.com/D161559
2022-11-09 14:37:23 +00:00
Julian Descottes
03f9bfbebf
Bug 1414361 - [devtools] Fix ruleview with large base64 background image r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D161494
2022-11-09 14:37:22 +00:00
Valentin Gosu
aee214453a
Bug 1799860 - Add WebSocketConnection helper class to help with sending multiple WS messages r=necko-reviewers,kershaw
...
It also fixes an issue in NodeWebSocketServerCode.messageHandler where the
response would always be sent to the last websocket client. Instead, we change
the signature to be messageHandler(data, ws) and global.wsInputHandler(data, ws)
where ws is the websocket that sent the data.
Differential Revision: https://phabricator.services.mozilla.com/D161678
2022-11-09 14:37:13 +00:00
Nicolas Silva
ce2cb5783c
Bug 1795311 - Use the new shmem classes in the WebGPU buffer impl. r=jgilbert
...
Depends on D159398
Differential Revision: https://phabricator.services.mozilla.com/D159399
2022-11-09 14:30:16 +00:00
Nicolas Silva
29b09614fe
Bug 1795311 - A new shared memory class with more flexible memory management. r=nika,jld
...
Differential Revision: https://phabricator.services.mozilla.com/D159398
2022-11-09 14:30:14 +00:00
Emilio Cobos Álvarez
58a308d108
Bug 1799580 - Remove display: -moz-popup. r=TYLin
...
We already rely on it applying only to XULPopupElement's. Make it
explicit and remove the CSS value.
Differential Revision: https://phabricator.services.mozilla.com/D161552
2022-11-09 14:19:22 +00:00
Emilio Cobos Álvarez
5c5c337a98
Bug 1799343 - Simplify XUL popup handling. r=TYLin
...
* Make non-menulist popups just absolute positioned top-layer items.
* Simplify menulist popups to just be static-positioned items under
nsMenuFrame.
We need to keep kPopupList only for nsMenuFrame. In the future it can be
removed, see TODO in xul.css
Differential Revision: https://phabricator.services.mozilla.com/D161404
2022-11-09 14:19:22 +00:00
Marco Castelluccio
57e9eb5281
Bug 1768859 - Rename 'push' parameter to 'dry_run' following the changes from c52884b73e612a7202a951f15f3775f6c705e5a4. r=aryx DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D161674
2022-11-09 13:49:11 +00:00
Emilio Cobos Álvarez
5598131cbb
Bug 1799491 - Use a more reliable visibility check in toolbar key navigation. r=Gijs
...
The existing check didn't work for visibility: collapse items.
Before switching to modern flexbox, we were saved by the width==0 check, but
modern flexbox preserves the padding of collapsed items (even though they take
no space and aren't painted).
checkVisibility() is the right thing to check for this, and should also handle
visibility: hidden properly as a bonus.
Differential Revision: https://phabricator.services.mozilla.com/D161501
2022-11-09 13:23:07 +00:00
Tomislav Jovanovic
8d54ab149f
Bug 1794427 - Origin Controls reflect implicit access through content scripts r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D160893
2022-11-09 13:21:09 +00:00