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

4195 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley a77c4b1347 Bug 1082450 - Remove test for filtering setters on property descriptors. r=gabor
In the next patch, we deny access to any accessor property, so this is now
obsolete for COWs. We also do something like this for new-style XOWs, but that's
exhaustively covered in test_crossOriginObjects.html.
2014-10-15 15:05:09 +02:00
Olli Pettay dd8c29571f Bug 855443 - Assertion failure in nsSHEntry.cpp, don't just append a new SHEntry to parent if we already have an SHEntry for the loading page, r=bz
--HG--
extra : rebase_source : 8f8d0df030a3205d9d9845e90c849bf94115ff1b
2014-10-15 13:10:04 +03:00
Guilherme Goncalves 8e098b9772 Bug 1082547 - Copy sandbox option strings instead of adopting them. r=bholley
Strings coming from JS objects are allocated using js_malloc, which may
potentially use a separate heap, but nsCString is unaware of that, and
tries to free its underlying buffer using a regular free(); because of
that, we need to copy the string into a separate buffer allocated from
the correct heap.
2014-10-14 05:58:00 +02:00
Boris Zbarsky d0757cbfc2 Bug 1080742. Make DumpJSStack() work on workers. r=bholley 2014-10-09 13:00:25 -07:00
Jon Morton 1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Kyle Huey 6077baead0 Bug 979835: Stub out dead parts of quickstubs. r=bz 2014-10-14 13:15:15 -07:00
Tom Schuster bf9324688d Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Stephen Pohl 0b58cd9573 Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg 2014-10-10 15:06:57 -04:00
Steve Fink b640335cbc Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Eric Rahm 7fffd05532 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan 2014-10-08 13:19:14 -07:00
Eric Rahm 8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Jason Orendorff 41b9b13312 Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust.
--HG--
extra : rebase_source : 359dceadb4dfcfc9c724d2995c121a56af610c7d
2014-09-26 19:39:35 -05:00
Jason Orendorff d35e6d1e8d Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
Also renamed in this patch:

ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys

These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.

