Commit Graph

470 Commits

Author SHA1 Message Date
Boris Zbarsky
326e6cd9f3 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
7c61f15cf1 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
0ebb9c1370 Merge tracemonkey to mozilla-central. 2010-05-06 08:50:41 -04:00
Blake Kaplan
3378dfe336 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
f7d7c95ec6 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
3c3a1ca782 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
3fa134bbc4 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
a64d376e9c 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
abd7f913e0 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
00f6066393 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Robert Sayre
2a89b5be4f Merge mozilla-central to tracemonkey. 2010-05-03 11:03:37 -04:00
Robert Sayre
2420e05a4d Merge mozilla-central to tracemonkey 2010-04-28 11:11:48 -04:00
Boris Zbarsky
d319faf7ba 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
0797892373 Bug 552255, a bit more strict focus handling, r=enndeakin, sr=jst, a=1hourlimit 2010-04-24 13:40:48 +03:00
Boris Zbarsky
e3c85bbb77 Bug 492925. Make array access on medialists actually work. r=jst 2010-04-23 13:37:02 -04:00
Robert O'Callahan
75dc672dff Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0 Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Neil Deakin
ceb1712f98 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
53ce892306 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Ben Turner
f53cf449f0 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
1a83956b1c 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
eb179fd968 Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Ehsan Akhgari
56da627d1d Fix the compiler warnings introduced by bug 528396; r=roc 2010-04-11 15:57:08 -04:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Zack Weinberg
311881921d 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
0578abb1ad Fix warning. 2010-04-08 14:07:28 +02:00
Felipe Gomes
3a5e3b045a Bug 489127 - nodesFromRect required for better usability on mobile devices (part 4) [r=roc] 2010-04-07 20:31:26 -04:00
Blake Kaplan
63886e99f2 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
3cab1f9ae4 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
42d3a70ee1 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
8e3acb1006 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
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Olli Pettay
8ef39a6b0c Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Ben Newman
941ed3332c 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
fd4084623b 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
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Masatoshi Kimura
87b17f9962 Bug 463104: elementFromPoint should accept floating point coordinates. r=bz 2010-04-03 07:34:24 -04:00
L. David Baron
0703626682 Add nsIDOMWindowUtils::getVisitedDependentComputedStyle for use in tests. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Robert Sayre
c8c02b70fc Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Jeff Walden
6279380ef0 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
fbc0da3a62 Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden
fa7bcd268b 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
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3 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
c61d158305 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
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Olli Pettay
e425b81efd Bug 536092 - Micro optimizations for event handling, r=jst
--HG--
extra : rebase_source : d34faef862a532109f05750ccb7220bd1ddf6e19
2010-03-31 15:44:18 +03:00
Andreas Gal
32268bb413 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Robert Sayre
e0c72a18bd Merge mozilla-central to tracemonkey. 2010-03-14 13:04:44 -04:00
Jonas Sicking
ee2d2ff9d0 Bug 549452 followup. Address review comment by renaming function.
--HG--
extra : rebase_source : 2b287a740157cac7d06179960c35f7ccda925156
2010-03-13 12:39:36 -08:00
Robert Sayre
53807b9013 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
84b14d6f30 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Ben Newman
4502ed4669 Simpler approach to bug 523885. r=jst 2010-03-11 20:42:05 -08:00
Jonas Sicking
2c3f66eb94 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
986107fb30 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
36ccbc2070 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
106fbd8085 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
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Andreas Gal
cef73f06e6 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
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
L. David Baron
b89eb35bb7 Fix guard object used as temporary. (Bug 555099) r=mrbkap 2010-03-26 10:12:39 -04:00
Craig Topper
c3fc5fa456 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
9d5b1c0316 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Nochum Sossonko
2b4fa77fc0 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
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Neil Deakin
10dc1ef135 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
39d8beb92d 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
5b003deb87 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
ed744ecebf Bug 546270: Use SetupSilentPrinting() to initialize mGTKPrinter for window.print() calls. r=roc 2010-03-10 12:33:35 -08:00
Olli Pettay
c5e7b0ab22 Bug 552663, start timeouts asynchronously when jsd enables scripts, r=jst 2010-03-24 00:35:15 +02:00
Blake Kaplan
77843f806c Backed out changeset 07e47cdf85ad. We hit it on tinderbox. 2010-03-22 17:07:40 -07:00
Blake Kaplan
cf01e551cd Bug 522430 - Assert that this bad case doesn't happen. r=jst 2009-10-20 17:22:16 -07:00
Markus Stange
5fb3e948bb 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
4cb67eed6d Fixing bug 550905. Don't use uninitialized values. r=jonas@sicking.cc 2010-03-19 15:06:13 -07:00
Neil Deakin
8f3acb3041 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Masayuki Nakano
fd58ad59bb Bug 528396 part2 cleaning up nsDOMWindowUtils.cpp r=roc 2010-03-19 14:03:41 +09:00
Masayuki Nakano
bb7a62d1cf 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
68a0d4625a 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
4a997d3554 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
f1f3037861 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
549893b6d7 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Mats Palmgren
47a33305b5 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
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Sid Stamm
47a3291b46 bug 515443 CSP no-eval support. r=mrbkap,brendan 2010-03-08 00:24:50 -08:00
Shailen
4334111554 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
5f9a4782f7 Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Robert O'Callahan
266633a9f7 Backed out changeset 5125fc26166b 2010-03-05 20:20:15 +13:00
Blake Kaplan
20a75bea4c Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Chris Jones
f0560d9e8e 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
83b813bb98 Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Jonas Sicking
1a41a3c97c Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Robert O'Callahan
3285727f86 Bug 544399. Use nsLayoutUtils::SurfaceFromElement when comparing canvases. r=vlad
--HG--
extra : rebase_source : 93f22c10faa3bad9dbff48cd823f38d4a6ffc22a
2010-02-24 11:04:32 -08:00
Ben Newman
d32fcf7f0e Backout of changeset c3b327ad051a due to failure of dom/tests/mochitest/bugs/test_bug459848.html. 2010-02-23 13:57:15 -08:00
Ben Newman
f28f39240d Bug 523885 - Tabbrowser handling of window.close possibly leak-prone. r=bz+sr=jst
--HG--
extra : rebase_source : 07b3a2e304498e053cdb301bb0d0d781412a196a
2010-02-23 10:45:05 -08:00
Neil Deakin
78ed0e9792 Bug 544146, when focusing at the caret position, if the caret is not set or at the root, don't look for a node to focus, r=smaug 2010-02-23 13:16:19 -05:00
Olli Pettay
5112f86fda Bug 538310, clean up old mimetype code, r=jst, sr=sicking 2010-02-11 13:03:47 +02:00