Closed Bug 1079699 Opened 10 years ago Closed 10 years ago

The src of homescreen iframe is really long

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 fixed, b2g-v2.2 fixed)

RESOLVED FIXED
2.1 S6 (10oct)
Tracking Status
b2g-v2.1 --- fixed
b2g-v2.2 --- fixed

People

(Reporter: ting, Assigned: kgrandon)

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1076605 +++ This is spin off from bug 1076605 comment 14 that the src of homescreen iframe becomes really long after MTBF. It's like: <iframe mozallowfullscreen="true" mozbrowser="true" name="main" remote="true" mozapp="app://verticalhome.gaiamobile.org/manifest.webapp" mozapptype="homescreen" src="app://verticalhome.gaiamobile.org/index.html#root14125903796341412590449855141259048842214125905102011412590515486141259053118314125905331261412590545761141259056248614125905841181412590589484141259062526614125906631821412590709327141259074238114125907671791412590792050141259081968914125908405121412590853337141259087424114125908795801412590906445141259092344014125909254061412590930912141259096273214125909961861412591021904141259104851014125910712681412591092072141259109... The numbers are Date added from: http://lxr.mozilla.org/gaia/source/apps/system/js/homescreen_window.js#198 Note changing the src triggers aw__handle_mozbrowserlocationchange() which changes this.config.url, so the Date will actually be appended and create the long src.
NI Alive as he owns the code.
Flags: needinfo?(alive)
Kevin could you take care this one?
Flags: needinfo?(alive) → needinfo?(kgrandon)
Funny. Sure, doesn't seem too bad to fix.
Assignee: nobody → kgrandon
Status: NEW → ASSIGNED
Flags: needinfo?(kgrandon)
Target Milestone: --- → 2.1 S6 (10oct)
Whiteboard: [systemsfe]
Attached file Github pull request
Comment on attachment 8501812 [details] [review] Github pull request Nice catch, looks good to me
Attachment #8501812 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
I guess we need the patch to be uplifted, the src grows to 1.x MB while running MTBF on v2.1.
Comment on attachment 8501812 [details] [review] Github pull request Requesting uplift per comment 7. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): I think this has been here forever. [User impact] if declined: Increased memory usage over time, you can see this just by pressing the home button a few hundred times. [Testing completed]: Manual and unit tests. [Risk to taking this patch] (and alternatives if risky): Low risk, 2 line change. [String changes made]: None.
Attachment #8501812 - Flags: approval-gaia-v2.1?(fabrice)
Attachment #8501812 - Flags: approval-gaia-v2.1?(fabrice) → approval-gaia-v2.1+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: