Поделиться через


windows xp sp2 rc2

I have been slacking in the posting department during my recent travels. RC2 shipped last week, while I was in NYC. Others have spoken about it. I will describe briefly what changed wrt pop-up blocker. 

But first a warning: everyday we have an internal build of RC2. Everyday I install the latest build on my test machine. This process causes minor changes to all blur together in my head. If I need to know when something specific happened, I can look in the source logs. I am, however, going to write this from memory, so I might get minor details wrong. 

Registry Values and Levels

The various aspects of pop-up manager are controlled by values in the registry under HKCU\Software\Microsoft\Int ernet Explorer\New Windows. The registry values are all dword values, unless noted. Values are all either 0 or 1, unless noted.

PopupMgr - Whether the pop-up blocker feature is enabled or not. This is the checkbox on the privacy tab of the Internet Control Panel.
PlaySound - Whether or not a sound should be played when a pop-up is blocked. This sound is set in the Sound Control Panel.
ApplyToWebOC - Applications hosting the webbrowser control only get pop-up blocking if they opt in. This forces pop-up blocking on non-opted-in apps when true.
UseSecBand - Whether or not pop-up blocker notifications should appear in the Information Band.
AccUserInitOnClick - Turns off or on an app compat work-around for some Accessibility Aids. This is on by default.
Balloon - Set when the balloon notification has been shown. Not a very interesting value, listed here for completeness.
BlockHTMLDialogs - Whether or not to treat HTML dialogs as pop-ups.
UserInitTimeout - Number of ms in the timeout period when the UseTimerMethod value is set (see below).

The biggest changes for SP2 is the creation of multiple levels of pop-up blocking. This is visible in the advanced pop-up blocking settings dialog (Tools->Pop-up Blocker->Pop-up Blocker Settings...). The levels are high, medium and low. The text descriptions of the levels were limited by the size of the box and the length of the text when localized to languages such as German. I will provide more details. The levels are pre-set combinations of the following values. Please note, these may change between now and the final release of SP2.

BlockUserInit - Whether or not to block windows deemed to be the result of a user initiated action. When on, pop-up blocking is hardcore. Default is off.
UseTimerMethod - Whether or not to use a timer to detect user initiated actions. Some sites do things asynchronously to mouse clicks... mostly sites where you submit data which results in a popup.
UseHooks - Whether or not to hook messages going to ActiveX controls. If this is false, then the control may not be able to open a new window.
AllowHTTPS - Whether or not to blindly allow pop-ups from sites using https.

The default values are High: T,F,F,F; Med: F,F,T,F; Low: F,T,T,T.
If you go change one setting by hand and it does not match the template for any of those levels, the level will show as “Custom” in the settings dialog.

The only other key to note is the Allow subkey. This is just a list of domains in the whitelist.

Script Debugging in IE

When a suitable script debugger is installed, and the user visits a site that causes a script error, IE has traditionally provided a “Do you want to debug?” prompt. This is controlled by a registry setting and has generally been off by default, but installing other applications could cause this to become enabled. Most users would really rather not see this prompt. To that end, the old setting got renamed to “Disable Script Debugging (Other)” and a new setting was created “Disable Script Debugging (Internet Explorer)”. Apps hosting the webbrowser control to do web page design can still use the old setting to enable script debugging in their app without the average end user having to see this prompt. Developers can also enable debugging in IE by enabling the new setting. These settings are in the Internet Control Panel's Advanced tab (Tools->Internet Options->Advanced), under the Browsing sub-heading.

App and Site Compat

We did a lot of work balancing the effectiveness of pop-up blocker with not breaking existing sites. As always, there are trade-offs here. Frequently in SP2 we have chosen security/privacy over compatibility, which is why we introduced the levels in pop-up blocker. The levels provide a quick and easy way to chose where you want to be in the compat trade-off arena. The default is medium. If you find some really egregiously broken sites, please feel free to post them here. I will probably not be able to respond to post responses, but we will look at all of them.

Misc UI Bug Fixes

I fixed a lot of UI bugs, mostly related to menu state. The layout of the menus changed a bit. In retrospect, this is not very interesting to talk about.

