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

476 Коммитов

Автор SHA1 Сообщение Дата
Justin Dolske f7db57eefe Bug 563556 - Cleanup nsGlobalWindow's alert/confirm/prompt. r=jst 2010-05-13 15:26:10 -07:00
Michael Kohler c00ff9684a Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Robert O'Callahan 8c03b39135 bug 563864. Add mozPaintCount API. r=smaug,sr=vlad 2010-05-13 12:56:08 +12:00
Mats Palmgren 5fa1fbc646 Add crashtests for bug 499006. 2010-05-12 14:14:54 +02:00
Peter Van der Beken 5e4f13f9eb Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken 8ab21fa739 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst. 2010-04-19 17:41:39 +02:00
Boris Zbarsky 3397863008 Bug 534149. Give each nsGlobalWindow a unique ID and expose the IDs on nsIDOMWindowUtils. r=jst 2010-05-10 21:12:35 -04:00
L. David Baron e00d9fd996 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
Robert Sayre c5b2bbeb04 Merge tracemonkey to mozilla-central. 2010-05-06 08:50:41 -04:00
Blake Kaplan b857a9cdea Bug 563826 - Don't accidentally hold on to windows accessed via numeric properties. r=jst
--HG--
extra : rebase_source : 7dda2380711af649c10c9de25c8c331d4c159045
2010-05-05 17:32:21 -07:00
Boris Zbarsky e0ac118cd1 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
Boris Zbarsky b8c4eeb797 Bug 563487. removeEventListener on a Window shouldn't throw if there's not listener manager yet; just do nothing. r=smaug 2010-05-05 14:18:04 -04:00
Jeff Walden 2565d74df2 Outerize the results of nsIDOMWindowUtils.getParent and the jsshell's parent() methods. r=orange
--HG--
extra : rebase_source : 848ad247e5094b6eb8edce6198bfb1d368c31bc3
2010-05-04 18:02:00 -07:00
Peter Van der Beken 7f1bcfe01c Part 13 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - stop using tearoffs from quickstubs for nsIDOM3Node, nsIDOM3Text, nsIDOMNodeSelector and nsIDOMNSElement. r=jst.
--HG--
extra : rebase_source : fbc8a48c0efb5d6700ec981f7d4da3434f306e9d
2010-04-19 17:41:38 +02:00
Peter Van der Beken 1122c69800 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
Jeff Walden b54dc35195 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Robert Sayre 005185630a Merge mozilla-central to tracemonkey. 2010-05-03 11:03:37 -04:00
Robert Sayre 90550120a5 Merge mozilla-central to tracemonkey 2010-04-28 11:11:48 -04:00
Boris Zbarsky a9d50bdf65 Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff 2010-04-26 10:06:25 -04:00
Olli Pettay ef559b7365 Bug 552255, a bit more strict focus handling, r=enndeakin, sr=jst, a=1hourlimit 2010-04-24 13:40:48 +03:00
Boris Zbarsky 1800800dca Bug 492925. Make array access on medialists actually work. r=jst 2010-04-23 13:37:02 -04:00
Robert O'Callahan 6964434bc1 Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri be21d8caff Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Neil Deakin 9a20a613e9 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano 02bcd2d7da Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Ben Turner cd4729ce39 Bug 559447 - 'Make ChromeWorkers that have access to ctypes for browser and extensions'. r=dwitte+jst. 2010-04-20 09:44:56 -07:00
Jonas Sicking 45e936c16d Bug 518110: Kill HTMLBaseFontElement interface and HTMLHeadElement.profile. Also merge nsHTMLHeadElement and nsHTMLHtmlElement into nsHTMLSharedElement. r=jst
--HG--
extra : rebase_source : 651aeed4f884405ffd980b3b74a0dbb21f931156
2010-04-19 12:06:00 -07:00
Robert Longson 5edd823a7c Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Ehsan Akhgari 2735bf2904 Fix the compiler warnings introduced by bug 528396; r=roc 2010-04-11 15:57:08 -04:00
Craig Topper dcddb98106 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper 9d6c65cee7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Zack Weinberg 0a05501dd7 Use compiler intrinsics for DOMCI_CASTABLE_INTERFACE where possible; improve the fallback. r=peterv 2010-04-09 13:48:38 -07:00
Peter Van der Beken 55a2545604 Fix warning. 2010-04-08 14:07:28 +02:00
Felipe Gomes 4d0643de3d Bug 489127 - nodesFromRect required for better usability on mobile devices (part 4) [r=roc] 2010-04-07 20:31:26 -04:00
Blake Kaplan b66334e394 Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Blake Kaplan f8b4655b14 Bug 554833 - Define 'document' on XPCNativeWrapped windows properly. r=jst
--HG--
extra : rebase_source : 99693fdf3dbd77039f17c31ad5b01050a5957792
2010-03-24 19:08:50 -07:00
Peter Van der Beken 522fd43495 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Use flags on DOMCI to be able to cast instead of QI. r=jst.
--HG--
extra : rebase_source : b33953705ace2b6c2171f32fcf7c0157a1f76173
2010-01-12 15:24:00 +01:00
Peter Van der Beken 43075da890 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Mounir Lamouri 6d277a77df Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Olli Pettay e24a8744d9 Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Ben Newman a2d75cb968 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
Peter Van der Beken 4ef93215f5 Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
Robert Sayre 7631ccab36 Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Masatoshi Kimura 4f1918672b Bug 463104: elementFromPoint should accept floating point coordinates. r=bz 2010-04-03 07:34:24 -04:00
L. David Baron 0dfd3fae00 Add nsIDOMWindowUtils::getVisitedDependentComputedStyle for use in tests. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Robert Sayre 06ca2fe78a Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Robert Sayre a3f8c60900 Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Jeff Walden b530559970 Readd changes to nsJSEnvironment.{cpp,h}, and adjust js::LazilyConstructed so as to force pointer alignment on the theory that's what was wrong.
--HG--
extra : rebase_source : 2215152cf0f03dbb69e49e9adb49979a72294620
2010-03-29 22:51:52 -07:00
Jeff Walden 73e87877ca Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden 52e9d1cd3c Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden c40303ad03 Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden a0d46fb574 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Craig Topper 4dd83b9a3b Bug 253889: DeCOMtaminate nsIPresShell - Remove more NS_IMETHOD. r=roc
--HG--
extra : rebase_source : ab0c230d7be484858e03b242c76b5cc9bcfa87ae
2010-03-31 08:45:32 -04:00
Craig Topper b5f57540e7 Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Olli Pettay b6671c4f90 Bug 536092 - Micro optimizations for event handling, r=jst
--HG--
extra : rebase_source : d34faef862a532109f05750ccb7220bd1ddf6e19
2010-03-31 15:44:18 +03:00
Andreas Gal 2a3ead7d2b Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Robert Sayre 12170ecab9 Merge mozilla-central to tracemonkey. 2010-03-14 13:04:44 -04:00
Jonas Sicking 85cd3b31ee Bug 549452 followup. Address review comment by renaming function.
--HG--
extra : rebase_source : 2b287a740157cac7d06179960c35f7ccda925156
2010-03-13 12:39:36 -08:00
Robert Sayre c9b914514d Fix up a little merge fail so that infallible malloc macros don't get run on js/src files. 2010-03-13 14:35:27 -05:00
Robert Sayre 8bb5ea2dd3 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Ben Newman e09539b0ba Simpler approach to bug 523885. r=jst 2010-03-11 20:42:05 -08:00
Jonas Sicking 82915dd308 Bug 549539: Send a notification after a new window is created, but before any script inside it has run. r=mrbkap sr=bz
--HG--
extra : rebase_source : f15c2b197eb1a54a2ecb9b738729fda75565932c
2010-03-12 17:04:02 -08:00
Jonas Sicking 42543f3b4b Bug 549452: Clean up nsGlobalWindow::SetNewDocument. r=mrbkap sr=jst
--HG--
extra : rebase_source : 1e13da2a339089ccf17b8cf9f41d59e188aa8165
2010-03-12 16:59:18 -08:00
timeless@mozdev.org 6d3544da9f Bug 550902 rv used uninitialized in BaseStubConstructor if nsGlobalNameStruct::eTypeClassConstructor and FindConstructorFunc fails
r=peterv

