Closed Bug 948897 Opened 11 years ago Closed 11 years ago

Move inline scripts and styles into separate file for mobile/android/chrome/content/aboutFeedback.xhtml (URL=about:feedback)

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: freddy, Assigned: nbleasdale)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mentor=fbraun@mozilla.com][lang=html][good first bug][lang=js])

Attachments

(1 file, 1 obsolete file)

With the current plan to harden the security of Firefox, we want to disallow internal privileged pages to use inline JavaScript. Since their amount is fairly limited, we start this by rewriting them bit by bit.
Hi, I'd like to pick this one up as my first ticket. I guess I'm facing a similar issue to others on the various sub-parts though in that I can't seem to find anyway to assign it to myself to prevent duplicate efforts.
Attachment #8351399 - Flags: review?(fbraun)
Attached patch bug948897.patch (deleted) — Splinter Review
patch for separating out the inline js previously found in aboutFeedback.
Attachment #8351399 - Attachment is obsolete: true
Attachment #8351399 - Flags: review?(fbraun)
Attachment #8355010 - Flags: review?(mbrubeck)
Comment on attachment 8355010 [details] [diff] [review] bug948897.patch Thanks! If you're ready for this patch to land, you can follow the instructions here and add "checkin-needed" to the "Keywords" field of this bug: https://developer.mozilla.org/en-US/docs/Creating_a_patch_that_can_be_checked_in
Attachment #8355010 - Flags: review?(mbrubeck) → review+
Hi, I think I maybe lack the required edit bug privileges to add the 'checkin-needed' flag for this. Not sure where to go from here, do I need to ask someone else to do something further with this?
Thank you for working on this patch, Neil. Neil, please change the patch so that it can be checked in (see Matt's link), I think you mostly need the r=mbrubeck part, if I'm not mistaken. After that you should be able to add "checkin-needed" in the Keyword field. If not, please ping again and I will do so for your.
Assignee: nobody → nb.mozd
As a follow-up, we should also file a bug to remove the inline onload/onunload/onclick/onsubmit calls in aboutFeedback.xhtml, and use JS event listeners instead.
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [mentor=fbraun@mozilla.com][lang=html][good first bug][lang=js] → [mentor=fbraun@mozilla.com][lang=html][good first bug][lang=js][fixed-in-fx-team]
Depends on: 957052
(In reply to :Margaret Leibovic from comment #7) > As a follow-up, we should also file a bug to remove the inline > onload/onunload/onclick/onsubmit calls in aboutFeedback.xhtml, and use JS > event listeners instead. Oh, thanks for pointing that out! :) I have filed bug 957052 to track this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Fixed = on m-c. Please don't resolve bugs if they haven't landed there yet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Whiteboard: [mentor=fbraun@mozilla.com][lang=html][good first bug][lang=js][fixed-in-fx-team] → [mentor=fbraun@mozilla.com][lang=html][good first bug][lang=js]
Target Milestone: --- → Firefox 29
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: