2174 Commits

Author SHA1 Message Date
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
bzbarsky%mit.edu
7d412fb22e More IsNodeOfType. Bug 336822, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@196091 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 03:25:58 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
dbaron%dbaron.org
2ea54fcb0a Redo fix for bug 335298 (handling non-ASCII in result strings of javascript URLs) using UTF-8 instead of UTF-16 in the hopes of fixing bug 335554 (shockwave plugin issue). b=335298 r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@195985 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 19:12:26 +00:00
roc+%cs.cmu.edu
1b9b0d8fc6 Bug 336359. Fire WHATWG online/offline events when the browser offline status changes. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@195938 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:53:08 +00:00
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
peterv%propagandism.org
5cf9b0e12f Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@195434 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 09:19:48 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
dbaron%dbaron.org
8a51623b15 Make the results of javascript: URLs stay UTF-16 rather than removing the high byte of the characters, and set the encoding on the channel to UTF-16. b=335298 r=darin sr=brendan
git-svn-id: svn://10.0.0.236/trunk@195360 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 16:49:47 +00:00
mrbkap%gmail.com
2ff82b73fc Backing out bug 326497 again to see if it fixes the problems that we're seeing with us not recognizing functions set on [classname].prototype.
git-svn-id: svn://10.0.0.236/trunk@195283 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 19:27:25 +00:00
bzbarsky%mit.edu
a8bf7b5efc Make sure to always initialize rv. Bug 334233, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@194556 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:24:38 +00:00
bzbarsky%mit.edu
f79d80417a Fix typo. This checkin and the previous one are both for bug 334245.
git-svn-id: svn://10.0.0.236/trunk@194545 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:30:03 +00:00
bzbarsky%mit.edu
f4e85da057 addEventListener has 3 args, not 0. r+sr+branch181=jst
git-svn-id: svn://10.0.0.236/trunk@194541 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:05:58 +00:00
timeless%mozdev.org
399f898b74 Bug 333837 Crash in [@ nsJSContext::nsJSContext] / XUL / DOM
r=jst sr=bz


git-svn-id: svn://10.0.0.236/trunk@194474 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 09:17:46 +00:00
mrbkap%gmail.com
44604ebc68 -- Allow the DOM script object factory to turn XPConnect return values into proper nsIException objects.
-- Make nsDOMClassInfo::ThrowJSException never throw null as an exception.
-- Make XPCException::ToString grab the description of the result as well as the name.

