Closed Bug 1134933 Opened 9 years ago Closed 6 years ago

Don't save script-sources for indirectly eval'd code in B2G apps

Categories

(Core :: DOM: Core & HTML, defect, P5)

All
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: erahm, Unassigned)

Details

(Whiteboard: [MemShrink:P2])

Similar to bug 990353 it would help memory usage for j2me.js apps if we allowed setting some sort of option that indicated the script sources for indirectly eval'd code should be discarded. It would be even better if we could just indicate that all sources for the app should be discarded.

The usage I'm envisioning is in a privileged app that is eval'ing code in an unprivileged context (currently javascript can only be eval'd in an unprivileged context). As-is this means the changes from bug 990353 do not apply as they are only for system/certified/privileged contexts.

For j2me.js apps the code being eval'd is generated JS code that comes from processing java bytecode and it makes very little sense to keep the source around.
Whiteboard: [MemShrink] → [MemShrink:P2]
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Mass closing as we are no longer working on b2g/firefox os.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.