--HG--
extra : rebase_source : 35fb0fa3c8f3d7bc952409ea8c584e58f3c1d78f
2014-09-26 15:16:36 -05:00
Andrea Marchesini 5ee327d0bc Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-08 17:15:23 +01:00
Andrea Marchesini 8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini 7491bee8c3 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Andrew McCreight 37a6f9f035 Bug 970684 - Re-enable test_watchpoints.xul and test_weakmaps.xul everywhere. r=billm 2014-10-06 14:17:00 +02:00
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ryan VanderMeulen cd3e8a6f73 Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini b0680af5f4 Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-07 15:20:57 +01:00
Andrea Marchesini c8190ba625 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini d272279126 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Peter Van der Beken 962c9a5742 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz.
--HG--
extra : rebase_source : 6ca1903658d3d6fe2634409cd39fa68c6b1219bd
2014-10-07 11:44:48 +02:00
Peter Van der Beken a0f306343e Bug 808856 - Make not overriding WrapObject fail to build. r=ehsan.
--HG--
extra : rebase_source : 4683c70c97f7eea454bc445331dbbbe7c4f2cec7
2014-10-07 11:44:48 +02:00
Wes Kocher 445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm 53a247fb00 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm 80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
zhoubcfan@163.com 567fb422f4 Bug 1076926 - Add windows 10 support to exe manifest. r=jimm 2014-10-04 14:43:01 +09:00
Stephen Pohl ca13b6a589 Bug 1077099: Add GreBinD to easily differentiate between Contents/Resources (GreD) and Contents/MacOS (GreBinD) on OSX. r=bsmedberg 2014-10-03 16:48:49 -04:00
Ed Morley 6c9d66f653 Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE 2014-10-03 10:12:53 +01:00
Bobby Holley cb11d4825a Bug 1065185 - Console Message Tests. r=bz 2014-10-03 10:05:52 +02:00
Bobby Holley 86e770dc65 Bug 1065185 - Turn off indexed/.length access on COW arrays. r=bz 2014-10-03 10:05:52 +02:00
Bobby Holley 25211c35fe Bug 1065185 - Expand XrayWrapper console messages for COWs. r=bz 2014-10-03 10:05:51 +02:00
Bobby Holley af5d4d993f Bug 1065185 - Explicitly expose indexed properties in COW array test. r=bz 2014-10-03 10:05:50 +02:00
Christoph Kerschbaumer b86cc609d3 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-02 23:34:30 -07:00
Till Schneidereit 862aa1741c Bug 1075059 - Part 2: Backout of Array.prototpype.contains. r=jorendorff
--HG--
extra : rebase_source : 088d2cc999b55eb2c6c0d43b47bc5f3cc6d9d69a
2014-10-02 17:38:46 +02:00
Bobby Holley d5eb2be0cb Bug 1074863 - Handle named constructors which have DOMXrayTraits while being simultaneously JSProto_Function. r=peterv
Simple fix, but interesting test case and worth having on CI.
2014-10-02 11:06:03 +02:00
Ryan VanderMeulen 818507baa1 Backed out changeset 31a25f47264b (bug 1067942) for Linux mochitest-other crashes.
CLOSED TREE
2014-10-01 13:39:22 -04:00
Ryan VanderMeulen 9c18e9fc86 Backed out 11 changesets (bug 1065185) for Gaia Python integration test failures on a CLOSED TREE.
Backed out changeset a45d02c3b4e8 (bug 1065185)
Backed out changeset bb7b8b0da990 (bug 1065185)
Backed out changeset 7672d57acbad (bug 1065185)
Backed out changeset fbdb5bead639 (bug 1065185)
Backed out changeset 54d6077015da (bug 1065185)
Backed out changeset e2528549de9d (bug 1065185)
Backed out changeset 981c0b7c897d (bug 1065185)
Backed out changeset 903fbf9bb0c7 (bug 1065185)
Backed out changeset 76e863b63dd8 (bug 1065185)
Backed out changeset 6871aff5d103 (bug 1065185)
Backed out changeset cc213ad991a8 (bug 1065185)
2014-10-01 12:33:30 -04:00
Till Schneidereit 6408e7ff16 Bug 1067942 - Change error message for attempted getter-only property writes to include the property name. r=terrence,Ms2ger
--HG--
extra : rebase_source : ebe2b8d794145d96198235151de70b2b3dbc846e
2014-09-30 01:17:55 +02:00
Boris Zbarsky b4f9648437 Bug 1065185 followup: expose the indexed prop we're trying to access in this test to reopen the CLOSED TREE 2014-10-01 11:14:39 -04:00
Bobby Holley 16e0d81414 Bug 1065185 - Turn off indexed/.length access on COW arrays. r=bz 2014-10-01 15:25:02 +02:00
Bobby Holley 224ca3b8ef Bug 1065185 - Explicitly expose indexed properties in COW array test. r=bz 2014-10-01 15:25:01 +02:00
Jesse Ruderman f2163354f2 Bug 851418 - Crashtest. r=bholley 2014-10-01 13:52:44 +02:00
Bobby Holley efa12dab20 Bug 853709 - Tests. r=mrbkap 2014-10-01 13:52:43 +02:00
Bobby Holley a8f62204b1 Bug 865948 - Tests. r=gabor 2014-10-01 13:52:43 +02:00
Michael Wu 38ff59f01d Bug 1073094 - Disable jsloader.reuseGlobal on debug builds, r=khuey 2014-09-30 12:25:41 -04:00
Carsten "Tomcat" Book b37ac43e39 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Ryan VanderMeulen c8d14e42a2 Merge m-c to fx-team. a=merge 2014-09-29 16:09:22 -04:00
Bobby Holley 8b421a48d3 Bug 1070842 - Factor script error event dispatch into a separate function. r=bz 2014-09-29 15:34:21 +02:00
Bobby Holley 94bd419133 Bug 1070842 - Remove ambiguous globals from xpc::ErrorReporter and make meanings explicit. r=bz 2014-09-29 15:34:20 +02:00
Jon Coppeard 2013670e0e Bug 650161 - We don't need an objectMoved hook for global objects r=terrence 2014-09-29 09:50:17 +01:00
Bobby Holley a24c29adc9 Bug 1070131 - Switch originPrincipals to a mutedError flags. r=luke,r=bz
--HG--
rename : js/src/jsapi-tests/testOriginPrincipals.cpp => js/src/jsapi-tests/testMutedErrors.cpp
2014-09-29 10:44:30 +02:00
Bobby Holley 2a1c09c3d0 Bug 1070131 - Stop XDR-serializing origin principals. r=luke,r=bz 2014-09-29 10:44:30 +02:00
Stephen Pohl 579061de7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Peter Van der Beken 29c43cc253 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, stop forwarding sets to Traits. r=bholley.
--HG--
extra : rebase_source : dd7cccd24eb8d1c866a10784f29eb067ed29707a
2014-09-15 16:52:11 +02:00
Peter Van der Beken ebc693bfd7 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Xrays walk the prototype chain when resolving DOM properties. r=bholley.
* * *
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, remove obsolete code. r=bholley.

