Commit Graph

229 Commits

Author SHA1 Message Date
Olli Pettay
af68dc73cd Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
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
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05: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
Neil Deakin
847d6ce201 Bug 564277, fix up various focus ring issues for html elements, r=smaug 2010-06-21 08:37:34 -04:00
Olli Pettay
fe69412640 Bug 571438 - MayHavePaintEventListener fails for non-e10s message manager, r=jst 2010-06-16 14:43:36 +03:00
Olli Pettay
cb4704d113 Bug 568975 - m-c message manager slowed down event handling a bit, r=jst 2010-06-16 14:42:42 +03:00
Oleg Romashin
87c511839e Merged with mozilla-central 2010-04-22 20:22:26 -04: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
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
L. David Baron
b89eb35bb7 Fix guard object used as temporary. (Bug 555099) r=mrbkap 2010-03-26 10:12:39 -04:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02: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
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
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
Robert O'Callahan
e3bea40661 bug 563864. Add mozPaintCount API. r=smaug,sr=vlad 2010-05-13 12:56:08 +12: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
Blake Kaplan
d8bc476488 Bug 586157 - Deal with setting __proto__ on outer windows. r=jst 2010-08-13 17:05:18 -07:00
Blake Kaplan
28169c5f95 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner
ed7ada6b7e Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Luke Wagner
59422fe649 Backout 33addcc556b8 to c8bb41305006 (at the request of mrbkap) 2010-08-16 21:37:37 -07:00
Blake Kaplan
1ac4791c74 Bug 586157 - Deal with setting __proto__ on outer windows. r=jst 2010-08-13 17:05:18 -07:00
Blake Kaplan
3e81f7fd38 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Boris Zbarsky
a491cefc6d Bug 484710. Add a notification for when a window's scope stops being usable. r=jst 2010-05-14 17:17:52 -04:00
Doug Turner
9e52c27932 merge from mozilla-central. no merges required 2010-03-23 02:53:35 -07:00
Jason Duell
69b885991b Merge from m-c in order to fix e10s necko hangs caused by last m-c merge. 2010-03-19 23:55:40 -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
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
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
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
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391 Merge with mc 2010-03-17 10:37:32 -07:00
Doug Turner
16e2fd5fe7 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Doug Turner
d08632917d Merge with mc 2010-03-08 10:09:55 -08:00
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Olli Pettay
72dc86132d Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg 2010-02-20 19:05:20 +02: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
Martin Stransky
ed744ecebf Bug 546270: Use SetupSilentPrinting() to initialize mGTKPrinter for window.print() calls. r=roc 2010-03-10 12:33:35 -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
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
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
Olli Pettay
8ef39a6b0c Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Olli Pettay
c5e7b0ab22 Bug 552663, start timeouts asynchronously when jsd enables scripts, r=jst 2010-03-24 00:35:15 +02:00
Benjamin Smedberg
6d1766e8cd Bug 567357 - Fire a DOMWindowCreated event which matches the observer-service notification in bug 549539 so that extensions/message-manager scripts can add DOM features before any content script runs, r=sicking
--HG--
extra : rebase_source : b1eda0b412952587b9ef12908b2c2f818359ce65
2010-06-10 12:23:40 -04:00
Olli Pettay
ef0223722d backout Bug 568975 2010-06-10 14:25:45 +03:00
Olli Pettay
f8b4e9410c Bug 562901 - Synchronous XMLHttpRequests cause setInterval to stop functioning, r=jst 2010-06-10 13:29:43 +03:00
Olli Pettay
afac1feb5b Bug 568975 - m-c message manager slowed down event handling a bit, r=jst
--HG--
extra : rebase_source : 33a1b10f31760b69a565645f43062f872b136b98
2010-06-10 13:05:31 +03:00
Olli Pettay
8f81d70abb Bug 566024 - Add a 'global' messageManager, r=jst 2010-06-10 12:26:19 +03:00
Drew Willcoxon
155d247243 Bug 570986 - nsGlobalWindow::Dump should check all bytes, not chars, when replacing \r with \n. r=bzbarsky 2010-06-09 14:08:17 -07:00
Dan Witte
78b72f1c78 Bug 568059 - Remove navigator.preference. r=sicking, sr=jst 2010-06-08 16:43:55 -07:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Blake Kaplan
1a9a5c12c9 More bustage fixing. 2010-06-29 18:28:21 -07:00
Blake Kaplan
64f01ec858 Add another missing null check. 2010-06-29 14:35:23 -07:00
Blake Kaplan
4a598eb12b Restore lost null check. 2010-06-29 13:16:19 -07:00
Blake Kaplan
6442fff51c Bug 575431 - Re-marry nsGlobalWindow to JS (instead of being language-agnostic). r=jst 2010-06-29 11:46:39 -07:00
Blake Kaplan
129690a412 Bug 574517 - Separate the inner and outer windows' JS classes. r=jst 2010-06-28 16:39:00 -07:00
Robert Sayre
0a9fd0ff39 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Blake Kaplan
62c84f09e1 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Blake Kaplan
0130483c24 Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst 2010-05-28 16:01:08 -07:00
Daniel Holbert
336040d3c5 Bug 501423 followup: Reorder init lists to fix "will be initialized after" build warnings. r=jst 2010-02-02 12:05:24 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Dave Townsend
39858b12af Bug 537449: Opening new chrome windows is broken after cancelling window.onbeforeunload event. r=bsmedberg, r=jst 2010-01-28 10:35:20 -08:00
Honza Bambas
e1a5b71c19 Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Justin Lebar
a090ac8577 Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Peter Van der Beken
d609cb9818 Fix for bug 428229 (Unable to override addEventListener), add security check to nsGlobalWindow::AddEventListener. r=mrbkap, sr=jst.
--HG--
extra : rebase_source : a5a35ee7301d276ef8194a639515f42f78e26328
2010-01-13 14:50:01 +01:00
Peter Van der Beken
7d8645e4ca Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Robert O'Callahan
c564ba50c2 Bug 526394. Part 11: Convert nsGlobalWindow and nsDOMWindowUtils. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan
ee9a495090 Backed out changeset ad1892e1bb82 2010-01-07 15:17:15 +13:00
Justin Lebar
75301b3f6f Bug 515190: Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Daniel Holbert
fee9f97bcd Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc 2010-01-06 09:20:50 -08:00
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Mike Kristoffersen ext:(%3E)
2831befe3b Bug 562181 - Add support for MozOrientation on Qt. r=dougt
--HG--
rename : widget/src/android/nsAccelerometerAndroid.cpp => dom/system/android/nsAccelerometerSystem.cpp
rename : widget/src/android/nsAccelerometerAndroid.h => dom/system/android/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.h => dom/system/cocoa/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.mm => dom/system/cocoa/nsAccelerometerSystem.mm
rename : widget/src/xpwidgets/nsAccelerometer.cpp => dom/system/nsAccelerometer.cpp
rename : widget/src/xpwidgets/nsAccelerometer.h => dom/system/nsAccelerometer.h
rename : widget/src/gtk2/nsAccelerometerUnix.cpp => dom/system/unix/nsAccelerometerSystem.cpp
rename : widget/src/gtk2/nsAccelerometerUnix.h => dom/system/unix/nsAccelerometerSystem.h
rename : widget/src/windows/nsAccelerometerWin.cpp => dom/system/windows/nsAccelerometerSystem.cpp
rename : widget/src/windows/nsAccelerometerWin.h => dom/system/windows/nsAccelerometerSystem.h
rename : widget/public/nsIAccelerometer.idl => xpcom/system/nsIAccelerometer.idl
extra : rebase_source : f9c352566a6d4088e8d448587214fb87402a4dc3
2010-06-25 14:25:31 +02:00
Boris Zbarsky
3e7aa47200 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Olli Pettay
19c06de19d bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Josh Aas
514a6c5e9d Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Peter Van der Beken
b169f2dccb Fix for bug 531542 ("ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout). r=jst. 2009-11-30 10:58:32 +01:00
Blake Kaplan
2c89f91972 Bug 520386. Don't clear scope while executing code in that scope. r=bzbarsky@mit.edu, sr=jst@mozilla.org 2009-11-19 15:11:44 -08:00
Peter Van der Beken
7e0a012c40 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
aae3f7089b Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Josh Aas
8ed79a6952 Fix navigator.platform for 64-bit Mac OS X builds. b=489586 r=dbaron 2009-11-12 17:54:06 -05:00
Boris Zbarsky
18575db8fd Bug 528208. Measure interval delays from start of callback to start of callback, not from end of callback to start of callback. r=peterv 2009-11-12 16:50:38 -05:00
Doug Turner
2af0681054 Bug 493615 - Allow Addons to use the DOM Geolocation API. r=smaug
--HG--
extra : rebase_source : a48f85c5940252a87bfef879663b2d50daed5686
2009-11-12 07:14:45 -08:00
Peter Van der Beken
ffc116d778 Fix for bug 512645 (Only clamp nested timeouts). r=jst.
--HG--
extra : rebase_source : 556930c0c02258f75becabe58eadd202fdea59a1
2009-08-26 11:07:39 -07:00
Josh Aas
d069d0092b Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Ben Newman
19cb564817 Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst 2009-09-16 11:46:05 -07:00
Blake Kaplan
fbf1568798 Bug 522430 - Don't hand out unexpected objects. r=jst sr=sicking 2009-10-20 17:22:16 -07:00
Timothy Nikkel
5321e14840 Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Nochum Sossonko
14e32bd632 Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00