Closed Bug 1153335 Opened 9 years ago Closed 9 years ago

[Customizer] Appended SCRIPT tags are not eval'd

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justindarc, Assigned: justindarc)

References

Details

(Whiteboard: [spark])

Attachments

(1 file)

STR:
1. Append Child -> SCRIPT
2. Edit SCRIPT -> Inner HTML: alert('hello');

Currently, the generated add-on code only evals *child* SCRIPT tags, but doesn't take into consideration if you are editing a SCRIPT tag directly.
Assignee: nobody → jdarcangelo
Priority: -- → P1
Attached file pull-request (master) (deleted) —
This is actually a patch for addon-generator.
Attachment #8590959 - Flags: review?(drs)
Attachment #8590959 - Flags: review?(drs) → review+
Landed on master:

https://github.com/fxos/addon-generator/commit/84ee52980789b8098aad96235d28caa427f39713
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [spark]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: