Граф коммитов

3501 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 74283775f6 Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book e68a877e8f Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky 009cf4dd56 Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Bobby Holley 1eb065e532 Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-20 23:47:25 -03:00
Bobby Holley d43fdd46b2 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-20 23:47:25 -03:00
Bobby Holley 1973d9aa6a Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley 838db9bb08 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley 5cc38c0e83 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley 3364cb667b Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley a00932c5e2 Bug 975042 - Implement createHolder. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley 9115f9b416 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-20 23:47:23 -03:00
Bobby Holley eb2c3f8bbb Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-20 23:47:23 -03:00
Bobby Holley 6567ce6262 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-20 23:47:23 -03:00
Gabor Krizsanits 32333c6983 Bug 985472 - cloneInto for sandbox. r=bholley 2014-03-25 16:21:56 +01:00
Gabor Krizsanits 1a9fdd55e9 Bug 985472 - Name fixup in ExportFunction. r=bholley 2014-03-25 16:21:51 +01:00
Nathan Froyd a9b5bcd756 Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz 2013-12-10 16:04:55 -05:00
Bobby Holley 2ca3777187 Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03:00
Bobby Holley 11a6d2cdb6 Bug 979481 - Make the SafeJSContext default to a null compartment, and have AutoSafeJSContext enter the compartment instead. r=bz 2014-03-26 10:59:03 -03:00
Bobby Holley adc959e308 Bug 979481 - Prepare the cx stack machinery for a world where a cx has no default compartment object. r=bz 2014-03-26 10:59:02 -03:00
Bobby Holley 32bae26d23 Bug 979481 - Separate the lifetime of the SafeJSContext global from that of the SafeJSContext itself. r=bz 2014-03-26 10:59:02 -03:00
Terrence Cole 1d303afd0b Bug 957723 - Followup fix for decommitted nursery reporting; r=njn 2014-03-19 14:43:44 -07:00
Bob Owen fe9c96c90a Bug 978042 - Part 1: AutoPushJSContext in nsEventListenerManager::CompileEventHandlerInternal. r=bholley 2014-03-19 11:08:13 +00:00
Bobby Holley fbb9b62de8 Bug 825392 - Remove SOWs. r=bz 2014-03-19 13:35:45 -03:00
Bobby Holley 79c147b83d Bug 825392 - Add xpc::GetXBLScopeOrGlobal and Sprinkle some calls to it where necessary. r=bz 2014-03-19 13:35:45 -03:00
Nathan Froyd 0310ca794b Bug 984985 - avoid a useless stat call when loading JS components; r=bholley 2014-03-18 12:49:00 -04:00
Nathan Froyd 171ca01e93 Bug 983803 - cast to nsIDOMEvent directly for generated events, rather than calling CallQueryInterface; r=smaug 2014-03-14 15:31:09 -04:00
Bobby Holley 8dee0c93c9 Bug 976704 - Make opaque security wrappers non-callable. r=gabor,sr=mrbkap 2014-03-18 19:23:45 -03:00
Brian Hackett ae18c1f2c7 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Terrence Cole 0988607fd4 Bug 957723 - Decommit unused portions of the nursery; r=jonco 2014-01-08 13:43:55 -08:00
Terrence Cole afd6da80fd Backout ed7130b21a68 (Bug 957723) for SM(r) orange on a CLOSED TREE. 2014-03-17 11:42:57 -07:00
Peter Van der Beken 7c1dc6f40a Bug 982114 - Deal with new DOM binding objects for Window in more places. r=bz. 2014-01-30 15:31:16 +01:00
Peter Van der Beken ae397a6658 Bug 982112 - Make accesscheck code deal with WebIDL bindings. r=bz. 2013-11-05 09:47:59 +01:00
Steve Fink 0457c4af77 Bug 981809 - Postbarrier WeakMapPtr keys, r=terrence
--HG--
extra : rebase_source : 207e9ab48a03ec4fdfe314a8c2c6e6af95853d6b
2014-03-13 13:53:34 -07:00
Terrence Cole 16c2295e94 Bug 957723 - Decommit unused portions of the nursery; r=jonco
--HG--
extra : rebase_source : b4e5a0b55d1817d3fc312b4aed2abb4e5273b145
2014-01-08 13:43:55 -08:00
Jon Coppeard bafb7ba32f Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley 2014-03-17 16:17:58 +00:00
Jon Coppeard 09b45e921b Bug 959787 - Handlify JS_ExecuteScript, JS_EvaluateScript and other JS APIs r=sfink r=bz 2014-03-17 16:17:58 +00:00
Phil Ringnalda 78b078e7bc Back out db542ae460d9 (bug 983399) for b2g debug xpcshell bustage 2014-03-16 19:42:51 -07:00
Terrence Cole 02c8e710e7 Bug 983399 - Make mozComponentLoader work with moving GC; r=sfink
--HG--
extra : rebase_source : d5d04949c97be80bdf2212f82493686bd4a6cb28
2014-03-07 15:28:48 -08:00
Kyle Huey 817b5ccbd9 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey b564544cf7 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Jeff Walden e402fbff37 Back out dd53db747a5e (bug 945152 part 2) to clear way for other fixing. Should reland in short order (before merge) after those other fixes land. r=backout 2014-03-14 16:38:07 -07:00
Jan de Mooij 2755ddacc9 Bug 981554 - Move allocator for optimized Baseline stubs from JitCompartment to JitZone. r=njn
--HG--
extra : rebase_source : 609881b6cf783805333454b876797ad5235bfecc
2014-03-14 19:13:08 +01:00
Vaibhav Agarwal c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Shian-Yow Wu 50520fcec3 Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn 2014-03-13 14:32:16 +08:00
Gabor Krizsanits fb3e4c0034 Bug 980023 - Localstorage access with nsEp. r=bholley 2014-03-11 08:41:55 +01:00
Jason Orendorff d620ebbdda Bug 980016 - Remove SpecialId. r=njn. 2014-03-10 16:32:21 -05:00
Jason Orendorff 3e89ce1e7c Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke. 2014-03-10 16:28:43 -05:00
Carsten "Tomcat" Book a8dae518e0 Backed out changeset 557c7be2fdb6 (bug 979481) for causing regression Bug 981202 2014-03-10 12:32:05 +01:00
Carsten "Tomcat" Book efc83e3864 Backed out changeset 5d9fb147f723 (bug 979481) 2014-03-10 12:31:35 +01:00
Carsten "Tomcat" Book 5f14988ea2 Backed out changeset 670fb9adcd29 (bug 979481) 2014-03-10 12:31:32 +01:00
Bill McCloskey a246a53379 Back out bug 940305 (too spammy) 2014-03-08 13:04:11 -08:00
Andrew McCreight 2243646948 Bug 977940, part 2 - Don't automatically trigger the ghost window detector during ICC. r=smaug 2014-03-08 05:38:53 -08:00
Masatoshi Kimura ce84311eeb Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey 2014-03-07 20:51:51 +09:00
Masatoshi Kimura 5ec70f0f8e Bug 978611 - Part 1: Stop using legacy dictionaries from MmsMessage. r=vicamo 2014-03-07 20:51:48 +09:00
Jan de Mooij 4c9d5d418c Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00
Bill McCloskey c0cbe05063 Bug 980558 - Enable extraWarnings on safe JS context (r=bholley) 2014-03-06 18:48:16 -08:00
Wes Kocher b63ff2b8e9 Backed out changeset 263b6c86c1be (bug 980558) for build bustage on a CLOSED TREE 2014-03-06 18:43:26 -08:00
Bill McCloskey 17c26a600d Bug 980558 - Enable extraWarnings on safe JS context (r=bholley) 2014-03-06 18:26:33 -08:00
Luke Wagner 9d3664fd61 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 1f15bc50e0 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 0b4592afe8 Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm 2014-03-06 15:26:17 -08:00
Bobby Holley deb72829c3 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 b016448582 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 cacdca44ee 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 ef09518a17 Bug 960108 - Ignore saved frame chains and contexts in JS::DescribeStack. r=bz 2014-03-05 20:15:35 -08:00
Nicholas Nethercote cf269be155 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 abbe4b9194 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 76ab6d796b 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 08a11f7934 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 3a5c9d4829 Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 15:39:42 -08:00
Wes Kocher ea2ff28ca4 Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE 2014-03-04 14:15:33 -08:00
Andrew McCreight 01a28066ae Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 13:33:44 -08:00
Bobby Holley d03e3df546 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 9863b3f538 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 d1bc2b8529 Bug 977340 - Use an AutoJSContext when clearing modules. r=gabor 2014-03-04 10:05:08 -08:00
Bobby Holley 46624f507a 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 92237b83ef Bug 978995 - Stop exporting symbols from xpconnect; r=bholley 2014-03-03 20:51:27 -05:00
Jeff Walden 4fb5f39899 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 af2597c8b5 Merge mozilla-central and inbound 2014-03-03 16:59:25 +00:00
Ed Morley cbfe2d6c71 Backed out changeset 508848ad378a (bug 939562) for causing bug 978450 2014-03-03 16:54:26 +00:00
Bobby Holley dbe96fbc4d Bug 975419 - Used a TenuredHeap pointer for SandboxPrivate and BackstagePass. r=mccr8 2014-03-03 08:53:42 -08:00
Jan de Mooij f3ddd05d72 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 e4686896dc 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 b2db83feaf 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 27e6781bd9 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 fdb45bb355 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 3cd29dbeac 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 15dc791773 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 dce67ed075 Remove JS_ prefix from DescribeScriptedCaller in comments NPOTB (no bug, r=me) 2014-02-27 10:47:54 -06:00
Benjamin Bouvier 460c4df9b5 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 04632f8c63 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 fbdfd0d71c 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 6aefce2f77 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 6c50fbdfed Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE 2014-02-26 16:02:15 +01:00
Jason Orendorff c4600431ae 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 46b31338d1 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 522a816f3b Bug 939562 part 1 - Bump trusted script buffer size for ASAN builds. r=bholley 2014-02-26 10:19:45 +01:00
Luke Wagner dfb0b68df3 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 5ebbbb4ebd Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor 2014-02-25 08:38:33 -08:00
Ehsan Akhgari 39fc9361f6 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Bobby Holley 30907ef9cb Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke 2014-02-21 16:03:11 -08:00
Bobby Holley 97f387fd67 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 3fb149d9d7 Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor 2014-02-21 15:55:31 -08:00
Peter Van der Beken 6f7b80e5b5 Bug 975277 - Pass the real receiver when using HasPrototype. r=bholley 2014-02-21 15:55:31 -08:00
Peter Van der Beken 08d239ffd1 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 56b7e9ff9a Bug 973780 - Remove Xray expando slot from WNs. r=bz 2014-02-21 11:35:49 -08:00
Bobby Holley 4b70a01ff8 Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-21 11:35:48 -08:00
Bobby Holley 7535769229 Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8 2014-02-21 11:35:48 -08:00
Luke Wagner b1325de739 Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Phil Ringnalda 01ad150169 Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
CLOSED TREE
2014-02-20 20:46:50 -08:00
Nicholas Nethercote 926c15fd33 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 a130f478c1 Bug 973780 - Remove Xray expando slot from WNs. r=bz 2014-02-20 18:24:09 -08:00
Bobby Holley 21ff903ba9 Bug 973780 - Hook Xrays up to the new expando map. r=bz 2014-02-20 18:24:09 -08:00
Bobby Holley 6c69cdc40d Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8 2014-02-20 18:24:09 -08:00
Andrew McCreight 798ec9614e Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-20 12:55:40 -08:00
Chris Peterson d2c6598a97 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 723c69a129 Bug 960828 - More diagnostics. r=mccr8 2014-02-19 18:23:48 -08:00
Andrew McCreight 6c86943613 Backout bug 966762 for Valgrind leaks 2014-02-19 17:17:58 -08:00
Andrew McCreight 7cd422c324 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-19 13:27:15 -08:00
Brian Hackett 2a9fd71c02 Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent. 2014-02-19 09:02:13 -07:00
Daniel Holbert c516662c22 back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson 58e6c13345 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 7d3085e511 Merge b-i to m-c 2014-02-15 10:01:36 -08:00
Bobby Holley 20c9918600 Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz 2014-02-14 22:39:34 -08:00
Bobby Holley 4de0b7d455 Bug 968335 - Tests. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley c8ca39b87d Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley 521db67db7 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 557d8c2d5c Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Phil Ringnalda 4d898ac6fc 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 4ea924c950 Bug 968335 - Tests. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley 8f0f5028b0 Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley 4a944caaf5 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 a44ebfa138 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 c0179b2588 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 1c600e7056 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Bobby Holley 2b33b064b7 Bug 956382 - Consider document.domain when computing security wrappers. r=mrbkap 2014-02-13 18:57:35 -08:00
Bobby Holley e0f33e6e2e 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 0d05bf1dc9 Bug 972478 - Docshell scriptability should only affect non-immune principals. r=bz 2014-02-13 15:40:50 -08:00
Bobby Holley 7cbea2a19d Bug 960828 - Diagnostics. r=mccr8 2014-02-13 11:54:59 -08:00
Bobby Holley 74dced0ef3 Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8 2014-02-13 10:54:08 -08:00
Bobby Holley 26295823eb Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap 2014-02-13 10:54:08 -08:00
Bobby Holley cab18b5855 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 735137fc57 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jan de Mooij d3e6cdca99 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 536b10f3dd 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 34723bb6f4 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 bd8f89a934 Bug 733636, part 2 - nsXPConnect::WrapNative should pass aAllowWrapping=true. r=bholley 2014-02-12 15:19:32 -08:00
Andrew McCreight 410ae818bb Bug 733636, part 1 - Change the nsContentUtils::WrapNative aAllowWrapping default to true. r=bholley 2014-02-12 15:19:32 -08:00
Neil Rashbrook dace60c6bb Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley 2014-02-12 21:22:07 +00:00
Jon Coppeard d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Andrew McCreight 5313ee591a Bug 967023, part 2 - Get rid of XPCWrappedJSClass::GetNewOrUsed out param. r=bholley 2014-02-11 14:56:46 -08:00
Andrew McCreight 283ef4893d Bug 967023, part 1 - Rename clazz to clasp in XPCWrappedNative::GetNewOrUsed. r=bholley 2014-02-11 14:56:45 -08:00
Masatoshi Kimura 18d6c0f5ff Backed out changeset d7d447cac91b (bug 969762) for tp5 regression. 2014-02-12 06:01:29 +09:00
Jon Coppeard c3759c40ff 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 d91d200572 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 679ef4d260 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Bobby Holley 98779f9a32 Bug 965921 - Handle addons that expose JS-implemented XPCOM components to content. r=mrbkap 2014-02-10 10:27:24 -08:00
Bobby Holley f209e98c03 Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz 2014-02-10 10:03:56 -08:00
Jon Coppeard eea6ca3467 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 3cf44e3588 Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage 2014-02-04 20:09:26 -08:00
Andrew McCreight ac7cc7ff07 Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:59 -08:00
Andrew McCreight b29822fe19 Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight 2340504f6a Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight 6ba15d9164 Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight eb84153daa Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight 266e5716aa Bug 965920, part 3 - Smart pointerize newVariant. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight 291bf1fcf7 Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight 9bf248e147 Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley 2014-02-04 19:29:57 -08:00
Phil Ringnalda 381d88b901 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 22e6b16ac5 Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage 2014-02-04 20:09:26 -08:00
Andrew McCreight 75840f794d Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:59 -08:00
Andrew McCreight 10ea52f843 Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight 4778ec4092 Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight 10285cf6bc Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor 2014-02-04 19:29:58 -08:00
Andrew McCreight 15c38e8489 Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight 6f12ecdf92 Bug 965920, part 3 - Smart pointerize newVariant. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight b99f98d662 Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley 2014-02-04 19:29:58 -08:00
Andrew McCreight d7e0183e9e Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley 2014-02-04 19:29:57 -08:00
Bobby Holley 8bf2c8aa3b Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke 2014-02-04 07:51:54 -08:00
Jon Coppeard 4df3aa4450 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book f4bc96a601 Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE 2014-01-31 12:11:23 +01:00
Jon Coppeard 50bf59a96c Bug 965904 - Fix some rooting hazards in the browser r=terrence 2014-01-31 09:56:40 +00:00
Jon Coppeard ba27569312 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Chris Peterson f6f08af0a0 Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc 2014-01-29 20:40:34 -08:00
Eric Faust 6e72a2f58a 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 4eaf764db3 Bug 963192, part 4 - Smart pointerize nsXPConnect::mDefaultSecurityManager. r=bholley 2014-01-30 11:20:42 -08:00
Andrew McCreight 6e75f07112 Bug 963192, part 3 - Smart pointerize XPCContext::mException. r=bholley 2014-01-30 11:20:42 -08:00
Andrew McCreight a38650dea3 Bug 963192, part 2 - Smart pointerize IID2ThisTranslatorMap. r=bholley 2014-01-30 11:20:42 -08:00
Andrew McCreight 6eb23bd2c8 Bug 963192, part 1 - Smart pointerize XPCWrappedJSClass::mInfo. r=bholley 2014-01-30 11:20:41 -08:00
Bobby Holley 7166faea0a 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 331a1f6c7b 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 8b2a3c8d5b Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff 2014-01-30 07:45:16 -08:00
Andrea Marchesini 7c745b83df Bug 964293 - Implement Cu.cloneInto() method, r=bholley 2014-01-30 04:45:48 -08:00
Boris Zbarsky 0ec24be88b 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 8f926f8c8b Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley 2014-01-29 22:33:03 -08:00
Eric Faust fc6584c144 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 9c04c0d68a 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 b23fdb2143 Bug 965082 - Tests. r=mrbkap,r=gabor 2014-01-29 13:07:13 -08:00
Bobby Holley 4261137095 Bug 965082 - Only run the {get,set}PrototypeOf override for non-SecurityWrappers. r=mrbkap,r=gabor 2014-01-29 13:07:13 -08:00