--HG--
extra : rebase_source : 7a9aa81d3e9d74ed958374942020474147aa4f86
2014-09-15 16:51:40 +02:00
Bill McCloskey ca7f3b096e Bug 1048968 - Don't use e10s shims when add-on contains unprivileged content (r=bholley) 2014-09-29 13:05:22 -07:00
Bobby Holley db168e5cde Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Bobby Holley 098daff552 Bug 1065811 - Fix some soon-to-be rooting hazards. r=billm
When we starting forwarding isCallable and isConstructor over CPOWs, calls that
could potentially invoke this proxy trap can now GC.
2014-09-25 13:13:27 +02:00
Nicholas Nethercote cda9c17f4b Bug 1070251 - Anonymize non-chrome inProcessTabChildGlobal URLs in memory reports when necessary. r=khuey.
--HG--
extra : rebase_source : a204dbae9f853be3ade1cdebfa0f4ac01fa3a174
2014-09-24 19:08:20 -07:00
Bobby Holley 0058889876 Bug 1072174 - Handle all the cases XrayWrapper.cpp. r=peterv 2014-09-24 21:58:33 +02:00
Jon Coppeard 132fb38dd4 Bug 650161 - Unify the finalization and moving GC callbacks into a weak pointer update callback r=terrence r=bholley 2014-09-24 12:54:11 +01:00
Jon Coppeard 9cf17436a8 Bug 650161 - Fix up XPCJSRuntime object pointers on moving GC r=bholley 2014-09-18 18:14:50 +01:00
Carsten "Tomcat" Book 76043a5642 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Christoph Kerschbaumer a2ecbd83dc Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Bill McCloskey 3919c8a23b Bug 1068225 - Fix up assertion to check the right thing. r=bholley 2014-09-24 09:17:33 +02:00
Wes Kocher ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Jeff Walden bfa5f21982 Bug 896116 - Implement %TypedArray% and %TypedArray%.prototype. r=till, r=bholley
--HG--
extra : rebase_source : 0e78b08f644b9d189c6a4b280aa20fb749a7600e
2014-08-21 20:39:30 -07:00
Jeff Walden 3c33ef9a25 Bug 896116 - Morph the dependent-JSProtoKey system to explicitly store a JSProtoKey, rather than relying on a system where a single class represents the parent and dependent both. Also convert error objects (Error, RangeError, &c.) to be represented by multiple classes, not a single one. r=bholley, r=till
--HG--
extra : rebase_source : 1d1913c49ae58be86e991077bda96684c6afb941
2014-09-18 20:06:32 -07:00
Eric Rahm 83245fc00d Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj 2014-09-22 15:32:21 -07:00
Ryan VanderMeulen cae5eb937c Merge m-c to inbound. a=merge 2014-09-22 15:51:51 -04:00
Ryan VanderMeulen 344138b126 Merge m-c to inbound. a=merge 2014-09-22 15:50:08 -04:00
Benjamin Smedberg 883f97d522 Bug 1069518 - XPTCall should refuse to implement interfaces with [notxpcom] methods, r=froydnj/bholley 2014-09-22 15:10:31 -04:00
Vlatko Markovic 8818f4947f Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
Christoph Kerschbaumer 34b8295e19 Bug 1038756: Callsites creating a channel in /js/ (r=mrbkap) 2014-09-21 09:45:16 -07:00
Till Schneidereit ea058db5ed changeset: 229386:2c92e43e29d8
user:        ziyunfei <446240525@qq.com>
files:       js/src/builtin/Array.js js/src/builtin/Utilities.js js/src/jsarray.cpp js/src/tests/ecma_7/Array/browser.js js/src/tests/ecma_7/Array/contains.js js/src/tests/ecma_7/Array/shell.js js/src/tests/ecma_7/browser.js js/src/tests/ecma_7/shell.js
description:
Bug 1069063 - Implement Array.prototype.contains. r=till,securityAudit=bholley

