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

3047 Коммитов

Автор SHA1 Сообщение Дата
mhammond%skippinet.com.au 9ba0f844b5 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 f2ae79785c 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 1c10dccdac 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 ca8253fbaf 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 5121d52bba 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 a69dd2be53 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 b27c158f7a Fix bug 341605 - Unused params warnings in nsJSEventListener.cpp
r=mrbkap, sr=bz
2006-07-18 00:27:17 +00:00
sharparrow1%yahoo.com 38abc36995 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 0c3f6f43d3 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 06a64bca01 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 c1d64b100a Bug 335251, prevent load events to propagate to window, r=bz, sr=jst 2006-07-12 17:59:16 +00:00
mrbkap%gmail.com 18c895443a Fixing DEBUG-only bustage 2006-07-12 00:26:56 +00:00
mrbkap%gmail.com 0439c5a0df Make this ifdef'd off code compile. 2006-07-11 22:58:03 +00:00
mrbkap%gmail.com 40003b0c9a 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 7c195b476e 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 f87ea471ee 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 1f835de09a 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 200f1fb827 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 27c563ea3d 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 aee1bf5b8c 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 6897f4514e 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 58471f58e5 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 e23482576a 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 6506dcd934 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 79230887b2 Bug 339867 - nsIDOMSVGViewSpec interface doesn't exist. r=jwatt, sr=roc 2006-06-28 21:48:57 +00:00
mrbkap%gmail.com ec6a9c5089 Cache cx to make timeless happy. No bug, r+sr=bzbarsky 2006-06-27 18:18:26 +00:00
mrbkap%gmail.com fe0e4a1530 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 219fb28390 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 0ce836101a 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 965e2a766b 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 809acd011e 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 bfbdc4c8ec Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst 2006-06-26 10:36:28 +00:00
bzbarsky%mit.edu 8416fb770f 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 bb2100f27a 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 59f2d008d8 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 37e6d74d0b Deal with converting null values to jsvals. bug 342219, r+sr=bzbarsky 2006-06-21 22:10:35 +00:00
mrbkap%gmail.com c3ae1f60b7 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 6c8d1b05e5 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 71cd2a80a0 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 b5743aca18 Root the result of JSObjectFromInterface. b=341640 r=markh sr=jst 2006-06-20 00:38:46 +00:00
jst%mozilla.jstenback.com b0f9f4aa31 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 fa844bcd6d Bug 335291 r+sr=bz Make trunk popup events safer 2006-06-19 16:54:53 +00:00
timeless%mozdev.org 64a760c3c0 Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
pamg.bugs%gmail.com bccac510e3 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 93a959f189 I don't think this caused tp regression 2006-06-16 09:29:25 +00:00
Olli.Pettay%helsinki.fi 051874bd14 backing out to test if this caused tp regression 2006-06-16 08:05:18 +00:00
bclary%bclary.com cc4c42a134 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 4e5718a107 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 26a76bc2a1 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 56b8979668 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 e48227502d 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 095509a17b 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 d5ad1dc2b9 Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
mrbkap%gmail.com 43895f48e7 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 351b267f3b Protect against null contexts. bug 340602, r+sr=roc 2006-06-07 17:15:51 +00:00
mrbkap%gmail.com f9eee2880d 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 088a10e798 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 48b1737752 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 ae9bc36df7 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 25faaa6896 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 9391198a55 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 61dd5c50db 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 8b173548bd 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 bab1ab1105 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 33fea5fdaa 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 419e8ff863 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 b9b66cc05b 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 4e490726a3 Use the correct signedness here. bug 337951, r+sr=jst 2006-05-23 22:24:03 +00:00
benjamin%smedbergs.us a0198f38e6 Fix libxul linkage for DOMStorage, no bug. 2006-05-23 17:55:17 +00:00
mrbkap%gmail.com d9d26911f7 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 14c8ade4c5 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 de811b24ec backing out 336696, I checked in the wrong version of the patch 2006-05-22 18:03:16 +00:00
bryner%brianryner.com ac1c3b1456 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 2b457eb0eb Missing NS_DEFINE_STATIC_IID_ACCESSOR b=338667 rs=bsmedberg 2006-05-22 14:43:22 +00:00
peterv%propagandism.org 97c5bea9a9 Fix for bug 337047 (Remove unused DOMCI data). r/sr=jst. 2006-05-21 20:11:11 +00:00
vladimir%pobox.com ab39366c02 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 e318982cf2 Set emacs mode to C++ in C++ files. No code changes. 2006-05-19 15:33:12 +00:00
benjamin%smedbergs.us 68537c76ad 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
jst%mozilla.jstenback.com 4ce1a1ed2a Uninlining nsSessionStorageEntry ctor and dtor to fix build bustage, and adding missing NS_ENSURE_SUCCESS(). 2006-05-19 08:02:27 +00:00
jst%mozilla.jstenback.com d4c5d1978f Attempting to fix win32 build bustage. 2006-05-19 07:21:43 +00:00
jst%mozilla.jstenback.com 277dce8837 Tweak last crash fix to do the right thing. 2006-05-19 07:21:09 +00:00
jst%mozilla.jstenback.com 4df825703e Fixing crash when aData is null in nsGlobalWindow:Observe() when observing dom storage notifications. Fallout from bug 335540. 2006-05-19 06:51:10 +00:00
jst%mozilla.jstenback.com 2fa424d56e Fixing bug 335540. Implement whatwg webapps storage. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/vlad/jst. 2006-05-19 05:57:36 +00:00
brendan%mozilla.org b38278fc5b Missing NS_OK from roc's checkin, in nsGlobalWindow::FireDelayedDOMEvents. 2006-05-17 13:32:52 +00:00
timeless%mozdev.org 1b825326c2 Reverting. This is the wrong way to address the item. 2006-05-11 14:04:09 +00:00
timeless%mozdev.org 51210a6fce Bug 334290 nsJSEventListener::HandleEvent inconsistently uses &stackPtr/stackPtr for JS_(Push|Pop)Arguments
r=jst sr=jst
2006-05-11 13:13:01 +00:00
darin%meer.net 7d3e7d7acd landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de 1fe4516c9f bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
bzbarsky%mit.edu 06e999a39b More IsNodeOfType. Bug 336822, r+sr=sicking 2006-05-06 03:25:58 +00:00
myk%mozilla.org c5b8e2d95e Initial support for microsummaries via a service and integration into the bookmarks UI.
bug=334471
r=brettw
a=ben for the branch
2006-05-05 22:45:37 +00:00
cvshook%sicking.cc 36f352636c Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
dbaron%dbaron.org 6b3334799e 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 2006-05-04 19:12:26 +00:00
roc+%cs.cmu.edu 8cbb7632ce Bug 336359. Fire WHATWG online/offline events when the browser offline status changes. r+sr=darin 2006-05-03 21:53:08 +00:00
vladimir%pobox.com 9deeec1b6b b=336331, fix toDataURL to be more in line with the whatwg spec, r+sr=roc 2006-05-03 00:48:27 +00:00
bzbarsky%mit.edu fca88cd9e1 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
2006-05-02 18:54:19 +00:00
bzbarsky%mit.edu 533eb3c678 Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
jwatt%jwatt.org e4139dd0a7 Fixing bug 335450. Remove our extensions to the SVG DOM interfaces. r=tor@acm.org, sr=roc@ocallahan.org 2006-04-26 21:02:25 +00:00
neil%parkwaycc.co.uk de6fc340e9 Improve box object hashtable storage b=326931 r=jst sr=bz 2006-04-26 12:42:49 +00:00
peterv%propagandism.org e34275039b Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst. 2006-04-26 09:19:48 +00:00
axel%pike.org 74e36ef92d bug 328956, chop dead wood off of toolkit, r=ben 2006-04-26 08:10:41 +00:00
roc+%cs.cmu.edu d23fe29f4c Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 01:57:22 +00:00
dbaron%dbaron.org b2976a3673 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 2006-04-25 16:49:47 +00:00
mrbkap%gmail.com 100614cf8e 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. 2006-04-24 19:27:25 +00:00
vladimir%pobox.com 224933de70 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart 2006-04-18 21:23:15 +00:00
bzbarsky%mit.edu 16a6738a82 Make sure to always initialize rv. Bug 334233, r+sr=jst 2006-04-17 23:24:38 +00:00
bzbarsky%mit.edu a7d5abbf9a Fix typo. This checkin and the previous one are both for bug 334245. 2006-04-17 22:29:45 +00:00
bzbarsky%mit.edu 5b460ad0df addEventListener has 3 args, not 0. r+sr+branch181=jst 2006-04-17 22:05:42 +00:00
timeless%mozdev.org d833e0459f Bug 333837 Crash in [@ nsJSContext::nsJSContext] / XUL / DOM
r=jst sr=bz
2006-04-16 09:17:46 +00:00
mrbkap%gmail.com 82cf1531d4 -- 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
2006-04-15 00:37:51 +00:00
tor%cs.brown.edu e1cbcc69e9 Bug 332162 - deCOMtaminate SVGLength. r=jwatt, sr=roc 2006-04-14 15:09:39 +00:00
bzbarsky%mit.edu 6c5d019ee9 Remove non-IDL interfaces from classinfo list. Bug 327156, r+sr+branch181=jst 2006-04-13 18:54:48 +00:00
gavin%gavinsharp.com 652e44bfc3 Bug 331614: window.open unnecessarily escapes all URLs (can't handle IDN/extended domain-names), r=bzbarsky, sr=darin 2006-04-12 18:34:36 +00:00
Olli.Pettay%helsinki.fi 388290ba7e Bug 330494, changing the category names per bz' suggestion 2006-04-11 17:05:25 +00:00
jst%mozilla.jstenback.com 3820cfcf55 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 2006-04-11 03:49:44 +00:00
mrbkap%gmail.com d13fdde6ec Fixing build bustage 2006-04-10 22:16:34 +00:00
mrbkap%gmail.com aa30098ef8 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. 2006-04-10 21:40:28 +00:00
Olli.Pettay%helsinki.fi daa66aba0f Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst 2006-04-10 17:04:54 +00:00
kairo%kairo.at 44a8e18641 bug 328317 - merge platform .jar files into en-US.jar, r=mento for the mozilla/config changes r=jag sr=Neil 2006-04-08 11:49:47 +00:00
bzbarsky%mit.edu 412c1c2920 First part of fix for bug 309721, r+sr=jst 2006-04-08 03:23:37 +00:00
bzbarsky%mit.edu bc79941a18 When running javascript: URIs in chrome, fall back on a null principal instead
of crashing.  Bug 328697, r=mrbkap, sr=jst
2006-04-08 01:46:29 +00:00
bryner%brianryner.com fa4bb1fc7f Back out patch for bug 332640 to fix regression bug 333051. r+sr-bzbarsky 2006-04-08 01:46:06 +00:00
bryner%brianryner.com 3131353bc6 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. 2006-04-06 17:06:21 +00:00
martijn.martijn%gmail.com d41ebb7f6e Bug 332285 - Fixing my screw-up, r+sr=roc 2006-04-04 20:47:24 +00:00
bzbarsky%mit.edu a387e5f3f3 More happy rooting. Bug 328007, r=sicking, sr=brendan 2006-04-04 02:39:12 +00:00
martijn.martijn%gmail.com 7d63a3aa80 Bug 332285 - nsGlobalWindow.cpp and nsCommandManager.cpp should use nsContentUtils::IsCallerChrome, r+sr=roc 2006-04-03 22:05:40 +00:00
mrbkap%gmail.com 879d882bcb Use JS_DefineProperty instead of JS_SetProperty in more places. bug 330773, r=jst sr=brendan 2006-04-03 16:54:53 +00:00
bzbarsky%mit.edu 59f912e4ad Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
sr=dveditz
2006-04-02 20:58:26 +00:00
darin%meer.net 5521781301 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
gerv%gerv.net 4948defb71 Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:10 +00:00
gerv%gerv.net 8268a2e270 Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:05 +00:00
bzbarsky%mit.edu 517e1240c2 Fix typo in comment. 2006-03-30 04:19:38 +00:00
vladimir%pobox.com 5c2761e0fe b=331176, try to stabilize Trender numbers on linux with a well-aimed XSync, r=dbaron 2006-03-24 23:30:24 +00:00
mrbkap%gmail.com caa763b983 Followup to bug 330773 -- don't leave the timeout addref'd in the failure case. r+sr=bzbarsky 2006-03-24 21:51:51 +00:00
mrbkap%gmail.com e31e046138 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 2006-03-24 18:49:18 +00:00
mrbkap%gmail.com c06cfcae93 Oops, these changes aren't ready to be checked in yet. 2006-03-24 18:41:07 +00:00
mrbkap%gmail.com 68972b98ad 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 2006-03-24 18:37:08 +00:00
bryner%brianryner.com c28e6a9665 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
timeless%mozdev.org 96fd3ec347 Bug 210724 Plugins disabled in preferences but still visible from JavaScript navigator.plugins and navigator.mimeTypes arrays
r=jst sr=jst
2006-03-21 05:31:59 +00:00
mrbkap%gmail.com 6aba6ed88c Use JS_DefineProperty instead of JS_SetProperty for the additional control over the property we're setting. bug 330773, r+sr=jst 2006-03-21 02:16:31 +00:00
mrbkap%gmail.com c1c07b0543 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 2006-03-16 18:30:36 +00:00
bryner%brianryner.com 41e6c02b2f Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
bzbarsky%mit.edu 441df4ef54 Fixing typo. Bug 319434 2006-03-12 18:53:24 +00:00
Olli.Pettay%helsinki.fi 2a6f0f20b0 Bug 329810, middle click on a link does not work in Camino trunk builds r+sr=bz 2006-03-09 18:42:09 +00:00
Olli.Pettay%helsinki.fi c0e37e327a Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
kjh-5727%comcast.net 80b199f058 Back out patch from bug 324072 to fix bug bug 326363 and avoid unnecessary API changes. 2006-03-04 16:37:13 +00:00
bryner%brianryner.com 57c5bea761 Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky 2006-03-03 20:18:07 +00:00
mrbkap%gmail.com 80490fe869 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 2006-03-02 23:09:43 +00:00
timeless%mozdev.org a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu 85496f1752 Fix build bustage -- actually return NS_OK and ll 2006-02-23 03:38:59 +00:00
bzbarsky%mit.edu b648bd4a19 Remove no longer used method. Bug 327098, r+sr=jst 2006-02-23 03:24:33 +00:00