Closed Bug 1102889 Opened 10 years ago Closed 10 years ago

Remove unnecessary mozasyncpanzoom attribute from remote iframes

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Assigned: kgrandon)

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

For a while now the mozasyncpanzoom attribute has not been needed on remote iframes. The gecko code at [1] that checks for it is not invoked on platforms that have the APZ pref enabled (which B2G does) and so any gaia code that sets this attribute is redundant. It doesn't hurt to leave it, but this might be a good cleanup task for somebody.

(Note: prior to bug 1072498 the gecko code there used to check for the dom.browser_frames.useAsyncPanZoom pref which has also been true on B2G for a few releases now).

[1] http://mxr.mozilla.org/mozilla-central/source/dom/base/nsFrameLoader.cpp?rev=4c2d59fd05fb#2108
Sure, let's clean this up in gaia.
Assignee: nobody → kgrandon
Status: NEW → ASSIGNED
Comment on attachment 8526798 [details] [review]
[PullReq] KevinGrandon:bug_1102889_remove_unnecessary_apz to mozilla-b2g:master

Thanks for filing this Kats. I always had assumed these attributes were extra, so better to get rid of them to reduce confusion. Flagging a few people for review:

Cristian for the home screen, and John for the TV app part of things. Kats - if you could also put your R+ (or F+) on this I would appreciate it. Thanks!
Attachment #8526798 - Flags: review?(im)
Attachment #8526798 - Flags: review?(crdlc)
Attachment #8526798 - Flags: review?(bugmail.mozilla)
Comment on attachment 8526798 [details] [review]
[PullReq] KevinGrandon:bug_1102889_remove_unnecessary_apz to mozilla-b2g:master

LGTM!
Attachment #8526798 - Flags: review?(bugmail.mozilla) → feedback+
Whiteboard: [systemsfe]
Comment on attachment 8526798 [details] [review]
[PullReq] KevinGrandon:bug_1102889_remove_unnecessary_apz to mozilla-b2g:master

Thanks Kevin. I had looked and checked the code. r=me.
Attachment #8526798 - Flags: review?(im) → review+
Comment on attachment 8526798 [details] [review]
[PullReq] KevinGrandon:bug_1102889_remove_unnecessary_apz to mozilla-b2g:master

LGTM
Attachment #8526798 - Flags: review?(crdlc) → review+
Keywords: checkin-needed
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Keywords: checkin-needed
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Comment on attachment 8526798 [details] [review]
[PullReq] KevinGrandon:bug_1102889_remove_unnecessary_apz to mozilla-b2g:master

Oops, my R+ as well to appease autolander.
Attachment #8526798 - Flags: review+
Keywords: checkin-needed
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Keywords: checkin-needed
Oops, the suggested reviewer list was not right, but I've updated it.

Landed in master: https://github.com/mozilla-b2g/gaia/commit/3798a35036a96d9983d6b57b41ff3bc31e43c14a
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: