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

1246 Коммитов

Автор SHA1 Сообщение Дата
Jesse Ruderman aedb18a96b Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Robert Sayre 5a3f306961 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Andreas Gal 8c624148c6 Add an API for compartments (570040, r=jorendorff). 2010-06-04 16:32:10 -07:00
Jonas Sicking a29c152fd4 Bug 564591: Speed up BindToTree/UnbindFromTree by only doing XBL related work when needed. r=smaug 2010-06-03 18:09:08 -07:00
Justin Wood fe1fa53a88 Backout 69df59e99741 -- Bug 564591: Speed up BindToTree/UnbindFromTree by only doing XBL related work when needed. 2010-06-03 21:44:14 -04:00
Jonas Sicking 9658015532 Bug 564591: Speed up BindToTree/UnbindFromTree by only doing XBL related work when needed. r=smaug 2010-06-03 18:09:08 -07:00
Craig Topper ef96f55ca1 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
Timothy Nikkel 3bd86dc7fb Bug 507628 and bug 507991. Add crashtests. 2010-05-11 19:30:42 -05:00
Boris Zbarsky 4399ba2268 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Mitchell Field 0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Michael Kohler 6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Craig Topper bd3c6ba927 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Timothy Nikkel 7ba76a2011 back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange 2010-05-11 22:01:08 -05:00
Timothy Nikkel f4f12f1dd1 Bug 507628 and bug 507991. Add crashtests. 2010-05-11 19:30:42 -05:00
Craig Topper b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Boris Zbarsky 8ccd3c1fea Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
L. David Baron c4eb38acd9 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky fb534f9674 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Peter Van der Beken ac35089169 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Surya Ismail 0a8ed314df Change assertion to error console report for malformed XBL file. (Bug 397561) r=bzbarsky 2010-05-04 21:28:19 -07:00
L. David Baron c6bd227acc A malformed XBL file should trigger a warning, not an assertion, since the code should be able to (and does) handle it. (Bug 397561) r=bzbarsky 2010-05-04 21:28:19 -07:00
L. David Baron 8ba10af05e Null-check the scope that we pass to WrapNative. (Bug 540367) r=sicking 2010-05-04 21:28:18 -07:00
Jonas Sicking 5d052b35df Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
Jonas Sicking b41c433cea Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky b398d9af92 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky 7accfbd87e Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky 7baad57df7 Bug 562688 part 5. Change the document id and named item table APIs to use Element. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky 9c2ad4b2aa Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Olli Pettay 0818b30842 Bug 523081 - Unlink anonymous content list, r=peterv 2010-04-30 14:09:05 +03:00
Mitchell Field f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Ben Newman bd232d2cb8 Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Neil Deakin f6cd0b6d60 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Timothy Nikkel b931cd3a61 Bug 502937. Part 2.5. Provide an API to get the flattened tree parent of an nsIContent. r=bzbarsky 2010-04-16 13:15:28 -05:00
Timothy Nikkel 93cb4aaba9 Bug 502937. Part 1. Fix up a test. r=bzbarsky
--HG--
rename : content/xbl/test/test_bug398135.xhtml => content/xbl/test/test_bug398135.xul
2010-01-18 03:07:08 -06:00
Craig Topper 8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper 25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Daniel Holbert 6219dad190 Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 11:05:40 -07:00
Daniel Holbert 9a588376e3 Backed out changeset 13819d2e9bd8 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:26 -07:00
Daniel Holbert ca50c7092d Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 08:08:51 -07:00
Jesse Ruderman fdb1e0190d Add tests to manifest. (Homeless tests identified by script in bug 551617.) 2010-03-31 20:17:35 -07:00
Markus Stange 21d217cfc3 Bug 554061 - Also check XBL stylesheets when determining whether a restyle is necessary when document state changes. r=dbaron 2010-03-25 10:22:58 +01:00
Craig Topper 3d7073c4a5 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Peter Van der Beken e1c6294f66 Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Joel Maher 6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey 96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher 1c8d232df2 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher 694ec71da0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Jonas Sicking 0e6d5d8188 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Clint Talbert 5b4513c7e9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher 3cd691129e Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Zack Weinberg 6ce13b76a5 Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg 1fdb0388ba Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Neil Deakin 3cb7c0acf7 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Alexander Surkov 03b1de4b95 Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Boris Zbarsky 88006ce5d3 Bug 542406. Make readonly='true' on XBL fields work again. r=sicking 2010-02-03 16:17:55 -05:00
Boris Zbarsky f41f7ddf72 Bug 514300 part 2. Make nsBindingManager::ContentRemoved remove the node from all the places it needs to be removed from. Also fixes bug 415301 and bug 495354. r=sicking 2010-01-13 11:30:11 -05:00
L. David Baron 722b8f18b0 DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:33 -05:00
Boris Zbarsky c58001cbc4 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Jeff Walden 893339719a Bug 529404 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5, except in strict mode. r=brendan 2009-12-08 17:00:42 -08:00
Boris Zbarsky 43f303198b Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky 8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky bc3772ed53 Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-10 14:36:06 -08:00
Mats Palmgren d6e7276cec Bug 501934. r=bzbarsky sr=Olli.Pettay 2009-11-18 16:14:14 +01:00
Timothy Nikkel 7af4fe5958 Bug 507991. Address comment.
--HG--
extra : rebase_source : e1683be4b948fedfbd299d9b37a5d8964979db0c
2009-11-16 20:40:20 -06:00
Boris Zbarsky 9283a8626e Bug 526178. Fix constructor firing order to match Gecko 1.9.1 again. r=roc 2009-11-04 17:58:13 -05:00
Boris Zbarsky b6aed71369 Backed out changeset 2fa27d8cd3d2 (bug 526178) to fix browser-chrome orange.
--HG--
extra : rebase_source : 6be60f6e6586e924f7607f135a3589d9e425a0ec
2009-11-04 20:41:06 -05:00
Boris Zbarsky 3077c3b66d Bug 526178. Fix constructor firing order to match Gecko 1.9.1 again. r=roc 2009-11-04 17:58:13 -05:00
Timothy Nikkel 2237f423ac Bug 397596 and bug 492978. Add tests.
--HG--
extra : rebase_source : 64fbe0958089e676690eb89e5f68e903972043f2
2009-11-03 15:51:55 -06:00
Timothy Nikkel 027c341525 Bug 507991. Store an alternate URI on the first binding and use that to compare binding URIs. r=sicking
--HG--
extra : rebase_source : 47c46b906039ef6b5e3cb176c6fc6c62018d587d
2009-11-03 15:45:10 -06:00
Olli Pettay 24353c69dc Bug 517851 - nsJSEventListener's string/atom handling can be optimized a bit, r=jst 2009-10-24 18:39:28 +03:00
Boris Zbarsky ca305158f8 Bug 502567. Get rid of the silly ShouldBuildChildFrames check. r=neil 2009-10-07 21:00:38 -04:00
Johnny Stenback 0f5b5ba5ba Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Jonas Sicking f2fa47761e Bug 529087: Fix crash involving XBL and cloned XUL elements. r=smaug 2010-05-26 15:39:13 -07:00
David Zbarsky 3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Neil Deakin dc9b8b8573 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Phil Ringnalda 6fce97e58d Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Johnny Stenback 7dfc767546 Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback abda1a2206 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Peter Van der Beken cf46d66dc3 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky 8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky 0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
timeless@mozdev.org 196d1b15ff Bug 504482 nsXBLProtoImplMethod::CompileMember shouldn't poke args[] outside paramCount condition
r=bz
2009-08-12 11:49:52 +02:00
Neil Rashbrook a3848d76ac Bug 472318 Option+PgUp/PgDn doesn't work on the Mac r=mstange sr=bz 2009-08-03 11:44:10 +01:00
L. David Baron 7fbb9db0a5 Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky
--HG--
rename : layout/style/nsIStyleRuleProcessor.h => layout/style/nsRuleProcessorData.h
2009-08-01 08:53:40 -07:00
Michael Kohler b7a3a2a751 Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
timeless@mozdev.org c2118a36cb Bug 504487 nativeBindings is unused in nsXBLWindowKeyHandler::WalkHandlers
r=neil
2009-07-22 17:31:01 -05:00
Peter Van der Beken 88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Peter Van der Beken 2851ade79b Fix for bug 502055 (XBL leaks). r=smaug, sr=bz. 2009-07-02 14:05:32 +02:00
Olli Pettay 80837507f7 Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
timeless@mozdev.org 2f8320929a Bug 494684 nsXBLStreamListener::~nsXBLStreamListener warning: comparison between signed and unsigned
r+sr=neil
2009-06-27 18:42:50 -07:00
Olli Pettay 3c487cc506 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay 5c69014ee8 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil 2009-06-23 13:07:39 +03:00
Olli Pettay 8fc5865bba Bug 499667 - Remove nsIDOMDragListener, r+sr=sicking 2009-06-23 12:13:01 +03:00
Olli Pettay 4e1d24ee7e backout Bug 486990
--HG--
extra : rebase_source : 5947dd5fcc29bfb333c53cc2f60a00895910e9bb
2009-06-17 16:22:37 +03:00
Olli Pettay 6e6975e220 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil
--HG--
extra : rebase_source : a425f116d1350ff1204f1b031754a262ec73f8b1
2009-06-17 13:26:21 +03:00
Neil Deakin 15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Jesse Ruderman b89227c825 Add crashtests 2009-05-26 11:53:12 -07:00
Boris Zbarsky bda41245f7 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00