2948 Commits

Author SHA1 Message Date
vladimir%pobox.com
7aad47dd9b b=334174, corrupted db files are not handled correctly, r=brettw
git-svn-id: svn://10.0.0.236/trunk@203743 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 18:54:12 +00:00
jst%mozilla.jstenback.com
3f3712898a Fixing bug 345791. Removing unused method nsPIDOMWindow::GetObjectProperty(). r=mrbkap@gmail.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@203701 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 23:57:10 +00:00
brettw%gmail.com
7f78f0671b Bug 334675 r=darin a=mconnor Notify users on async IO errors
git-svn-id: svn://10.0.0.236/trunk@203637 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 17:04:48 +00:00
jst%mozilla.jstenback.com
448f372085 Fixing second part of bug 344439. Make sure both division operators are signed if one of them is a PRTime and the other is unsigned and different size to make the division do the right thing on 64-bit platforms. Problem found and fixed by sylvain.pasche@gmail.com, r+sr=jst@mozilla.com/dbaron@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@203251 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 15:13:55 +00:00
Olli.Pettay%helsinki.fi
f6e4fb3a49 Bug 337436, Crash [@ nsGlobalWindow::Blur] when window gets destroyed during blur event, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@203231 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 07:11:34 +00:00
bzbarsky%mit.edu
af3ef56f42 Slight tweak per biesi's comments. Bug 343850
git-svn-id: svn://10.0.0.236/trunk@203101 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 13:27:53 +00:00
mhammond%skippinet.com.au
7016d67f13 Bug 341915: can we move nsIScriptContext(Owner) from dom to xpconnect
r=timeless, sr=jst


git-svn-id: svn://10.0.0.236/trunk@203077 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:15:50 +00:00
bzbarsky%mit.edu
769764af75 Make nsJSChannel follow the nsIChannel interface contract better. Bug 343850,
r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@203061 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 00:53:11 +00:00
bzbarsky%mit.edu
547a817778 Update mUpdateWindowWatcher even if mActive is false. Bug 343650, patch by
Mikhail Zabaluev <mhz@altlinux.org>, r+sr=bryner


git-svn-id: svn://10.0.0.236/trunk@202757 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 17:06:39 +00:00
jst%mozilla.jstenback.com
78c6921340 Fixing bug 343175. Make the popup blocker events point to the window on which the popup open was attempted rather than that window's top window. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@202380 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 14:41:51 +00:00
jst%mozilla.jstenback.com
27bac292b4 Fixing bug 344439. Add cast to make the comparison between a 64-bit signed int and a 32-bit unsigned int work as intended on 64-bit platforms. r=mrbkap@gmail.com, sr=dbaron@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@202333 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 14:24:41 +00:00
leon.sha%sun.com
003b992100 Bugzilla Bug 344199
nsDOMScriptObjectFactory::GetScriptRuntimeByID should fill in the array for fast lookup.
Patch by alfred.peng@sun.com
mhammond: review+
bzbarsky: superreview+


git-svn-id: svn://10.0.0.236/trunk@202293 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 02:57:06 +00:00
mhammond%skippinet.com.au
00ad9f4e8c Fix bug 341605 - Unused params warnings in nsJSEventListener.cpp
r=mrbkap, sr=bz


