This is a migrated thread and some comments may be shown as answers.

Firefox5: Browser.ContentWindow.Rectangle is wrong

1 Answer 21 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
uteotw
Top achievements
Rank 1
uteotw asked on 08 Jul 2011, 12:28 AM
Hi

I just wanted to report that when using FireFox 5.0 Browser.ContentWindow.Rectangle returns the same values as Browser.Window.Rectangle

So this is a problem when doing Browser.ContentWindow.GetBitmap()

FYI : IE9 and Chrome12 don't repro this problem, I haven't tried with Safari5.

Hope you can fix this one soon.

Cheers

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 08 Jul 2011, 05:18 PM
Hello Uteotw,

I'm afraid this isn't actually a bug. Mozilla radically changed the browser window in Firefox 4 (and 5). The ContentWindow property in Firefox now returns the same Windows window as the "window" property. Firefox 4+ no longer has a separate Win32 windows for its chrome and its content. They are now one in the same window. I'm afraid you'll need to account for this difference in your testing.

Greetings,
Cody
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

Have you looked at the new Online User Guide for Telerik Test Studio?
Tags
General Discussions
Asked by
uteotw
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or