Shelley Vohr
3345edd2bf
chore: upgrade Node.js to v24.10.0 ( #48613 )
...
* chore: upgrade Node.js to v24.10.0
* chore: fixup crypto patch
* chore: fixup crypto test patch
* src: prepare for v8 sandboxing
https://github.com/nodejs/node/pull/58376
* esm: fix module.exports export on CJS modules
https://github.com/nodejs/node/pull/57366
* chore: fixup lazyload fs patch
* esm: Source Phase Imports for WebAssembly
https://github.com/nodejs/node/pull/56919
* module: remove --experimental-default-type
https://github.com/nodejs/node/pull/56092
* lib,src: refactor assert to load error source from memory
https://github.com/nodejs/node/pull/59751
* src: add source location to v8::TaskRunner
https://github.com/nodejs/node/pull/54077
* src: remove dependency on wrapper-descriptor-based CppHeap
https://github.com/nodejs/node/pull/54077
* src: do not use soon-to-be-deprecated V8 API
https://github.com/nodejs/node/pull/53174
* src: stop using deprecated fields of v8::FastApiCallbackOptions
https://github.com/nodejs/node/pull/54077
* test: update v8-stats test for V8 12.6
https://github.com/nodejs/node/pull/54077
* esm: unflag --experimental-wasm-modules
https://github.com/nodejs/node/pull/57038
* test: adapt assert tests to stack trace changes
https://github.com/nodejs/node/pull/58070
* src,test: unregister the isolate after disposal and before freeing
https://github.com/nodejs/node/pull/58070
* src: use cppgc to manage ContextifyContext
https://github.com/nodejs/node/pull/56522
* src: replace uses of FastApiTypedArray
https://github.com/nodejs/node/pull/58070
* module: integrate TypeScript into compile cache
https://github.com/nodejs/node/pull/56629
* deps: update ada to 3.2.7
https://github.com/nodejs/node/pull/59336
* src: make minor cleanups in encoding_binding.cc
https://github.com/nodejs/node/pull/57448
* src: switch from `Get/SetPrototype` to `Get/SetPrototypeV2`
https://github.com/nodejs/node/pull/55453
* src: use non-deprecated Get/SetPrototype methods
https://github.com/nodejs/node/pull/59671
* src: simplify string_bytes with views
https://github.com/nodejs/node/pull/54876
* src: improve utf8 string generation performance
https://github.com/nodejs/node/pull/54873
* src: use non-deprecated Utf8LengthV2() method
https://github.com/nodejs/node/pull/58070
* src: use non-deprecated WriteUtf8V2() method
https://github.com/nodejs/node/pull/58070
* src: refactor WriteUCS2 and remove flags argument
https://github.com/nodejs/node/pull/58163
* src: use String::WriteV2() in TwoByteValue
https://github.com/nodejs/node/pull/58164
* node-api: use WriteV2 in napi_get_value_string_utf16
https://github.com/nodejs/node/pull/58165
* node-api: use WriteOneByteV2 in napi_get_value_string_latin1
https://github.com/nodejs/node/pull/58325
* src: migrate WriteOneByte to WriteOneByteV2
https://github.com/nodejs/node/pull/59634
* fs: introduce dirent\.parentPath
https://github.com/nodejs/node/pull/50976
* src: avoid copy by using std::views::keys
https://github.com/nodejs/node/pull/56080
* chore: fixup patch indices
* fix: errant use of context->GetIsolate()
* fix: tweak BoringSSL compat patch for new changes
* fix: add back missing isolate dtor declaration
* fixup! esm: fix module.exports export on CJS modules
* cli: remove --no-experimental-fetch flag
https://github.com/nodejs/node/pull/52611/files
* esm: Source Phase Imports for WebAssembly
https://github.com/nodejs/node/pull/56919
* fixup! src: prepare for v8 sandboxing
* chore: bump @types/node to v24
* chore: fix const assignment in crypto test
* fix: sandbox pointer patch issues
* chore: rework source phase import patch
* src: add percentage support to --max-old-space-size
https://github.com/nodejs/node/pull/59082
* chore: fixup crypto tests
* chore: HostImportModuleWithPhaseDynamically todo
* fix: cjs esm failures
* fix: v8::Object::Wrappable issues
- b72a615754
- 490bac2496
- 4896a0dd69
* chore: remove deleted specs
* src: use v8::ExternalMemoryAccounter
https://github.com/nodejs/node/pull/58070
* fs: port SonicBoom module to fs module as FastUtf8Stream
https://github.com/nodejs/node/pull/58897
* chore: tweak sandboxed pr patch
* test: disable parallel/test-os-checked-function
* test: use WHATWG URL instead of url.parse
* fix: OPENSSL_secure_zalloc doesn't work in BoringSSL
* chore: fix accidental extra line
* 7017517: [defer-import-eval] Parse import defer syntax
https://chromium-review.googlesource.com/c/v8/v8/+/7017517
2025-10-30 19:16:48 +01:00
electron-roller[bot]
603cafad7e
chore: bump chromium to 140.0.7281.0 (main) ( #47616 )
...
* chore: bump chromium in DEPS to 140.0.7269.2
* chore: bump chromium in DEPS to 140.0.7270.0
* chore: bump chromium in DEPS to 140.0.7271.0
* chore: bump chromium in DEPS to 140.0.7273.0
* 6516731: [ExclusiveAccessForAndroid] remove unneeded includes & deps | https://chromium-review.googlesource.com/c/chromium/src/+/6516731
* 6694809: dbus: Ensure systemd scope is started before using any portal services | https://chromium-review.googlesource.com/c/chromium/src/+/6694809
* chore: patch chromium
* chore: export patches
* chore: bump chromium in DEPS to 140.0.7275.0
* 6677511: [pepper] More pepper removal | https://chromium-review.googlesource.com/c/chromium/src/+/6677511
* 6513641: [gin] Rename gin::Wrappable to gin::DeprecatedWrappable | https://chromium-review.googlesource.com/c/chromium/src/+/6513641
* chore: export chromium patches
* 6513641: [gin] Rename gin::Wrappable to gin::DeprecatedWrappable | https://chromium-review.googlesource.com/c/chromium/src/+/6513641
* chore: bump chromium in DEPS to 140.0.7277.0
* chore: bump chromium in DEPS to 140.0.7279.0
* chore: bump chromium in DEPS to 140.0.7281.0
* 6677314: Plumb enabled client hints in the network requestion to network layer
https://chromium-review.googlesource.com/c/chromium/src/+/6677314
* 6351556: [source-phase-imports] Support Wasm Source Phase Imports
https://chromium-review.googlesource.com/c/chromium/src/+/6351556
* 6700077: [renderer] Avoid calls to deprecated GetIsolate methods
https://chromium-review.googlesource.com/c/chromium/src/+/6700077
* 6692873: Reland "Reland "FSA: Only normalize the hardcoded rules once during initialization""
https://chromium-review.googlesource.com/c/chromium/src/+/6692873
* 6686234: [gin] Cleanup NamedPropertyInterceptor for Wrappable
https://chromium-review.googlesource.com/c/chromium/src/+/6686234
* chore: export patches
* 6667723: Remove content_enable_legacy_ipc GN arg.
https://chromium-review.googlesource.com/c/chromium/src/+/6667723
* 6646566: ui: Move NativeWindowTracker to its own directory
https://chromium-review.googlesource.com/c/chromium/src/+/6646566
* fix: add missing includes
* 6580522: [WAR, DNR] Fix unsafe redirect error to web accessible resource
https://chromium-review.googlesource.com/c/chromium/src/+/6580522
* 6680477: Implement `completeCode` endpoint and expose to DevTools
https://chromium-review.googlesource.com/c/chromium/src/+/6680477
* 6677511: [pepper] More pepper removal
https://chromium-review.googlesource.com/c/chromium/src/+/6677511
* 6696689: Rename views::WidgetFocusManager -> NativeViewFocusManager
https://chromium-review.googlesource.com/c/chromium/src/+/6696689
* 6702812: Move wtf/text/string_impl*.* to "blink" namespace
https://chromium-review.googlesource.com/c/chromium/src/+/6702812
* chore: fix dialog patch
* 6702431: [animation-trigger] Parse timeline-trigger-name
https://chromium-review.googlesource.com/c/chromium/src/+/6702431
* chore: fixup patch indices
* feat: replace webFrame.routingId with webFrame.frameToken
* feat: WebFrameMain.prototype.frameToken
* test: refactor to use replacement APIs
* chore: fixup pip patch
* test: adjust webFrame tests for frameToken changes
* 6703757: Reland "Enable -fsanitize=array-bounds in non-UBSan builds"
https://chromium-review.googlesource.com/c/chromium/src/+/6703757
* test: switch to frameTokens
* test: routingId is fine to test in the main process
* docs: add routingId to breaking changes
* docs: update plugin-crashed event
* chore: fixup linux dialog patch
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: alice <alice@makenotion.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com >
2025-07-14 13:42:37 -07:00
Shelley Vohr
352a403efd
fix: postMessage crash with invalid transferrable ( #46639 )
2025-04-17 15:09:48 +02:00
Sam Maddock
8b3d70a2a3
feat: add WebFrameMain detached property ( #43473 )
...
* feat: add WebFrameMain detached property
fix: throw instead of returning null senderFrame
test: detached frames
fix: ensure IPCs of pending deletion RFHs are dispatched
fix: lookup WFM by FTN ID to dispatch IPCs
feat: add frame.isDestroyed()
return null
fix: return undefined
docs: add null to all frame properties
refactor: option c, return null and emit warning
refactor: add routingId & processId to navigation events
test: null frame property
docs: clarify warning message
better wording
clarify null frame
fix: browserwindow spec
* maybe fix 🤷
* fix: use updated util #43722
* docs: add notice for frame change of behavior
* docs: clarify why frame properties may be null
* lint
* wip
* fix: content::FrameTreeNodeId lookup and converter
* refactor: avoid holey array deoptimization
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2024-10-11 18:33:53 -04:00
Samuel Attard
122685194a
build: add import/order eslint rule ( #44085 )
...
* build: add import/order eslint rule
* chore: run lint:js --fix
2024-10-02 19:10:44 -07:00
electron-roller[bot]
04df5ce492
chore: bump chromium to 124.0.6323.0 (main) ( #41412 )
...
* chore: bump chromium in DEPS to 124.0.6315.0
* chore: update patches
* 5279678: Stream AIDA responses
https://chromium-review.googlesource.com/c/chromium/src/+/5279678
* 5276439: Remove non_network_url_loader_factory_remotes_
https://chromium-review.googlesource.com/c/chromium/src/+/5276439
* 5310165: Add DevTools API to show search results
https://chromium-review.googlesource.com/c/chromium/src/+/5310165
* chore: bump chromium in DEPS to 124.0.6317.0
* chore: update patches
* Remove Setup.Install.CumulativeDiskUsage2 and supporting code
https://chromium-review.googlesource.com/c/chromium/src/+/5314269
* browser: Make cmd line non-const in process singleton callback
https://chromium-review.googlesource.com/c/chromium/src/+/5311256
* chore: bump chromium in DEPS to 124.0.6319.0
* chore: bump chromium in DEPS to 124.0.6321.0
* chore: bump chromium in DEPS to 124.0.6323.0
* 5318335: Roll src/third_party/boringssl/src 23824fa0f..4fe29ebc7
https://chromium-review.googlesource.com/c/chromium/src/+/5318335
* 5318051: [CBE Watermarking] Hoist `watermark_view` to a member variable.
https://chromium-review.googlesource.com/c/chromium/src/+/5318051
* chore: fixup patch indices
* 4946553: Delegate HID permission to Chrome App in webview
https://chromium-review.googlesource.com/c/chromium/src/+/4946553
* 5310001: DevTools UI binding for reporting client events to AIDA
https://chromium-review.googlesource.com/c/chromium/src/+/5310001
* [libc++] Refactor the predicate taking variant of `__cxx_atomic_wait`
* chore: fix browser_view patch harder
* 5293937: Reland "[gUM] Use preferred device if more than one is eligible"
https://chromium-review.googlesource.com/c/chromium/src/+/5293937
* fix: filter {video|audio} devices by eligible device id
* 5267921: enable speak content under the pointer on PWA and WV2
https://chromium-review.googlesource.com/c/chromium/src/+/5267921
* 5310195: heap: Remove Blink's GCTaskRunner
https://chromium-review.googlesource.com/c/chromium/src/+/5310195
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2024-02-29 10:31:13 +01:00
wujinli
fb888a6989
fix: crash problem with message_port close event ( #41201 )
...
When worker_thread shutdown, it will destory context and close
message_port. In this case, it should not dispatch close event.
Because it forbid script running during NotifyContextDestroyed in
ContextLifecycleNotifier.
Now chromium has implemented close_event and will not crash,
so we remove the patch with #22532 and add one test.
2024-02-05 16:38:30 +09:00
Shelley Vohr
bbd2236bdd
fix: ensure MessagePorts get GCed when not referenced ( #40189 )
2023-10-13 22:09:28 +02:00
electron-roller[bot]
d6c8ff2e70
chore: bump chromium to 119.0.6029.0 (main) ( #39944 )
...
* chore: bump chromium in DEPS to 119.0.6021.0
* 4727729: Initial ScreenCaptureKit AudioInputStream implementation
https://chromium-review.googlesource.com/c/chromium/src/+/4727729
* chore: fixup patch indices
* chore: bump chromium in DEPS to 119.0.6023.0
* 4875713: mac: Switch to Xcode 15.0 15A240d with macOS SDK 14.0 23A334
https://chromium-review.googlesource.com/c/chromium/src/+/4875713
* 4831380: [task-attribution] Reland: Move to an implicit GCed task container model
https://chromium-review.googlesource.com/c/chromium/src/+/4831380
* 4877868: Remove all gitignore entries for submodules
https://chromium-review.googlesource.com/c/chromium/src/+/4877868
* 4824705: Set origin to commit for data: URLs
https://chromium-review.googlesource.com/c/chromium/src/+/4824705
* chore: fixup patch indices
* 4881382: Expose selection in WebFormControlElement as unsigned
https://chromium-review.googlesource.com/c/chromium/src/+/4881382
* 4874216: Portals: Cancel drag-drop in predecessor before activation
https://chromium-review.googlesource.com/c/chromium/src/+/4874216
* chore: bump chromium in DEPS to 119.0.6025.0
* chore: bump chromium in DEPS to 119.0.6027.0
* 4884489: Update gitignore to be explicit about directories
https://chromium-review.googlesource.com/c/chromium/src/+/4884489
* 4881091: Add debug info about owner document's origin when inheriting
https://chromium-review.googlesource.com/c/chromium/src/+/4881091
* chore: fixup patch indices
* chore: bump chromium in DEPS to 119.0.6029.0
* chore: update patches
* 4881091: Add debug info about owner document's origin when inheriting
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4881091
* 4831380: [task-attribution] Reland: Move to an implicit GCed task container model
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4831380
* 4866732: Extract document.title for installable checks
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4866732
* chore: link to crbug in message port test
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2023-09-28 22:26:41 -07:00
Milan Burda
d76a35afe4
test: remove a few casts to any ( #39713 )
2023-09-05 11:22:41 +09:00
Milan Burda
d78f37ec8f
refactor: use node scheme imports in spec ( #38487 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-06-15 10:42:27 -04:00
Milan Burda
82af000a37
chore: cleanup eslint suppressions ( #38417 )
...
* chore: cleanup eslint suppressions
* address feedback
* revert script/lib/azput.js
* revert spec/fixtures/apps/remote-control/main.js
* address feedback
* revert typings/internal-ambient.d.ts
2023-05-25 10:09:17 +09:00
Shelley Vohr
b27e4cae21
fix: crash in MessagePortMain with some postMessage params ( #37585 )
...
* fix: crash in MessagePortMain postMessage
* Update shell/browser/api/message_port.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2023-03-27 13:56:55 -04:00
Jeremy Rose
a3e3efe4c4
test: use node helpers for events.once and setTimeout promise ( #37374 )
2023-02-23 15:53:53 -08:00
Milan Burda
f97d68c4bf
test: convert functions to async & eliminate duplicates ( #37316 )
...
test: convert functions to async
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-02-20 12:30:57 +01:00
Milan Burda
cf10c19c33
test: cleanup let xyz = null as unknown as T; ( #37335 )
2023-02-19 01:24:24 -08:00
Milan Burda
4bc6b15f53
refactor: move spec helpers to spec/lib ( #37010 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2023-01-25 13:01:25 -08:00
Jeremy Rose
db7c92fd57
test: drop now-empty remote runner ( #35343 )
...
* test: drop the now-empty remote runner from CI
* move fixtures to spec-main
* remove remote runner
* fix stuff
* remove global-paths hack
* move ts-smoke to spec/
* fix test after merge
* rename spec-main to spec
* no need to ignore spec/node_modules twice
* simplify spec-runner a little
* no need to hash pj/yl twice
* undo lint change to verify-mksnapshot.py
* excessive ..
* update electron_woa_testing.yml
* don't search for test-results-remote.xml
it is never produced now
2022-08-16 15:23:13 -04:00