r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@194440 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 00:37:51 +00:00
bzbarsky%mit.edu
077ee80cf2 Remove non-IDL interfaces from classinfo list. Bug 327156, r+sr+branch181=jst
git-svn-id: svn://10.0.0.236/trunk@194329 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 18:55:22 +00:00
gavin%gavinsharp.com
77843918af Bug 331614: window.open unnecessarily escapes all URLs (can't handle IDN/extended domain-names), r=bzbarsky, sr=darin
git-svn-id: svn://10.0.0.236/trunk@194244 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 18:34:36 +00:00
Olli.Pettay%helsinki.fi
0364c240e0 Bug 330494, changing the category names per bz' suggestion
git-svn-id: svn://10.0.0.236/trunk@194142 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 17:05:25 +00:00
jst%mozilla.jstenback.com
197612f082 Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@194099 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 03:49:44 +00:00
mrbkap%gmail.com
28167b5499 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@194054 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 22:16:34 +00:00
mrbkap%gmail.com
bf99b4ceb9 Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits.
git-svn-id: svn://10.0.0.236/trunk@194048 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 21:40:28 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
bzbarsky%mit.edu
01a2e349a8 First part of fix for bug 309721, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@193914 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 03:23:37 +00:00
bzbarsky%mit.edu
bb70e37bca When running javascript: URIs in chrome, fall back on a null principal instead
of crashing.  Bug 328697, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@193901 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 01:46:29 +00:00
bryner%brianryner.com
7c4038bbd0 Back out patch for bug 332640 to fix regression bug 333051. r+sr-bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193900 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 01:46:06 +00:00
bryner%brianryner.com
493353b154 Make screen properties work even if the docshell hasn't created a content viewer yet, by getting the device context through the widget instead of the prescontext (bug 332640). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@193704 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 17:06:21 +00:00
martijn.martijn%gmail.com
a58c76c2c3 Bug 332285 - Fixing my screw-up, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193550 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 20:47:24 +00:00
bzbarsky%mit.edu
1d6502e7c4 More happy rooting. Bug 328007, r=sicking, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@193480 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 02:39:12 +00:00
martijn.martijn%gmail.com
551b3287af Bug 332285 - nsGlobalWindow.cpp and nsCommandManager.cpp should use nsContentUtils::IsCallerChrome, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193450 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 22:05:40 +00:00
mrbkap%gmail.com
224380758a Use JS_DefineProperty instead of JS_SetProperty in more places. bug 330773, r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@193415 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 16:54:53 +00:00
bzbarsky%mit.edu
e1ba63aa5f Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@193399 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-02 20:58:26 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu
1f2066a3c1 Fix typo in comment.
git-svn-id: svn://10.0.0.236/trunk@193243 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 04:19:38 +00:00
vladimir%pobox.com
ec96f2ddc1 b=331176, try to stabilize Trender numbers on linux with a well-aimed XSync, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@192962 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 23:30:24 +00:00
mrbkap%gmail.com
a5a2bf4180 Followup to bug 330773 -- don't leave the timeout addref'd in the failure case. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192950 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 21:51:51 +00:00
mrbkap%gmail.com
b21d0a241b Use the less powerful of the available principals when compiling and running code passed into setTimeout. With this fix, chrome that attempts to setTimeout("code that requires chrome privs") on a content window will find that its code is run in the window's principals. bug 330773, r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192930 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 18:49:18 +00:00
mrbkap%gmail.com
d2c61e3bad Oops, these changes aren't ready to be checked in yet.
git-svn-id: svn://10.0.0.236/trunk@192927 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 18:41:07 +00:00
mrbkap%gmail.com
e952a53d8f Don't do a security check in AddProperty when we've resolved a frame by its numeric ID to avoid incorrect security errors being thrown. bug 317366, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192926 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 18:37:08 +00:00
timeless%mozdev.org
b91fe291d9 Bug 210724 Plugins disabled in preferences but still visible from JavaScript navigator.plugins and navigator.mimeTypes arrays
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@192680 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 05:31:59 +00:00
mrbkap%gmail.com
cd53a10918 Use JS_DefineProperty instead of JS_SetProperty for the additional control over the property we're setting. bug 330773, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192672 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 02:16:31 +00:00
mrbkap%gmail.com
b87d6b314c Only warn about invalid uses of document.all once per document instead of one time per use to avoid the console service flooding the event queue with error events. bug 330623, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192492 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 18:30:36 +00:00
Olli.Pettay%helsinki.fi
832881d49b Bug 329810, middle click on a link does not work in Camino trunk builds r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@192077 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:42:09 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
kjh-5727%comcast.net
5717b87190 Back out patch from bug 324072 to fix bug bug 326363 and avoid unnecessary API changes.
git-svn-id: svn://10.0.0.236/trunk@191779 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 16:37:13 +00:00
bryner%brianryner.com
4c748eac9b Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191724 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 20:18:07 +00:00
mrbkap%gmail.com
c1ad1cdaef Clear the pending exception before dispatching any events and potentially running JS on a context that already has an exception thrown. bug 329046, r=brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@191625 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 23:09:43 +00:00
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu
4bf58e327f Fix build bustage -- actually return NS_OK and ll
git-svn-id: svn://10.0.0.236/trunk@190983 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 03:38:59 +00:00
bzbarsky%mit.edu
6c6dfef96b Remove no longer used method. Bug 327098, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@190979 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 03:24:33 +00:00