Bug 133477 - IFrame resize feedback loop on iPad
Summary: IFrame resize feedback loop on iPad
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 7.0
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 08:35 PDT by Alexander Vieth
Modified: 2014-07-16 00:22 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vieth 2014-06-03 08:35:04 PDT
Steps to reproduce the problem:
1. Go to the fiddle at http://jsfiddle.net/6gVAX/ on an iPad running iOS 7.1.1 in Safari (or Chrome).

This fiddle is just an iframe containing another fiddle. The sub-fiddle is merely a binding on the window's resize event, which will show an alert with the window's innerWidth and innerHeight values.

What is the expected behavior?
The fiddle should show an alert only when the preview frame resizes. This is what we observe on OS X 10.7.5 running Chrome 34.0.1847.137.

What went wrong?
The fiddle shows an alert again and again, seemingly without end. The message shows the width and height of the window object in that iframe, and we can see that the height continues to increase.

This was also reported to the Chromium team (https://code.google.com/p/chromium/issues/detail?id=379847).
Comment 1 Benjamin Poulain 2014-07-16 00:22:10 PDT
Looks like frame flattening hits again :(