-
Notifications
You must be signed in to change notification settings - Fork 149
Remove scriptVersion/bundleVersion and bytecodeFileName Parameters #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
uint64_t bundleVersion, // TODO(OSS Candidate ISS#2710739) | ||
std::string bundleURL, | ||
std::string&& bytecodeFileName) { // TODO(OSS Candidate ISS#2710739) | ||
std::string bundleURL) { // TODO(OSS Candidate ISS#2710739) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// TODO(OSS Candidate ISS#2710739) [](start = 56, length = 34)
Remove? #ByDesign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do have a small change in naming, where upstream calls this sourcrUrl. I've seen some of the naming changes marked, so I think it makes sense to keep the comment since we still differ from upstream (admittedly not very much).
In reply to: 342826129 [](ancestors = 342826129)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::string&& bytecodeFileName); | ||
virtual void loadScriptFromString( | ||
std::unique_ptr<const JSBigString> bundleString, | ||
std::string bundleURL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string bundleURL [](start = 11, length = 16)
why not pass it as a & or &&? #ByDesign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but I'm not wanting to change existing interfaces for upstream RN.
There is a school of thought that you should accept move-only types by value instead of r-value, but I don't think that makes a lot of sense for something like string. They might just do a move internally, in which case that's no worse than taking in a const-ref and doing a copy.
In reply to: 342830990 [](ancestors = 342830990)
std::shared_ptr<MessageQueueThread> jsQueue, | ||
std::shared_ptr<ModuleRegistry> moduleRegistry); | ||
|
||
void setSourceURL(std::string sourceURL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ng [](start = 29, length = 2)
this should be && too #ByDesign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not wanting to change existing interfaces for upstream RN. See other comment.
In reply to: 342831087 [](ancestors = 342831087)
uint64_t bundleVersion, // TODO(OSS Candidate ISS#2710739) | ||
std::string bundleURL, | ||
std::string&& bytecodeFileName); // TODO(OSS Candidate ISS#2710739) | ||
std::string bundleURL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
g [](start = 37, length = 1)
&&? #ByDesign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not wanting to change existing interfaces for upstream RN. See other comment.
In reply to: 342831298 [](ancestors = 342831298)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I understand V8Executor is no longer being used. We should remove them. #Resolved Refers to: ReactCommon/cxxreact/V8Executor.h:1 in de0c9e0. [](commit_id = de0c9e0, deletion_comment = True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bytecodeFileName is used excusively by ChakraExecutor in react-native-windows, and diverges us from upstream. Remove these parameters, using a new mechanism in react-native-windows.
362847f
to
de0c9e0
Compare
Summary: Pull Request resolved: facebook#52486 Changelog: [Internal] - Update `react-native/debugger-frontend` from 51a91a2...844f225 Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](facebook/react-native-devtools-frontend@51a91a2...844f225). ### Changelog | Commit | Author | Date/Time | Subject | | ------ | ------ | --------- | ------- | | [844f22500](facebook/react-native-devtools-frontend@844f22500) | Vitali Zaidman (vzaidman@gmail.com) | 2025-07-08T10:16:09+01:00 | [Track when the stack trace symbolication succeeds (microsoft#187)](facebook/react-native-devtools-frontend@844f22500) | | [ffa6bb6af](facebook/react-native-devtools-frontend@ffa6bb6af) | Vitali Zaidman (vzaidman@gmail.com) | 2025-07-07T16:21:55+01:00 | [parse "empty url" and "address at" frames as non-hyperlinked text (microsoft#188)](facebook/react-native-devtools-frontend@ffa6bb6af) | Reviewed By: robhogan Differential Revision: D77926362 fbshipit-source-id: cbcf8b17cd175400d3d027ce2e8ebefa497f5d79
See accompanying changes in react-native-windows in microsoft/react-native-windows#3591
Please select one of the following
Microsoft Reviewers: Open in CodeFlow