Граф коммитов

3021 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu e9379f3679 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
2006-08-15 17:31:16 +00:00
uriber%gmail.com eea5f70af1 Handle cmd_ScrollPageUp/Down in caret browsing mode. bug=202157 r+sr=bzbarsky 2006-08-15 08:08:11 +00:00
tor%cs.brown.edu 35d05a571f Bug 345085 - create common base class for path segments.
Patch by amenzie@us.ibm.com, r=tor, sr=roc
2006-08-10 22:17:14 +00:00
mhammond%skippinet.com.au 563a6a6d32 Correct assertion message, as requested by bz 2006-08-06 09:31:14 +00:00
mhammond%skippinet.com.au d080f2939a Fix 345521: "return 0" in handler cancels events, r/sr=bz 2006-08-06 09:29:10 +00:00
mhammond%skippinet.com.au a36f9ead4e Fix bug 345535: crash [@js_GetSlotThreadSafe]. r/sr=brendan. 2006-08-06 09:15:43 +00:00
rob_strong%exchangecode.com 8fd3f51fc5 Bug 345993 - Make the full Build ID more accessible to testers. patch=zach, r=rob_strong, sr=jst 2006-07-31 21:30:16 +00:00
jst%mozilla.jstenback.com 76ed999a5a 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 2006-07-29 16:59:20 +00:00
peterv%propagandism.org 95072c9b1c Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz 2006-07-29 16:02:11 +00:00
igor.bukanov%gmail.com 13764b426d Bug 342854: Using JSContext callback to ensure that C stack limit is always set. r=brendan,mrbkap,sr=jst 2006-07-29 08:39:04 +00:00
pkasting%google.com 2070e797b8 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking
2006-07-29 00:04:40 +00:00
joshmoz%gmail.com 7ad51b9919 Naked hostname isn't very effective for identifying dialog origin. b=334893 r=mento sr=dveditz 2006-07-28 22:06:39 +00:00
longsonr%gmail.com beeec7ced8 Bug 329848 - fix build warning r+sr=tor 2006-07-28 16:52:58 +00:00
jst%mozilla.jstenback.com d4f77d8447 Fixing build bustage by backing out part of my last change. 2006-07-27 23:30:45 +00:00
jst%mozilla.jstenback.com 02087132d6 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 2006-07-27 22:36:36 +00:00
longsonr%gmail.com 674de4d947 Bug 329848 - Replace invalid transform-attribute parse error assertion by Error Console log r=bzbarsky,sr=tor 2006-07-27 11:58:05 +00:00
vladimir%pobox.com 31c8e763e7 b=334174, corrupted db files are not handled correctly, r=brettw 2006-07-26 18:54:12 +00:00
jst%mozilla.jstenback.com f35b32ce84 Fixing bug 345791. Removing unused method nsPIDOMWindow::GetObjectProperty(). r=mrbkap@gmail.com, sr=bugmail@sicking.cc 2006-07-25 23:57:10 +00:00
brettw%gmail.com 0653b5c604 Bug 334675 r=darin a=mconnor Notify users on async IO errors 2006-07-25 17:04:48 +00:00
jst%mozilla.jstenback.com 12eacb624a 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 2006-07-20 15:13:55 +00:00
Olli.Pettay%helsinki.fi 2feab595a1 Bug 337436, Crash [@ nsGlobalWindow::Blur] when window gets destroyed during blur event, r+sr=jst 2006-07-20 07:11:34 +00:00
bzbarsky%mit.edu 535042aed4 Slight tweak per biesi's comments. Bug 343850 2006-07-19 13:27:53 +00:00
mhammond%skippinet.com.au ca11f368e4 Bug 341915: can we move nsIScriptContext(Owner) from dom to xpconnect
r=timeless, sr=jst
2006-07-19 04:15:50 +00:00
bzbarsky%mit.edu 64f82c69be Make nsJSChannel follow the nsIChannel interface contract better. Bug 343850,
r=darin, sr=jst
2006-07-19 00:53:11 +00:00
bzbarsky%mit.edu f014254c5c Update mUpdateWindowWatcher even if mActive is false. Bug 343650, patch by
Mikhail Zabaluev <mhz@altlinux.org>, r+sr=bryner
2006-07-18 17:06:39 +00:00
jst%mozilla.jstenback.com 53a6fa9bae 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 2006-07-18 14:41:51 +00:00
jst%mozilla.jstenback.com 74416a004a 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 2006-07-18 14:24:41 +00:00
leon.sha%sun.com 09055a889b Bugzilla Bug 344199
nsDOMScriptObjectFactory::GetScriptRuntimeByID should fill in the array for fast lookup.
Patch by alfred.peng@sun.com
mhammond: review+
bzbarsky: superreview+
2006-07-18 02:57:06 +00:00
mhammond%skippinet.com.au 60526043fd Fix bug 341605 - Unused params warnings in nsJSEventListener.cpp
r=mrbkap, sr=bz
2006-07-18 00:27:17 +00:00
sharparrow1%yahoo.com b3040b6648 Bug 334588: Choose font consistently for page headers/footers, and remove localized header font name and size. r+sr=roc. 2006-07-14 16:07:28 +00:00
mrbkap%gmail.com b78e99d07b Make the navigator object readonly, since that's what the IDL says to do. bug 342490, r+sr=jst 2006-07-13 18:27:35 +00:00
peterv%propagandism.org 0f613030f3 Fix for bug 334806 (Update to Expat 2.0.0). r=mrbkap, sr=jst. 2006-07-13 12:50:58 +00:00
Olli.Pettay%helsinki.fi 1b31151599 Bug 335251, prevent load events to propagate to window, r=bz, sr=jst 2006-07-12 17:59:16 +00:00
mrbkap%gmail.com d109ff536a Fixing DEBUG-only bustage 2006-07-12 00:26:56 +00:00
mrbkap%gmail.com 182f617289 Make this ifdef'd off code compile. 2006-07-11 22:58:03 +00:00
mrbkap%gmail.com 0756408592 Don't create a 0-length array, since we expect it to have at least one member later on. bug 343283, r+sr=jst 2006-07-11 22:39:52 +00:00
mrbkap%gmail.com 187a2fd074 Make Function (and window.Function refer to the correct window's function). bug 343966, r=jst sr=brendan 2006-07-11 22:28:09 +00:00
mrbkap%gmail.com a9ba7ca2e0 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
2006-07-11 21:03:52 +00:00
jst%mozilla.jstenback.com 9e02934ca2 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 2006-07-11 00:27:05 +00:00
jst%mozilla.jstenback.com 4e52d88cf2 Fixing bug 337755. Make IsCallerSecure() properly deal with nested URI objects. r=enndeakin@sympatico.ca, sr=bugmail@sicking.cc 2006-07-10 23:59:45 +00:00
beng%bengoodger.com 648682c26e 340179 - update to include better comments and canonical contract id format for embeddor-implemented components r=darin 2006-07-06 03:00:37 +00:00
cvshook%sicking.cc d6fc93d5fd Bug 342274: Add ability to turn off loading of external documents during xslt transformation. r/sr=peterv (parts by myk, r/sr=me) 2006-07-06 00:33:24 +00:00
jst%mozilla.jstenback.com b271739439 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 2006-07-05 22:48:04 +00:00
bzbarsky%mit.edu ccc3f756b5 Backing out attempted fix for bug 341592, since it didn't fix it, apparently,
and caused bug 341700.
2006-06-29 04:58:51 +00:00
bzbarsky%mit.edu 89ff2ee84f Backing out attempted fix for bug 341592, since it didn't fix it, apparently,
and caused bug 341700.
2006-06-29 04:30:51 +00:00
beng%bengoodger.com 67e881f1de 340179 - implement web applications 1.0 'registerContentHandler' method on navigator. r=sicking sr=darin 2006-06-29 00:56:52 +00:00
tor%cs.brown.edu 11fc07712a Bug 339867 - nsIDOMSVGViewSpec interface doesn't exist. r=jwatt, sr=roc 2006-06-28 21:48:57 +00:00
mrbkap%gmail.com 72312f04b0 Cache cx to make timeless happy. No bug, r+sr=bzbarsky 2006-06-27 18:18:26 +00:00
mrbkap%gmail.com 4bf3111949 Actually throw an exception when the first argument to setTimeout or setInterval is not a valid callable function. bug 342448, r+sr=bzbarsky 2006-06-27 17:51:42 +00:00
brettw%gmail.com 3fc878c342 Bug 337631 (for pkasting@google.com) r=bryner sr=bz Support document.activeElement and document.hasFocus 2006-06-26 22:39:09 +00:00
gavin%gavinsharp.com e93d1088d8 Bug 342677: select.options.add(null) crashes, patch by Alex Vincent <ajvincent@gmail.com>, r+sr=jst 2006-06-26 22:06:48 +00:00
mrbkap%gmail.com 80bbd167fe 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
2006-06-26 21:22:12 +00:00
silver%warwickcompsoc.co.uk 8470c91b81 Partial backout of bug 341919 to fix bustage caused by DOM_AGNOSTIC3_BRANCH landing. 2006-06-26 11:11:57 +00:00
silver%warwickcompsoc.co.uk 9405c42b36 Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst 2006-06-26 10:36:28 +00:00
bzbarsky%mit.edu 1a01989d57 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
2006-06-23 16:43:29 +00:00
gijskruitbosch%gmail.com 47d988e74e 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
2006-06-22 21:30:49 +00:00
bzbarsky%mit.edu 3149cce617 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
2006-06-22 02:02:33 +00:00
mrbkap%gmail.com 1d3af57cc6 Deal with converting null values to jsvals. bug 342219, r+sr=bzbarsky 2006-06-21 22:10:35 +00:00
mrbkap%gmail.com fc25ea6691 Don't allow getting standard classes through XPCNativeWrapper. bug 338523, r=jst sr=bzbarsky 2006-06-21 01:28:44 +00:00
mrbkap%gmail.com 153505e51e 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
2006-06-20 18:56:03 +00:00
mrbkap%gmail.com 16e4a148ca Use the compiler to help us catch any potential missing cases. No bug, verbal r+sr=jst 2006-06-20 18:03:34 +00:00
dbaron%dbaron.org 1e59619db8 Root the result of JSObjectFromInterface. b=341640 r=markh sr=jst 2006-06-20 00:38:46 +00:00
jst%mozilla.jstenback.com 1eebb3195b Fixing bug 340144. Crash if calling sessionStorage.removeItem() with a non-existing key. r=enndeakin@sympatico.ca, sr=bzbarsky@mit.edu 2006-06-19 23:48:07 +00:00
brettw%gmail.com a54888a781 Bug 335291 r+sr=bz Make trunk popup events safer 2006-06-19 16:54:53 +00:00
timeless%mozdev.org 27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
pamg.bugs%gmail.com 5e14b068e0 Bug 337780: support window.external.AddSearchProvider('URL'). r=gavin.sharp, ben@mozilla.org 2006-06-16 23:50:29 +00:00
Olli.Pettay%helsinki.fi 844d4b832e I don't think this caused tp regression 2006-06-16 09:29:25 +00:00
Olli.Pettay%helsinki.fi 55c1dcb084 backing out to test if this caused tp regression 2006-06-16 08:05:18 +00:00
bclary%bclary.com 84b26ca512 Bug 340036: Script tag should support version 1.7, r=mrbkap, r=peterv, sr=brendan 2006-06-15 21:47:59 +00:00
Olli.Pettay%helsinki.fi 25f0b15442 Bug 320982, Crash when browse this Site over top menu [@ nsGlobalWindow::RunTimeout], r=mrbkap, sr=bryner 2006-06-15 19:19:51 +00:00
mhammond%skippinet.com.au 18afaedffe Fix bug 341592 (Crash on first start of Sunbird - "Failed to get the
script language").  r/sr=bz
2006-06-15 06:29:52 +00:00
mhammond%skippinet.com.au ccc589524a Fix bug 341535 (Crash: nsGlobalWindow::RunTimeout assumes aTimeout is not null)
r=mrbkap, sr=shaver
2006-06-15 00:07:28 +00:00
mrbkap%gmail.com d5211b93e3 Fix crashiness resulting from a bad cast. Instead, use proper types and actually get the right pointer. bug 341363, r+sr+a=bzbarsky 2006-06-13 22:43:48 +00:00
mrbkap%gmail.com c4e7ac3d95 Fix a silly think-o regression from bug 255942 that is preventing clearTimeout from working. bug 341360, r+sr+a=bzbarsky 2006-06-13 20:08:59 +00:00
mhammond%skippinet.com.au 0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
mrbkap%gmail.com 98997f8669 Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
mrbkap%gmail.com 8f01b34f73 Protect against null contexts. bug 340602, r+sr=roc 2006-06-07 17:15:51 +00:00
mrbkap%gmail.com 93965c8a5a Attempt to gain back some of the optimization that bug 339918 disabled. bug 340537, r+sr=bzbarsky 2006-06-06 22:02:15 +00:00
bzbarsky%mit.edu bb949d3db9 Remove XULAttr classinfo, and make Attr use NodeSH. Bug 336849, r=sicking, sr=jst 2006-06-06 15:42:41 +00:00
mrbkap%gmail.com 229aa0627e Just because there isn't a stack frame with a function object doesn't mean that code isn't running. bug 339918, r=jst sr=brendan 2006-06-05 20:55:59 +00:00
brendan%mozilla.org 928b5dc750 Fix orange balsa by landing mrbkap's patch for 326497, plus other fixes (340340, r=mrbkap). 2006-06-05 07:18:02 +00:00
timeless%mozdev.org 4fceb5193b Bug 337917 Make consumers stop using cids from other modules
r=neil sr=darin
2006-06-03 23:42:13 +00:00
timeless%mozdev.org a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
dbaron%dbaron.org cd4d6ee0e9 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky 2006-06-01 18:35:21 +00:00
Olli.Pettay%helsinki.fi d66da853d4 Bug 338897, Popup window crashes browser on close via javascript [@ nsLayoutUtils::HasPseudoStyle] r+sr=jst 2006-05-29 07:04:07 +00:00
timeless%mozdev.org 42881454a3 Bug 339488 Coverity complains that the wrong variable is null checked
r=dbaron sr=dbaron
2006-05-28 15:16:47 +00:00
jwatt%jwatt.org 86377ed93f Fixing bug 328368. nsIDOMSVGSVGElement's getCurrentTime method is overridden by windows macro. r+sr=tor@acm.org 2006-05-26 15:40:48 +00:00
dbaron%dbaron.org 5c13c92f24 Create a mechanism to allow GC participants to be marked as externally reachable due to network loads, make XMLHttpRequest a GC participant and use nsMarkedJSFunctionHolder to manage its event listeners just like DOM event listeners to avoid leaks due to cycles. b=206520 r=mrbkap, darin, bzbarsky sr=jst 2006-05-26 01:00:21 +00:00
gavin%gavinsharp.com b581167b49 Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky 2006-05-25 21:22:32 +00:00
mrbkap%gmail.com bf6a9597f9 Use the correct signedness here. bug 337951, r+sr=jst 2006-05-23 22:24:03 +00:00
benjamin%smedbergs.us 101371d410 Fix libxul linkage for DOMStorage, no bug. 2006-05-23 17:55:17 +00:00
mrbkap%gmail.com c0140ec246 Normalize values before using them as timeouts to avoid hardware and os-dependent behaviors involving comparisons to NaN and infinity. bug 337951, r+sr=jst 2006-05-22 23:02:12 +00:00
bryner%brianryner.com 6fb8bf0b4f Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst. 2006-05-22 20:37:32 +00:00
bryner%brianryner.com a5e5a4579c backing out 336696, I checked in the wrong version of the patch 2006-05-22 18:03:16 +00:00
bryner%brianryner.com 87831f25b1 Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst. 2006-05-22 16:18:45 +00:00
neil%parkwaycc.co.uk 3248558526 Missing NS_DEFINE_STATIC_IID_ACCESSOR b=338667 rs=bsmedberg 2006-05-22 14:43:22 +00:00
peterv%propagandism.org cde6bb8697 Fix for bug 337047 (Remove unused DOMCI data). r/sr=jst. 2006-05-21 20:11:11 +00:00
vladimir%pobox.com 0b34b77591 b=338477 - implement whatwg isPointInPath/getImageData/putImageData canvas API; b=338545, canvas doesn't fully reset on resize; r=mrbkap 2006-05-20 09:22:30 +00:00
jst%mozilla.jstenback.com f6475f5ff0 Set emacs mode to C++ in C++ files. No code changes. 2006-05-19 15:33:12 +00:00
benjamin%smedbergs.us f261e3c3b6 Bug 331117 - Layout module shold not shut down until all documents/windows have been released, r+sr=dbaron 2006-05-19 09:31:57 +00:00