Last Comment Bug 102476 - dom.disable_open_during_load pref is incompatible with Outlook Web Access (OWA)
: dom.disable_open_during_load pref is incompatible with Outlook Web Access (OWA)
Product: Core
Classification: Components
Component: DOM: Events (show other bugs)
: Trunk
: x86 Windows NT
: -- normal with 1 vote (vote)
: ---
Assigned To: Gervase Markham [:gerv]
: Gervase Markham [:gerv]
: Andrew Overholt [:overholt]
Depends on:
  Show dependency treegraph
Reported: 2001-09-30 22:32 PDT by David Gerard
Modified: 2004-01-26 01:37 PST (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image David Gerard 2001-09-30 22:32:24 PDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4+) Gecko/20010930
BuildID:    2001093008

I use Outlook Web Access all day, every day. Today I got the most recent
nightly and decided to try it with user_pref("dom.disable_open_during_load",
true); in my prefs.js .

It turns out that this makes Outlook Web Access not work properly.

When you open a message, it uses Javascript to pop up a window with
the message in it. If you want to reply to this message, you click
a 'Reply' link which closes your message and opens up a reply. Except
with dom.disable_open_during_load - it closes the original message as
it should, but (of course) doesn't open a reply.

(OWA works fine without dom.disable_open_during_load switched on.)

It may well not be possible to tweak dom.disable_open_during_load to
allow OWA to work but cut out obnoxious advertising popups, thus making
this an evangelism issue. But since I can guess how well evangelism of
Microsoft to help Mozilla work better would go, I thought I'd at least
ask :-)

Reproducible: Always
Steps to Reproduce:
1. Enable dom.disable_open_during_load
2. Open a message in OWA.
3. Hit 'reply' on the message.

Actual Results:  Original message closes, reply message doesn't open

Expected Results:  Reply message should open

Here is the source of the original message window. (I have deleted
the title and message body as they contain proprietary info.)

<script language="Javascript">

function openNewWindow(fileName,windowName,theWidth,theHeight) {
	if (windowName == "newMessageWindow") 
		//generate random window ID

		 windowName = new String(Math.round(Math.random() * 100000));




<title>[... title deleted ...]</title>
<script language=javascript>

function DoCommand(szCommand) {
    if (szCommand == "reply") {
    else if (szCommand == "delete"){
     else if (szCommand == "replyall"){
     else if (szCommand == "forward"){
     else if (szCommand == "replytofolder"){

    else if (szCommand == "close"){
    else if (szCommand == "next"){
     else if (szCommand == "previous"){



<body TEXT=000000 BGCOLOR=#c0c0c0 TOPMARGIN=4 LEFTMARGIN=4 text=000000
link=000000 vlink=000000 alink=000000>
<!--- begin toolbar --------->
<table BORDER=0 bgcolor=#c0c0c0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
<td width=100%>
<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<a href="JavaScript:DoCommand('reply')"> <img SRC="/exchange/forms/reply.gif"
Alt="Reply to sender" align="middle" border=0></a>

<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<a href="JavaScript:DoCommand('replyall')"> <img
SRC="/exchange/forms/replyall.gif" Alt="Reply to all" align="middle" border=0></a>

<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<a HREF="JavaScript:DoCommand('replytofolder')">
<img SRC="/exchange/forms/ReplyFld.gif" alt='Reply to folder' align="middle"

<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<a href="JavaScript:DoCommand('forward')"> <img
SRC="/exchange/forms/forward.gif" Alt="Forward" align="middle" border=0
height=24 width=24></a>

<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<img SRC="/exchange/forms/movcpy.gif" align="middle" Alt="Move/Copy" border=0
height=24 width=24></a>

<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<a href="JavaScript:DoCommand('delete')"> <img SRC="/exchange/forms/delmark.gif"
Alt='Delete' align="middle" border=0 height=24 width=24></a>

<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<a href="JavaScript:DoCommand('previous')"> <img
SRC="/exchange/forms/prevmsg.gif" Alt="Read previous item" align="middle"
border=0 width=24 height=24></a>

<a href="JavaScript:DoCommand('next')"> <img SRC="/exchange/forms/nextmsg.gif"
Alt='Read next item' align="middle" border=0 width=24 height=24></a>

<img src="/exchange/images/divider.gif" width=4 height=24 align="middle">

<img SRC="/exchange/images/help.gif" alt="Get help information on the current
window" align="middle" border=0 height=20 width=20></a>


<td align="right">
<input type="button" value="Close" onClick="DoCommand('close')">


<!--- begin header --->

<table border=0 cellpadding=3 cellspacing=0 width="100%" bgcolor=#c0c0c0>
<tr> <td width=10% >
<font size=2><b>From:</b></font>
</td> <td ID=from colspan=3><font size=2>
Jamie Flett

<tr> <td>
<font size=2><b>To:</b></font>
</td> <td ID=to colspan=3>
<font size=2>
David Gerard (EPA)&nbsp;
<td><font size=2><b>Cc:</b></font>
</td> <td ID=cc colspan=3><font size=2>

<td> </td>

<font size=2><b>Subject:</b></font>
<td ID=subject colspan=3>
<font size=2>
Re: Windows Terminal Server - volunteers needed for trial&nbsp;
<font size=2><nobr><b>Sent:</b></nobr>
<td ID=sent width=62% ><font size=2><nobr>
10/1/01 2:58 PM&nbsp;</nobr></font><br>
<td align=right>
<font size=2><nobr><b>Importance:</b></nobr>
<td ID=importance align=right><font size=2><nobr>


<!--- message text ----->
<table width="100%" border=1 cellspacing=2 cellpadding=6>
<tr ID=body>

[... text deleted ...]

Comment 1 User image David Gerard 2001-09-30 23:14:09 PDT
Resolving so that the work-related information I forgot to delete will
quietly fade into the background haze. I'll re-file this in a manner that
won't even slightly risk blow my own foot off.

*autoLART* Stoopid! *autoLART* Stoopid! *autoLART* Stoopid!

It's been a long day ...
Comment 2 User image Gervase Markham [:gerv] 2001-09-30 23:32:11 PDT
Cleaning up...
Comment 3 User image Gervase Markham [:gerv] 2001-09-30 23:32:49 PDT

Comment 4 User image Gervase Markham [:gerv] 2001-09-30 23:33:15 PDT
Something's wrong here.

Comment 5 User image Gervase Markham [:gerv] 2001-09-30 23:33:36 PDT
Assigning to me.

Comment 6 User image Gervase Markham [:gerv] 2001-09-30 23:34:07 PDT
Resolving again.

Comment 7 User image Gervase Markham [:gerv] 2001-09-30 23:34:26 PDT

Comment 8 User image Jesse Ruderman 2004-01-26 01:37:59 PST You should be voting for bug 102481, not this bug :)

Note You need to log in before you can comment on or make changes to this bug.