Closed
Bug 234030
Opened 21 years ago
Closed 21 years ago
Docshell needs to deal with failure to get prefs
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.7alpha
People
(Reporter: Biesinger, Assigned: Biesinger)
Details
Attachments
(2 files)
2.13 KB,
patch
|
peterv
:
review+
bzbarsky
:
superreview+
chofmann
:
approval1.7a+
|
Details | Diff | Splinter Review |
861 bytes,
patch
|
peterv
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
because as it is, this means that xul error pages accidentally default to on.
see:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=nsDocShell.cpp&branch=&root=/cvsroot&subdir=mozilla/docshell/base&command=DIFF_FRAMESET&rev1=1.579&rev2=1.580
which was:
1.580 jst%mozilla.jstenback.com Feb 10 22:09 Fixing bug 68215. Adding support
for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
that was bad in that the variable for xul error pages no longer defaults to false.
Assignee | ||
Comment 1•21 years ago
|
||
given how badly xul error pages work currently, I don't think they should be
enabled in 1.7a.
Status: NEW → ASSIGNED
Flags: blocking1.7a?
Target Milestone: --- → mozilla1.7alpha
Assignee | ||
Comment 2•21 years ago
|
||
Updated•21 years ago
|
Attachment #141241 -
Flags: review+
Assignee | ||
Updated•21 years ago
|
Attachment #141241 -
Flags: superreview?(bzbarsky)
![]() |
||
Comment 3•21 years ago
|
||
Comment on attachment 141241 [details] [diff] [review]
patch
sr=bzbarsky.
Attachment #141241 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Updated•21 years ago
|
Attachment #141241 -
Flags: approval1.7a?
Comment 4•21 years ago
|
||
Comment on attachment 141241 [details] [diff] [review]
patch
a=chofmann for 1.7a
Attachment #141241 -
Flags: approval1.7a? → approval1.7a+
Assignee | ||
Comment 5•21 years ago
|
||
Checking in nsDocShell.cpp;
/cvsroot/mozilla/docshell/base/nsDocShell.cpp,v <-- nsDocShell.cpp
new revision: 1.582; previous revision: 1.581
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Flags: blocking1.7a?
Resolution: --- → FIXED
Comment 6•21 years ago
|
||
mValidateOrigin is currently uninitialised if the pref isn't set. Fix that.
Also reorder some initialisers to match the declarations.
Updated•21 years ago
|
Attachment #141341 -
Flags: superreview?(bzbarsky)
Attachment #141341 -
Flags: review?(peterv)
![]() |
||
Comment 7•21 years ago
|
||
Comment on attachment 141341 [details] [diff] [review]
Fix unitialised member mValidateOrigin
sr=bzbarsky; please ping me when this needs checking in.
Attachment #141341 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Comment 8•21 years ago
|
||
Comment on attachment 141341 [details] [diff] [review]
Fix unitialised member mValidateOrigin
is false the right default value here?
Comment 9•21 years ago
|
||
(In reply to comment #8)
> is false the right default value here?
Good question - I don't know. The preference doesn't seem to be defaulted in any
existing .js files, or anywhere else. At the moment, it's probably random. Bug
13871 has some more details (and bug 13871 comment 45 says that it'll be off by
default, though that comment is over three years old now).
Updated•21 years ago
|
Attachment #141341 -
Flags: review?(peterv) → review+
Comment 10•21 years ago
|
||
Comment on attachment 141341 [details] [diff] [review]
Fix unitialised member mValidateOrigin
> please ping me when this needs checking in.
bz: ping.
![]() |
||
Comment 11•21 years ago
|
||
> At the moment, it's probably random.
Actually, at the moment it's false. See
http://lxr.mozilla.org/seamonkey/source/docshell/base/nsWebShell.h#59
Still worth checking in, but that can probably be removed once we merge webshell
and docshell.
![]() |
||
Comment 12•21 years ago
|
||
Checked in the mValidateOrigin change.
You need to log in
before you can comment on or make changes to this bug.
Description
•