Closed Bug 1943359 Opened 1 year ago Closed 1 month ago

Clean up subscriptions from session subscription map when a context is destroyed

Categories

(Remote Protocol :: WebDriver BiDi, task, P3)

task

Tracking

(firefox155 fixed)

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: Sasha, Assigned: sameembaba, Mentored)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [lang=js][webdriver:m21][webdriver:external][webdriver:relnote])

Attachments

(1 file)

During the implementation of subscription IDs for session.subscribe and unsubscribe (see bug 1938576) we didn't implement the cleanup of subscriptions from session subscription map as the spec requires (see https://w3c.github.io/webdriver-bidi/#event-browsingContext-contextDestroyed). This probably shouldn't cause any real issue. But it could be nice to implement to free up some memory.

Mentor: aborovova
Priority: -- → P3
Whiteboard: [webdriver:backlog][lang=js]
Assignee: nobody → ssssameembaba
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/aa9d7a5bc2ac https://hg.mozilla.org/integration/autoland/rev/429f3556d399 Clean up subscriptions from session subscription map when a context is destroyed. r=Sasha
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Whiteboard: [webdriver:backlog][lang=js] → [lang=js][webdriver:m21][webdriver:external]

Hi Sasha! Thanks again for assigning me this.I really enjoyed working on it. I'm looking to continue contributing to WebDriver BiDi. If you know of any bugs that would benefit from attention, especially higher-priority ones or ones that would be good next issues to work on, I'd really appreciate your recommendations.

Hi! It's great to hear :)
We have, for example, this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1969880. Does it look like something you would like to work on?

Yeah! I can give it a try.

Great! I've assigned it to you. As usual, let me know if something is unclear.

Whiteboard: [lang=js][webdriver:m21][webdriver:external] → [lang=js][webdriver:m21][webdriver:external][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: