Bill McCloskey
09e1cf2ed6
Bug 980558 - Enable extraWarnings on safe JS context (r=bholley)
2014-03-06 18:48:16 -08:00
Wes Kocher
b5aceae5af
Backed out changeset 263b6c86c1be (bug 980558) for build bustage on a CLOSED TREE
2014-03-06 18:43:26 -08:00
Bill McCloskey
4b67940dca
Bug 980558 - Enable extraWarnings on safe JS context (r=bholley)
2014-03-06 18:26:33 -08:00
Luke Wagner
b2189937c6
Bug 980180 - remove principals as an argument to compilation, part 2 (r=terrence)
...
--HG--
extra : rebase_source : 86791b50b4293ba5506f1e0f5c64730338f552e6
2014-03-06 16:28:07 -06:00
Luke Wagner
731533e709
Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
...
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Bobby Holley
8c2b8ca542
Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm
2014-03-06 15:26:17 -08:00
Bobby Holley
9ad310839d
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
eaf2b92fca
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
c338f2025d
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
8e3b6aa7ec
Bug 960108 - Ignore saved frame chains and contexts in JS::DescribeStack. r=bz
2014-03-05 20:15:35 -08:00
Nicholas Nethercote
f9cfc2b035
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
cb7d95a386
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
6a4c4691a0
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
d26caa0d74
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
6d6e9c420b
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 15:39:42 -08:00
Wes Kocher
55ae71a452
Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE
2014-03-04 14:15:33 -08:00
Andrew McCreight
dc81f67e51
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 13:33:44 -08:00
Bobby Holley
be59b95518
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
43bec730b1
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
74a5406c5a
Bug 977340 - Use an AutoJSContext when clearing modules. r=gabor
2014-03-04 10:05:08 -08:00
Bobby Holley
f25679417d
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
daca2d2104
Bug 978995 - Stop exporting symbols from xpconnect; r=bholley
2014-03-03 20:51:27 -05:00
Jeff Walden
5a7db86560
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
19a755d4e4
Merge mozilla-central and inbound
2014-03-03 16:59:25 +00:00
Ed Morley
7d716105c8
Backed out changeset 508848ad378a (bug 939562) for causing bug 978450
2014-03-03 16:54:26 +00:00
Bobby Holley
08e9309de6
Bug 975419 - Used a TenuredHeap pointer for SandboxPrivate and BackstagePass. r=mccr8
2014-03-03 08:53:42 -08:00
Jan de Mooij
53c60cb160
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
3d0ba958a1
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
c3a3e7dd12
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
0f9f39e3f1
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
f1c7f4aeee
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
29dab736f0
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
bee7f6eba5
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
73fe847fc6
Remove JS_ prefix from DescribeScriptedCaller in comments NPOTB (no bug, r=me)
2014-02-27 10:47:54 -06:00
Benjamin Bouvier
470398b6d7
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
46ee609d7b
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
01a476057d
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
4fbee02ebe
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
e428ad4fe3
Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE
2014-02-26 16:02:15 +01:00
Jason Orendorff
57e0541753
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
f8a1ec2850
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
ecb70ddc4c
Bug 939562 part 1 - Bump trusted script buffer size for ASAN builds. r=bholley
2014-02-26 10:19:45 +01:00
Luke Wagner
4c59cb92eb
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
992eba1b46
Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor
2014-02-25 08:38:33 -08:00
Ehsan Akhgari
f594359272
Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal
2014-02-24 08:30:25 -05:00
Bobby Holley
091ae7c290
Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke
2014-02-21 16:03:11 -08:00
Bobby Holley
56357094c5
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
2ec68b243f
Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor
2014-02-21 15:55:31 -08:00
Peter Van der Beken
d9eb61589a
Bug 975277 - Pass the real receiver when using HasPrototype. r=bholley
2014-02-21 15:55:31 -08:00
Peter Van der Beken
24f17f7f15
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
6c1bcb5e71
Bug 973780 - Remove Xray expando slot from WNs. r=bz
2014-02-21 11:35:49 -08:00
Bobby Holley
0cb2796466
Bug 973780 - Hook Xrays up to the new expando map. r=bz
2014-02-21 11:35:48 -08:00
Bobby Holley
37d0e443fd
Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8
2014-02-21 11:35:48 -08:00
Luke Wagner
4eed36705e
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
...
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Phil Ringnalda
a196f2815f
Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
...
CLOSED TREE
2014-02-20 20:46:50 -08:00
Nicholas Nethercote
1a629c91d7
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
732c715f1a
Bug 973780 - Remove Xray expando slot from WNs. r=bz
2014-02-20 18:24:09 -08:00
Bobby Holley
a3477db1f4
Bug 973780 - Hook Xrays up to the new expando map. r=bz
2014-02-20 18:24:09 -08:00
Bobby Holley
1c941984e6
Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8
2014-02-20 18:24:09 -08:00
Andrew McCreight
38957cb028
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-20 12:55:40 -08:00
Chris Peterson
41e56b2e41
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
8cca66b363
Bug 960828 - More diagnostics. r=mccr8
2014-02-19 18:23:48 -08:00
Andrew McCreight
7ca0781046
Backout bug 966762 for Valgrind leaks
2014-02-19 17:17:58 -08:00
Andrew McCreight
558195773a
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-19 13:27:15 -08:00
Brian Hackett
cae987d2a2
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Daniel Holbert
84283bddce
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
966ea39163
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
369e9f3db8
Merge b-i to m-c
2014-02-15 10:01:36 -08:00
Bobby Holley
bb7e5e5083
Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz
2014-02-14 22:39:34 -08:00
Bobby Holley
263626e418
Bug 968335 - Tests. r=bz
2014-02-14 22:36:44 -08:00
Bobby Holley
aa566f93a5
Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz
2014-02-14 22:36:44 -08:00
Bobby Holley
d927d55f46
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
a28ebb99d1
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 17:41:07 -05:00
Phil Ringnalda
d66d0a8ba2
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
11ba09a104
Bug 968335 - Tests. r=bz
2014-02-14 16:13:38 -08:00
Bobby Holley
6d16ee1449
Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz
2014-02-14 16:13:38 -08:00
Bobby Holley
6f091ac9b4
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
581a903d05
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
c489c0a6f2
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
2fd8b7b977
Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap
2014-02-13 18:57:36 -08:00
Bobby Holley
25cd8177a5
Bug 956382 - Consider document.domain when computing security wrappers. r=mrbkap
2014-02-13 18:57:35 -08:00
Bobby Holley
7a8e0ba5b9
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
b73c1d8a7d
Bug 972478 - Docshell scriptability should only affect non-immune principals. r=bz
2014-02-13 15:40:50 -08:00
Bobby Holley
ea5dbd35dc
Bug 960828 - Diagnostics. r=mccr8
2014-02-13 11:54:59 -08:00
Bobby Holley
c5282f5045
Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8
2014-02-13 10:54:08 -08:00
Bobby Holley
1bb0b956eb
Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap
2014-02-13 10:54:08 -08:00
Bobby Holley
cdd1b51376
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
8136579d75
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jan de Mooij
811c597f28
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
df10f3f2af
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
3d72becf33
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
58c4c1b64c
Bug 733636, part 2 - nsXPConnect::WrapNative should pass aAllowWrapping=true. r=bholley
2014-02-12 15:19:32 -08:00
Andrew McCreight
e42c89316b
Bug 733636, part 1 - Change the nsContentUtils::WrapNative aAllowWrapping default to true. r=bholley
2014-02-12 15:19:32 -08:00
Neil Rashbrook
42055a8e06
Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley
2014-02-12 21:22:07 +00:00
Jon Coppeard
52381adba2
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Andrew McCreight
25aced0427
Bug 967023, part 2 - Get rid of XPCWrappedJSClass::GetNewOrUsed out param. r=bholley
2014-02-11 14:56:46 -08:00
Andrew McCreight
1e54c3b0bc
Bug 967023, part 1 - Rename clazz to clasp in XPCWrappedNative::GetNewOrUsed. r=bholley
2014-02-11 14:56:45 -08:00
Masatoshi Kimura
9306836991
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Jon Coppeard
60baf94ae8
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
b870bb3fe9
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
84b0ee5c63
Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm
2014-02-11 05:50:16 +09:00
Bobby Holley
32debe31bf
Bug 965921 - Handle addons that expose JS-implemented XPCOM components to content. r=mrbkap
2014-02-10 10:27:24 -08:00
Bobby Holley
983a6bbd24
Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz
2014-02-10 10:03:56 -08:00
Jon Coppeard
50cb1ea9e3
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
49737f8afc
Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage
2014-02-04 20:09:26 -08:00
Andrew McCreight
c74c718a3c
Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:59 -08:00
Andrew McCreight
e71a246ee9
Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
8f6860165e
Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
44ed2b09c2
Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
c84efa5515
Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
125428116a
Bug 965920, part 3 - Smart pointerize newVariant. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
bcb8940d58
Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
54dd65eac8
Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley
2014-02-04 19:29:57 -08:00
Phil Ringnalda
e2ac58a84b
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
8e4f22985b
Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage
2014-02-04 20:09:26 -08:00
Andrew McCreight
dea57666c2
Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:59 -08:00
Andrew McCreight
efabfc8b21
Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
b05f7817b5
Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
fa0ef480d3
Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
69f3ca8723
Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
5c52f65c1f
Bug 965920, part 3 - Smart pointerize newVariant. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
65a3d26078
Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
fa05df2e35
Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley
2014-02-04 19:29:57 -08:00
Bobby Holley
9e65275dc6
Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke
2014-02-04 07:51:54 -08:00
Jon Coppeard
50e1f34d5a
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
2a6caad1f0
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
20b4926e22
Bug 965904 - Fix some rooting hazards in the browser r=terrence
2014-01-31 09:56:40 +00:00
Jon Coppeard
858370c616
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Chris Peterson
91f7b1bbc7
Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc
2014-01-29 20:40:34 -08:00
Eric Faust
750b2c708c
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
2d4fb597e8
Bug 963192, part 4 - Smart pointerize nsXPConnect::mDefaultSecurityManager. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
bbdab5550f
Bug 963192, part 3 - Smart pointerize XPCContext::mException. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
b470f2686e
Bug 963192, part 2 - Smart pointerize IID2ThisTranslatorMap. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
acb5312bd5
Bug 963192, part 1 - Smart pointerize XPCWrappedJSClass::mInfo. r=bholley
2014-01-30 11:20:41 -08:00
Bobby Holley
5c45296ed8
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
2b75bbbe71
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
062a629dac
Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff
2014-01-30 07:45:16 -08:00
Andrea Marchesini
7184ae68ee
Bug 964293 - Implement Cu.cloneInto() method, r=bholley
2014-01-30 04:45:48 -08:00
Boris Zbarsky
e8d170691e
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
e5abd9db16
Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley
2014-01-29 22:33:03 -08:00
Eric Faust
d24a35e290
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
fdd24700fe
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
a204c95cc9
Bug 965082 - Tests. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
731ce0363f
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
2a555922c2
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
92aa154f50
Merge mozilla-central and inbound
2014-01-29 10:39:41 +00:00
Jon Coppeard
d77eb96fa7
Bug 959787 - Handlify some JS friend APIs r=sfink
2014-01-29 10:01:33 +00:00
Jon Coppeard
e5c29b7f9d
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Henry Chang
c0e64a6d2c
Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang
2014-01-27 15:48:10 +08:00
Chris Peterson
6fcb2b7947
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Andrew McCreight
a62f062437
Bug 963665 - Make nsIXPConnect noscript. r=bholley
2014-01-27 07:16:38 -08:00
Peiyong Lin
cc3a4c0c6b
Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug
2014-01-27 08:25:19 -05:00
Andrew McCreight
930625ba83
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
77460d628b
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
4a76452c21
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
cb8c659700
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Boris Zbarsky
be84d2e4ec
Bug 962605 part 2. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Bobby Holley
8356b2d621
Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
...
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
094cd93292
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Bobby Holley
fac9fbd739
Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap
2014-01-24 16:08:25 -08:00
Terrence Cole
2ff953ff6d
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
efb40c153d
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Jon Coppeard
b944c22698
Bug 959787 - Handlify JS_Lookup* APIs r=sfink r=bz
2014-01-24 14:03:56 +00:00
Nicholas Nethercote
b772cdc96b
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
26d6f457c4
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
84e05af59c
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
b6ff44e241
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
0933665788
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Wes Kocher
3700a4c367
Backed out changeset c75f13d4f160 (bug 962605)
2014-01-22 16:16:07 -08:00
Boris Zbarsky
daf3325ff7
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Tom Schuster
57f15ea1e2
Bug 958119 - Some cleanup for XPConnect. r=gabor
2014-01-22 18:50:32 +01:00
Carsten "Tomcat" Book
9a02f4280b
Merge mozilla-central to mozilla-inbound
2014-01-22 14:37:23 +01:00
Carsten "Tomcat" Book
95ba54861b
merge b2g-inbound to mozilla-central
2014-01-22 13:59:54 +01:00
Gina Yeh
a3eb2efd58
Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug
2014-01-22 14:26:29 +08:00
Nathan Froyd
bc0d8111f4
Bug 962241 - don't spam error messages about ContractIDToCID failing; r=bholley
2014-01-21 16:14:22 -05:00
Jon Coppeard
739fa2381c
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Andrew McCreight
e09600e29f
Bug 961551, part 9 - Split scope of |wrapper|, plus other cleanup. r=bholley
2014-01-21 17:56:16 -08:00
Andrew McCreight
f9e241decc
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
3ca1e1b491
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
56a8074ebd
Bug 961551, part 6 - Smart pointerize wrapper. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
e21cccb62b
Bug 961551, part 5 - Smart pointerize root. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
dce295db38
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
e217280391
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
8bb0cff1fc
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
7219645381
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
cd58405598
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
1fc0abe0bc
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
b9bffb1af9
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
64053bce53
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
06f3df72fa
Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE
2014-01-20 18:47:35 +01:00
Andrea Marchesini
db2fa96fac
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-20 17:51:41 +01:00
Ms2ger
24d947ef8f
Bug 956553 - Remove js::IdToJsval in favour of js::IdToValue; r=luke
2014-01-20 08:58:27 +01:00
Ms2ger
9988c0aff8
Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo
2014-01-20 08:58:26 +01:00
Ms2ger
65bd3f60cd
Bug 953425 - Part b: Move DOMFileMetadataParameters to WebIDL; r=janv
2014-01-20 08:58:24 +01:00
Terrence Cole
10295353cd
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
4e06172283
Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
...
CLOSED TREE
2014-01-17 10:20:05 -05:00
Andrea Marchesini
ab79c85864
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-17 15:24:03 +01:00
Andrew McCreight
b91b4b2eaf
Bug 960715, part 2 - Remove nsXPConnect::FindMainThread(). r=bholley
2014-01-17 05:57:35 -08:00
Andrew McCreight
f8e2f6cfb6
Bug 960715, part 1 - Remove XPCWrappedNativeProto::ClassIsMainThreadOnly. r=bholley
2014-01-17 05:57:34 -08:00
Andrew McCreight
ea8828d187
Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor
2014-01-17 05:57:34 -08:00
Bobby Holley
9c6713cdd8
Bug 794943 - Followup bustage fix. r=me CLOSED TREE
2014-01-16 16:11:25 -08:00
Bobby Holley
034c444dc2
Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz
2014-01-16 15:45:40 -08:00
Bobby Holley
0363cc438a
Bug 794943 - Remove custom support for nsISecurityCheckedComponent in nsXPCWrappedJS. r=mrbkap
2014-01-16 15:45:39 -08:00
Bobby Holley
dec3ddb92e
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
f017da90d9
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
348c21d424
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
81742dea44
Back out a669a3d25d38 for breaking everything on this CLOSED TREE
2014-01-16 10:07:17 -08:00
Andrew McCreight
f0ad35822f
Bug 959484 - de-THREADSAFE XPConnect. r=bholley
2014-01-16 08:49:26 -08:00
Andrew McCreight
f52ef6397a
Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
a3900df1a3
Bug 959485, part 4 - Cleanup nsJSCID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
c8808c8aad
Bug 959485, part 3 - Cleanup nsJSIID::NewID. r=gabor
2014-01-16 08:49:26 -08:00
Andrew McCreight
4863dee6d2
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
b6a2f503ca
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
57b34ac824
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
eae2f4253b
Bug 959413, part 3 - Smart pointerize nsXPCConstructor. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
9b90661651
Bug 959413, part 2 - Smart pointerize nsXPCComponents. r=bholley
2014-01-16 08:49:25 -08:00
Andrew McCreight
bccbec4344
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
e64b35e141
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Robert O'Callahan
6a0b04292d
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
b1275afbcb
Bug 959705. Fix unsafe reference hazards in xpconnect code. r=bholley
2014-01-14 21:46:44 -05:00
Boris Zbarsky
b332787245
Bug 959695 part 3. Make ReportIsNotFunction take a Handle. r=terrence
2014-01-14 21:46:44 -05:00
Bobby Holley
30bfce6ebe
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
4218002507
Bug 951948 - Use nsXPCComponentsBase for everything but system-principaled scopes. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
393b120ae5
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
8c849e7108
Bug 951948 - Store nsXPCComponentsBase on XPCWrappedNativeScope, so that we can have either. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
e7d944c925
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
124166a288
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
810b54814d
Bug 951948 - Make AttachComponentsObject a non-static method on XPCWrappedNativeScope. r=mrbkap
2014-01-14 18:49:29 -08:00
Bobby Holley
a0cca85a32
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
81e8330e64
Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap
2014-01-14 18:49:28 -08:00
Bobby Holley
97ed9c1935
Bug 951948 - Stop using nsISecurityCheckedComponent for nsJSID. r=mrbkap
2014-01-14 18:49:28 -08:00
Bobby Holley
19dcb15c73
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
b266d892b6
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
f427c884c8
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
2e0669fb59
Bug 939294 - Handlify XPConnect. r=gabor
2014-01-09 18:39:36 +01:00
Tom Schuster
bf23659c60
Bug 939294 - Change xpidl header generation code to use JS handles. r=bsmedberg
2014-01-09 18:39:36 +01:00
Gabor Krizsanits
2d18c11e26
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
fc7c23e4aa
Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE
2014-01-09 12:53:22 +01:00
Gabor Krizsanits
db12b3ec81
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 11:31:33 +01:00
Neil Rashbrook
34dcf4918b
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Nicholas Nethercote
3557587132
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
1e6e357a4d
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
70b32967d3
Backed out changeset 99eb8a370b21 (bug 952840) for permament B2G ICS Emulator Opt test failure
2014-01-07 13:46:20 +01:00
Andrew McCreight
022e4a0e0b
Bug 952840 - Remove scope from XPCWN::FindTearOff. r=bholley
2014-01-06 17:35:54 -08:00
Andrew McCreight
01f8bc9e65
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
e49b1a9227
Bug 952840, part 1 - Eliminate goto in XPCWrappedNative::FindTearOff. r=bholley
2014-01-06 17:32:24 -08:00
Andrew McCreight
f78e86e676
Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor
2014-01-06 11:54:43 -08:00
Andrew McCreight
737d0d5fa9
Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug
2014-01-06 11:54:43 -08:00
Edgar Chen
c21937d32d
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
ebd358dfd7
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