Commit Graph

380 Commits

Author SHA1 Message Date
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Olli Pettay
bdb6b5dd69 backout Bug 486990 2009-04-28 06:42:59 -07:00
Olli Pettay
034f889291 Bug 486990, move contextmenu listener to system event group, r=enn, sr=neil 2009-04-25 11:45:30 +03:00
Bob Clary
06f3c26ea9 bug 454820 - crash test by Brian Huisman. 2009-04-24 10:08:25 -07:00
Bob Clary
c1b225c2d7 bug 336960 - crash test by Martijn Wargers. 2009-04-24 10:08:12 -07:00
Bob Clary
12e42c5b7f bug 336744 - crash test by Martijn Wargers. 2009-04-24 10:08:12 -07:00
Boris Zbarsky
35edb04b3a Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Boris Zbarsky
56a3756669 Bug 472020. Blindly appending to our insertion point really is the wrong thing to do. This doesn't get us to correct behavior, but it gets us closer. r+sr=sicking. 2009-04-08 14:37:15 -04:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Ben Turner
eed6c83bb8 Bug 482306 - "Several deadlocks related to nested requests and nsJSContext::CompileEventHandler". r+sr=mrbkap, a=blocking1.9.1+. 2009-03-14 20:42:50 -07:00
Benjamin Smedberg
ca96f9405e Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
Blake Kaplan
f7fb1c08eb Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Jonas Sicking
2908521f41 Fix more orangeness by always allowing linking to chrome XBL 2009-03-10 03:59:54 -07:00
Jonas Sicking
6fb4ae4098 Fix orange
--HG--
extra : rebase_source : 83664ec799b9834dd876bb322a5c7b1e5ee28b83
2009-03-10 01:35:00 -07:00
Jonas Sicking
a0df931dad Fix error in test
--HG--
extra : rebase_source : 51a8f4c1d10116609ff9621ee2c2ecab986321c7
2009-03-09 23:30:13 -07:00
Jonas Sicking
4d0ff5ac14 Bug 481558: Don't apply XBL that isn't located in the same domain as the bound document. r/sr=bz
--HG--
extra : rebase_source : 6ef8c8ffcf8d9df0f6f9a0cdadd45f12564d7e37
2009-03-09 23:15:06 -07:00
Boris Zbarsky
a1f888815b Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
L. David Baron
1e283adeaa Backed out changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:35 -08:00
Boris Zbarsky
58d51f648c Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Ben Turner
6efddae719 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
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