Closed Bug 772479 Opened 12 years ago Closed 12 years ago

ReferenceError: reference to undefined property aViewport.width since bug #758620

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: cwiiis, Assigned: cwiiis)

References

Details

Attachments

(1 file)

Attachment 636359 [details] [diff] uses aViewport.width/aViewport.height in setViewport, neither of which actually exist (sorry) - as it turns out, the function they call with these values still does something sensible (hurray), but instead, we should use the right values. This seems to have no obvious ill effect, other than an annoying message in the log.

Patch incoming.
Calculate the viewport width/height first and use those variables in both places it's expected.
Attachment #640642 - Flags: review?(bugmail.mozilla)
Attachment #640642 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/f5ba1d1f6f0e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.