René's URL Explorer Experiment


Title: fix: only marshal promise resolution when created on the runtime loop by adrian-niculescu · Pull Request #396 · NativeScript/ios · GitHub

Open Graph Title: fix: only marshal promise resolution when created on the runtime loop by adrian-niculescu · Pull Request #396 · NativeScript/ios

X Title: fix: only marshal promise resolution when created on the runtime loop by adrian-niculescu · Pull Request #396 · NativeScript/ios

Description: NativeScript for iOS and visionOS using V8. Contribute to NativeScript/ios development by creating an account on GitHub.

Open Graph Description: A promise constructed while native code runs JS on a background thread never resolves. The proxy captures the current run loop at construction, and when the promise later resolves on a different th...

X Description: A promise constructed while native code runs JS on a background thread never resolves. The proxy captures the current run loop at construction, and when the promise later resolves on a different th...

Opengraph URL: https://github.com/NativeScript/ios/pull/396

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e9326f5e-be73-fbe4-8315-3fa590a8646c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C82:23CF06:1AF6AA8:2268868:6B013EA5
html-safe-nonceaf62f2660fb46e2cdbd6412da91a988ed3d76394d78bb090c04a8116d03f0464
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzgyOjIzQ0YwNjoxQUY2QUE4OjIyNjg4Njg6NkIwMTNFQTUiLCJ2aXNpdG9yX2lkIjoiNTgyODA3MzQxMzcyNjIwNDUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac41e4082b0567c3ce1936d9aae7c6b460ecc7ffc71f7a18f8e59d21153c5b62e5
hovercard-subject-tagpull_request:3938355049
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/NativeScript/ios/396/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fcda46fb88884f08e1835ddc3daa97fd2b46c2f6bfeba08ba04f159d001eb7f4/NativeScript/ios/pull/396
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fcda46fb88884f08e1835ddc3daa97fd2b46c2f6bfeba08ba04f159d001eb7f4/NativeScript/ios/pull/396
og:image:altA promise constructed while native code runs JS on a background thread never resolves. The proxy captures the current run loop at construction, and when the promise later resolves on a different th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadrian-niculescu
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/NativeScript/ios git https://github.com/NativeScript/ios.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id172934359
octolytics-dimension-repository_nwoNativeScript/ios
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172934359
octolytics-dimension-repository_network_root_nwoNativeScript/ios
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NativeScript/ios/pull/396#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fios%2Fpull%2F396
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fios%2Fpull%2F396
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=NativeScript%2Fios
Reloadhttps://github.com/NativeScript/ios/pull/396
Reloadhttps://github.com/NativeScript/ios/pull/396
Reloadhttps://github.com/NativeScript/ios/pull/396
NativeScripthttps://github.com/NativeScript
ioshttps://github.com/NativeScript/ios
Codehttps://github.com/NativeScript/ios
Issues56 (56)https://github.com/NativeScript/ios/issues
Pull requests42 (42)https://github.com/NativeScript/ios/pulls
Actionshttps://github.com/NativeScript/ios/actions
Projectshttps://github.com/NativeScript/ios/projects
Security and qualityhttps://github.com/NativeScript/ios/security
Insightshttps://github.com/NativeScript/ios/insights
https://github.com/NativeScript/ios
edusperonihttps://github.com/edusperoni
NativeScript:mainhttps://github.com/NativeScript/ios/tree/main
adrian-niculescu:fix/promise-proxy-background-originhttps://github.com/adrian-niculescu/NativeScript-iOS/tree/fix/promise-proxy-background-origin
Conversationhttps://github.com/NativeScript/ios/pull/396
Commits1 (1)https://github.com/NativeScript/ios/pull/396/commits
Checkshttps://github.com/NativeScript/ios/pull/396/checks
Files changedhttps://github.com/NativeScript/ios/pull/396/files
fix: only marshal promise resolution when created on the runtime loophttps://github.com/NativeScript/ios/pull/396#top
edusperonihttps://github.com/edusperoni
NativeScript:mainhttps://github.com/NativeScript/ios/tree/main
adrian-niculescu:fix/promise-proxy-background-originhttps://github.com/adrian-niculescu/NativeScript-iOS/tree/fix/promise-proxy-background-origin
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
Jun 25, 2026https://github.com/NativeScript/ios/pull/396#issue-4747441193
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
#330https://github.com/NativeScript/ios/issues/330
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 25, 2026https://github.com/NativeScript/ios/pull/396#issuecomment-4804204768
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://app.coderabbit.ai/change-stack/NativeScript/ios/pull/396?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
ebe32achttps://github.com/NativeScript/ios/commit/ebe32ac46473d91092dece0a4dae2462ac4c2a5f
79a74fchttps://github.com/NativeScript/ios/commit/79a74fcd1328429944f70fe6c7724b706de0a0d2
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=NativeScript/ios&utm_content=396
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
June 25, 2026 21:26https://github.com/NativeScript/ios/pull/396#event-27221281547
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 25, 2026 https://github.com/NativeScript/ios/pull/396#pullrequestreview-4575158118
View reviewed changes https://github.com/NativeScript/ios/pull/396/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/NativeScript/ios/pull/396#pullrequestreview-4575158118
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
54bcc22https://github.com/NativeScript/ios/commit/54bcc22d11fd2ed680375ca4931692d2debe8652
ebe32achttps://github.com/NativeScript/ios/commit/ebe32ac46473d91092dece0a4dae2462ac4c2a5f
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
Jun 25, 2026 https://github.com/NativeScript/ios/pull/396#ref-issue-3743775286
Promise never resolves when resolve() is called inside setTimeout from a background thread #330 https://github.com/NativeScript/ios/issues/330
https://github.com/adrian-niculescu
fix: only marshal promise resolution when created on the runtime loophttps://github.com/NativeScript/ios/pull/396/commits/79a74fcd1328429944f70fe6c7724b706de0a0d2
79a74fchttps://github.com/NativeScript/ios/pull/396/commits/79a74fcd1328429944f70fe6c7724b706de0a0d2
NativeScript#330https://github.com/NativeScript/ios/issues/330
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
force-pushedhttps://github.com/NativeScript/ios/compare/ebe32ac46473d91092dece0a4dae2462ac4c2a5f..79a74fcd1328429944f70fe6c7724b706de0a0d2
ebe32achttps://github.com/NativeScript/ios/commit/ebe32ac46473d91092dece0a4dae2462ac4c2a5f
79a74fchttps://github.com/NativeScript/ios/commit/79a74fcd1328429944f70fe6c7724b706de0a0d2
Compare https://github.com/NativeScript/ios/compare/ebe32ac46473d91092dece0a4dae2462ac4c2a5f..79a74fcd1328429944f70fe6c7724b706de0a0d2
June 25, 2026 21:38https://github.com/NativeScript/ios/pull/396#event-27221648109
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
June 25, 2026 21:38https://github.com/NativeScript/ios/pull/396#event-27221673877
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
June 25, 2026 21:41https://github.com/NativeScript/ios/pull/396#event-27221745829
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
Jun 25, 2026https://github.com/NativeScript/ios/pull/396#issuecomment-4804411214
@coderabbitaihttps://github.com/coderabbitai
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 25, 2026https://github.com/NativeScript/ios/pull/396#issuecomment-4804412922
Xhttps://twitter.com/intent/tweet?related=CodeRabbitAI&text=Great%20catch%20by%20%40coderabbitai%3A%20add%20a%20catch%20to%20fail%20fast%20on%20unexpected%20Promise%20rejections%2C%20so%20async%20tests%20don%E2%80%99t%20hang%20until%20timeout.%20Small%20fix%2C%20big%20reliability%20boost%20%F0%9F%A7%AA%E2%9A%A1%20Try%20it!&url=https%3A%2F%2Fgithub.com%2FNativeScript%2Fios%2Fpull%2F396
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
Jun 29, 2026https://github.com/NativeScript/ios/pull/396#issuecomment-4835451826
Xhttps://twitter.com/intent/tweet?related=CodeRabbitAI&text=Great%20catch%20by%20%40coderabbitai%3A%20add%20a%20catch%20to%20fail%20fast%20on%20unexpected%20Promise%20rejections%2C%20so%20async%20tests%20don%E2%80%99t%20hang%20until%20timeout.%20Small%20fix%2C%20big%20reliability%20boost%20%F0%9F%A7%AA%E2%9A%A1%20Try%20it!&url=https%3A%2F%2Fgithub.com%2FNativeScript%2Fios%2Fpull%2F396
@coderabbitaihttps://github.com/coderabbitai
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 29, 2026https://github.com/NativeScript/ios/pull/396#issuecomment-4835454057
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Jul 8, 2026 https://github.com/NativeScript/ios/pull/396#pullrequestreview-4654172734
View reviewed changes https://github.com/NativeScript/ios/pull/396/files/79a74fcd1328429944f70fe6c7724b706de0a0d2
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
721633ahttps://github.com/NativeScript/ios/commit/721633a50ad32c69b20b5016e5ae49f4c6cb03c8
Jul 8, 2026https://github.com/NativeScript/ios/pull/396#event-27715358183
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
Jul 8, 2026https://github.com/NativeScript/ios/pull/396#issuecomment-4917983650
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/adrian-niculescu
adrian-niculescuhttps://github.com/adrian-niculescu
July 8, 2026 18:24https://github.com/NativeScript/ios/pull/396#event-27730453641
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 30, 2026 https://github.com/NativeScript/ios/pull/396#ref-pullrequest-4963054572
refactor: move embedded runtime JS to real .js files (js2c) + enum eval caching #411 https://github.com/NativeScript/ios/pull/411
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 12, 2026 https://github.com/NativeScript/ios/pull/396#ref-pullrequest-5123280879
feat: Node-API (napi) surface for plugin developers #437 https://github.com/NativeScript/ios/pull/437
https://github.com/VepretskiyD
VepretskiyDhttps://github.com/VepretskiyD
Oct 25, 2026 https://github.com/NativeScript/ios/pull/396#ref-issue-6026999391
9.1.0: with zone.js, Promise continuations run on the background thread that resolved the promise (main thread in 9.0.3) #528 https://github.com/NativeScript/ios/issues/528
https://github.co/hiddenchars
https://github.com/NativeScript/ios/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fios%2Fpull%2F396
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/NativeScript/ios/pull/396/files/ebe32ac46473d91092dece0a4dae2462ac4c2a5f
https://github.com/edusperoni
edusperoni https://github.com/edusperoni
https://github.com/NativeScript/ios/pull/396/files/79a74fcd1328429944f70fe6c7724b706de0a0d2
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
Promise never resolves when resolve() is called inside setTimeout from a background thread https://github.com/NativeScript/ios/issues/330
Please reload this pagehttps://github.com/NativeScript/ios/pull/396
https://github.com/adrian-niculescu
https://github.com/edusperoni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.