Closed Bug 521479 Opened 15 years ago Closed 15 years ago

Change personas extension to use headerURL and footerURL instead of header and footer

Categories

(Mozilla Labs Graveyard :: Personas Plus, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: telliott, Assigned: jose)

Details

Attachments

(1 file)

These are duplicated information, and the uplift guys are using the full headerURL and footerURL. We should be able to transition the current version without anything changing and eventually deprecate header and footer
Yup, this should be a trivial change, as the client currently resolves header and footer values relative to a base URL using a Firefox API that correctly handles both absolute and relative URLs (prepending the base URL to relative URLs while leaving absolute URLs alone), so this is as simple as making the client use headerURL and footerURL instead of header and footer; no change in logic should be required.
Assignee: jose → jose
This patch changes the use of persona.header and persona.footer to persona.headerURL and persona.footerURL respectively, adjusting any other related code.

I'm submitting a patch instead of committing directly since I'm now using a new account (@appcoast.com). Thanks.
Attachment #410068 - Flags: review?(myk)
Status: NEW → ASSIGNED
Comment on attachment 410068 [details] [diff] [review]
Patch, replacing header with headerURL and footer with footerURL

getpersonas.com headerURL and footerURL values are currently absolute, but they shouldn't have to be, so keep the code for resolving those values relative to the site's base URL.

Otherwise this looks great.


> I'm submitting a patch instead of committing directly since I'm now using a new
> account (@appcoast.com). Thanks.

That shouldn't affect your ability to commit changes.  Give it a try!
Attachment #410068 - Flags: review?(myk) → review-
I was finally able to commit the changes (changeset e0626ec264ce).

@Myk - Since this is my first commit, please review it let me know if everything is OK. Thanks.
Looks great!
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: