forked from pool/nodejs-electron
- Update to 22.0.2
* ABI break: NODE_MODULE_VERSION is now 110. Native modules may need recompiling
* Chromium to 108.0.5359.179
* Node v16.17.1
* V8 v10.8
* Added WebContents input-event event.
* Deprecated BrowserWindow scroll-touch-* events.
* The deprecated new-window event has been removed.
* Added contextBridge.exposeInIsolatedWorld(worldId, key, api) to expose
an API to an isolatedWorld within a renderer from a preload script.
* Added webContents.close() method.
* Added new UtilityProcess API to launch chromium child process with node integration.
* Added new WebContents event content-bounds-updated.
* Added support for navigator.mediaDevices.getDisplayMedia via a new
session handler, ses.setDisplayMediaRequestHandler.
* Added support for serialPort.forget() as well as a new event
serial-port-revoked emitted when a given origin is revoked.
- Drop patches applied upstream
* argument_spec-missing-isnan-isinf.patch
* chromium-103.0.5060.53-python3-do-not-use-deprecated-mode-U.patch
* content_language_parser-missing-string.patch
* gtk_ui_platform_stub-incomplete-type-LinuxInputMethodContext.patch
* node-system-libs.patch
* pending_beacon_dispatcher-virtual-functions-cannot-be-constexpr.patch
* std_lib_extras-missing-intptr_t.patch
* system-abseil-missing-shims.patch
- Re-add electron_serial_delegate-ambiguous-Observer.patch due to upstream reintroducing the invalid code
- Add patches to fix build errors
* chromium-108-abseil-shims.patch
* crashpad-elf_image_reader-ProgramHeaderTableSpecific-expected-unqualified-id.patch
* document_loader-private-DecodedBodyData.patch
* first_party_set_parser-IssueWithMetadata-no-known-conversion.patch
* print_dialog_gtk-no-kEnableOopPrintDriversJobPrint.patch
* swiftshader-LLVMJIT-AddressSanitizerPass-dead-code-remove.patch
- Conditionally reverse upstream changes to fix build with old harfbuzz
* harfbuzz-replace-chromium-scoped-type.patch
- Switch to bundled libjxl on Fedora 36 due to system version being too old
OBS-URL: https://build.opensuse.org/request/show/1059202
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=57
30 lines
1.5 KiB
Diff
30 lines
1.5 KiB
Diff
--- src/content/browser/first_party_sets/first_party_set_parser.cc.old 2022-11-30 11:28:02.726199100 +0100
|
|
+++ src/content/browser/first_party_sets/first_party_set_parser.cc 2022-12-01 06:53:17.058993800 +0100
|
|
@@ -182,7 +182,7 @@
|
|
ParseSiteAndValidate(item, set_entries, elements, emit_errors);
|
|
if (!alias_or_error.has_value()) {
|
|
return base::unexpected(
|
|
- ParseError(alias_or_error.error(), {kCCTLDsField, site, i}));
|
|
+ ParseError(alias_or_error.error(), {kCCTLDsField, site, static_cast<int>(i)}));
|
|
}
|
|
|
|
const net::SchemefulSite alias = alias_or_error.value();
|
|
@@ -195,7 +195,7 @@
|
|
if (warnings) {
|
|
warnings->push_back(
|
|
ParseWarning(ParseWarningType::kAliasNotCctldVariant,
|
|
- {kCCTLDsField, site, i}));
|
|
+ {kCCTLDsField, site, static_cast<int>(i)}));
|
|
}
|
|
continue;
|
|
}
|
|
@@ -230,7 +230,7 @@
|
|
base::expected<net::SchemefulSite, ParseErrorType> site_or_error =
|
|
ParseSiteAndValidate(item, set_entries, other_sets_sites, emit_errors);
|
|
if (!site_or_error.has_value())
|
|
- return ParseError(site_or_error.error(), {descriptor.field_name, index});
|
|
+ return ParseError(site_or_error.error(), {descriptor.field_name, static_cast<int>(index)});
|
|
if (exempt_from_limits || !descriptor.size_limit.has_value() ||
|
|
static_cast<int>(index) < descriptor.size_limit.value()) {
|
|
set_entries.emplace_back(
|