Skip to content

fix(common): scan images once page is loaded#52991

Closed
arturovt wants to merge 1 commit intoangular:mainfrom
arturovt:fix/perf-warning-load-listener
Closed

fix(common): scan images once page is loaded#52991
arturovt wants to merge 1 commit intoangular:mainfrom
arturovt:fix/perf-warning-load-listener

Conversation

@arturovt
Copy link
Copy Markdown
Contributor

This commit updates the implementation of the ImagePerformanceWarning and runs the image scan even if the page has already been loaded. The window.load event would never fire if the page has already been loaded; that's why we're checking for the document's ready state.

This commit updates the implementation of the `ImagePerformanceWarning` and
runs the image scan even if the page has already been loaded. The `window.load`
event would never fire if the page has already been loaded; that's why we're
checking for the document's ready state.
@pullapprove pullapprove bot requested a review from AndrewKushnir November 17, 2023 10:26
@AndrewKushnir
Copy link
Copy Markdown
Contributor

// cc @atcastle

@AndrewKushnir AndrewKushnir added action: review The PR is still awaiting reviews from at least one requested reviewer area: common Issues related to APIs in the @angular/common package common: image directive labels Nov 17, 2023
@ngbot ngbot bot added this to the Backlog milestone Nov 17, 2023
@AndrewKushnir AndrewKushnir added the target: patch This PR is targeted for the next patch release label Nov 17, 2023
Copy link
Copy Markdown
Contributor

@atcastle atcastle left a comment

Choose a reason for hiding this comment

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

LGTM

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 17, 2023
@AndrewKushnir
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 7affa57.

AndrewKushnir pushed a commit that referenced this pull request Nov 20, 2023
This commit updates the implementation of the `ImagePerformanceWarning` and
runs the image scan even if the page has already been loaded. The `window.load`
event would never fire if the page has already been loaded; that's why we're
checking for the document's ready state.

PR Close #52991
@arturovt arturovt deleted the fix/perf-warning-load-listener branch November 20, 2023 17:04
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 21, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
This commit updates the implementation of the `ImagePerformanceWarning` and
runs the image scan even if the page has already been loaded. The `window.load`
event would never fire if the page has already been loaded; that's why we're
checking for the document's ready state.

PR Close angular#52991
rlmestre pushed a commit to rlmestre/angular that referenced this pull request Jan 26, 2024
This commit updates the implementation of the `ImagePerformanceWarning` and
runs the image scan even if the page has already been loaded. The `window.load`
event would never fire if the page has already been loaded; that's why we're
checking for the document's ready state.

PR Close angular#52991
amilamen pushed a commit to amilamen/angular that referenced this pull request Jan 26, 2024
This commit updates the implementation of the `ImagePerformanceWarning` and
runs the image scan even if the page has already been loaded. The `window.load`
event would never fire if the page has already been loaded; that's why we're
checking for the document's ready state.

PR Close angular#52991
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: common Issues related to APIs in the @angular/common package common: image directive target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants