David Parks
a72dd8f316
Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
...
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils. This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
Kartikaya Gupta
93f272c174
Back out 3 csets from bug 1125325 for introducing bug 1173224. r=me
2015-06-10 15:55:34 -04:00
David Parks
177e150b29
Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
...
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils. This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
Boris Zbarsky
57e2d885c4
Bug 1163898 part 1. Give DOMEventTargetHelper a sane accessor for getting its nsIGlobalObject. r=smaug
2015-05-12 15:56:39 -04:00
Andrew McCreight
aeff7c99ee
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
54c64f20a9
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Olli Pettay
b7b3faa4e9
Bug 1124245, nsGlobalWindow::IsActive shouldn't depend on the state in nsFocusManager, r=Enn
...
--HG--
extra : rebase_source : 5fcd4611cc73651d9f7d1d498808847f26ff1d6b
2015-02-06 18:26:29 +02:00
Neil Deakin
08bdf771e0
Bug 1060529, send the enabled state of child process commands to the parent on update, without the test, r=smaug,ehsan
2014-12-09 10:48:27 -05:00
Wes Kocher
4f38e5819e
Backed out 2 changesets (bug 1060529) for introducing a new intermittent bc1 orange
...
Backed out changeset 5ddd9eb25925 (bug 1060529)
Backed out changeset d4f962fb38be (bug 1060529)
2014-12-08 16:40:55 -08:00
Neil Deakin
bf446d189e
Bug 1060529, send the enabled state of child process commands to the parent on update, now with improved test, r=smaug,ehsan
2014-12-08 08:12:22 -05:00
Olli Pettay
b4e25b3aa6
Bug 1082839 - WebIDL for WindowRoot, r=peterv
...
--HG--
extra : rebase_source : 035e2752e12f31b78accae45eb1534c4dc31b690
2014-10-18 02:05:16 +03:00
Peter Van der Beken
170a6e0a63
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 6ca1903658d3d6fe2634409cd39fa68c6b1219bd
2014-10-07 11:44:48 +02:00
Birunthan Mohanathas
1b1e0b258c
Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug
2014-04-29 04:57:00 -04:00
Masayuki Nakano
abfbab58dd
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
db6b33d414
Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug
2014-03-18 13:48:20 +09:00
Masayuki Nakano
ef5a7c0e92
Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug
2014-03-18 13:48:19 +09:00
Masayuki Nakano
a7a5e56dd5
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey
ed10f7b8b4
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-23 07:32:04 +08:00
Ryan VanderMeulen
e9e247b525
Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
...
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
b98758cdbd
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 19:58:25 +08:00
Phil Ringnalda
7f4c6bd321
Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
...
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
d9a28b7f74
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 11:10:44 +08:00
Masayuki Nakano
5e5853070a
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
648570f10b
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Boris Zbarsky
145b4483f7
Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug
2013-09-23 20:25:17 -04:00
Ehsan Akhgari
45d655ec96
Bug 919325 - Minimize the #includes in content/ IDL files; r=bzbarsky
...
--HG--
extra : rebase_source : 923a665eadc62046c9d5398a25187a3331fd8d25
2013-09-22 19:23:30 -04:00
Ehsan Akhgari
ef3770d249
Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky
2013-09-17 12:49:07 -04:00
Olli Pettay
94e6470c84
Bug 899022, cycle collect WindowRoot's window, r=mccr8
...
--HG--
extra : rebase_source : d223a51a2f928694dc6c3c79bd73b971329004db
2013-08-08 21:23:55 +03:00
Boris Zbarsky
a3d695962d
Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
...
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
David Zbarsky
f4478a4b6b
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger
2013-04-19 18:18:33 -04:00
Boris Zbarsky
774766d13e
Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug
2013-04-16 17:16:08 -04:00
David Zbarsky
a3eafcf007
Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger
2013-04-05 20:44:15 -04:00
David Zbarsky
5cc0fcdcdf
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Boris Zbarsky
9b5a16619b
Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv
2013-01-29 08:44:01 -05:00
Ms2ger
a5dc8db234
Bug 814898 - Part b: Cleanup CC goop in dom/base; r=mccr8
2012-12-02 09:53:37 +01:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Masayuki Nakano
87c08c8383
Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug
2011-11-25 10:09:58 +09:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Ms2ger
5de9963a6e
Bug 693160 - Cleanup nsWindowRoot::GetControllerForCommand a bit; r=bz
2011-10-15 09:27:57 +02:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jonas Sicking
923d52af7d
Bug 667612: Make addEventListener not throw if passed a null listener. r=smaug
2011-08-18 02:45:00 -07:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00