2609 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
90f2c15233 Fixing bug 302889, and more tinderbox orange (balsa). Make window.close() actually close the window. Events that were incorrectly targetted at an inner window caused one of our DOMWindowClose handlers to prevent the close. See the bug for more details. r+sr=dbaron@mozilla.org, a=chase@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@176948 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 01:23:40 +00:00
jst%mozilla.jstenback.com
fb231145d1 Fixing crash in nsFocusController::GetWindowFromDocument. Patch by allan@beaufour.dk, r+sr=jst@mozilla.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@176946 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 01:14:00 +00:00
dbaron%dbaron.org
d6a1e059b0 Switch order of first two base classes to work around btek orange.
git-svn-id: svn://10.0.0.236/trunk@176897 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-31 19:43:27 +00:00
jst%mozilla.jstenback.com
78eddc8bc3 Fixing orange on tinderbox. The problem was that when we were tearing down a window and releasing its document we didn't remember the document principals, so any security checks that happened after a window was torn down failed. Partial backout of the fix for bug 296639. r=dbaron@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@176895 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-31 16:44:28 +00:00
jst%mozilla.jstenback.com
24641ce7d7 Fixing win32 build bustage.
git-svn-id: svn://10.0.0.236/trunk@176885 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 22:06:42 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu
02bdf94e23 Make XPCNativeWrapper call the wrapped native's classinfo resolve/get/set
hooks.  Makes native wrappers work in lots of nasty DOM0 corner cases.  Bug
296967, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@176835 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 15:11:08 +00:00
cbiesinger%web.de
7167dc7321 bug 280190 Make netError.xhtml look better. Also makes it themable.
patch by Henrik Skupin <hskupin@gmail.com> a=bsmedberg/mconnor

Core part: r=biesi sr=peterv
Toolkit part: r=mconnor
SeaMonkey part: r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@176786 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 18:00:28 +00:00
timeless%mozdev.org
4a93c40db2 Bug 301780 please reuse the cached Length() value
patch by bugzilla@mcsmurf.de r=jst sr=jst a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176769 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 16:22:42 +00:00
bzbarsky%mit.edu
5e2a9fdbbd Make sure that documents are referenced if we're preserving any wrappers in the
document.  Bug 301316, r=jst, sr=dbaron, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176765 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 16:15:00 +00:00
bryner%brianryner.com
1f319207af Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 22:09:39 +00:00
bryner%brianryner.com
e1d0e60fbb Fixing warnings in DEBUG_me code. NPOB.
git-svn-id: svn://10.0.0.236/trunk@176476 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 23:03:08 +00:00
aaronleventhal%moonset.net
f79b1c1a5c Bug 301406. Fix accessibility of XUL multiline textboxes. r+sr=neil, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@176373 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 00:37:27 +00:00
bzbarsky%mit.edu
aba621f2dc Preserve XPCNativeWrappers when "expando" properties are set on them. Bug
295937, r=shaver, sr+a=brendan


git-svn-id: svn://10.0.0.236/trunk@176280 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:40:33 +00:00
bzbarsky%mit.edu
64a2666ae8 Don't return random numbers from GetPort. Bug 300997, r+sr=jst, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176269 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:12:18 +00:00
bzbarsky%mit.edu
92b9eb9e93 Escapes should be allowed to start an id. Bug 299148, r+sr=dbaron, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176257 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 20:49:34 +00:00
mozilla.mano%sent.com
0d58c430b9 Bug 299480 - neterror.xhtml startup document isn't RTL in RTL locales. r+a=bsmedberg, sr+bzbarksky
git-svn-id: svn://10.0.0.236/trunk@176114 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 22:52:11 +00:00
timeless%mozdev.org
9e95fedeb5 Bug 300000 Shutdown crash [@ ObjectPrincipalFinder]
r=jst sr=jst a=brendan


