- Sep 28, 2022
-
-
Nika Layzell authored
The only uses of this method were removed in Part 1, meaning that it can now be removed. Support for this method adds a significant amount of complexity to `BufferList` and IPC serialization. Differential Revision: https://phabricator.services.mozilla.com/D154439
-
Nika Layzell authored
Differential Revision: https://phabricator.services.mozilla.com/D153805
-
Nika Layzell authored
Bug 1783242 - Part 1: Serialize large JSStructuredCloneData with SharedMemory, r=ipc-reviewers,handyman This changes the serialization strategy for JSStructuredCloneData to use shared memory if the total size exceeds 64k. This doesn't change how it is represented when it is within source or destination processes, just how it is represented when in transit. Differential Revision: https://phabricator.services.mozilla.com/D153804
-
Nika Layzell authored
Bug 1783240 - Part 2: Automatically serialize large blocks of binary data in shared memory, r=ipc-reviewers,jld This changes and unifies the serialization strategy for types like `ns[C]String`, `nsTArray<T>`, `std::vector<T>` etc such that they are all serialized using a common implementation. For types which are trivial to transfer with `memcpy`, they will automatically be serialized into a shared memory region and copied out on the other side if its size exceeds 64k. Differential Revision: https://phabricator.services.mozilla.com/D153803
-
Nika Layzell authored
Bug 1783240 - Part 1: Remove unnecessary `Log` methods from ParamTraits impls, r=ipc-reviewers,necko-reviewers,media-playback-reviewers,mccr8,alwu These aren't used anywhere, so can be removed, simplifying some things. Differential Revision: https://phabricator.services.mozilla.com/D153802
-
Peter Van der Beken authored
Bug 1792444 - Switch some WebIDL APIs from 'any' to a union with 'undefined'. r=edgar,media-playback-reviewers,padenot Differential Revision: https://phabricator.services.mozilla.com/D158195
-
Mozilla Releng Treescript authored
he -> ed06e6c77daabe27220c65df46d26fcd41126a09 lo -> 54ba15bb3baf29f27be2c789a03ffc651adb705b pt-BR -> 4f1313aa7cd0389c27b155121f6b3c8589fa192f pt-PT -> 9e509ccecc81cf109df3efb905aa6a85cd59fae1 tg -> b1825a2c04b3cd7aa5ad7fb71d5cb0ca133e46c6
-
hanna alemu authored
Differential Revision: https://phabricator.services.mozilla.com/D157989
-
Mark Banner authored
Bug 1792694 - Set up ESLint on the dom/ directory for enabling no-unused-vars and no-undef in more places across the dom tests. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D158254
-
Mark Banner authored
Bug 1792694 - Fix ESLint no-undef and no-unused-vars issues in various parts of dom/ tests. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D158253
-
Paul Zuehlcke authored
Bug 1790100 - Add CookieBannerChild.jsm to browser_startup_content test exception list. r=timhuang,perftest-reviewers,AlexandruIonescu Depends on D158078 Differential Revision: https://phabricator.services.mozilla.com/D158079
-
Paul Zuehlcke authored
Depends on D157676 Differential Revision: https://phabricator.services.mozilla.com/D158078
-
Paul Zuehlcke authored
Bug 1790100 - Enable cookie banner handling by default in Nightly in private browsing mode. r=timhuang Differential Revision: https://phabricator.services.mozilla.com/D157676
-
Alexandre Poirot authored
Bug 1791969 - [devtools] Migrate lazyRequireGetter for JSM to ChromeUtils.defineModuleGetter. r=jdescottes There was some imports of sys.mjs which I migrated to `ChromeUtils.defineESModuleGetters`. Differential Revision: https://phabricator.services.mozilla.com/D158129
-
Henrik Skupin authored
Differential Revision: https://phabricator.services.mozilla.com/D158252
-
Andrew McCreight authored
I left the implementation in nsMemoryImpl.cpp so that the diff looks reasonable. I also got rid of the weird singleton runnable and replaced it with NS_NewRunnableFunction. Differential Revision: https://phabricator.services.mozilla.com/D158214
-
Andrew McCreight authored
Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika There are only 3 places where nsMemory.h is still needed (image/RasterImage.cpp, gfx/thebes/gfxFT2FontList.cpp, and nsMemory.cpp). Remove the rest. Differential Revision: https://phabricator.services.mozilla.com/D158213
-
Andrew McCreight authored
Differential Revision: https://phabricator.services.mozilla.com/D158212
-
Andrew McCreight authored
That's the only place it is used. Differential Revision: https://phabricator.services.mozilla.com/D158211
-
Ben Hearsum authored
It turns out that the INI parser used by NSIS only supports UTF-16LE encoding. Our INI parser doesn't support UTF-16 at all, so we need to a bit of work ourselves to write this file correctly. Differential Revision: https://phabricator.services.mozilla.com/D157378
-
Ben Hearsum authored
This allows callers to re-encode the data (eg: to UTF-16) and write or otherwise do with the formatted data as they wish. I ended up adding/exposing additional init methods in part because I thought it made sense to support initialization from a string since we can now write to one, but also to make testing easier. Differential Revision: https://phabricator.services.mozilla.com/D157377
-
Ben Hearsum authored
This is, I think, an improvement to the hover text when a user directly pins `private_browsing.exe` to the Taskbar through Explorer. When pinned like this, we have no control over the text of the shortcut. Windows uses the EXE Description -- so we end up with `private_browsing.lnk`, which causes `private_browsing` as the hover text. With this patch, it ends up being MOZ_APP_DISPLAYNAME, which in the real world will typically come out as something like "Firefox Nightly" or "Firefox Nightly (2)" (the latter will happen if a "Firefox Nightly" shortcut already exists). I _think_ this is an improvement over the current situation, as it least it's a more human readable string, and different per branding - but I'm open to opinions here. In an ideal world this would be a localized string, but due to it ultimately coming from `configure.sh`, we do not have an existing method to localize it. Even if we want to use a different string here we ought to take some form of this patch so that we get exe metadata for `private_browsing.exe`. Differential Revision: https://phabricator.services.mozilla.com/D158216
-
Masayuki Nakano authored
`GUID_PROP_URL` is defined here: https://learn.microsoft.com/en-us/windows/win32/tsf/predefined-properties > Contains a BSTR value representing the URL of the text control source, where > applicable. The URL may contain sensitive information, e.g., user name, password, query string. However, they are already leaked via MSAA/UIA. https://searchfox.org/mozilla-central/rev/b1e5f2c7c96be36974262551978d54f457db2cae/accessible/generic/DocAccessible.cpp#350 Therefore, this patch just has prefs to completely prevent to expose the URL for users who don't like this feature. Differential Revision: https://phabricator.services.mozilla.com/D157894
-
Masayuki Nakano authored
`TSFTextStore` needs to expose the document URL for supporting new feature of Windows 11 22H2 update. Therefore, the `InputContext` should have the document URL. Differential Revision: https://phabricator.services.mozilla.com/D157893
-
André Bargull authored
Differential Revision: https://phabricator.services.mozilla.com/D158118
-
Mark Banner authored
Bug 1792673 - Correctly set the separate private default urlbar result preference from experiments. r=daleharvey Differential Revision: https://phabricator.services.mozilla.com/D158249
-
Mark Banner authored
Differential Revision: https://phabricator.services.mozilla.com/D157471
-
Mark Banner authored
Differential Revision: https://phabricator.services.mozilla.com/D157793
-
Edgar Chen authored
Differential Revision: https://phabricator.services.mozilla.com/D156197
-
Edgar Chen authored
Differential Revision: https://phabricator.services.mozilla.com/D156196
-
Edgar Chen authored
Differential Revision: https://phabricator.services.mozilla.com/D156195
-
Edgar Chen authored
Differential Revision: https://phabricator.services.mozilla.com/D156189
-
Edgar Chen authored
And switch to use `Init` method in binding code. Differential Revision: https://phabricator.services.mozilla.com/D156176
-
Edgar Chen authored
TrySetTo* conversion methods are generated in the regular union structure now. Differential Revision: https://phabricator.services.mozilla.com/D157327
-
Edgar Chen authored
Bug 1784266 - Part 2: Stop using the union conversion structure to root Record/Sequence type; r=peterv Remove the conditional *Rooter member in the union conversion structure and switch the regular union structure to use Rooted* for Record and Sequence that contains js object (like what we do for Dictionary type). Codegen introudces a new type on isMember in getJSToNativeConversionInfo() as we need to generate different conversion code for Sequence and Record if they are union member which now use Rooted* instead of *Rooter to root js object. Differential Revision: https://phabricator.services.mozilla.com/D157326
-
Edgar Chen authored
Differential Revision: https://phabricator.services.mozilla.com/D156175
-
Csoregi Natalia authored
Backed out changeset a75c8ba68f39 (bug 1708354) for causing test_notification_tag.html failures. CLOSED TREE
-
Alexandre Poirot authored
Differential Revision: https://phabricator.services.mozilla.com/D155993
-
Alexandre Poirot authored
Bug 1640689 - [devtools] Use content and remote iframe for loading HTML preview in netmonitor. r=bomsy We were using <html:iframe sandbox> and it still allows running arbitrary code in the parent process. Using <xul:iframe type=content remote=true> ensure that we run this code in a content process, and restrict its privileges to a regular content page. Differential Revision: https://phabricator.services.mozilla.com/D76759
-
Alexandre Poirot authored
This is a first changeset in order to create the iframe element in JS. This still generate the same DOM elements, an html:iframe, but this will help the following changeset to create XUL elements. There is no way to create XUL Element via React in render methods. Differential Revision: https://phabricator.services.mozilla.com/D76936
-