2969 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
2e5f16e541 Block window.close() calls on a window which just had a popup blocked. This
allows the popup notification to actually be visible to the user.  Bug 297980,
patch by Joerg Bornemann <jobor@gmx.de>, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@208764 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 22:25:12 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
bzbarsky%mit.edu
0485771107 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@208365 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 23:23:06 +00:00
bzbarsky%mit.edu
4e376c51c2 Work around hidden window stuff. Bug 346984 super-hacky patch, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@208355 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 21:49:14 +00:00
enndeakin%sympatico.ca
bb48b12712 Bug 341524, DOM storage should follow cookie prefs
git-svn-id: svn://10.0.0.236/trunk@207903 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-19 01:21:58 +00:00
bzbarsky%mit.edu
0583386559 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
uriber%gmail.com
c28152bc2b Handle cmd_ScrollPageUp/Down in caret browsing mode. bug=202157 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207427 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 08:08:11 +00:00
tor%cs.brown.edu
41f6387988 Bug 345085 - create common base class for path segments.
Patch by amenzie@us.ibm.com, r=tor, sr=roc


git-svn-id: svn://10.0.0.236/trunk@207108 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 22:17:14 +00:00
mhammond%skippinet.com.au
9329a9e02d Correct assertion message, as requested by bz
git-svn-id: svn://10.0.0.236/trunk@206666 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 09:31:14 +00:00
mhammond%skippinet.com.au
a902af60b1 Fix 345521: "return 0" in handler cancels events, r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@206665 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 09:29:10 +00:00
mhammond%skippinet.com.au
492cde1735 Fix bug 345535: crash [@js_GetSlotThreadSafe]. r/sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@206663 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 09:15:43 +00:00
rob_strong%exchangecode.com
6905816736 Bug 345993 - Make the full Build ID more accessible to testers. patch=zach, r=rob_strong, sr=jst
git-svn-id: svn://10.0.0.236/trunk@206211 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 21:30:16 +00:00
jst%mozilla.jstenback.com
a9d465a5f0 Fixing bug 343772. Make our popup blocking code check if the top window's location is whitelisted when checking if a popup is blocked. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@206065 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 16:59:20 +00:00
peterv%propagandism.org
9f941437ae Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@206062 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 16:02:11 +00:00
igor.bukanov%gmail.com
f96eaa3597 Bug 342854: Using JSContext callback to ensure that C stack limit is always set. r=brendan,mrbkap,sr=jst
git-svn-id: svn://10.0.0.236/trunk@205904 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 08:39:04 +00:00
pkasting%google.com
0f0eee34d2 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
joshmoz%gmail.com
94e491bb61 Naked hostname isn't very effective for identifying dialog origin. b=334893 r=mento sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@205088 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 22:06:39 +00:00
longsonr%gmail.com
35205528d5 Bug 329848 - fix build warning r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@205051 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 16:52:58 +00:00
jst%mozilla.jstenback.com
f44d5f241d Fixing build bustage by backing out part of my last change.
git-svn-id: svn://10.0.0.236/trunk@205005 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 23:30:45 +00:00
jst%mozilla.jstenback.com
e60fe84ab3 Fixing bug 335058. Increase the default for the time we wait (from 5 to 10 seconds) before alerting the user about a possibly infinitely looping script, and give chrome an independent limit (20 seconds). r=bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@205000 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 22:36:36 +00:00
longsonr%gmail.com
cdb2917fa8 Bug 329848 - Replace invalid transform-attribute parse error assertion by Error Console log r=bzbarsky,sr=tor
git-svn-id: svn://10.0.0.236/trunk@203812 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 11:58:05 +00:00
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