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

[web] Use generic variable name for trusted url #37872

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Nov 23, 2022

I was exploring around this code when I found canvaskit variable names where they shouldn't be.

Rename trustedCanvasKitUrl => trustedUrl.

@mdebbar mdebbar requested a review from ditman November 23, 2022 17:09
@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Nov 23, 2022
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

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

Good catch! This probably started life inline somewhere, and when I extracted it to a method I forgot to rename that var. Sssship it!

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 23, 2022
@auto-submit auto-submit bot merged commit 399fca7 into main Nov 23, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 23, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 23, 2022
…115952)

* 399fca706 [web] Use generic variable name for trusted url (flutter/engine#37872)

* acefe5f11 Vulnerability Scanning on Third Party Deps (flutter/engine#36506)

* 8a40e8324 Roll Dart SDK from c32f12ffbef2 to a7d1f804fa27 (1 revision) (flutter/engine#37873)
@kevmoo kevmoo deleted the mdebbar-patch-1 branch December 2, 2022 20:06
shogohida pushed a commit to shogohida/flutter that referenced this pull request Dec 7, 2022
…lutter#115952)

* 399fca706 [web] Use generic variable name for trusted url (flutter/engine#37872)

* acefe5f11 Vulnerability Scanning on Third Party Deps (flutter/engine#36506)

* 8a40e8324 Roll Dart SDK from c32f12ffbef2 to a7d1f804fa27 (1 revision) (flutter/engine#37873)
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…lutter#115952)

* 399fca706 [web] Use generic variable name for trusted url (flutter/engine#37872)

* acefe5f11 Vulnerability Scanning on Third Party Deps (flutter/engine#36506)

* 8a40e8324 Roll Dart SDK from c32f12ffbef2 to a7d1f804fa27 (1 revision) (flutter/engine#37873)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App needs tests platform-web Code specifically for the web engine
Projects
None yet
2 participants