--HG--
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/browser.js
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/shell.js
rename : js/src/tests/ecma_6/browser.js => js/src/tests/ecma_7/browser.js
rename : js/src/tests/ecma_6/shell.js => js/src/tests/ecma_7/shell.js
2014-09-18 17:22:05 +08:00
Bobby Holley be9e0c4e41 Bug 1070696 - Implement a JSObject* override to AutoJSAPI::Init(). r=smaug 2014-09-21 21:31:53 +02:00
Bobby Holley e3eca2660e Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Jon Coppeard 64b91b1c09 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Peter Van der Beken 307531531b Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, move some code around. r=bholley.
--HG--
extra : rebase_source : 713a35d4bc7ffa4a25561823dbb0301a22565cb5
2013-10-18 13:22:08 +02:00
Peter Van der Beken 1ab9ffc995 Bug 1067501 - Make stringification of DOM Xrays use Object.prototype.toString. r=bholley.
--HG--
extra : rebase_source : 7ba38f2b2625d0ff5405eda2fda6bad9608efa34
2014-09-15 16:45:38 +02:00
Phil Ringnalda 6eb3e94389 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Christoph Kerschbaumer fd3d3cc25b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Brian Hackett 0593b4473d Bug 1061404 - Move ArrayBuffer view list into per compartment tables, r=sfink. 2014-09-17 11:13:17 -07:00
Ed Morley 895ca896db Backed out changeset bea8bb703913 (bug 650161) for rooting hazzard failures 2014-09-17 17:34:20 +01:00
Jon Coppeard 1c33bd3c21 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley 2014-09-17 15:35:11 +01:00
Ryan VanderMeulen 04eba7c166 Backed out 6 changesets (bug 918828) for mass bustage on a CLOSED TREE.
Backed out changeset b59c02df792f (bug 918828)
Backed out changeset 12e7deed1b17 (bug 918828)
Backed out changeset b87ca498ea9a (bug 918828)
Backed out changeset 621224c58e71 (bug 918828)
Backed out changeset 4faff84eb1ba (bug 918828)
Backed out changeset 3695c1c812a5 (bug 918828)
2014-09-16 17:26:34 -04:00
Bobby Holley d21126998c Bug 1068163 - Turn off release-mode assertion against addon scope prototype munging. r=me 2014-09-16 22:06:51 +02:00
Jason Orendorff 68b38c7094 Bug 918828, part 2 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=nbp.
--HG--
extra : rebase_source : 529d0cd48cd1993cd8cc648ac385ca12342ecfd1
2014-07-01 21:01:21 -05:00
Jason Orendorff 25c418a712 Bug 1065604 - Assert that JSPROP_SHARED is set on all properties defined with JSPROP_GETTER or JSPROP_SETTER. r=Waldo.
--HG--
extra : rebase_source : f928bfe44c33ec0e561db346a407e20ff26165c4
2014-09-10 15:17:52 -05:00
Shu-yu Guo 59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Olli Pettay b81ddc25b6 Bug 1067344 - content process crash in nsXPCWrappedJS::CanSkip(), r=mccr8
--HG--
extra : rebase_source : 687813170d30e3763de9917bccdb4c58df576d61
2014-09-15 19:26:20 +03:00
Bobby Holley 3090e7865a Bug 1060521 - Remove infrastructure for Xrayed NewResolve, GetProperty, and SetProperty on XPCWrappedNatives. r=peterv 2014-09-15 14:13:02 +02:00
Bobby Holley d7458ed3db Bug 1065452 - Add an API to access the associated window of addon scopes. r=billm 2014-09-15 14:12:12 +02:00
Bobby Holley 2ac8d46cbb Bug 1066846 - Explicitly verify that incoming dipper parameters are objects. r=bz 2014-09-13 19:40:10 -07:00
Bobby Holley 9a78656a76 Bug 1052096 - Add an API to access the 'Location' string (used by memory reporters) of a compartment. r=billm 2014-09-12 17:41:18 -07:00
Jason Orendorff 99418b7704 Bug 1065507, part 2 - Change XPCWrappedNatives to use a null setter instead of js_GetterOnlyPropertyStub.
--HG--
extra : rebase_source : dccc09d810a07019c582d1fbda431e57287b690a
2014-09-10 12:43:26 -05:00
Jason Orendorff 22c79b3ead Bug 1065507, part 1 - Remove dead function xpc_qsGetterOnlyPropertyStub.
--HG--
extra : rebase_source : 6dbeb6dd2e69511682b5b3e8582104d06d13766d
2014-09-10 12:51:09 -05:00
Bill McCloskey 358c1f203e Bug 1062024 - Allow CPOWs to be passed to COWs (r=bholley) 2014-09-10 17:15:41 -07:00
Bill McCloskey a38518d345 Bug 1042680 - Allow add-ons to assign to var-declared chrome global with compartment_per_addon (r=bholley) 2014-09-10 17:15:40 -07:00
Eric Faust 385660b12e Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv) 2014-09-10 15:52:36 -07:00
Felipe Gomes 382f4efc2f Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
Nicolas B. Pierron 2e870be9ec Bug 1063816 - Rename useCount to warmUpCounter. r=h4writer 2014-09-10 19:11:20 +02:00
Peter Van der Beken 092abdc9c1 Bug 1063700 - Remove unused IsSecurityWrapper functions. r=bholley.
--HG--
extra : rebase_source : 32499305e3e28c690d0158f3e9df333b73e2259b
2014-09-09 15:38:45 +02:00
Bobby Holley 7c712dca7b Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Irving Reid d5feb83b80 Bug 1064424 - Use Timestamp::ProcessCreation to calculate Cu.now(). r=bz 2014-09-08 14:15:04 -04:00
Bobby Holley 01390fc30d Bug 1064437 - Remove Proxy special-case in ForceCOWBehavior. r=gabor 2014-09-09 08:21:45 -07:00
Bobby Holley ad40fc3b65 Bug 1064550 - Remove xpcWrappedJSErrorReporter. r=bz
Given that the JS engine always clears exceptions immediately after reporting
them, the empty body after JSREPORT_IS_EXCEPTION causes us to eat exceptions
here.
2014-09-08 22:22:19 -07:00
Chris Peterson d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Shu-yu Guo c2475516fe Bug 1056411 - Part 1: Remove DebugFromC and clean up compartment debug mode logic. (r=jimb) 2014-09-08 21:03:31 -07:00
Bobby Holley 87c9e0954f Bug 1062077 - Remove now-no-op error reporter munging in mozJSSubScriptLoader.cpp. r=bz
In the past this might theoretically have switched us from
NS_ScriptErrorReporter to xpc::SystemErrorReporter, but those have now been
merged.
2014-09-08 16:30:12 -07:00
Bobby Holley 9ff6cd212d Bug 1062077 - Merge NS_ScriptErrorReporter and xpc::SystemErrorReporter. r=bz
We keep the latter name because it's referenced in more places. Error reporters
will go away entirely in bug 981187.
2014-09-08 16:30:11 -07:00
Bobby Holley 0ffae4a42a Bug 1062077 - Switch SystemErrorReporter to xpc::ErrorReport. r=bz 2014-09-08 16:30:11 -07:00
Bobby Holley 7ba663f3ec Bug 1062077 - Hoist console logging duties into xpc::ErrorReport. r=bz 2014-09-08 16:30:11 -07:00
Bobby Holley e85bd78d5d Bug 1062077 - Introduce xpc::ErrorReport. r=bz
I've got it! Let's just wrap the JS thing in an XPCOM thing that duplicates
its fields with a different ownership model! We totally need another one of
those, right? And we could even stick it in XPConnect! </sarcasm>