git-svn-id: svn://10.0.0.236/trunk@202275 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:27:17 +00:00
sharparrow1%yahoo.com
6a8fff97b1 Bug 334588: Choose font consistently for page headers/footers, and remove localized header font name and size. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@202147 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 16:07:28 +00:00
mrbkap%gmail.com
d66062c80a Make the navigator object readonly, since that's what the IDL says to do. bug 342490, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@202052 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 18:27:35 +00:00
peterv%propagandism.org
5289ad14e0 Fix for bug 334806 (Update to Expat 2.0.0). r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@202014 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 12:50:58 +00:00
Olli.Pettay%helsinki.fi
eb46e4eecd Bug 335251, prevent load events to propagate to window, r=bz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@201955 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 17:59:16 +00:00
mrbkap%gmail.com
8da07e3a1b Fixing DEBUG-only bustage
git-svn-id: svn://10.0.0.236/trunk@201917 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 00:26:56 +00:00
mrbkap%gmail.com
d9a4aebdab Make this ifdef'd off code compile.
git-svn-id: svn://10.0.0.236/trunk@201911 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:58:03 +00:00
mrbkap%gmail.com
7528865248 Don't create a 0-length array, since we expect it to have at least one member later on. bug 343283, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@201909 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:39:52 +00:00
mrbkap%gmail.com
0f8aa74e71 Make Function (and window.Function refer to the correct window's function). bug 343966, r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@201908 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:28:09 +00:00
mrbkap%gmail.com
84c44f5b10 Add a couple of functions to make debuggin easier:
* JSObject2Win: Given a context and a |JSObject *|, it returns an nsGlobalWindow pointer if the JSObject is wrapping a window.
  * PrintWinURI: Given an nsGlobalWindow, it prints its document's URI.
  * PrintWinCodebase: As above, but using the window's principal's codebase.

bug 344181, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@201903 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 21:03:52 +00:00
jst%mozilla.jstenback.com
5441291828 Fixing bug 337311. Make window.open() use the principal of the callee object when deciding what to session storage object to clone for the new window. r=mrbkap@gmail.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@201855 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 00:27:05 +00:00
jst%mozilla.jstenback.com
78f76c8fff Fixing bug 337755. Make IsCallerSecure() properly deal with nested URI objects. r=enndeakin@sympatico.ca, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@201854 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-10 23:59:45 +00:00
beng%bengoodger.com
2d452d8acb 340179 - update to include better comments and canonical contract id format for embeddor-implemented components r=darin
git-svn-id: svn://10.0.0.236/trunk@201650 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 03:00:37 +00:00
cvshook%sicking.cc
ddab53ff51 Bug 342274: Add ability to turn off loading of external documents during xslt transformation. r/sr=peterv (parts by myk, r/sr=me)
git-svn-id: svn://10.0.0.236/trunk@201632 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 00:33:24 +00:00
jst%mozilla.jstenback.com
fc1a7432cb Fixing bug 334891. Prevent window.close() from closing the window if there's a modal dialog parented at the window. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@201619 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 22:48:04 +00:00
bzbarsky%mit.edu
e0fb3b71a6 Backing out attempted fix for bug 341592, since it didn't fix it, apparently,
and caused bug 341700.


git-svn-id: svn://10.0.0.236/trunk@201204 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 04:58:51 +00:00
bzbarsky%mit.edu
db81021377 Backing out attempted fix for bug 341592, since it didn't fix it, apparently,
and caused bug 341700.


git-svn-id: svn://10.0.0.236/trunk@201201 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 04:30:51 +00:00
beng%bengoodger.com
4573280ce3 340179 - implement web applications 1.0 'registerContentHandler' method on navigator. r=sicking sr=darin
git-svn-id: svn://10.0.0.236/trunk@201174 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 00:56:52 +00:00
tor%cs.brown.edu
e7b3784930 Bug 339867 - nsIDOMSVGViewSpec interface doesn't exist. r=jwatt, sr=roc
git-svn-id: svn://10.0.0.236/trunk@201144 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 21:48:57 +00:00
mrbkap%gmail.com
a0ebd8d009 Cache cx to make timeless happy. No bug, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201017 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 18:18:26 +00:00
mrbkap%gmail.com
4b5219d606 Actually throw an exception when the first argument to setTimeout or setInterval is not a valid callable function. bug 342448, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201012 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 17:51:42 +00:00
brettw%gmail.com
63805b0c56 Bug 337631 (for pkasting@google.com) r=bryner sr=bz Support document.activeElement and document.hasFocus
git-svn-id: svn://10.0.0.236/trunk@200968 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:39:09 +00:00
gavin%gavinsharp.com
bf7856fc21 Bug 342677: select.options.add(null) crashes, patch by Alex Vincent <ajvincent@gmail.com>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@200959 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:06:48 +00:00
mrbkap%gmail.com
a88c325356 Resolve standard classes even when assigning to give them a chance to initialize
themselves to avoid them overriding the assigned value when they're used internally
the first time. bug 342359, r=brendan sr=jst


git-svn-id: svn://10.0.0.236/trunk@200941 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 21:22:12 +00:00
silver%warwickcompsoc.co.uk
f5ff685a56 Partial backout of bug 341919 to fix bustage caused by DOM_AGNOSTIC3_BRANCH landing.
git-svn-id: svn://10.0.0.236/trunk@200855 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 11:11:57 +00:00
silver%warwickcompsoc.co.uk
bc82662e97 Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst
git-svn-id: svn://10.0.0.236/trunk@200854 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 10:36:28 +00:00
bzbarsky%mit.edu
4333e4ba51 Expose UniversalXPConnect-JS-only getters for Node.nodePrincipal,
Node.baseURIObject and Document.documentURIObject.  These return nsIPrincipal,
nsIURI, and nsIURI respectively; what the URIs are should be obvious.  Bug
324464, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@200691 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:43:29 +00:00
gijskruitbosch%gmail.com
4f58af4765 Bug 341764 - Should be able to debug from the slow script dialog if a debugger is present
r=bsmedberg for makefile changes and r=sicking for dom changes
sr=shaver


git-svn-id: svn://10.0.0.236/trunk@200621 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 21:30:49 +00:00
bzbarsky%mit.edu
c28a6c9e15 Use the event targe as the scope when wrapping event handler args so that the
event handler can access them.  Bug 342235, r=mhammond, sr=jst


git-svn-id: svn://10.0.0.236/trunk@200556 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 02:02:33 +00:00
mrbkap%gmail.com
f9aa89271c Deal with converting null values to jsvals. bug 342219, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200538 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-21 22:10:35 +00:00
mrbkap%gmail.com
712dd9670d Don't allow getting standard classes through XPCNativeWrapper. bug 338523, r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200493 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-21 01:28:44 +00:00
mrbkap%gmail.com
e63f8cc662 Hold a true weak reference to the location's docshell since the window won't
always be able to clear the docshell out. bug 338288, r=jst sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@200450 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 18:56:03 +00:00
mrbkap%gmail.com
bac6f4c1c8 Use the compiler to help us catch any potential missing cases. No bug, verbal r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@200445 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 18:03:34 +00:00
dbaron%dbaron.org
01293d1a60 Root the result of JSObjectFromInterface. b=341640 r=markh sr=jst
git-svn-id: svn://10.0.0.236/trunk@200381 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 00:38:46 +00:00
jst%mozilla.jstenback.com
cb7503afe8 Fixing bug 340144. Crash if calling sessionStorage.removeItem() with a non-existing key. r=enndeakin@sympatico.ca, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@200373 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:48:07 +00:00
brettw%gmail.com
7010948430 Bug 335291 r+sr=bz Make trunk popup events safer
git-svn-id: svn://10.0.0.236/trunk@200320 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 16:54:53 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
pamg.bugs%gmail.com
f18ef37a89 Bug 337780: support window.external.AddSearchProvider('URL'). r=gavin.sharp, ben@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@200166 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 23:50:29 +00:00