Closed Bug 2044153 Opened 3 months ago Closed 27 days ago

Switch usage of "browsingContext.fixupAndLoadURIString()" to "browsingContext.loadURI()"

Categories

(Remote Protocol :: Marionette, task, P3)

task

Tracking

(firefox157 fixed)

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: whimboo, Assigned: khalid.alhaddad98, Mentored)

Details

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

Attachments

(2 files)

Marionette's navigation code uses browsingContext.fixupAndLoadURIString() to trigger the loading of a URL for the WebDriver:NavigateTo command:

https://searchfox.org/firefox-main/rev/e28b34ab33dbf49364999070168cbb7e11e8e5bd/remote/marionette/navigate.sys.mjs#173

Instead we should use browsingContext.loadURI() similar to WebDriver BiDi:

https://searchfox.org/firefox-main/rev/e28b34ab33dbf49364999070168cbb7e11e8e5bd/remote/webdriver-bidi/modules/root/browsingContext.sys.mjs#1392

That way we can feed in a nsIURI and the Toolkit code doesn't have to run the fixup code again.

Mentor: hskupin
Priority: -- → P3
Whiteboard: [webdriver:backlog][lang=js]

Hey, I would like to take on this issue. I am looking to start my open-source contributions specifically in orgs like mozilla as I now stand on a decent experience. I really appreciate your help & trust!

Hello Vraj. Thanks for showing your interest in this bug. Please take it and get comfortable with our code base. In case of questions feel free to ask here or on Matrix in the https://chat.mozilla.org/#/room/#webdriver:mozilla.org channel.

To get started you can also take a look at https://firefox-source-docs.mozilla.org/remote/index.html.

Hey Vraj, are you working on this issue?

(In reply to tanmay kumar chaurasia from comment #3)

Hey Vraj, are you working on this issue?

Vraj, given that you already asked on bug 2046156 please take that other one instead. Thanks.

Sorry, I think my last comment was confusing. I was not actually asking Vraj to work on the other issue but Tanmay.

Vraj, are you still interested to work on this bug?

Flags: needinfo?(vraj0410shah)

(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #5)

Sorry, I think my last comment was confusing. I was not actually asking Vraj to work on the other issue but Tanmay.

Vraj, are you still interested to work on this bug?

Yes, i am interested and investigating it, thank you

Flags: needinfo?(vraj0410shah)
Assignee: nobody → vraj0410shah
Status: NEW → ASSIGNED

Hello Vraj. I would like to get back to you in regards of a requested update of the patch. Maybe you missed those emails or just don't have the time at the moment. Will you be able to continue working on this bug? If not please let us know. Thanks!

Flags: needinfo?(vraj0410shah)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:Sasha, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(vraj0410shah) → needinfo?(aborovova)

Looks like Vraj might not have time to continue. I'll clear the assignee so that someone else could pick it up.

Flags: needinfo?(aborovova)
Assignee: vraj0410shah → nobody
Status: ASSIGNED → NEW
Assignee: nobody → khalid.alhaddad98
Pushed by hskupin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0ba87241da92 https://hg.mozilla.org/integration/autoland/rev/a337a4a76fe6 Switch usage of "browsingContext.fixupAndLoadURIString()" to "browsingContext.loadURI()" r=whimboo
Status: NEW → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
Whiteboard: [webdriver:backlog][lang=js] → [webdriver:m21][webdriver:external][lang=js][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: