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

[YouTube Super Fast Chat] Memory Leakage Investigation #45

Open
cyfung1031 opened this issue Jun 29, 2024 · 0 comments
Open

[YouTube Super Fast Chat] Memory Leakage Investigation #45

cyfung1031 opened this issue Jun 29, 2024 · 0 comments
Assignees

Comments

@cyfung1031
Copy link
Owner

cyfung1031 commented Jun 29, 2024

Leakage Source

  • ATTEMPT_ANIMATED_TICKER_BACKGROUND is set to disabled now. To be investigated.

YT Leakage

  • yt-formatted-string|yt-emoji-picker-renderer|iron-pages|div|yt-live-chat-message-input-renderer|div|iron-pages|div|div|iron-pages|yt-live-chat-renderer|div|yt-live-chat-app|body|html|#document
  • yt-formatted-string|yt-live-chat-toast-renderer|div|yt-live-chat-renderer|div|yt-live-chat-app|body|html|#document

YT Live Chat Leakages

  • yt-live-chat-text-message-renderer
  • yt-live-chat-paid-message-renderer
  • yt-live-chat-membership-item-renderer
  • ytd-sponsorships-live-chat-gift-purchase-announcement-renderer
  • ytd-sponsorships-live-chat-header-renderer

YT Code Leakage

  • yt-live-chat-ticker-paid-message-item-renderer.updateStatsBarAndMaybeShowAnimation
    f.updateStatsBarAndMaybeShowAnimation = function(a, b, c) {
        var d = this;
        a || c();
        a && this.statsBar && this.username && this.textContent && (this.isMouseOver ? (b(),
        c()) : (a = this.animateShowStats(),
        this.data.animationOrigin && this.data.trackingParams && aB().stateChanged(this.data.trackingParams, {
            animationEventData: {
                origin: this.data.animationOrigin
            }
        }),
        a.finished.then(function() {
            var e;
            setTimeout(function() {
                b();
                c();
                if (!d.isMouseOver) {
                    var g, k;
                    d.animateHideStats(((g = d.data) == null ? void 0 : g.dynamicStateData.stateSlideDurationMs) || 0, ((k = d.data) == null ? void 0 : k.dynamicStateData.stateUpdateDelayAfterMs) || 0)
                }
            }, ((e = d.data) == null ? void 0 : e.dynamicStateData.stateUpdateDelayBeforeMs) || 0)
        })))
    }
  • Leakage: d.data where d refers to this
@cyfung1031 cyfung1031 self-assigned this Jun 29, 2024
@cyfung1031 cyfung1031 changed the title [YouTube Super Fast Chat] Memory Leakage due to ATTEMPT_ANIMATED_TICKER_BACKGROUND [YouTube Super Fast Chat] Memory Leakage Investigation Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant