Closed
Bug 1476552
Opened 7 years ago
Closed 6 years ago
Minor improvements to GeckoSession.WebResponseInfo
Categories
(GeckoView :: General, enhancement, P2)
GeckoView
General
Tracking
(geckoview62 wontfix, firefox-esr52 wontfix, firefox-esr60 wontfix, firefox61 wontfix, firefox62 wontfix, firefox63 fixed)
RESOLVED
FIXED
mozilla63
People
(Reporter: sebastian, Assigned: raynaldm, Mentored)
Details
(Whiteboard: [good first bug])
Attachments
(1 file)
1) WebResponseInfo should be static. Right now it has an implicit reference to the outer class and can access everything in it. However this doesn't seem to be needed. I'm trying to create a WebResponseInfo object in a test case and it's complicated because I need to create it from inside a GeckoSession object and can't create it independently.
2) It looks like only "uri" is a required value. The properties should have a @Nullable or @NonNull annotation to make Kotlin interoperability nicer.
Comment 1•7 years ago
|
||
Jim says this would be a good contributor bug. Setting Sebastian as the mentor because he best knows what needs to be fixed.
Mentor: s.kaspari
Priority: -- → P2
Whiteboard: [good first bug]
Assignee | ||
Comment 2•7 years ago
|
||
MozReview-Commit-ID: 1HWEStKaGVl
Bug 1476552 part 1 - Add @NonNull/@Nullable annotations to GeckoSession::WebResponseInfo for Kotlin interoperability
Bug 1476552 part 2 - Make GeckoSession::WebResponseInfo static
MozReview-Commit-ID: 4ce92G7i2nz
Assignee | ||
Comment 3•7 years ago
|
||
I submitted a patch for review here: https://phabricator.services.mozilla.com/D2885
Reporter | ||
Comment 4•7 years ago
|
||
Comment on attachment 8998328 [details]
Bug 1476552 - GeckoSession::WebResponseInfo Kotlin annotations and static
Sebastian Kaspari (:sebastian) has approved the revision.
Attachment #8998328 -
Flags: review+
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → raynald.mirville
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•6 years ago
|
||
Great! What would be the next step from here?
Reporter | ||
Comment 6•6 years ago
|
||
Jim, Snorp: How do I land phabricator patches? I may have lost commit access since I haven't landed anything in m-c for a while. Can you do that?
Flags: needinfo?(snorp)
Flags: needinfo?(nchen)
You can click the "View in Lando" link and land from there. I took care of it for this patch.
Flags: needinfo?(snorp)
Pushed by jwillcox@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a2e7223d34fc
GeckoSession::WebResponseInfo Kotlin annotations and static r=sebastian
Updated•6 years ago
|
Flags: needinfo?(nchen)
Comment 9•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Comment 10•6 years ago
|
||
Thanks for your fix, Raynald! If you're looking for another bug to fix, check out Mozilla's Codetribute bug site. You can search by product and programming language.
https://codetribute.mozilla.org/languages/java
status-firefox61:
--- → wontfix
status-firefox62:
--- → wontfix
status-firefox-esr52:
--- → wontfix
status-firefox-esr60:
--- → wontfix
status-geckoview62:
--- → wontfix
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 63 → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•