Bug 133477

Summary: IFrame resize feedback loop on iPad
Product: WebKit Reporter: Alexander Vieth <alex>
Component: FramesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: benjamin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: iOS 7.0   

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 :(