Skip to content
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

fix(core): support onerror for js #3471

Merged
merged 3 commits into from
Sep 5, 2023
Merged

Conversation

etkmao
Copy link
Collaborator

@etkmao etkmao commented Aug 29, 2023

Before submitting a new pull request, please make sure:

  • Test cases have been added/updated/passed for the code you will submit.
  • Documentation has added or updated.
  • Commit message is following the Convention Commit guideline with maximum 72 characters.
  • Squash the repeat code commits, short patches are welcome.

@hippy-service
Copy link

hippy-service bot commented Aug 29, 2023

Hi, @etkmao. Thanks for your PR! 👏

🏷️ You can leave a comment in this PR with #help tag when you need help (e.g. some status checks run failed due to internal issue), admin team members will help asap.

@etkmao etkmao force-pushed the feature/onerror2 branch 2 times, most recently from 1d72a4b to 887fd10 Compare August 30, 2023 09:25
ozonelmy
ozonelmy previously approved these changes Aug 31, 2023
lvfen
lvfen previously approved these changes Sep 1, 2023
ilikethese
ilikethese previously approved these changes Sep 1, 2023
@etkmao etkmao dismissed stale reviews from ilikethese, lvfen, and ozonelmy via 8934597 September 1, 2023 04:13
wwwcg
wwwcg previously approved these changes Sep 1, 2023
@@ -146,6 +146,10 @@
auto endPoint = footstone::TimePoint::SystemNow();
string_view uri(NSStringToU16StringView([[response URL] absoluteString]));
DoRequestTimePerformanceCallback(uri, startPoint, endPoint);
if (error.code != 0) {
string_view msg([error.localizedDescription UTF8String]?:"");
DoRequestErrorCallback(uri, static_cast<int32_t>(error.code), msg);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

代码缩进有点小问题

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

ilikethese
ilikethese previously approved these changes Sep 4, 2023
@etkmao etkmao dismissed stale reviews from ilikethese and wwwcg via 3ca461e September 4, 2023 13:18
@etkmao etkmao force-pushed the feature/onerror2 branch 2 times, most recently from f642ca3 to 300f114 Compare September 4, 2023 13:33
iPel
iPel previously approved these changes Sep 4, 2023
wwwcg
wwwcg previously approved these changes Sep 5, 2023
iPel
iPel previously approved these changes Sep 5, 2023
ilikethese
ilikethese previously approved these changes Sep 5, 2023
@siguangli siguangli dismissed stale reviews from ilikethese, iPel, and wwwcg via d9efa37 September 5, 2023 08:08
siguangli
siguangli previously approved these changes Sep 5, 2023
@etkmao etkmao requested a review from lvfen September 5, 2023 10:59
@hippy-service
Copy link

hippy-service bot commented Sep 5, 2023

🎉 It seems that this pull request has been approved by all required reviewers. But it has more than one normal commit, I will notify admin team member to merge it manually, please wait a moment.

@zealotchen0 zealotchen0 merged commit 9399e28 into Tencent:main Sep 5, 2023
28 of 31 checks passed
wwwcg pushed a commit to wwwcg/Hippy that referenced this pull request Sep 6, 2023
* fix(core): support onerror for js

* fix(android): add res load reslut to record jni

* fix(core): support onerror for js

---------

Co-authored-by: etkmao <etkmao@tecent.com>
Co-authored-by: maxli <maxli@tencent.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants