Commit Graph

658 Commits

Author SHA1 Message Date
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Boris Zbarsky
6094cf077d Bug 474406. Revoke our pending constructor processing event if our document goes away. r+sr=sicking 2009-02-03 21:58:21 -05:00
Boris Zbarsky
e753880b7c Bug 307394 part 2. Fix the indexing in ContentInserted to work correctly even when XBL is around. r+sr=dbaron. Also fixes bug 232990, bug 261826 , bug 272646, bug 386310, bug 468546 2009-01-29 14:46:20 -05:00
Boris Zbarsky
7011c1e34c Bug 307394 part 1. Create a non-COM way to get at XBL child nodes, and put an IndexOf() method on nsINodeList. r+sr=peterv 2009-01-29 14:46:18 -05:00
Jesse Ruderman
961597aa43 Add crashtests for bug 472260 and bug 472593 2009-01-24 10:31:21 -08:00
Daniel Holbert
31c18a6827 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Boris Zbarsky
1edd870a8e Bug 472648. Make XBL in signed jars work again. r+sr=jst 2009-01-14 06:24:26 -05:00
Ryan Flint
4c0a23f3e3 Backout changeset e40649461b57 due to crashes 2009-01-13 17:53:04 -05:00
Boris Zbarsky
64c25a9d72 Bug 472648. Make XBL in signed jars work again. r+sr=jst 2009-01-13 14:32:30 -05:00
Olli Pettay
8ce81994af Bug 472212, r+sr=bz 2009-01-06 21:37:28 +02:00
Olli Pettay
f0be228b18 Bug 461027, r+sr=bz 2008-12-20 01:40:00 +02:00
Olli Pettay
4492ef2436 Bug 470419 - Crash [@ nsXBLPrototypeHandler::MouseEventMatched] dispatching mousedown UIEvent and xbl event handler, r+sr=bz 2008-12-20 00:39:47 +02:00
Mats Palmgren
9f762e2a40 Use an iterative algorithm when deleting lists to avoid exhausting the stack space. b=460444 r+sr=dbaron r=jst 2008-12-15 12:33:56 +01:00
Boris Zbarsky
691391cde0 Bug 467008. Pointing to a non-existent file:// binding URI leaks. r+sr=sicking 2008-12-12 14:46:59 -05:00
Boris Zbarsky
89cfc393d2 Bug 468210. Do a better job of unhooking our anonymous content. r+sr=sicking 2008-12-12 14:26:07 -05:00
Shawn Wilsher
46dc84456b bug 464174 followup (comment fix only) 2008-11-28 18:24:05 -08:00
Blake Kaplan
a871090e67 Bug 464174. r=sicking, sr=sicking, a=beltzner 2008-11-28 18:16:17 -08:00
John Daggett
0d24013534 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
Johnny Stenback
becb9748e5 Fixing bug 425153. Fix script filenames such that our wrapper automation story is more consistent. r=jonas@sicking.cc, sr=bzbarsky@mit.edu, a=b2 blocker 2008-11-13 16:00:11 -08:00
Peter Van der Beken
c39cb1e482 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Blake Kaplan
536a4825b6 Bug 451680 - Use a more reliable function to compile and execute XBL. r+sr=bzbarsky 2008-11-06 18:06:49 -08:00
Peter Van der Beken
c39e172979 Backed out changeset 874aba8a9a8a to fix orange 2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-06 12:09:30 +01:00
Peter Van der Beken
5a6c152342 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:08 +01:00
Peter Van der Beken
24a73db424 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-04 18:10:43 +01:00
Peter Van der Beken
2b8cf3c2d4 Backed out changeset ba895ab8cbe7 to fix orange 2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-03 14:49:53 +01:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Ted Mielczarek
26dab6f284 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Olli Pettay
e23e79f0c6 Bug 461772, don't crash when using XBL in external svg docs, r+sr=bz 2008-10-30 12:35:44 +02:00
Peter Van der Beken
f3f2a880fb Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
Boris Zbarsky
da63bc8f87 Bug 460665. Whack another XBL sink mole. r+sr=sicking 2008-10-20 12:20:01 -04:00
Jesse Ruderman
b416afb842 Add a testcase from bug 226744 as a crashtest 2008-10-17 19:20:00 -07:00
Jesse Ruderman
c26d5b4df5 Add crashtest for bug 205735 2008-10-17 18:56:12 -07:00
Boris Zbarsky
b96ab2decc Bug 424733. Be a little more careful with certificate principals. r+sr=sicking 2008-10-17 21:08:08 -04:00
Boris Zbarsky
96bd2b29d0 Bug 449219. Don't flush out textnodes unconditionally in the XML sink on packet boundaries. Instead, do smart coalescing like the HTML sink does. Also, always coalesce everything when doing XSLT. r+sr=sicking 2008-10-15 17:29:35 -04:00
Mats Palmgren
426e3534c3 Ignore the keypress event if DOMEventToNativeKeyEvent() fails. b=456273 r=Olli.Pettay sr=jonas 2008-10-15 12:50:42 +02:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
2c733370d0 Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst 2008-10-09 16:23:07 -07:00
Olli Pettay
3309372c23 Bug 457716 - XUL shouldn't always traverse all the prototypes, r+sr=peterv 2008-10-08 14:41:52 +03:00
Boris Zbarsky
fb22a71be0 Bug 456008. Make sure to not claim nodes are created via parser in the XML fragment sink, just like the HTML fragment sink doesn't claim it. r+sr=jst 2008-09-25 12:58:11 -04:00
Boris Zbarsky
55f175f8af Bug 454029. Don't assert bogus things. r+sr=sicking 2008-09-25 12:55:37 -04:00
Arpad Borsos
cce478d087 Bug 454482 - Clean up unused variables in content/; r+sr=peterv 2008-09-24 06:37:56 +02:00
Gavin Sharp
19700a18c8 Bug 432813 followup fix, r+sr=bzbarsky 2008-09-21 19:40:02 -04:00
Gavin Sharp
cc00837d9f Fix comment typo 2008-09-21 00:41:10 -04:00
Mats Palmgren
ca2998faf6 Bug 454820. r=smaug sr=bzbarsky 2008-09-16 03:37:13 +02:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
e3295081e1 Bug 453858. Get rid of some XPCOM-ness in nsArraySH::GetItemAt. r+sr=jst 2008-09-10 23:15:29 -04:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
John Daggett
d1bbbefb1c Bug 441473. Move nsSameOriginChecker into nsContentUtils. r+sr=jonas 2008-09-08 10:13:02 +09:00
Neil Rashbrook
632e8f0838 Bug 400854 XUL menulist reacts to command keys with modifiers r=Enn sr=roc 2008-09-07 10:43:57 +01:00
Jesse Ruderman
ee55bae76c Add bug 378521's testcase as a crashtest 2008-09-06 20:58:58 -07:00
Arpad Borsos
9b6f558fee Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla) 2008-09-07 00:21:43 +02:00
Olli Pettay
c4eb13a9cf Bug 451037, r+sr=sicking 2008-08-24 17:21:28 +03:00
Gavin Sharp
1c6c6d868d Bug 432813. Fix another infinite-recursion issue in XBL. r+sr=bzbarsky 2008-08-18 11:41:55 -04:00
Gavin Sharp
f256c8a781 Bug 432813. Fix another infinite-recursion issue in XBL. r+sr=bzbarsky 2008-08-18 11:40:50 -04:00
Neil Deakin
25dedfa43a Bug 437640, ability to disable and remove <keyset> elements, r+sr=neil 2008-08-06 10:32:09 -04:00
Serge Gautherie
7735b1b7ab Bug 448110 – |--disable-svg| does not build
p=sgautherie Av1 r/sr=jonas Cv1 r=dbaron
2008-08-01 22:23:27 +01:00
L. David Baron
080104f972 Handle effects of medium feature changes on XBL style sheets. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
Surya Ismail
70f65945b5 Bug 378518 - Remove support for tag names in XBL extends attribute
r=Enn, sr=sicking
2008-07-17 12:46:51 -04:00
jwalden@mit.edu
c9abaec5cc Fix up recently-landed test for async and target changes to postMessage. r=orange 2008-05-02 14:39:06 -07:00
bent.mozilla@gmail.com
75aa1203d6 Bug 379959. Patch by Jonas Sicking <jonas@sicking.cc>. r+sr=bz, a=damons. 2008-04-28 16:56:07 -07:00
masayuki@d-toybox.com
3af995a512 Bug 426501 ZoomIn/ZoomOut/ZoomReset should have alternative accel keys for localized builds. XUL part: r+ui-r=mconnor, a1.9=beltzner, XBL part: r=enndeakin, sr=neil, a1.9=dsicore 2008-04-23 01:04:08 -07:00
masayuki@d-toybox.com
5252d63ce1 Bug 359638 accesskeys are incorrectly shifted again (i.e. accesskey=. is broken) and also for b=398264, b=401086, b=414130, b=427797, b=427932, b=427995 r=karlt+ere+josh, sr=roc, a1.9=mconnor 2008-04-14 21:16:24 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
neil@parkwaycc.co.uk
70ec52d531 Update some key event warnings to match GTK2.10+ b=311756 r+sr=jst a=dsicore 2008-04-07 03:29:52 -07:00
reed@reedloden.com
12f3f485f0 Back out Surya Ismail's patch from bug 378518 as the possible cause of numerous test failures. 2008-04-04 03:19:45 -07:00
reed@reedloden.com
dc5700006c Bug 378518 - "Remove support for tag names in XBL extends attribute" [p=suryaismail@gmail.com (Surya Ismail) r+sr=sicking r=Enn a=blocking1.9+] 2008-04-04 02:05:10 -07:00
reed@reedloden.com
5f9e65ed6e Bug 423787 - "XUL test template has typo in comment" [p=manish@flock.com (Manish Singh) r=sayrer] 2008-03-28 23:45:45 -07:00
karlt+@karlt.net
953f9a1c30 Backout b=401086 change as it removed the space/shift-space distinction for scrolling. 2008-03-28 12:44:45 -07:00
peterv@propagandism.org
9b3a335c69 Add Jesse's crashtest for bug 415192. 2008-03-28 09:04:20 -07:00
peterv@propagandism.org
14a390a55a Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking. 2008-03-28 07:09:00 -07:00
karlt+@karlt.net
003546c9e7 Be less sensitive about the shift modifier for key events with character codes. b=401086, r=neil, sr=jst 2008-03-27 22:19:14 -07:00
karlt+@karlt.net
44655720c9 Backout b=401086 due to mochitest failures on Linux. 2008-03-27 21:33:52 -07:00
karlt+@karlt.net
d284e83493 Be less sensitive about the shift modifier for key events with character codes. b=401086, r=neil, sr=jst 2008-03-27 19:34:38 -07:00
jruderman@hmc.edu
e8379bc9a9 Add crashtest 2008-03-19 22:48:31 -07:00
Olli.Pettay@helsinki.fi
0201fb1fef Bug 421366, [@ nsContentUtils::IsEventAttributeName] r+sr=peterv 2008-03-19 12:44:08 -07:00
dbaron@dbaron.org
537f2f5b13 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
jruderman@hmc.edu
52d68b8c21 Add crashtest 2008-03-05 20:42:55 -08:00
bzbarsky@mit.edu
3107f1d479 Don't leave an exception hanging on the JS context when we return ok. Bug 418133, r=jst, sr=brendan, a=beltzner. 2008-03-05 12:41:27 -08:00
jruderman@hmc.edu
368ea67222 Add crashtests 2008-02-28 20:45:53 -08:00
Olli.Pettay@helsinki.fi
67622f2077 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
reed@reedloden.com
7b58057fad Bug 417710 - "Use JS_GET_CLASS, not JS_GetClass" [p=gyuyoung.kim@samsung.com (gyu-young kim) r=jorendorff r=jst sr+a1.9=brendan] 2008-02-25 00:59:20 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
bzbarsky@mit.edu
a183f5e853 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan 2008-02-15 21:13:16 -08:00
bent.mozilla@gmail.com
e8fd2462e4 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. Relanding. 2008-02-12 20:17:18 -08:00
bent.mozilla@gmail.com
9b3b4ac605 Bug 413447, backing out to see if unit tests pass. 2008-02-12 12:53:03 -08:00
bent.mozilla@gmail.com
e7ca4e39a1 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. 2008-02-12 09:48:26 -08:00
peterv@propagandism.org
fec1fcec46 Fix for bug 415028 (Startup assertions and crash compiling proto properties with gczeal == 2). r/sr=bz. 2008-02-12 08:02:41 -08:00
reed@reedloden.com
24fbf5fb3f Bug 398433 - "PRBool misuse bugs in content/" [p=tglek@mozilla.com (Taras Glek) r+sr=sicking a1.9=schrep a=blocking1.9+] 2008-02-09 22:16:30 -08:00
jruderman@hmc.edu
e5a504d068 Add a crashtest 2008-02-03 22:05:09 -08:00
peterv@propagandism.org
6d9909d3c6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -08:00
peterv@propagandism.org
02be459ead Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
bent.mozilla@gmail.com
5e954a2668 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r+sr=sicking, a=blocking1.9. 2008-01-28 22:15:25 -08:00
bzbarsky@mit.edu
3078581869 Fix bug 406900 by doing a better job of unbinding XBL default content. r=smaug, sr=sicking 2008-01-28 15:34:28 -08:00
bzbarsky@mit.edu
9bcea294cd Adding crashtests. 2008-01-27 21:35:46 -08:00
bzbarsky@mit.edu
11c4dc56b6 Fix bug 342954 by making sure to update our insertion point data when removing nodes from the DOM. r=smaug, sr=sicking 2008-01-27 21:31:20 -08:00
dwitte@stanford.edu
97a45f037f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-11 20:30:42 -08:00
dwitte@stanford.edu
9d626da131 partial backout in an attempt to fix orange. 2008-01-11 02:08:58 -08:00
dwitte@stanford.edu
8a6c4d235f relanding bug 410250. 2008-01-11 01:13:04 -08:00
dwitte@stanford.edu
d2b6f4f5ed backing out to fix orange. 2008-01-10 20:59:44 -08:00
dwitte@stanford.edu
1798542e9f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-10 19:56:00 -08:00
jruderman@hmc.edu
21a3962559 Let them eat crashtests. 2007-12-17 23:08:59 -08:00
jruderman@hmc.edu
b4f2842e96 Add a crashtest 2007-12-17 23:07:23 -08:00
reed@reedloden.com
64c4b90d72 Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=damons] 2007-12-17 21:41:56 -08:00
jruderman@hmc.edu
821a58930e Add the first XBL crashtest 2007-12-15 21:21:02 -08:00
reed@reedloden.com
874a80563f Back out patch from bug 406047, as it is causing orange on Linux and Tp regression on Mac. 2007-12-14 00:55:08 -08:00
reed@reedloden.com
7ef5d7c383 Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=stuart] 2007-12-13 23:20:32 -08:00
pavlov@pavlov.net
b117c0d9a6 bug 408148. use nsAutoTArray rather than nsTArray in nsXBLService::GetBinding. r/sr=sicking 2007-12-12 20:17:14 -08:00
peterv@propagandism.org
5a3252ac9e Fix for bug 300639 (don't recompile xbl event handlers on every event dispatch). Patch by Robert Sayre, r/sr=peterv. 2007-12-04 23:21:18 -08:00
peterv@propagandism.org
31723fc8ee Fix for bug 398466 (XBL unlinking triggered hash-table recursion assertion (again)). r/sr=sicking. 2007-12-04 10:53:53 -08:00
bzbarsky@mit.edu
e055db8c48 Update the binding manager before doing any other notifications, and don't notify the document for nodes not in the document. Bug 398492, r+sr=sicking. 2007-12-04 10:37:54 -08:00
bzbarsky@mit.edu
b936455339 Fixing build bustage. Bug 401743 2007-12-04 09:30:07 -08:00
bzbarsky@mit.edu
da176665eb Try to handle people processing events from inside an XBL constructor somewhat sanely. Bug 401743, r+sr+a=sicking 2007-12-04 08:56:44 -08:00
Olli.Pettay@helsinki.fi
9942f62a81 Bug 401907, Running Help->Check for updates... leaks, r+sr=bz, a=beltzner 2007-11-27 12:02:42 -08:00
uriber@gmail.com
8e7a6460cd Remove up-arrow and down-arrow bindings in input fields. bug=294642 ui-r:beltzner r+sr:neil@parkwaycc.co.uk a19:mtschrep 2007-11-21 23:32:33 -08:00
bzbarsky@mit.edu
36b6e84d9f Fix the case when a binding's single insertion point is a node that is itself bound by a binding with insertion points. Bug 403962, r+sr=sicking 2007-11-19 20:18:59 -08:00
bzbarsky@mit.edu
1473a0c22b Adding test. 2007-11-15 14:39:55 -08:00
bzbarsky@mit.edu
8f4546294d Unhook event handlers on binding teardown. Bug 403162, r+sr=sicking 2007-11-15 14:29:08 -08:00
bzbarsky@mit.edu
55b3a73165 Handle dynamic appends to a node which has a binding with multiple insertion points correctly. Bug 372323, r+sr=sicking. 2007-11-15 09:17:46 -08:00
bzbarsky@mit.edu
3d7cd94af9 Fix bug 400794 and bug 401569: don't try to uninstall fields that are not installed. r+sr=sicking. Patch in bug 400794. 2007-11-15 09:09:14 -08:00
jonas@sicking.cc
806a7540a8 Bug 394052: Don't leak when binding urls refer to the same document. Patch by Eli Friedman. r/sr=sicking 2007-11-07 16:05:03 -08:00
jonas@sicking.cc
d0871a2573 Bug 401463 and others. Make us call InstallImplementation in more places in order to behave more like we did when InstallImplementation was called during LoadBindings. r/sr=jst 2007-10-31 16:35:51 -07:00
jonas@sicking.cc
fb122790a3 Bug 400735: Hold strong reference while calling UnblockOnload. r=smaug sr=jst a=beltzner 2007-10-29 19:14:52 -07:00
peterv@propagandism.org
0614d590fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org
26b136edfe Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
eae43da5fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
jonas@sicking.cc
903acf3ee6 bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking 2007-10-26 18:46:09 -07:00
jonas@sicking.cc
3d2ceca667 Bug 345711: Don't call nsXBLBinding::InstallImplementation while in reflow as that can cause duplicated frames for plugins and other badness. r=bz/jst sr=jst 2007-10-26 17:14:43 -07:00
peterv@propagandism.org
89c081734f Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
7496875bfa Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
bzbarsky@mit.edu
5b0b10f180 Don't install fields during binding teardown. Bug 400705, r+sr=sicking, a=beltzner 2007-10-24 15:13:00 -07:00
bzbarsky@mit.edu
e6fc4b3582 Adding testx 2007-10-19 22:30:53 -07:00
bzbarsky@mit.edu
ee391df0e4 Actually unhook the binding proto when we're tearing down the binding anonymous content. Hasn't worked in years, apparently. Bug 398135, r+sr=sicking 2007-10-19 21:22:43 -07:00
jonas@sicking.cc
adbcc231ed backing out due to test failure 2007-10-19 18:22:48 -07:00
jonas@sicking.cc
cb77212ea7 Bug 345711: Call InstallImplementation when it's safe, rather tha directly from LoadBindings. r/sr=jst 2007-10-19 17:48:09 -07:00
Olli.Pettay@helsinki.fi
fe3a8092b4 Mochitest for bug 378866 2007-10-12 08:43:39 -07:00
Olli.Pettay@helsinki.fi
045c845b71 Bug 378866, r=peterv,sicking, sr=sicking, a=blocking1.9+ 2007-10-12 04:07:29 -07:00
bugzilla@standard8.plus.com
78473044fa Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
bzbarsky@mit.edu
9fecf5cc61 Fix build bustage by not using debug-only member in opt code. Bug 398668 2007-10-05 18:23:09 -07:00
sayrer@gmail.com
406024c657 Bustage fix for bug 398668 2007-10-05 18:13:52 -07:00
bzbarsky@mit.edu
6be2e13a6b Fix a few issues in bfcache and XBL when javascript is being toggled on and off. Bug 398668, r+sr+a=jst 2007-10-05 17:35:00 -07:00
bzbarsky@mit.edu
01461fbe76 Make really sure that pending binding constructor events block onload. Bug 394676, r+sr+a=sicking 2007-10-03 16:38:32 -07:00
bzbarsky@mit.edu
b17bddff6c Don't unlink so aggressively. Bug 398083, r+sr+a=sicking 2007-10-02 07:40:39 -07:00
bzbarsky@mit.edu
16d74db68d Skip installing fields which have no text. Bug 397924, r+sr+a=sicking 2007-10-02 07:38:35 -07:00
Olli.Pettay@helsinki.fi
85880d8ce4 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
bzbarsky@mit.edu
7f68723439 Fix test. Bug 372769. 2007-09-28 07:22:51 -07:00
bzbarsky@mit.edu
b25b785ddc Relanding bug 372769 with some cycle collection changes to fix leaks. r=mrbkap, sr=sicking, with r=sicking on the leak fixes. 2007-09-28 06:45:01 -07:00
bzbarsky@mit.edu
5ae0b67801 Backing out bug 372769 due to leaks. 2007-09-26 07:39:31 -07:00
bzbarsky@mit.edu
ee86dfedb4 Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking 2007-09-26 06:55:06 -07:00
surkov.alexander@gmail.com
d91459d49c 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore 2007-09-05 01:22:17 -07:00
jag@tty.nl
5ac630ec0f Bug 393809: Fix compile warning in nsXBLPrototypeHandler.cpp. r=/sr=Neil, a=sicking 2007-09-04 18:55:55 -07:00
philringnalda@gmail.com
88f44b6ffb Bug 365810 - Ctrl+Y for Edit->Redo broken, patch by Simon Bünzli <zeniko@gmail.com>, r=aaronlev sr=neil a1.9=bz 2007-08-23 20:09:59 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
Olli.Pettay@helsinki.fi
fb735cb14f Bug 391568, Mutation events not fired if listeners are only in anonymous content. r+sr=bz, a=sicking 2007-08-21 23:48:47 -07:00
Olli.Pettay@helsinki.fi
d023c05d44 Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 14:45:00 -07:00
Olli.Pettay@helsinki.fi
3cb3aeeda7 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, remove XXX, r+sr=jst, a=1.9+ 2007-08-16 14:46:33 -07:00
jst@mozilla.org
73674fd85b Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
benjamin@smedbergs.us
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
bzbarsky@mit.edu
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
dcfbe5119a Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler (with bustage fix), r=sicking, sr=jst 2007-07-06 06:47:50 -07:00
kairo@kairo.at
951e15cd50 backing out bug 339649 due to breakage on multiple tinderboxen as requested in #developers 2007-07-06 06:13:46 -07:00
Olli.Pettay@helsinki.fi
c5dc887fc8 Bug 339649, incorrect script-global used in nsXBLPrototypeHandler::ExecuteHandler, r=sicking, sr=jst 2007-07-06 04:49:53 -07:00
bzbarsky@mit.edu
bdded13f7c Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
dbaron@dbaron.org
c28a83eb37 Move NOTIFY_OBSERVERS to the end of nsBindingManager::ContentRemoved (and avoid early returns so we get to it). b=382376 Patch by Daniel Holbert <dholbert@mozilla.com>. r=bzbarsky sr=sicking 2007-06-26 21:51:37 -07:00
Olli.Pettay@helsinki.fi
58218f2b53 wasn't going to check in this 2007-06-26 21:25:27 -07:00
Olli.Pettay@helsinki.fi
7a515960c9 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
Olli.Pettay@helsinki.fi
57208eb367 Bug 384663, r+sr=bz 2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
fd55a81c64 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
jonas@sicking.cc
5d6d0f52ff Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jonas@sicking.cc
607f8caad0 Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me 2007-05-30 18:36:06 -07:00
peterv@propagandism.org
417638f1b9 Fix for bug 375063 (Leaking nsJSContexts and nsXBLDocGlobalObjects at shutdown). r/sr=jst. 2007-05-25 09:05:42 -07:00
peterv@propagandism.org
22935dfbc9 Try to fix leak regression and tinderbox orange from bug 368774. 2007-05-24 13:50:21 -07:00
peterv@propagandism.org
38e0fa4575 Followup to bug 368774, fix bustage the right way. 2007-05-24 11:39:49 -07:00
peterv@propagandism.org
c0c65da495 Temporary bustage fix. 2007-05-24 07:28:40 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
jonas@sicking.cc
0b6e5dff7a Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz 2007-05-21 15:26:48 -07:00
bzbarsky@mit.edu
54d9fbc29a Attach bindings via addBinding even to nodes not in a document. Bug 380990, r+sr=sicking 2007-05-17 11:31:31 -07:00
jonas@sicking.cc
9a9515bed6 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
3c2b2f46ce Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 11:34:12 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
gavin@gavinsharp.com
daff80acb4 Bug 377295: remove dependence on the binding constructor running before onload for the test from bug 366770, r=martijn 2007-04-29 10:29:19 -07:00
bzbarsky@mit.edu
1a863b611c Fix long-standing XBL bug where we didn't update insertion points correctly insome cases. Bug 375299, r+sr=sicking 2007-04-26 21:06:45 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
Olli.Pettay@helsinki.fi
f8dc235d9d Bug 350334, Core XBL widgets used in web pages can't listen to their own events, r+sr=jst+sicking 2007-04-15 09:28:53 -07:00
martijn.martijn@gmail.com
9f26445a44 Mochikit test for bug 371724, r=sayrer 2007-04-12 09:10:42 -07:00
Olli.Pettay@helsinki.fi
2ac9d63c5d Bug 374547, regression: unable to repeat xbl bound element inside another with the same binding r=jst,sr=bz 2007-04-01 05:19:44 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00