In seriousness - the code to own, format, and display error reports is
currently spread between the JS engine, JSErrorReporters, an async Runnable
abstraction, and elsewhere. We need to condense it somewhere to start chipping
away at this mess.
2014-09-08 16:30:10 -07:00
Bobby Holley 06cc2ae3c2 Bug 1062631 - Remove exception swallowing code in NS_ScriptErrorReporter. r=bz
See bug 1062631 comment 0.
2014-09-08 13:36:22 -07:00
Bobby Holley 0c8cf16e5b Bug 1062631 - Fix up content QI security check and tests. r=bz
This stuff is broken in a bunch of ways. The test isn't doing the right thing
because it's using SpecialPowers. When we pass the content object to
xpconnectArgument(), it gets wrapped in a SpecialPowers wrapper, so the check
succeeds, only to fail down the line when the QI method is actually invoked
with an IID (which we can't pass to content scopes anyway).

This whole security check is probably useless given the above, but let's be
safe, make it a bit more robust, and fix up the test while we're at it.
2014-09-08 13:36:21 -07:00
Boris Zbarsky 12857de707 Bug 1063521. Remove the WANT_OUTER_OBJECT classinfo flag, since it's now unused. r=bholley 2014-09-08 10:05:11 -04:00
Boris Zbarsky b0b2acb195 Bug 1017424 part 9. Remove redundant xpconnect code looking for ChromeWindow/ModalContentWindow classes. r=bholley 2014-09-05 14:28:46 -04:00
Boris Zbarsky 7dd6d51191 Bug 1017424 part 7. Remove code to handle XPConnect window wrappers from WindowNamedPropertiesHandler and XPCJSRuntime. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky 4532962c88 Bug 1017424 part 5. Remove classinfo for Window. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky b197b61892 Bug 1017424 part 4. Remove Web IDL quickstubs for Window. r=peterv 2014-09-05 14:28:44 -04:00
Boris Zbarsky dfeaa19d76 Bug 969490. Add a Components.utils.now() that provides access in system JS to a monotonic timer, returning a fractional number milliseconds since process creation. r=bholley 2014-09-04 15:26:21 -04:00
Mike Hommey ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Bobby Holley 2606e901b5 Bug 1051224 - Add an opt-out for cross-origin argument checking. r=gabor 2014-09-03 13:02:36 -07:00
Ehsan Akhgari 4966506563 Bug 1060977 - Fix more bad implicit constructors in xpconnect; r=smaug 2014-08-31 21:06:35 -04:00
Eric Faust db3773210b Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj) 2014-08-28 13:47:16 -07:00
Eric Faust 48b4f73e9f Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff) 2014-08-28 13:30:56 -07:00
David Major 36c74581b8 Bug 1023941 - Part 5: Loader hook to redirect the missing import. r=bsmedberg
--HG--
extra : rebase_source : 7cf2e857f51dcfcc95bb806d49ef13b794f5ba5b
2014-08-28 14:53:38 +12:00
Nicholas Nethercote df1c26a45e Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Terrence Cole dbf4c1f1ea Bug 1057140 - Revert JS_realloc bustage from bug 1033442; r=sfink 2014-08-25 12:28:38 -07:00
Andrew McCreight b9712e47f0 Bug 1052626, part 2 - Report the total size of nsXPCWrappedJS. r=bholley,froydnj 2014-08-25 12:34:00 -07:00
Andrew McCreight 5d1b4639a7 Bug 1052626, part 1 - Outline and constify JSObject2WrappedJSMap::SizeOfIncludingThis. r=njn 2014-08-25 12:34:00 -07:00
Nicholas Nethercote 0c90379b35 Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
--HG--
extra : rebase_source : 3139b17f6a660f460adb820c390368dc8367069a
2014-04-15 19:43:18 -07:00
Chris Peterson 0059278e60 Bug 1054630 - Collect telemetry on usage of SpiderMonkey's deprecated language extensions: for-each, destructuring for-in, legacy generators, and expression closures. r=till 2014-08-24 11:56:08 -07:00
Nigel Babu e28bb5faec Backed out 6 changesets (bug 1054630) for hazards bustage ON A CLOSED TREE
Backed out changeset 684b95601155 (bug 1054630)
Backed out changeset e656c61ecd70 (bug 1054630)
Backed out changeset fa6d52a0cfea (bug 1054630)
Backed out changeset 19d115a44912 (bug 1054630)
Backed out changeset 0bceb044a4de (bug 1054630)
Backed out changeset be39ba3aa672 (bug 1054630)
2014-08-24 16:33:36 +05:30
Chris Peterson d12d1cbd0e Bug 1054630 - Part 5b: Collect telemetry on usage of SpiderMonkey's deprecated expression closures. r=till 2014-08-17 17:22:42 -07:00
Chris Peterson 5e35617eb8 Bug 1054630 - Part 4: Collect telemetry on usage of SpiderMonkey's deprecated legacy generators. r=till 2014-08-17 17:17:03 -07:00
Chris Peterson 7255193d60 Bug 1054630 - Part 3: Collect telemetry on usage of SpiderMonkey's deprecated destructuring for-in. r=till 2014-08-17 17:13:12 -07:00
Chris Peterson 46bb7818f7 Bug 1054630 - Part 2: Collect telemetry on usage of SpiderMonkey's deprecated for-each. r=till 2014-08-17 17:12:35 -07:00
Chris Peterson 208b9e0255 Bug 1054630 - Part 1: Add plumbing for SpiderMonkey parser telemetry. r=till 2014-08-23 13:35:17 -07:00
Mike Hommey 9461e860e6 Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09:00
Bobby Holley 9623afb943 Bug 1056332 - Remove cross-global adopt telemetry. r=gabor 2014-08-23 09:01:50 +02:00
Peter Van der Beken 63152eee22 Bug 1041731 - Unforgeable Xrayed methods aren't getting cached on the holder. r=bholley.
--HG--
extra : rebase_source : 9e86ba2d864e6894cc10722ddaf83ded41d88e42
2014-08-22 11:25:07 +02:00
Jeff Walden 48a79b06e3 Bug 969478 - Make the arguments/caller properties of functions be entirely implemented by accessors living on Function.prototype. r=jorendorff
--HG--
extra : rebase_source : 258c158f041f673b201ca3cd978e1522a1887311
2014-08-01 19:11:22 -07:00
Rishab Arora 8f86240a5e Bug 1021379 - Renamed typed arrays' move method to copyWithin, fixed up to ES6 semantics. r=till, r=jwalden
--HG--
extra : rebase_source : deae33f4603ef3c40a2d214b0426bb0756b5307a
2014-07-10 11:49:22 +05:30
Ed Morley f2b21bebd2 Backed out changeset f2da252a9248 (bug 1054630) 2014-08-22 09:28:38 +01:00
Chris Peterson c2a5352c35 Bug 1054630 - Part 1: Add plumbing for SpiderMonkey parser telemetry. r=till 2014-08-11 23:17:44 -07:00