In http://trac.webkit.org/changeset/107827, I tried to make the webkitOverflowRegion tests non flaky. The problem is that we're getting a layout before the script runs. My attempts failed-- the tests still sometimes fail on debug builds on chromium:
It seems weird that this DOM property depends on internal details of whether we've run layout or not. It seems like it should force a layout when the property is accessed.
The current tests seem incorrect in that the first time we read webkitOverflowRegion we expect undefined. At that point in time, we should probably get back 'empty'. 'undefined' means that the element is not a region, but it is.
You're right. Reading the webkitOverflowRegion property should trigger a layout. I'll make a fix for this
Created attachment 127373 [details]
Comment on attachment 127373 [details]
Clearing flags on attachment: 127373
Committed r107961: <http://trac.webkit.org/changeset/107961>
All reviewed patches have been landed. Closing bug.