Comments

  • Anonymous
    June 21, 2004
    The comment has been removed

  • Anonymous
    June 21, 2004
    The comment has been removed

  • Anonymous
    June 21, 2004
    The comment has been removed

  • Anonymous
    June 21, 2004
    That is correct.

  • Anonymous
    June 21, 2004
    The comment has been removed

  • Anonymous
    June 21, 2004
    Peter--

    I agree. Keep in mind these are registry thingies that most people never need to see. When I started writing this, "BlockUserInit" and "PlaySound" were the only keys. As I learned more and more about the numerous ways to navigate IE, more options were added. I would have liked to have rationalized all these settings in the end, but I waited too long and now we are too close to RTM.

    One of my dreams is to someday rewrite the Internet Control Panel and rationalize all these random IE registry keys... but think of all the apps I would break!

  • Anonymous
    June 21, 2004
    XP SP2 change? My thanks to Cameron Watters for posting this... he cites a post today from "jeffdav" of Microsoft's Internet Explorer team, and in the followup, it seems like Jeff says that the behavior of blocking windows requested from...

  • Anonymous
    June 22, 2004
    I'll post more on this later once I've had a chance to install Windows XP SP2 RC2 and poke around...

  • Anonymous
    June 24, 2004
    You might consider focusing more on security holes than on "UI bugs"..
    A list of some of them can be found here: http://iebug.com/

  • Anonymous
    June 25, 2004
    Many of the UI Bugs I have fixed were security bugs. Web sites that use poorly desgined UI to trick users are just as dangerous as ones that use more sophisticated attacks. There is a team of developers who work to secure IE at a lower level; I work on the Browser UI team.

  • Anonymous
    June 27, 2004
    I'm afraid that with Windows XP SP2, chromeless popup windows (created with createPopup()) have so many restrictions that they are rendered useless. The only significant functionality offered by a popup that cannot be achieved with an ordinary HTML DIV element is that it may be positioned slightly outside (to the right or left of) the window border.

    Most importantly, popups no longer appear in front of all windows. It is now impossible for a window underneath the top window to alert the user that it needs the user's attention (e.g. when a message arrives in Outlook Web Access) WHILE still allowing the user to continue working in the top window (e.g. if the user is busy typing a sentence in the top window then their text is not lost when a standard window gains focus).

    Would there not be enough security if popup windows were limited in size/position AND also forced to have chrome (title and status bars) when the programmer wants them to appear on top of all windows?

    Do you know how OWA and other similar applications running on SP2 will inform users that new messages have arrived?

  • Anonymous
    July 07, 2004
    we have developed software and i believe a user is having problems because the 'discuss' feature may be checked. The user claims she has no discuss option in her explorer bar. Is this possible? She says she is using Windows XP Professional and IE 6.0. I'm using the same OS and browser and have 'discuss' in my explorer bar.

    Please advice.

  • Anonymous
    July 07, 2004
    we have developed software and i believe a user is having problems because the 'discuss' feature may be checked. The user claims she has no discuss option in her explorer bar. Is this possible? She says she is using Windows XP Professional and IE 6.0. I'm using the same OS and browser and have 'discuss' in my explorer bar.

    Please advice.

  • Anonymous
    July 07, 2004
    I think discuss comes with office, yes? I never use it, so I am not 100% sure. :)

  • Anonymous
    July 23, 2004
    The comment has been removed

  • Anonymous
    April 26, 2006
    PingBack from http://www.h2os.org/archives/bydate/2004/06/22/flash_windows_xp_sp2

  • Anonymous
    May 29, 2009
    PingBack from http://paidsurveyshub.info/story.php?title=jeff-s-weblog-windows-xp-sp2-rc2

  • Anonymous
    June 08, 2009
    PingBack from http://insomniacuresite.info/story.php?id=3782

  • Anonymous
    June 16, 2009
    PingBack from http://fixmycrediteasily.info/story.php?id=17780

  • Anonymous
    June 16, 2009
    PingBack from http://lowcostcarinsurances.info/story.php?id=3246

  • Anonymous
    June 18, 2009
    PingBack from http://barstoolsite.info/story.php?id=3777