[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
Re: [platform-ua-dev] Question about the embedded browser
|
> -----Original Message-----
> From: Grant Gayed
> Sent: Wednesday, May 25, 2011 10:46
> To: platform-ua-dev@xxxxxxxxxxx
> Subject: Re: [platform-ua-dev] Question about the embedded browser
>
> Hi Jason,
>
> You may be seeing the behavior that's described in
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=328609 . In
> short, all clients (like SWT) that embed IE's WebBrowser
> control are defaulted to run in IE7 emulation mode unless
> they specify otherwise (this is a policy from MS). This
> seems similar to what you're seeing, except that in your case
> it looks like the emulation mode is IE6 or earlier (?).
>
> Questions:
> - are you setting the Browser's content with setUrl() or with
> setText()?
> - what does yourBrowser.execute("alert(navigator.userAgent)") display?
>
Note: "I" am not creating the browser, but the dynamic web project creates it
when "Run on Server" is executed.
That being said, Javascript says: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; .NET CLR 1.1.4322; .NET4.0C; InfoPath.1)
> Suggestions:
> - if the userAgent alert says it's IE7 and if you're setting
> your Browser's content with setUrl(), then try the eclipse
> release at
> http://download.eclipse.org/eclipse/downloads/drops/S-3.7RC2-2
> 01105191138/index.php
That release does not have the issue. And it reports:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR
2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322;
.NET4.0C; InfoPath.1)
Would this be a candidate for backporting to helios? If not officially
backported, do you think the patch would easily apply to helios?
> , which contains the fix for bug 328609
> - note that you may need to refresh() the page to ensure
> that the fix is being considered, as the build linked above
> does not contain the fix for
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=347022
> - if the userAgent alert says it's earlier than IE7 then I
> would guess that something in your page has put IE into quirks mode
>
> HTH,
It did, thanks.
-Jason
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.