Commit Graph

4035 Commits

Author SHA1 Message Date
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
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
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