git-svn-id: svn://10.0.0.236/trunk@175820 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 04:47:58 +00:00
bzbarsky%mit.edu
4af0d1dbfb Make sure to notify XPConnect if an XBL constructor or destructor throws an
exception so they get reported in a timely manner.  Bug 299741, r+sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@175693 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 15:46:12 +00:00
dveditz%cruzio.com
08781fadaf bug 298934: Show originating host in content alert/confirm/prompt instead of generic "Javascript Application". r=cbiesinger, sr=jst, a=jay
git-svn-id: svn://10.0.0.236/trunk@175684 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 07:38:36 +00:00
brendan%mozilla.org
192a5e0a22 Support E4X by default in chrome windows and in XUL scripts (293392, r+sr=peterv/jst).
git-svn-id: svn://10.0.0.236/trunk@175531 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-02 19:52:25 +00:00
jst%mozilla.jstenback.com
246666e678 Fixing bug 297543. Make the hidden window load a URL that's not about:blank. r=benjamin@smedbergs.com, sr=brendan@mozilla.org, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@175507 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 23:58:15 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
dbaron%dbaron.org
aaac4d81a6 Fix extraneous quotes in unexpected EOF CSS parser errors. b=299192 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175465 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:18:53 +00:00
roc+%cs.cmu.edu
8408286c5f Bug 288438. Turn off SVG <foreignobject> because it's pretty broken. r=benjamin,sr=dbaron,a=benjamin,patch by jwatt,tor and roc
git-svn-id: svn://10.0.0.236/trunk@175282 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 03:51:44 +00:00
bsmedberg%covad.net
b274f62adb Bug 295729 - Null-check for nsContentUtils shutdown to avoid a crash during shutdown, r+sr=jst a=drivers
git-svn-id: svn://10.0.0.236/trunk@175029 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 01:05:38 +00:00
bryner%brianryner.com
fa4650e009 Add a root for mJSObj earlier in WindowStateHolder's ctor to prevent possible gc while traversing child docshells. Bug 298459, r+a=brendan.
git-svn-id: svn://10.0.0.236/trunk@175022 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 22:03:38 +00:00
jst%mozilla.jstenback.com
79ba7b6cdd Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@174986 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:53:58 +00:00
jst%mozilla.jstenback.com
c9a2d89818 Fixing bug 176079. Provide an API for plugins to control whether popups are enabled or not. Disable popups by default from plugins, but enable/disable popups while handling user input events (mouse click, keydown etc) on the platforms where it's possible (Win32 and Mac), but do that only if the plugin doesn't support the popup enabling/disabling API. r+sr+a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174814 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-18 06:06:45 +00:00
brendan%mozilla.org
f471c8449f Use JS_EnumerateResolvedStandardClasses for bfcache transparency (292903, r+sr=bryner/jst).
git-svn-id: svn://10.0.0.236/trunk@174731 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 22:14:43 +00:00
gandalf%firefox.pl
0c2b71ebc2 Bug 296169: cannot localize svg.properties (should be in chrome/, not res/); r=bsmedberg,a=asa
git-svn-id: svn://10.0.0.236/trunk@174706 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:49:04 +00:00
bryner%brianryner.com
3274ca4c10 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
masayuki%d-toybox.com
384a5ced62 Bug 118563 The new print properties dialog does not save papersize / make the same as suite/toolkit print process for "javascript:window.print()" r+sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174417 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 18:26:31 +00:00
timeless%mozdev.org
ae697e0d0f Bug 297027 NS_ScriptErrorReporter(JSContext *cx, const char *message, JSErrorReport *report) doesn't report message to stdout
r=jst sr=jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174406 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 05:25:25 +00:00
bzbarsky%mit.edu
169ca76a3a Fixing build bustage. Part of bug 295983.
git-svn-id: svn://10.0.0.236/trunk@174365 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 16:29:26 +00:00
bzbarsky%mit.edu
e01bd5e327 Make sure to call ScriptEvaluated when doing all evaluations, to call it
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation.  Fixes
leaks when closing windows or tabs with still-loading documents.  Bug 295983,
r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@174364 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:42:19 +00:00
timeless%mozdev.org
2074f8659b Bug 297073 Crash closing compose window with [x]
properly group &&/||
r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@174321 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 23:08:56 +00:00
timeless%mozdev.org
2c1d36734f Bug 294846 misplaced null checks in NS_ScriptErrorReporter rearrange null checks and don't try to send a dom error for OOM
r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@174273 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 03:02:00 +00:00
brendan%mozilla.org
77b50686dd Fix bugs 296772 and 262948 (r=shaver, sr=jst, a=me).
git-svn-id: svn://10.0.0.236/trunk@174267 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 02:13:10 +00:00
jst%mozilla.jstenback.com
e9863e3952 Fixing bug 296850. Unregress frame injection bug 246448. r=bzbarsky@mit.edu, sr+a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174259 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 23:34:22 +00:00
timeless%mozdev.org
f29759ab7b Bug 294846 misplaced null checks in NS_ScriptErrorReporter
rearrange null checks and don't try to send a dom error for OOM
r=jst sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@174255 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 23:20:06 +00:00
timeless%mozdev.org
8c91b39449 Bug 296512 Change DOMGCCallback to *always* chain to other callbacks
r=jst sr=brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@174250 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 22:21:41 +00:00
jst%mozilla.jstenback.com
c9b784232c Fixing bug 289263. Fix broken logic that made document.all.tags('...') not work. r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174125 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 18:16:26 +00:00
jst%mozilla.jstenback.com
1acb0a110a Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174095 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 23:36:08 +00:00
bryner%brianryner.com
2124369c26 Don't leak if CopyJSProperties() fails. Bug 292972, patch by mikael@parknert.se, r=bzbarsky, sr=me, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@174071 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 18:18:31 +00:00
relyea%netscape.com
6869e39a3c Fix the license. Still bug 284366 PSM needs to handle Smart Cards seamlessly
r+sr+a=shaver
(caught by Christian persch)


git-svn-id: svn://10.0.0.236/trunk@174065 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 16:40:29 +00:00
allan%beaufour.dk
2502b18ee9 Support context size and position in ns(XForms)XPathExpression. Bug 292841, r=sicking, sr=peterv, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@174039 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 06:53:42 +00:00
relyea%netscape.com
0090027704 SmartCard support checkin.
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver


git-svn-id: svn://10.0.0.236/trunk@174016 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 01:17:35 +00:00
relyea%netscape.com
129fc57f63 New file portion of SmartCard support checkin.
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver


git-svn-id: svn://10.0.0.236/trunk@174015 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 01:16:30 +00:00
bzbarsky%mit.edu
1a66b5e2c8 Parse out the actual type from the content-type argument passed to
document.open().  Bug 295652, r+sr=jst, a=shaver


git-svn-id: svn://10.0.0.236/trunk@173918 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 15:33:44 +00:00