--HG--
extra : rebase_source : f322ae72aeba7d1c0e0810cb5ded934eea709263
2010-03-12 07:50:11 +01:00
Jeff Walden 7df50c064b Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Mike Moening 2df85b2da7 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Andreas Gal a3860ce262 Don't include JS-engine internal header files in header files outside the JS engine (bug 549440, r=jst). 2010-03-04 16:17:05 -08:00
Kyle Huey 1d6875d653 Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper 980532022a Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Robert Sayre 25a3f4038c Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
L. David Baron 337f26f9bd Fix guard object used as temporary. (Bug 555099) r=mrbkap 2010-03-26 10:12:39 -04:00
Craig Topper 23e1716275 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Andreas Gal a43bfaef8c Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Nochum Sossonko 4f07e6de41 Bug 536889 - Don't throw in nsGlobalWindow::Print when printing is disabled, r=olli.pettay 2010-02-21 21:47:21 -05:00
Neil Deakin 53da314925 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Neil Deakin a13ffbf1ee Bug 536481, clear the mouse capture when a window is lowered or the containing docshell is hidden, r=smaug 2010-02-20 11:06:58 -05:00
Jae-Seong Lee-Russo 2cbe428a03 Bug 530300: Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /dom r=peterv 2010-02-20 08:59:07 -05:00
Luke Wagner b1495ade26 Bug 545044 - initialize tempAlloc'd memory so GC-safe (r=brendan)
--HG--
extra : rebase_source : 712bf473d05f707dd50a276f1e60421ce46a7353
2010-02-17 11:32:47 -08:00
Martin Stransky a15380b1f3 Bug 546270: Use SetupSilentPrinting() to initialize mGTKPrinter for window.print() calls. r=roc 2010-03-10 12:33:35 -08:00
Olli Pettay 87c3955517 Bug 552663, start timeouts asynchronously when jsd enables scripts, r=jst 2010-03-24 00:35:15 +02:00
Blake Kaplan eff26cd65b Backed out changeset 07e47cdf85ad. We hit it on tinderbox. 2010-03-22 17:07:40 -07:00
Blake Kaplan 65afd1e725 Bug 522430 - Assert that this bad case doesn't happen. r=jst 2009-10-20 17:22:16 -07:00
Markus Stange c93c0764d2 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Johnny Stenback 56953e551e Fixing bug 550905. Don't use uninitialized values. r=jonas@sicking.cc 2010-03-19 15:06:13 -07:00
Neil Deakin 7f5366ce89 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Masayuki Nakano 3ddf56a8f4 Bug 528396 part2 cleaning up nsDOMWindowUtils.cpp r=roc 2010-03-19 14:03:41 +09:00
Masayuki Nakano f08f51eb24 Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst 2010-03-19 14:02:53 +09:00
Peter Van der Beken ba56c3a915 Fix for bug 552712 (Remove some NS_DEFINE_CLASSINFO_DATA_WITH_NAME use). r=jst.
--HG--
extra : rebase_source : 0e4b74d5c731a2bdff8da75f9c4edf6757c8b355
2010-03-17 16:09:01 +01:00
Markus Stange c85fb1f23b Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange 51f979aa23 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Mats Palmgren b05d82f7c5 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Mats Palmgren 601da851ca Remove the inner declaration of startOffset, it shadows the outer one we use. b=549909 r=enndeakin 2010-03-14 14:46:11 +01:00
Jonas Sicking ff49d3e414 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Sid Stamm 3234be224c bug 515443 CSP no-eval support. r=mrbkap,brendan 2010-03-08 00:24:50 -08:00
Shailen 6853cb030f Fixing bug 488423, don't pass a size of 0 to PR_CALLOC(). r+sr=jst@mozilla.org 2010-03-05 14:19:30 -08:00
Blake Kaplan 8634c22fc5 Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Robert O'Callahan c7359e0b91 Backed out changeset 5125fc26166b 2010-03-05 20:20:15 +13:00
Blake Kaplan 1ddb1d6472 Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Chris Jones 189c9e51ca Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Olli Pettay 5583fff1cf Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00