Closed Bug 1126709 Opened 9 years ago Closed 9 years ago

Should use the URL() object instead of string concatenation to resolve icon urls for Homescreen application.

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 affected, b2g-v2.0M affected, b2g-v2.1 affected, b2g-v2.1S affected, b2g-v2.2 affected, b2g-master fixed)

RESOLVED WONTFIX
Tracking Status
b2g-v2.0 --- affected
b2g-v2.0M --- affected
b2g-v2.1 --- affected
b2g-v2.1S --- affected
b2g-v2.2 --- affected
b2g-master --- fixed

People

(Reporter: jocheng, Assigned: jocheng)

References

Details

(Whiteboard: [systemsfe])

Attachments

(1 file, 2 obsolete files)

46 bytes, text/x-github-pull-request
fabrice
: review+
Details | Review
According to https://bugzilla.mozilla.org/show_bug.cgi?id=1069810#c6. Should use the URL() object instead of doing string concatenation to resolve urls.
Attached file Pull Request for master (obsolete) —
Hi Kevin,
Could you please review the patch? This is to resolve the issue per bug 1069810. Thanks!
Attachment #8555731 - Flags: review?(kgrandon)
See Also: → 1069810
Status: NEW → ASSIGNED
Comment on attachment 8555731 [details] [review]
Pull Request for master

Fabrice was looking for this so I'd like to defer to him here. I think it makes sense to me, though it looks like the arguments are backwards? Did you test it?
Attachment #8555731 - Flags: review?(kgrandon) → review?(fabrice)
Comment on attachment 8555731 [details] [review]
Pull Request for master

Commented on github.
After this one, could you cleanup shared/js/url_helper.js to also use the URL object?
Attachment #8555731 - Flags: review?(fabrice) → review-
Hi Fabrice,
Thanks for the feedback. I will handle this soon.
Attached file PR V2 include url_helper.js (obsolete) —
Hi Fabrice, 
Could you please review again? Thanks!
Attachment #8555731 - Attachment is obsolete: true
Attachment #8556813 - Flags: review?(fabrice)
Attached file PR for master
Hi Fabrice,
Thanks for the comment.
Could you please review again?
Attachment #8556813 - Attachment is obsolete: true
Attachment #8556813 - Flags: review?(fabrice)
Attachment #8557464 - Flags: review?(fabrice)
Comment on attachment 8557464 [details] [review]
PR for master

Thanks Josh, look good. Waiting for the tests results to be complete though (I retriggered Gu failures).
Attachment #8557464 - Flags: review?(fabrice) → review+
Josh, the Gij failure seem real too. Please check that before and ask for review again.
Attachment #8557464 - Flags: review+
Blocks: 1069810
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.1?
Since bug 1069810 is 2.0+
Hi Greg, 
I have asked Kai-ZHen to backout bug 1069810 and wait until this fix. Currently Gij is broken with this fix and Evan Tseng is helping me for this. 
Thanks!
blocking-b2g: 2.1? → ---
Comment on attachment 8557464 [details] [review]
PR for master

Hi Fabrice,

The test are all green without change on my patch. 
Could you please help to review again? Thanks!

https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=4baf604f247975e23ae8d1a3786fa9489ed0990e
Attachment #8557464 - Flags: review?(fabrice)
Comment on attachment 8557464 [details] [review]
PR for master

thanks Josh!
Attachment #8557464 - Flags: review?(fabrice) → review+
Keywords: checkin-needed
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
We need this backed out. It is causing a smoke test blocker. Please see bug 1159299.
Whiteboard: [systemsfe] → [systemsfe][backout-asap]
Backed out for causing bug 1159299.

https://github.com/mozilla-b2g/gaia/commit/cc498e53ff6ef200deebebb55ec26f1d72bd1d90
Status: RESOLVED → REOPENED
Flags: needinfo?(jocheng)
Resolution: FIXED → ---
Whiteboard: [systemsfe][backout-asap] → [systemsfe]
Mass update: Resolve wontfix all issues with legacy homescreens.

As of 2.6 we have a new homescreen and having these issues open is confusing. All issues will block bug 1231115 so we can use that to re-visit any of these if needed.
Blocks: 1231115
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → WONTFIX
Flags: needinfo?(jocheng)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: