Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ua-dev] Question about the embedded browser


There aren't any more 3.6.x stream releases planned, and Eclipse was not able to apply the patch in bug 328609 to the latest 3.6.x SWT content.  Even if the patch did apply, it uses several new win32 calls, so swt's win32 library would need to be rebuilt as well.  The ideal way to get the fixed behavior would be to move up to Eclipse 3.7 if possible (the 3.7RC3 release should be declared tomorrow, so Eclipse 3.7 "final" is pretty close).  If you're really stuck on using 3.6.2 then I could look into attaching a patch against 3.6.2 to the bug, and you could then build the swt plug-in with the fix on your end.

Grant




"Jason Pyeron" <jpyeron@xxxxxxxx>
Sent by: platform-ua-dev-bounces@xxxxxxxxxxx

25/05/2011 01:04 PM

Please respond to
"Eclipse Platform User Assistance component developers list."        <platform-ua-dev@xxxxxxxxxxx>

To
"'Eclipse Platform User Assistance component developers list.'" <platform-ua-dev@xxxxxxxxxxx>
cc
Subject
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.



_______________________________________________
platform-ua-dev mailing list
platform-ua-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ua-dev


Back to the top