Bobby Holley
9125e414d0
Bug 979481 - Make the SafeJSContext default to a null compartment, and have AutoSafeJSContext enter the compartment instead. r=bz
2014-03-06 08:55:01 -08:00
Bobby Holley
df6ae45924
Bug 979481 - Prepare the cx stack machinery for a world where a cx has no default compartment object. r=bz
2014-03-06 08:55:00 -08:00
Bobby Holley
ac19965ed0
Bug 979481 - Separate the lifetime of the SafeJSContext global from that of the SafeJSContext itself. r=bz
2014-03-06 08:55:00 -08:00
Bobby Holley
0f2729e9aa
Bug 960108 - Ignore saved frame chains and contexts in JS::DescribeStack. r=bz
2014-03-05 20:15:35 -08:00
Nicholas Nethercote
ef66ea213a
Backout 519787a56627 (bug 972712, part 6) and the follow-up 5c9a4a1f2c0b (bug 978227) because ASAN is complaining intermittently about the former. r=me.
...
--HG--
extra : rebase_source : 31e2b96c57703caf94f65fed1d0c007d6984421e
2014-03-05 14:19:28 -08:00
Bobby Holley
c96d1ec244
Bug 960820 - Ignore contexts and saved frame chains for exception stack, and rely on the principal check. r=luke,mrbkap sr=bz
...
It would be nice to update the JS shell tests to make sure the principal check
works, but we can't do that without bug 969273. So we add an XPConnect test that
verifies the filtering behavior.
2014-03-05 08:18:06 -08:00
Jed Davis
906a754859
Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
...
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Masayuki Nakano
66706f5a6e
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Andrew McCreight
f1377bba28
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 15:39:42 -08:00
Wes Kocher
6af883c75a
Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE
2014-03-04 14:15:33 -08:00
Andrew McCreight
60f02fa45e
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 13:33:44 -08:00
Bobby Holley
1260505a96
Bug 977340 - Assert during compartment checking that we're using the stack-top cx. r=luke,gabor
2014-03-04 10:05:08 -08:00
Bobby Holley
fc3ab7e04a
Bug 977340 - Do some gymnastics to avoid tripping cx assertions when cloning exceptions from evalInWindow calls. r=gabor
2014-03-04 10:05:08 -08:00
Bobby Holley
3a748a29f3
Bug 977340 - Use an AutoJSContext when clearing modules. r=gabor
2014-03-04 10:05:08 -08:00
Bobby Holley
a811f156cf
Bug 976938 - Add a way to identify the Xray parent (if any) of a given function. r=bz
2014-03-04 10:05:07 -08:00
Ehsan Akhgari
5849174c77
Bug 978995 - Stop exporting symbols from xpconnect; r=bholley
2014-03-03 20:51:27 -05:00
Jeff Walden
7741787e99
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
...
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Ed Morley
600a53b971
Merge mozilla-central and inbound
2014-03-03 16:59:25 +00:00
Ed Morley
554b2aaf5b
Backed out changeset 508848ad378a (bug 939562) for causing bug 978450
2014-03-03 16:54:26 +00:00
Bobby Holley
0316bf7af6
Bug 975419 - Used a TenuredHeap pointer for SandboxPrivate and BackstagePass. r=mccr8
2014-03-03 08:53:42 -08:00
Jan de Mooij
25a5a4b3eb
Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
...
--HG--
extra : rebase_source : e25c6f5f381a972c472fb8a845c737fb31617682
2014-02-26 10:25:36 +01:00
Masayuki Nakano
779efe1c1a
Bug 975688 part.26 Rename nsDOMUIEvent to mozilla::dom::UIEvent r=smaug
...
--HG--
rename : dom/events/nsDOMUIEvent.cpp => dom/events/UIEvent.cpp
rename : dom/events/nsDOMUIEvent.h => dom/events/UIEvent.h
2014-02-28 23:58:43 +09:00
Nicholas Nethercote
dffee9c58c
Bug 972712 (part 6) - Report objects and shapes by their class. r=till.
...
--HG--
extra : rebase_source : aa42a16006a3ef180056836215d497dba0eae383
2014-02-26 18:35:48 -08:00
Nicholas Nethercote
0db86053b3
Bug 972712 (part 4) - Report script sources in more detail. r=till.
...
--HG--
extra : rebase_source : b28fc8f4ff791966cb784e1c12def58927d3e3d3
2014-02-13 20:03:07 -08:00
Nicholas Nethercote
2561588a30
Bug 972712 (part 3) - Rework notable string reporting. r=till.
...
--HG--
extra : rebase_source : 274c2ee9beafca5e464234f37e894967d20abb25
2014-02-26 18:11:01 -08:00
Nicholas Nethercote
c450b10d05
Bug 972712 (part 2) - Shorten JS memory report descriptions. r=till.
...
--HG--
extra : rebase_source : 5acec546db5b3f62d4a88c301af282c53f8abaf4
2014-02-26 17:59:50 -08:00
Nicholas Nethercote
2ca486549e
Bug 972712 (part 1) - Don't report short strings separately. r=till.
...
--HG--
extra : rebase_source : 631fe6137935cfb2fbfc3339406c5418d458ad38
2014-02-26 17:53:02 -08:00
Luke Wagner
994924da45
Remove JS_ prefix from DescribeScriptedCaller in comments NPOTB (no bug, r=me)
2014-02-27 10:47:54 -06:00
Benjamin Bouvier
7a3e028e1e
Bug 939843: Required changes in the rest of the tree; r=froydnj
...
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Peter Van der Beken
fa5238349a
Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky
2013-07-09 13:54:21 -04:00
Masayuki Nakano
8eb5615b8a
Bug 975688 part.15 Rename nsDOMMouseEvent to mozilla::dom::MouseEvent r=smaug
...
--HG--
rename : dom/events/nsDOMMouseEvent.cpp => dom/events/MouseEvent.cpp
rename : dom/events/nsDOMMouseEvent.h => dom/events/MouseEvent.h
2014-02-27 19:51:15 +09:00
Jan de Mooij
50ae94f486
Bug 939562 part 2 - Increase kTrustedScriptBuffer from 40k to 50k on Windows. r=bholley
2014-02-27 09:41:24 +01:00
Carsten "Tomcat" Book
33fc0403e7
Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE
2014-02-26 16:02:15 +01:00
Jason Orendorff
fc3f78ef89
Bug 972319, part 2 - Transition some code using JS_SaveExceptionState to JS::AutoSaveExceptionState. r=bholley.
2014-02-26 08:55:34 -06:00
Jan de Mooij
b36f3f389e
Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
2014-02-26 10:25:36 +01:00
Jan de Mooij
a5dacf6e8d
Bug 939562 part 1 - Bump trusted script buffer size for ASAN builds. r=bholley
2014-02-26 10:19:45 +01:00
Luke Wagner
13dba8c69f
Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
...
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Bobby Holley
840a00ea3f
Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor
2014-02-25 08:38:33 -08:00
Ehsan Akhgari
5d2d8c62a4
Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal
2014-02-24 08:30:25 -05:00
Bobby Holley
8add84b025
Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke
2014-02-21 16:03:11 -08:00
Bobby Holley
076b37d7fa
Bug 975277 - Move the wrappedJSObject getter out of getPropertyDescriptor. r=gabor
...
The current setup is kinda wrong, and doesn't work with HasPrototype Xrays.
This change requires us to manually munge the holder, but that's probably ok
for now.
2014-02-21 16:03:08 -08:00
Bobby Holley
58c0c8876c
Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor
2014-02-21 15:55:31 -08:00
Peter Van der Beken
f2f3714e0a
Bug 975277 - Pass the real receiver when using HasPrototype. r=bholley
2014-02-21 15:55:31 -08:00
Peter Van der Beken
4958def6ef
Bug 975277 - Add some machinery to allow Traits to specify whether they want to use hasPrototype or not. r=bholley,efaust
2014-02-21 15:55:30 -08:00
Bobby Holley
70ab153574
Bug 973780 - Remove Xray expando slot from WNs. r=bz
2014-02-21 11:35:49 -08:00
Bobby Holley
ab79b8248f
Bug 973780 - Hook Xrays up to the new expando map. r=bz
2014-02-21 11:35:48 -08:00
Bobby Holley
30d145598c
Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8
2014-02-21 11:35:48 -08:00
Luke Wagner
c9ee8e82c3
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
...
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Phil Ringnalda
7732675ab7
Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
...
CLOSED TREE
2014-02-20 20:46:50 -08:00
Nicholas Nethercote
c4c6dc8cf7
Bug 969415 (part 2) - Add a pref to enable memory report dumping on JS OOMs. r=luke.
...
--HG--
extra : rebase_source : 3971f809744869a2f2d77e435e95aca44bf7e9d7
2014-02-20 18:35:43 -08:00
Bobby Holley
0ab509d5e9
Bug 973780 - Remove Xray expando slot from WNs. r=bz
2014-02-20 18:24:09 -08:00
Bobby Holley
450c2ea892
Bug 973780 - Hook Xrays up to the new expando map. r=bz
2014-02-20 18:24:09 -08:00
Bobby Holley
39dc4e0757
Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8
2014-02-20 18:24:09 -08:00
Andrew McCreight
ecbce16b57
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-20 12:55:40 -08:00
Chris Peterson
b6a3cbfa97
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Bobby Holley
28699ea040
Bug 960828 - More diagnostics. r=mccr8
2014-02-19 18:23:48 -08:00
Andrew McCreight
40808535d3
Backout bug 966762 for Valgrind leaks
2014-02-19 17:17:58 -08:00
Andrew McCreight
7cd675b3c0
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-19 13:27:15 -08:00
Brian Hackett
bb98c9b7e6
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Daniel Holbert
682b66552e
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
f86f58f16d
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Phil Ringnalda
c36c6ce913
Merge b-i to m-c
2014-02-15 10:01:36 -08:00
Bobby Holley
65a9234cc8
Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz
2014-02-14 22:39:34 -08:00
Bobby Holley
89e75f4bb7
Bug 968335 - Tests. r=bz
2014-02-14 22:36:44 -08:00
Bobby Holley
15eba92086
Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz
2014-02-14 22:36:44 -08:00
Bobby Holley
4b4c66f595
Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
...
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 22:36:43 -08:00
Mike Habicher
cb7b7f75e6
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 17:41:07 -05:00
Phil Ringnalda
f2630e3d05
Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
...
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
772b5fa2da
Bug 968335 - Tests. r=bz
2014-02-14 16:13:38 -08:00
Bobby Holley
187d49d241
Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz
2014-02-14 16:13:38 -08:00
Bobby Holley
0f0ffa8525
Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
...
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 16:13:37 -08:00
Neil Rashbrook
575255ea5f
Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley
2014-02-14 19:44:55 +00:00
Michael Shuen
219c49dd20
Bug 934817 - Part 2: Remove 0-length check in XPCStringConvert::ReadableToJSVal and XPCConvert::NativeData2JS. r=bz
2014-02-14 11:15:42 -05:00
Bobby Holley
4211893075
Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap
2014-02-13 18:57:36 -08:00
Bobby Holley
efd332b2df
Bug 956382 - Consider document.domain when computing security wrappers. r=mrbkap
2014-02-13 18:57:35 -08:00
Bobby Holley
13a4ff6a45
Bug 956382 - Add AccessCheck::subsumesConsideringDomain and clean up other implementations. r=mrbkap
...
We now assert that we have a principal when we enter the wrap callback, and we
now have a convenient overload defined in nsIPrincipal.idl.
2014-02-13 18:57:34 -08:00
Bobby Holley
876aaba4b2
Bug 972478 - Docshell scriptability should only affect non-immune principals. r=bz
2014-02-13 15:40:50 -08:00
Bobby Holley
010de8007f
Bug 960828 - Diagnostics. r=mccr8
2014-02-13 11:54:59 -08:00
Bobby Holley
d11531d2a6
Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8
2014-02-13 10:54:08 -08:00
Bobby Holley
73ce31f07f
Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap
2014-02-13 10:54:08 -08:00
Bobby Holley
66cc972e63
Bug 965901 - Track and assert the policy action in AutoEnterPolicy/assertEnteredPolicy. r=gabor sr=mrbkap
2014-02-13 10:54:07 -08:00
Jon Coppeard
0eac977006
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jan de Mooij
a69c3e1433
Bug 931861 - Fix xpcshell to install breakpad signal handlers before AsmJS/Ion signal handlers. r=ted
2014-02-13 10:22:58 +01:00
Neil Rashbrook
c0aac862cd
Bug 966911 Part 3: Passing undefined to an AString param should (like ACString) convert to null, not the empty string r=bholley
2014-02-13 00:26:28 +00:00
Neil Rashbrook
0dc2b0ff48
Bug 966911 Part 2: An AString out param should use a short lived string instead of wastefully creating an nsAutoString on the heap r=bholley
2014-02-13 00:08:57 +00:00
Andrew McCreight
e62aef1717
Bug 733636, part 2 - nsXPConnect::WrapNative should pass aAllowWrapping=true. r=bholley
2014-02-12 15:19:32 -08:00
Andrew McCreight
7217794d76
Bug 733636, part 1 - Change the nsContentUtils::WrapNative aAllowWrapping default to true. r=bholley
2014-02-12 15:19:32 -08:00
Neil Rashbrook
b9f497881a
Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley
2014-02-12 21:22:07 +00:00
Jon Coppeard
25c1a75044
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Andrew McCreight
72e3aeff0a
Bug 967023, part 2 - Get rid of XPCWrappedJSClass::GetNewOrUsed out param. r=bholley
2014-02-11 14:56:46 -08:00
Andrew McCreight
5f07b33fa7
Bug 967023, part 1 - Rename clazz to clasp in XPCWrappedNative::GetNewOrUsed. r=bholley
2014-02-11 14:56:45 -08:00
Masatoshi Kimura
0a3d8da618
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Jon Coppeard
2cf0941496
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Masatoshi Kimura
590e1730d2
Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm
2014-02-11 05:50:16 +09:00
Bobby Holley
1470b35e49
Bug 965921 - Handle addons that expose JS-implemented XPCOM components to content. r=mrbkap
2014-02-10 10:27:24 -08:00
Bobby Holley
18b05894d8
Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz
2014-02-10 10:03:56 -08:00
Jon Coppeard
f78663e243
Bug 969798 - Convert JS_ConvertArguments APIs to take CallArgs rather than raw Value pointer r=terrence
2014-02-10 16:42:27 +00:00
Andrew McCreight
3fe6a0ae7a
Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage
2014-02-04 20:09:26 -08:00
Andrew McCreight
3ebf482b7b
Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:59 -08:00
Andrew McCreight
5c5b29c9f5
Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
5688f1f8f2
Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
364e47e790
Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
5772d34f0e
Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
826efab844
Bug 965920, part 3 - Smart pointerize newVariant. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
c63ca2fcc3
Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
b3a77787bd
Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley
2014-02-04 19:29:57 -08:00
Phil Ringnalda
176231ef57
Backed out 9 changesets (bug 965920, bug 966765, bug 966766)
...
CLOSED TREE
Backed out changeset 6c2bba06ed58 (bug 965920)
Backed out changeset e01c94498760 (bug 966766)
Backed out changeset e2585386f84e (bug 966766)
Backed out changeset d1db5d2a417f (bug 966766)
Backed out changeset f114c97660c6 (bug 966766)
Backed out changeset 2dd7d47a1e8c (bug 966765)
Backed out changeset 0f26c4b3eab7 (bug 965920)
Backed out changeset ca0b05e7155f (bug 965920)
Backed out changeset 55dcd2a5362e (bug 965920)
2014-02-04 21:01:19 -08:00
Andrew McCreight
cc3eafe628
Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage
2014-02-04 20:09:26 -08:00
Andrew McCreight
197d4947c5
Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:59 -08:00
Andrew McCreight
cdaaafb12e
Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
6893ad00fb
Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
3383b59528
Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
f43f0fdec6
Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
1d6e61e2f0
Bug 965920, part 3 - Smart pointerize newVariant. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
8631f11807
Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
9996680e03
Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley
2014-02-04 19:29:57 -08:00
Bobby Holley
2e734e191d
Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke
2014-02-04 07:51:54 -08:00
Jon Coppeard
cd6056507e
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
3ff2c54041
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
4d31f15db2
Bug 965904 - Fix some rooting hazards in the browser r=terrence
2014-01-31 09:56:40 +00:00
Jon Coppeard
b65a90b42b
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Chris Peterson
cf2bfd13b3
Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc
2014-01-29 20:40:34 -08:00
Eric Faust
3d2ff44197
Bug 924720 - Followup: Add better comments to window convert stub change.(r=bholley over IRC)
...
DONTBUILD because comment-only.
2014-01-30 12:36:37 -08:00
Andrew McCreight
a692fa79af
Bug 963192, part 4 - Smart pointerize nsXPConnect::mDefaultSecurityManager. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
1b17cf647c
Bug 963192, part 3 - Smart pointerize XPCContext::mException. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
7e5a396274
Bug 963192, part 2 - Smart pointerize IID2ThisTranslatorMap. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
35b27a81d3
Bug 963192, part 1 - Smart pointerize XPCWrappedJSClass::mInfo. r=bholley
2014-01-30 11:20:41 -08:00
Bobby Holley
23bfb75afe
Bug 872273 - Remove non-cx variant of ErrorFromException, and make it take a HandleObject. r=Waldo
...
We're going to need to start doing more work in js_ErrorFromException, which
will require a |cx| and may GC.
2014-01-30 09:30:29 -08:00
Bobby Holley
c65c23ddf9
Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff
2014-01-30 07:45:16 -08:00
Bobby Holley
d3fddee6a0
Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff
2014-01-30 07:45:16 -08:00
Andrea Marchesini
86ea0191fb
Bug 964293 - Implement Cu.cloneInto() method, r=bholley
2014-01-30 04:45:48 -08:00
Boris Zbarsky
fffb30ddd3
Bug 965144. Make the Window-specific bits of XrayWrapper work with WebIDL windows. r=bholley
2014-01-29 22:34:25 -08:00
Boris Zbarsky
30b2700eab
Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley
2014-01-29 22:33:03 -08:00
Eric Faust
bb4653d814
Bug 924720 - Part 5: Allow callers of NewProxyObject() to specify a Proxy JSClass. (r=jwalden)
2014-01-29 17:20:16 -08:00
Eric Faust
33263c0776
Bug 924720 - Part 2: Make OuterWindowProxy use the proxy HasInstance and Convert stubs. (r=bholley)
2014-01-29 17:20:15 -08:00
Bobby Holley
b1b797c867
Bug 965082 - Tests. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
8e3433fd5d
Bug 965082 - Only run the {get,set}PrototypeOf override for non-SecurityWrappers. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
6932dd8917
Bug 965082 - Unify duplicate bits of state of proxies. r=mrbkap,r=gabor
...
Conceptually, these all boil down to "is this a security wrapper?"
2014-01-29 13:07:13 -08:00
Ed Morley
dd1432c15c
Merge mozilla-central and inbound
2014-01-29 10:39:41 +00:00
Jon Coppeard
73e01da607
Bug 959787 - Handlify some JS friend APIs r=sfink
2014-01-29 10:01:33 +00:00
Jon Coppeard
b5a2f0569c
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Henry Chang
7c4cd52214
Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang
2014-01-27 15:48:10 +08:00
Chris Peterson
28f3584391
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Andrew McCreight
0df713733d
Bug 963665 - Make nsIXPConnect noscript. r=bholley
2014-01-27 07:16:38 -08:00
Peiyong Lin
07cf02302b
Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug
2014-01-27 08:25:19 -05:00
Andrew McCreight
3ca5e94a9f
Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras
2014-01-26 07:57:00 -08:00
Zack Weinberg
098b7dc5c7
Bug 933885 part 1: make xpcshell dump() and print() handle non-ASCII characters correctly. r=bz
2014-01-25 23:27:11 -05:00
Jon Coppeard
7d118df1ce
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Jon Coppeard
57edf84676
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Boris Zbarsky
ef6c1819b3
Bug 962605 part 2. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Bobby Holley
3b985cf9d7
Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
...
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
03fb99d54e
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Bobby Holley
f99748dd9f
Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap
2014-01-24 16:08:25 -08:00
Terrence Cole
4a61834330
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
f62e0d6505
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Jon Coppeard
e04fe7ce7c
Bug 959787 - Handlify JS_Lookup* APIs r=sfink r=bz
2014-01-24 14:03:56 +00:00
Nicholas Nethercote
dd904d4ef9
Bug 961883 (part 3) - Measure and report the Nursery. r=terrence.
...
--HG--
extra : rebase_source : 6f12d47ca8cedc96b0dd0477ca4f71de08e47181
2014-01-21 17:17:08 -08:00
Nicholas Nethercote
286bcca0cc
Bug 961883 (part 2) - Measure and report the StoreBuffer. r=terrence.
...
--HG--
extra : rebase_source : f298f0373b7fee99eee7a62060f882d628f97eb2
2014-01-21 17:17:02 -08:00
Nicholas Nethercote
674e5b03a5
Bug 961883 (part 1) - Measure and report the SourceDataCache. r=benjamin.
...
--HG--
extra : rebase_source : b599e19fb681e972b1f6e184c44f5a726a61009f
2014-01-20 19:52:57 -08:00
Ryan VanderMeulen
9b696217ac
Backed out changeset 26984019ff59 (bug 962605) for suspicion of causing OSX 10.8 debug mochitest-other crashes.
...
CLOSED TREE
2014-01-23 12:45:43 -05:00
Boris Zbarsky
eb3ea30e19
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Wes Kocher
1df0d11b3e
Backed out changeset c75f13d4f160 (bug 962605)
2014-01-22 16:16:07 -08:00
Boris Zbarsky
3f2c45354d
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Tom Schuster
4fe0ac9e85
Bug 958119 - Some cleanup for XPConnect. r=gabor
2014-01-22 18:50:32 +01:00
Carsten "Tomcat" Book
9067c9a2da
Merge mozilla-central to mozilla-inbound
2014-01-22 14:37:23 +01:00
Carsten "Tomcat" Book
4fc7f2f24a
merge b2g-inbound to mozilla-central
2014-01-22 13:59:54 +01:00
Gina Yeh
5f54a70b3a
Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug
2014-01-22 14:26:29 +08:00
Nathan Froyd
480bc7e4bc
Bug 962241 - don't spam error messages about ContractIDToCID failing; r=bholley
2014-01-21 16:14:22 -05:00
Jon Coppeard
e58c03168c
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Andrew McCreight
f94fdcd656
Bug 961551, part 9 - Split scope of |wrapper|, plus other cleanup. r=bholley
2014-01-21 17:56:16 -08:00
Andrew McCreight
0fe088b81d
Bug 961551, part 8 - Use the code at the end of XPCWJS::GetNewOrUsed to build a new root wrapper. r=bholley
...
The code at the end of nsXPCWrappedJS::GetNewOrUsed will now correctly
construct a root wrapper when |root == nullptr|, so we can consolidate
the two places that construct |wrapper|.
2014-01-21 17:56:16 -08:00
Andrew McCreight
a065e0f69c
Bug 961551, part 7 - Smart pointerize rootClasp. r=bholley
...
Also, move the declaration of |clasp| down to where it is used.
2014-01-21 17:56:16 -08:00
Andrew McCreight
d7fc298807
Bug 961551, part 6 - Smart pointerize wrapper. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
e616bf8d69
Bug 961551, part 5 - Smart pointerize root. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
5f32fbd5bb
Bug 961551, part 4 - Remove release_root from XPCWJS::GetNewOrUsed. r=bholley
...
GetNewOrUsed now always releases |root| when |root| is non-null, so
release_root can be eliminated.
2014-01-21 17:56:15 -08:00
Andrew McCreight
6648abe1d6
Bug 961551, part 3 - Hold a strong ref to the root that is the result of Find in XPCWJS::GNOU. r=bholley
...
This is trickier than it looks, because this change causes additional
refcount traffic on |root| in the case where FindOrFindInherited
succeeds. This is potentially bad because if a WJS has a refcount of 1,
and no weak references to it, then if it goes to a refcount of 2 then
back to 1 it will be deleted. A WJS can get in this state if it
is a root with a refcount of 2, and has a weak reference, then
its refcount drops to 1, then later the weak reference goes away.
However, in this case, there can be no other WJS in the chain,
or the refcount would be greater than 1, so FindOrFindInherited
must end up returning |root|, so |wrapper == root|, and the
assignment to |wrapper| will make root go to a refcount of 3,
so the release of |root| on exit will only cause the refcount to
go to 2, so |root| won't be deleted.
2014-01-21 17:56:15 -08:00
Andrew McCreight
1042fc8b9b
Bug 961551, part 2 - Move addref out of XPCWrappedJS ctor. r=bholley
...
This paves the way for smart pointerization.
2014-01-21 17:56:15 -08:00
Andrew McCreight
dd44ea589f
Bug 961551, part 1 - Add root wrappers to the map in XPCWrappedJS ctor. r=bholley
2014-01-21 17:56:15 -08:00
Bobby Holley
f6e4a6123b
Bug 958324 - Remove SOW-transplant-related fixup. r=peterv
...
This became obsolete with bug 922009.
2014-01-21 08:26:41 -08:00
Bobby Holley
50f9d2007f
Bug 958324 - Remove same-compartment security wrappers for WNs. r=peterv,r=mrbkap
...
We've fixed Components, and SOWs are new-binding only. Youpie!
2014-01-21 08:26:40 -08:00
Bobby Holley
e5620c7a5e
Bug 961054 - Don't invoke SetLastResult until the completion of an XPCWN method call. r=mrbkap
2014-01-21 08:25:29 -08:00
Jon Coppeard
2bbbec43e9
Bug 961095 - Improve generic callbacks with better typing, and by only adding storebuffer entries when the key is in the nursery r=terrence
2014-01-21 10:44:39 +00:00
Andrea Marchesini
c06ff4f6c3
Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE
2014-01-20 18:47:35 +01:00
Andrea Marchesini
982b9946ab
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-20 17:51:41 +01:00
Ms2ger
6123115217
Bug 956553 - Remove js::IdToJsval in favour of js::IdToValue; r=luke
2014-01-20 08:58:27 +01:00
Ms2ger
cac07e2f81
Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo
2014-01-20 08:58:26 +01:00
Ms2ger
b10214ac53
Bug 953425 - Part b: Move DOMFileMetadataParameters to WebIDL; r=janv
2014-01-20 08:58:24 +01:00
Terrence Cole
20431f8abe
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Ryan VanderMeulen
530a6b72eb
Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
...
CLOSED TREE
2014-01-17 10:20:05 -05:00
Andrea Marchesini
2cdda17e77
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-17 15:24:03 +01:00
Andrew McCreight
bd108c6676
Bug 960715, part 2 - Remove nsXPConnect::FindMainThread(). r=bholley
2014-01-17 05:57:35 -08:00
Andrew McCreight
72f32deed1
Bug 960715, part 1 - Remove XPCWrappedNativeProto::ClassIsMainThreadOnly. r=bholley
2014-01-17 05:57:34 -08:00
Andrew McCreight
7f99b57883
Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor
2014-01-17 05:57:34 -08:00
Bobby Holley
3666b3a25a
Bug 794943 - Followup bustage fix. r=me CLOSED TREE
2014-01-16 16:11:25 -08:00
Bobby Holley
fbe7c83197
Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz
2014-01-16 15:45:40 -08:00
Bobby Holley
dcfb0e530e
Bug 794943 - Remove custom support for nsISecurityCheckedComponent in nsXPCWrappedJS. r=mrbkap
2014-01-16 15:45:39 -08:00
Bobby Holley
cbd56d3257
Bug 794943 - Remove nsISecurityCheckedComponent IID push from Components.interfaces{,ById}. r=mrbkap
...
This should have been in bug 951948 bug I missed it.
2014-01-16 15:45:39 -08:00
Terrence Cole
3e141bbf5e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Terrence Cole
f6bee6364e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink
...
--HG--
extra : rebase_source : e36c89af9c362e781d9ca9aceee42779258328b5
2014-01-14 17:19:07 -08:00
Andrew McCreight
30e936a9af
Back out a669a3d25d38 for breaking everything on this CLOSED TREE
2014-01-16 10:07:17 -08:00
Andrew McCreight
5ba4048bd4
Bug 959484 - de-THREADSAFE XPConnect. r=bholley
2014-01-16 08:49:26 -08:00
Andrew McCreight
e0af35a9a7
Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
11854a344e
Bug 959485, part 4 - Cleanup nsJSCID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
d838f188d4
Bug 959485, part 3 - Cleanup nsJSIID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
b2ddc3d078
Bug 959485, part 2 - Cleanup nsJSID::NewID. r=gabor
...
note that nsJSID::NewID(const char* str) isn't used
2014-01-16 08:49:25 -08:00
Andrew McCreight
5bc6d8c6a0
Bug 959485, part 1 - Remove null checks of the result of new nsJS*ID. r=gabor
2014-01-16 08:49:25 -08:00
Andrew McCreight
3af23dc67b
Bug 959413, part 4 - Get rid of a pointless null check in nsXPCComponents_Constructor. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
2279c0f9a2
Bug 959413, part 3 - Smart pointerize nsXPCConstructor. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
79e7734a48
Bug 959413, part 2 - Smart pointerize nsXPCComponents. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
0678a568fe
Bug 959413, part 1 - Remove null checks of new return values in XPC_IMPL_GET_OBJ_METHOD. r=bholley
2014-01-16 08:49:24 -08:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Robert O'Callahan
eacbf18e37
Bug 946065. Part 5: Move content/events to dom/ and flatten away 'src' directory. r=Ms2ger
...
--HG--
rename : content/events/src/DOMWheelEvent.cpp => dom/events/DOMWheelEvent.cpp
rename : content/events/src/DOMWheelEvent.h => dom/events/DOMWheelEvent.h
rename : content/events/src/EventTarget.cpp => dom/events/EventTarget.cpp
rename : content/events/public/EventTarget.h => dom/events/EventTarget.h
rename : content/events/public/MutationEvent.h => dom/events/MutationEvent.h
rename : content/events/src/PointerEvent.cpp => dom/events/PointerEvent.cpp
rename : content/events/src/PointerEvent.h => dom/events/PointerEvent.h
rename : content/events/src/SpeechRecognitionError.cpp => dom/events/SpeechRecognitionError.cpp
rename : content/events/src/SpeechRecognitionError.h => dom/events/SpeechRecognitionError.h
rename : content/events/src/TextComposition.cpp => dom/events/TextComposition.cpp
rename : content/events/src/TextComposition.h => dom/events/TextComposition.h
rename : content/events/src/Touch.cpp => dom/events/Touch.cpp
rename : content/events/src/Touch.h => dom/events/Touch.h
rename : content/events/crashtests/104310-1.html => dom/events/crashtests/104310-1.html
rename : content/events/crashtests/116206-1.html => dom/events/crashtests/116206-1.html
rename : content/events/crashtests/135345-1.html => dom/events/crashtests/135345-1.html
rename : content/events/crashtests/422009-1.xhtml => dom/events/crashtests/422009-1.xhtml
rename : content/events/crashtests/457776-1.html => dom/events/crashtests/457776-1.html
rename : content/events/crashtests/496308-1.html => dom/events/crashtests/496308-1.html
rename : content/events/crashtests/682637-1.html => dom/events/crashtests/682637-1.html
rename : content/events/crashtests/crashtests.list => dom/events/crashtests/crashtests.list
rename : content/events/crashtests/eventctor-nulldictionary.html => dom/events/crashtests/eventctor-nulldictionary.html
rename : content/events/crashtests/eventctor-nullstorage.html => dom/events/crashtests/eventctor-nullstorage.html
rename : content/events/crashtests/recursive-DOMNodeInserted.html => dom/events/crashtests/recursive-DOMNodeInserted.html
rename : content/events/crashtests/recursive-onload.html => dom/events/crashtests/recursive-onload.html
rename : content/events/src/moz.build => dom/events/moz.build
rename : content/events/src/nsAsyncDOMEvent.cpp => dom/events/nsAsyncDOMEvent.cpp
rename : content/events/public/nsAsyncDOMEvent.h => dom/events/nsAsyncDOMEvent.h
rename : content/events/src/nsContentEventHandler.cpp => dom/events/nsContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => dom/events/nsContentEventHandler.h
rename : content/events/src/nsDOMAnimationEvent.cpp => dom/events/nsDOMAnimationEvent.cpp
rename : content/events/src/nsDOMAnimationEvent.h => dom/events/nsDOMAnimationEvent.h
rename : content/events/src/nsDOMBeforeUnloadEvent.cpp => dom/events/nsDOMBeforeUnloadEvent.cpp
rename : content/events/src/nsDOMBeforeUnloadEvent.h => dom/events/nsDOMBeforeUnloadEvent.h
rename : content/events/src/nsDOMClipboardEvent.cpp => dom/events/nsDOMClipboardEvent.cpp
rename : content/events/src/nsDOMClipboardEvent.h => dom/events/nsDOMClipboardEvent.h
rename : content/events/src/nsDOMCommandEvent.cpp => dom/events/nsDOMCommandEvent.cpp
rename : content/events/src/nsDOMCommandEvent.h => dom/events/nsDOMCommandEvent.h
rename : content/events/src/nsDOMCompositionEvent.cpp => dom/events/nsDOMCompositionEvent.cpp
rename : content/events/src/nsDOMCompositionEvent.h => dom/events/nsDOMCompositionEvent.h
rename : content/events/src/nsDOMDataContainerEvent.cpp => dom/events/nsDOMDataContainerEvent.cpp
rename : content/events/src/nsDOMDataContainerEvent.h => dom/events/nsDOMDataContainerEvent.h
rename : content/events/src/nsDOMDataTransfer.cpp => dom/events/nsDOMDataTransfer.cpp
rename : content/events/src/nsDOMDataTransfer.h => dom/events/nsDOMDataTransfer.h
rename : content/events/src/nsDOMDeviceMotionEvent.cpp => dom/events/nsDOMDeviceMotionEvent.cpp
rename : content/events/src/nsDOMDeviceMotionEvent.h => dom/events/nsDOMDeviceMotionEvent.h
rename : content/events/src/nsDOMDragEvent.cpp => dom/events/nsDOMDragEvent.cpp
rename : content/events/src/nsDOMDragEvent.h => dom/events/nsDOMDragEvent.h
rename : content/events/src/nsDOMEvent.cpp => dom/events/nsDOMEvent.cpp
rename : content/events/src/nsDOMEvent.h => dom/events/nsDOMEvent.h
rename : content/events/src/nsDOMEventTargetHelper.cpp => dom/events/nsDOMEventTargetHelper.cpp
rename : content/events/src/nsDOMEventTargetHelper.h => dom/events/nsDOMEventTargetHelper.h
rename : content/events/src/nsDOMFocusEvent.cpp => dom/events/nsDOMFocusEvent.cpp
rename : content/events/src/nsDOMFocusEvent.h => dom/events/nsDOMFocusEvent.h
rename : content/events/public/nsDOMKeyNameList.h => dom/events/nsDOMKeyNameList.h
rename : content/events/src/nsDOMKeyboardEvent.cpp => dom/events/nsDOMKeyboardEvent.cpp
rename : content/events/src/nsDOMKeyboardEvent.h => dom/events/nsDOMKeyboardEvent.h
rename : content/events/src/nsDOMMessageEvent.cpp => dom/events/nsDOMMessageEvent.cpp
rename : content/events/src/nsDOMMessageEvent.h => dom/events/nsDOMMessageEvent.h
rename : content/events/src/nsDOMMouseEvent.cpp => dom/events/nsDOMMouseEvent.cpp
rename : content/events/src/nsDOMMouseEvent.h => dom/events/nsDOMMouseEvent.h
rename : content/events/src/nsDOMMouseScrollEvent.cpp => dom/events/nsDOMMouseScrollEvent.cpp
rename : content/events/src/nsDOMMouseScrollEvent.h => dom/events/nsDOMMouseScrollEvent.h
rename : content/events/src/nsDOMMutationEvent.cpp => dom/events/nsDOMMutationEvent.cpp
rename : content/events/src/nsDOMMutationEvent.h => dom/events/nsDOMMutationEvent.h
rename : content/events/src/nsDOMNotifyAudioAvailableEvent.cpp => dom/events/nsDOMNotifyAudioAvailableEvent.cpp
rename : content/events/src/nsDOMNotifyAudioAvailableEvent.h => dom/events/nsDOMNotifyAudioAvailableEvent.h
rename : content/events/src/nsDOMNotifyPaintEvent.cpp => dom/events/nsDOMNotifyPaintEvent.cpp
rename : content/events/src/nsDOMNotifyPaintEvent.h => dom/events/nsDOMNotifyPaintEvent.h
rename : content/events/src/nsDOMScrollAreaEvent.cpp => dom/events/nsDOMScrollAreaEvent.cpp
rename : content/events/src/nsDOMScrollAreaEvent.h => dom/events/nsDOMScrollAreaEvent.h
rename : content/events/src/nsDOMSimpleGestureEvent.cpp => dom/events/nsDOMSimpleGestureEvent.cpp
rename : content/events/src/nsDOMSimpleGestureEvent.h => dom/events/nsDOMSimpleGestureEvent.h
rename : content/events/src/nsDOMTextEvent.cpp => dom/events/nsDOMTextEvent.cpp
rename : content/events/src/nsDOMTextEvent.h => dom/events/nsDOMTextEvent.h
rename : content/events/src/nsDOMTouchEvent.cpp => dom/events/nsDOMTouchEvent.cpp
rename : content/events/src/nsDOMTouchEvent.h => dom/events/nsDOMTouchEvent.h
rename : content/events/src/nsDOMTransitionEvent.cpp => dom/events/nsDOMTransitionEvent.cpp
rename : content/events/src/nsDOMTransitionEvent.h => dom/events/nsDOMTransitionEvent.h
rename : content/events/src/nsDOMUIEvent.cpp => dom/events/nsDOMUIEvent.cpp
rename : content/events/src/nsDOMUIEvent.h => dom/events/nsDOMUIEvent.h
rename : content/events/src/nsDOMXULCommandEvent.cpp => dom/events/nsDOMXULCommandEvent.cpp
rename : content/events/src/nsDOMXULCommandEvent.h => dom/events/nsDOMXULCommandEvent.h
rename : content/events/src/nsEventDispatcher.cpp => dom/events/nsEventDispatcher.cpp
rename : content/events/public/nsEventDispatcher.h => dom/events/nsEventDispatcher.h
rename : content/events/src/nsEventListenerManager.cpp => dom/events/nsEventListenerManager.cpp
rename : content/events/src/nsEventListenerManager.h => dom/events/nsEventListenerManager.h
rename : content/events/src/nsEventListenerService.cpp => dom/events/nsEventListenerService.cpp
rename : content/events/src/nsEventListenerService.h => dom/events/nsEventListenerService.h
rename : content/events/public/nsEventNameList.h => dom/events/nsEventNameList.h
rename : content/events/src/nsEventStateManager.cpp => dom/events/nsEventStateManager.cpp
rename : content/events/src/nsEventStateManager.h => dom/events/nsEventStateManager.h
rename : content/events/public/nsEventStates.h => dom/events/nsEventStates.h
rename : content/events/public/nsIEventListenerService.idl => dom/events/nsIEventListenerService.idl
rename : dom/base/nsIJSEventListener.h => dom/events/nsIJSEventListener.h
rename : content/events/src/nsIMEStateManager.cpp => dom/events/nsIMEStateManager.cpp
rename : content/events/src/nsIMEStateManager.h => dom/events/nsIMEStateManager.h
rename : content/events/public/nsIPrivateTextEvent.h => dom/events/nsIPrivateTextEvent.h
rename : content/events/public/nsIPrivateTextRange.h => dom/events/nsIPrivateTextRange.h
rename : dom/src/events/nsJSEventListener.cpp => dom/events/nsJSEventListener.cpp
rename : dom/src/events/nsJSEventListener.h => dom/events/nsJSEventListener.h
rename : content/events/src/nsPaintRequest.cpp => dom/events/nsPaintRequest.cpp
rename : content/events/src/nsPaintRequest.h => dom/events/nsPaintRequest.h
rename : content/events/src/nsPrivateTextRange.cpp => dom/events/nsPrivateTextRange.cpp
rename : content/events/src/nsPrivateTextRange.h => dom/events/nsPrivateTextRange.h
rename : content/events/public/nsVKList.h => dom/events/nsVKList.h
rename : content/events/test/bug226361_iframe.xhtml => dom/events/test/bug226361_iframe.xhtml
rename : content/events/test/bug299673.js => dom/events/test/bug299673.js
rename : content/events/test/bug322588-popup.html => dom/events/test/bug322588-popup.html
rename : content/events/test/bug415498-doc1.html => dom/events/test/bug415498-doc1.html
rename : content/events/test/bug415498-doc2.html => dom/events/test/bug415498-doc2.html
rename : content/events/test/bug426082.html => dom/events/test/bug426082.html
rename : content/events/test/bug457672.html => dom/events/test/bug457672.html
rename : content/events/test/bug591249_iframe.xul => dom/events/test/bug591249_iframe.xul
rename : content/events/test/bug602962.xul => dom/events/test/bug602962.xul
rename : content/events/test/bug656379-1.html => dom/events/test/bug656379-1.html
rename : content/events/test/chrome.ini => dom/events/test/chrome.ini
rename : content/events/test/empty.js => dom/events/test/empty.js
rename : content/events/test/file_bug679494.html => dom/events/test/file_bug679494.html
rename : content/events/test/mochitest.ini => dom/events/test/mochitest.ini
rename : content/events/test/test_addEventListenerExtraArg.html => dom/events/test/test_addEventListenerExtraArg.html
rename : content/events/test/test_all_synthetic_events.html => dom/events/test/test_all_synthetic_events.html
rename : content/events/test/test_bug226361.xhtml => dom/events/test/test_bug226361.xhtml
rename : content/events/test/test_bug238987.html => dom/events/test/test_bug238987.html
rename : content/events/test/test_bug288392.html => dom/events/test/test_bug288392.html
rename : content/events/test/test_bug299673-1.html => dom/events/test/test_bug299673-1.html
rename : content/events/test/test_bug299673-2.html => dom/events/test/test_bug299673-2.html
rename : content/events/test/test_bug322588.html => dom/events/test/test_bug322588.html
rename : content/events/test/test_bug328885.html => dom/events/test/test_bug328885.html
rename : content/events/test/test_bug336682.js => dom/events/test/test_bug336682.js
rename : content/events/test/test_bug336682_1.html => dom/events/test/test_bug336682_1.html
rename : content/events/test/test_bug336682_2.xul => dom/events/test/test_bug336682_2.xul
rename : content/events/test/test_bug367781.html => dom/events/test/test_bug367781.html
rename : content/events/test/test_bug368835.html => dom/events/test/test_bug368835.html
rename : content/events/test/test_bug379120.html => dom/events/test/test_bug379120.html
rename : content/events/test/test_bug391568.xhtml => dom/events/test/test_bug391568.xhtml
rename : content/events/test/test_bug402089.html => dom/events/test/test_bug402089.html
rename : content/events/test/test_bug405632.html => dom/events/test/test_bug405632.html
rename : content/events/test/test_bug409604.html => dom/events/test/test_bug409604.html
rename : content/events/test/test_bug412567.html => dom/events/test/test_bug412567.html
rename : content/events/test/test_bug415498.xul => dom/events/test/test_bug415498.xul
rename : content/events/test/test_bug422132.html => dom/events/test/test_bug422132.html
rename : content/events/test/test_bug426082.html => dom/events/test/test_bug426082.html
rename : content/events/test/test_bug427537.html => dom/events/test/test_bug427537.html
rename : content/events/test/test_bug428988.html => dom/events/test/test_bug428988.html
rename : content/events/test/test_bug432698.html => dom/events/test/test_bug432698.html
rename : content/events/test/test_bug443985.html => dom/events/test/test_bug443985.html
rename : content/events/test/test_bug447736.html => dom/events/test/test_bug447736.html
rename : content/events/test/test_bug448602.html => dom/events/test/test_bug448602.html
rename : content/events/test/test_bug450876.html => dom/events/test/test_bug450876.html
rename : content/events/test/test_bug456273.html => dom/events/test/test_bug456273.html
rename : content/events/test/test_bug457672.html => dom/events/test/test_bug457672.html
rename : content/events/test/test_bug489671.html => dom/events/test/test_bug489671.html
rename : content/events/test/test_bug493251.html => dom/events/test/test_bug493251.html
rename : content/events/test/test_bug502818.html => dom/events/test/test_bug502818.html
rename : content/events/test/test_bug508479.html => dom/events/test/test_bug508479.html
rename : content/events/test/test_bug517851.html => dom/events/test/test_bug517851.html
rename : content/events/test/test_bug534833.html => dom/events/test/test_bug534833.html
rename : content/events/test/test_bug545268.html => dom/events/test/test_bug545268.html
rename : content/events/test/test_bug547996-1.html => dom/events/test/test_bug547996-1.html
rename : content/events/test/test_bug547996-2.xhtml => dom/events/test/test_bug547996-2.xhtml
rename : content/events/test/test_bug556493.html => dom/events/test/test_bug556493.html
rename : content/events/test/test_bug563329.html => dom/events/test/test_bug563329.html
rename : content/events/test/test_bug574663.html => dom/events/test/test_bug574663.html
rename : content/events/test/test_bug586961.xul => dom/events/test/test_bug586961.xul
rename : content/events/test/test_bug591249.xul => dom/events/test/test_bug591249.xul
rename : content/events/test/test_bug591815.html => dom/events/test/test_bug591815.html
rename : content/events/test/test_bug593959.html => dom/events/test/test_bug593959.html
rename : content/events/test/test_bug602962.xul => dom/events/test/test_bug602962.xul
rename : content/events/test/test_bug603008.html => dom/events/test/test_bug603008.html
rename : content/events/test/test_bug605242.html => dom/events/test/test_bug605242.html
rename : content/events/test/test_bug607464.html => dom/events/test/test_bug607464.html
rename : content/events/test/test_bug613634.html => dom/events/test/test_bug613634.html
rename : content/events/test/test_bug615597.html => dom/events/test/test_bug615597.html
rename : content/events/test/test_bug617528.xul => dom/events/test/test_bug617528.xul
rename : content/events/test/test_bug624127.html => dom/events/test/test_bug624127.html
rename : content/events/test/test_bug635465.html => dom/events/test/test_bug635465.html
rename : content/events/test/test_bug641477.html => dom/events/test/test_bug641477.html
rename : content/events/test/test_bug648573.html => dom/events/test/test_bug648573.html
rename : content/events/test/test_bug650493.html => dom/events/test/test_bug650493.html
rename : content/events/test/test_bug656379-1.html => dom/events/test/test_bug656379-1.html
rename : content/events/test/test_bug656379-2.html => dom/events/test/test_bug656379-2.html
rename : content/events/test/test_bug656954.html => dom/events/test/test_bug656954.html
rename : content/events/test/test_bug659071.html => dom/events/test/test_bug659071.html
rename : content/events/test/test_bug659350.html => dom/events/test/test_bug659350.html
rename : content/events/test/test_bug662678.html => dom/events/test/test_bug662678.html
rename : content/events/test/test_bug667612.html => dom/events/test/test_bug667612.html
rename : content/events/test/test_bug667919-1.html => dom/events/test/test_bug667919-1.html
rename : content/events/test/test_bug679494.xul => dom/events/test/test_bug679494.xul
rename : content/events/test/test_bug689564.html => dom/events/test/test_bug689564.html
rename : content/events/test/test_bug698929.html => dom/events/test/test_bug698929.html
rename : content/events/test/test_bug741666.html => dom/events/test/test_bug741666.html
rename : content/events/test/test_bug742376.html => dom/events/test/test_bug742376.html
rename : content/events/test/test_bug812744.html => dom/events/test/test_bug812744.html
rename : content/events/test/test_bug822898.html => dom/events/test/test_bug822898.html
rename : content/events/test/test_bug847597.html => dom/events/test/test_bug847597.html
rename : content/events/test/test_bug855741.html => dom/events/test/test_bug855741.html
rename : content/events/test/test_bug864040.html => dom/events/test/test_bug864040.html
rename : content/events/test/test_bug930374-chrome.html => dom/events/test/test_bug930374-chrome.html
rename : content/events/test/test_bug930374-content.html => dom/events/test/test_bug930374-content.html
rename : content/events/test/test_bug944011.html => dom/events/test/test_bug944011.html
rename : content/events/test/test_bug944847.html => dom/events/test/test_bug944847.html
rename : content/events/test/test_bug946632.html => dom/events/test/test_bug946632.html
rename : content/events/test/test_clickevent_on_input.html => dom/events/test/test_clickevent_on_input.html
rename : content/events/test/test_continuous_wheel_events.html => dom/events/test/test_continuous_wheel_events.html
rename : content/events/test/test_dblclick_explicit_original_target.html => dom/events/test/test_dblclick_explicit_original_target.html
rename : content/events/test/test_dom_keyboard_event.html => dom/events/test/test_dom_keyboard_event.html
rename : content/events/test/test_dom_mouse_event.html => dom/events/test/test_dom_mouse_event.html
rename : content/events/test/test_dom_wheel_event.html => dom/events/test/test_dom_wheel_event.html
rename : content/events/test/test_draggableprop.html => dom/events/test/test_draggableprop.html
rename : content/events/test/test_dragstart.html => dom/events/test/test_dragstart.html
rename : content/events/test/test_eventctors.html => dom/events/test/test_eventctors.html
rename : content/events/test/test_eventctors.xul => dom/events/test/test_eventctors.xul
rename : content/events/test/test_focus_disabled.html => dom/events/test/test_focus_disabled.html
rename : content/events/test/test_messageEvent.html => dom/events/test/test_messageEvent.html
rename : content/events/test/test_moz_mouse_pixel_scroll_event.html => dom/events/test/test_moz_mouse_pixel_scroll_event.html
rename : content/events/test/test_wheel_default_action.html => dom/events/test/test_wheel_default_action.html
rename : content/events/test/window_bug493251.html => dom/events/test/window_bug493251.html
rename : content/events/test/window_bug617528.xul => dom/events/test/window_bug617528.xul
rename : content/events/test/window_bug659071.html => dom/events/test/window_bug659071.html
rename : content/events/test/window_wheel_default_action.html => dom/events/test/window_wheel_default_action.html
extra : rebase_source : 5eb1db8f1791b8842ddc683e3c0ea13e4e3a933b
2014-01-10 16:03:25 +13:00
Boris Zbarsky
f1a348da85
Bug 959705. Fix unsafe reference hazards in xpconnect code. r=bholley
2014-01-14 21:46:44 -05:00
Boris Zbarsky
f4a5d99834
Bug 959695 part 3. Make ReportIsNotFunction take a Handle. r=terrence
2014-01-14 21:46:44 -05:00
Bobby Holley
57517a7c7d
Bug 951948 - Remove Components wrappers. r=mrbkap
...
We fix up the tests here to test the new behavior, and fix some bugs in the test
while we're at it.
2014-01-14 18:49:30 -08:00
Bobby Holley
07ca9896c1
Bug 951948 - Use nsXPCComponentsBase for everything but system-principaled scopes. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
027454492b
Bug 951948 - Add a way for automation to force the creation of a privileged Components object for an unprivileged scope. r=ted,r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
676bd050a4
Bug 951948 - Store nsXPCComponentsBase on XPCWrappedNativeScope, so that we can have either. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
8850e08477
Bug 951948 - Separate out the unprivileged parts of nsXPCComponents into a separate interface and class. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
8cb0cd6465
Bug 951948 - Get rid of manual nsIClassInfo and nsIXPCScriptable implementations for nsXPCComponents. r=mrbkap
...
The macro-driven ClassInfo stuff doesn't do getClassDescription, so we need to
change that test.
2014-01-14 18:49:29 -08:00
Bobby Holley
fa94e86947
Bug 951948 - Make AttachComponentsObject a non-static method on XPCWrappedNativeScope. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
e26c977c28
Bug 951948 - Remove nsISecurityCheckedComponents stuff from Components. r=mrbkap
...
This thing is only created in non-content scopes for XBL scopes, and during
automation (with Cu.getComponentsForScope).
At present, we currently have the same-compartment Components wrapper which
should do the right thing in those situations. Next, we'll focus on replacing
that.
2014-01-14 18:49:28 -08:00
Bobby Holley
c333d1b0ee
Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap
2014-01-14 18:49:28 -08:00
Bobby Holley
ffdb4858f9
Bug 951948 - Stop using nsISecurityCheckedComponent for nsJSID. r=mrbkap
2014-01-14 18:49:28 -08:00
Bobby Holley
9d237d333f
Bug 951948 - Make nsJSID.initialize [noscript]. r=mrbkap
...
This lets us remove the usage of nsISecurityCheckedComponent. See the next patch.
2014-01-14 18:49:28 -08:00
Robert Strong
1d9c53e674
Bug 921148 - Remove XRE_UPDATE_ROOT_DIR dir provider along with MOZ_APP_NAME, MOZ_APP_PROFILE, MOZ_APP_VENDOR, and MOZ_APP_BASENAME from xpcshell. r=bbondy
2014-01-12 13:47:44 -08:00
Ryan VanderMeulen
f4de297d84
Backed out 6 changesets (bug 939294) for B2G bustage on a CLOSED TREE.
...
Backed out changeset 8c3aa9973da0 (bug 939294)
Backed out changeset 37098c13e59e (bug 939294)
Backed out changeset 7c9ade6c871c (bug 939294)
Backed out changeset fed59539afc1 (bug 939294)
Backed out changeset 89e9d3fa16fc (bug 939294)
Backed out changeset c97e58ebc5f4 (bug 939294)
2014-01-09 14:17:39 -05:00
Tom Schuster
f2eab1cc4d
Bug 939294 - Handlify XPConnect. r=gabor
2014-01-09 18:39:36 +01:00
Tom Schuster
9ca1e74a06
Bug 939294 - Change xpidl header generation code to use JS handles. r=bsmedberg
2014-01-09 18:39:36 +01:00
Gabor Krizsanits
e43c830de6
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
c87090db07
Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE
2014-01-09 12:53:22 +01:00
Gabor Krizsanits
e49d78a446
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 11:31:33 +01:00
Neil Rashbrook
811e1e96dd
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Nicholas Nethercote
9f40ea3ce8
Bug 957021 - Fix messed-up memory reporter paths. r=khuey.
...
--HG--
extra : rebase_source : 2bd46a9442c54ffba04279a405aeb270ce7bbb23
2014-01-07 17:02:23 -08:00
Luke Wagner
a5bfd61573
Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
...
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Carsten "Tomcat" Book
1922cefe01
Backed out changeset 99eb8a370b21 (bug 952840) for permament B2G ICS Emulator Opt test failure
2014-01-07 13:46:20 +01:00
Andrew McCreight
1c6fc90359
Bug 952840 - Remove scope from XPCWN::FindTearOff. r=bholley
2014-01-06 17:35:54 -08:00
Andrew McCreight
40f1430124
Bug 952840, part 2 - Get rid of one goto in XPCNativeSet::GetNewOrUsed. r=bholley
...
arr.get() only returns null if the second argument to its constructor is null,
but here it is being infallibly allocated.
2014-01-06 17:32:25 -08:00
Andrew McCreight
60d5f25b53
Bug 952840, part 1 - Eliminate goto in XPCWrappedNative::FindTearOff. r=bholley
2014-01-06 17:32:24 -08:00
Andrew McCreight
63edb97f7a
Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor
2014-01-06 11:54:43 -08:00
Andrew McCreight
bd11c4fff8
Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug
2014-01-06 11:54:43 -08:00
Edgar Chen
0c346992a8
Bug 956240 - WebMobileConnection: Use webidl event generator for the event that is dispatched by mozMobileConnection. r=smaug
2014-01-03 13:55:27 +08:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
ed423fbdef
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Andrew McCreight
eca95c1840
Bug 952660, part 9 - rename clazz to clasp in nsXPCWrappedJS::GetNewOrUsed. r=bholley
2014-01-02 11:33:42 -08:00
Andrew McCreight
0ac48b918c
Bug 952660, part 8 - Insert non-root wrappers into the list in the constructor for nsXPCWrappedJS. r=bholley
...
A non-root wrapper has to be inserted into the list. There's only one place this is needed, but I
think it makes more sense like this.
2014-01-02 11:33:42 -08:00
Andrew McCreight
13bc621ff8
Bug 952660, part 7 - Replace if with else in nsXPCWrappedJS::GetNewOrUsed. r=bholley
...
We check for root, then don't change root and check for !root, so this can just be
an else.
2014-01-02 11:33:42 -08:00
Andrew McCreight
22e04d22b1
Bug 952660, part 6 - Add and use nsXPCWrappedJS::FindOrFindInherited. r=bholley
...
FindInherited is only ever used after running Find, and the way the checks
are chained is a little weird.
2014-01-02 11:33:42 -08:00
Andrew McCreight
29b47e833d
Bug 952660, part 5 - The null check at the end of nsXPCWrappedJS::GetNewOrUsed will always fail. r=bholley
2014-01-02 11:33:41 -08:00