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

[Gecko Bug 1542784] Implement lazy loading for images. #21768

Merged
merged 4 commits into from Feb 13, 2020

Conversation

moz-wptsync-bot
Copy link
Collaborator

Though with this initial implementation, we do create an IntersectionObserver
only for the root document in each processes, once we found issues on this
model, we can create an IntersectionObserver in each document.

Depends on D61437

Differential Revision: https://phabricator.services.mozilla.com/D61438

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1542784
gecko-commit: e27886fc6a2a2b2915bebfbc6f22e494cd11404c
gecko-integration-branch: autoland
gecko-reviewers: emilio, hsivonen

Though with this initial implementation, we do create an IntersectionObserver
only for the root document in each processes, once we found issues on this
model, we can create an IntersectionObserver in each _document_.

Depends on D61437

Differential Revision: https://phabricator.services.mozilla.com/D61438

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1542784
gecko-commit: e27886fc6a2a2b2915bebfbc6f22e494cd11404c
gecko-integration-branch: autoland
gecko-reviewers: emilio, hsivonen
There are two variation of the tests.

1) The image element gets visible by scrolling the iframe's scrollport.
2) The image element gets visible by scrolling the parent scroll container of the iframe

Depends on D61438

Differential Revision: https://phabricator.services.mozilla.com/D61439

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1542784
gecko-commit: 738e2a3729cf0cfcac567a70aedfdc0ed2b652a9
gecko-integration-branch: autoland
gecko-reviewers: emilio
…e iframe.

Depends on D61439

Differential Revision: https://phabricator.services.mozilla.com/D61440

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1542784
gecko-commit: aaf6810da7b91208c554149aee293feba8ac7d20
gecko-integration-branch: autoland
gecko-reviewers: emilio
…document.

Depends on D61440

Differential Revision: https://phabricator.services.mozilla.com/D61441

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1542784
gecko-commit: f2f84d35d5cce212443922b34e07f2c7660062ed
gecko-integration-branch: autoland
gecko-reviewers: emilio
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit 938bb1c into master Feb 13, 2020
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1542784 branch February 13, 2020 04:04
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.

None yet

3 participants