Commit Graph

4036 Commits

Author SHA1 Message Date
Peter Van der Beken
5be6e129db 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
dd7ebaded4 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
0de2d98100 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Bobby Holley
54afe3012b Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Bobby Holley
6ba14d3901 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
ff1870aac7 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
074c7139cc Bug 1072174 - Handle all the cases XrayWrapper.cpp. r=peterv 2014-09-24 21:58:33 +02:00
Jon Coppeard
23f8fad496 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
f93dcea4d5 Bug 650161 - Fix up XPCJSRuntime object pointers on moving GC r=bholley 2014-09-18 18:14:50 +01:00
Carsten "Tomcat" Book
bb6b27d528 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Christoph Kerschbaumer
72c6a44018 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Bill McCloskey
95c7aef14f Bug 1068225 - Fix up assertion to check the right thing. r=bholley 2014-09-24 09:17:33 +02:00
Wes Kocher
0300f6d4af 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
5453719121 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Jeff Walden
6bd1757e67 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
f5477c2a39 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
d68358c8cd Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj 2014-09-22 15:32:21 -07:00
Ryan VanderMeulen
6a5ec97f20 Merge m-c to inbound. a=merge 2014-09-22 15:51:51 -04:00
Ryan VanderMeulen
9ff8b15061 Merge m-c to inbound. a=merge 2014-09-22 15:50:08 -04:00
Benjamin Smedberg
dcb398c24f Bug 1069518 - XPTCall should refuse to implement interfaces with [notxpcom] methods, r=froydnj/bholley 2014-09-22 15:10:31 -04:00
Vlatko Markovic
2e30280054 Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
Christoph Kerschbaumer
ef6536b244 Bug 1038756: Callsites creating a channel in /js/ (r=mrbkap) 2014-09-21 09:45:16 -07:00
Till Schneidereit
ce2a28c7f3 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
f7c451febf Bug 1070696 - Implement a JSObject* override to AutoJSAPI::Init(). r=smaug 2014-09-21 21:31:53 +02:00
Bobby Holley
8dae0fc8ce 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
c8cbf89441 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
b6ec2341c9 Bug 1061404 - Move ArrayBuffer view list into per compartment tables, r=sfink. 2014-09-17 11:13:17 -07:00
Ed Morley
cea5a26d63 Backed out changeset bea8bb703913 (bug 650161) for rooting hazzard failures 2014-09-17 17:34:20 +01:00
Jon Coppeard
c60aa1033f 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
aaed76a710 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
42af15201f Bug 1068163 - Turn off release-mode assertion against addon scope prototype munging. r=me 2014-09-16 22:06:51 +02:00
Jason Orendorff
a9a9cfb535 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
c5d1bccdd2 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
320f4e1440 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Olli Pettay
ab178de936 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
74a1df53db Bug 1060521 - Remove infrastructure for Xrayed NewResolve, GetProperty, and SetProperty on XPCWrappedNatives. r=peterv 2014-09-15 14:13:02 +02:00
Bobby Holley
c9cece9f44 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
50853c94d0 Bug 1066846 - Explicitly verify that incoming dipper parameters are objects. r=bz 2014-09-13 19:40:10 -07:00
Bobby Holley
90951a49fc 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
afee91e87a 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
6475fbdc4b Bug 1065507, part 1 - Remove dead function xpc_qsGetterOnlyPropertyStub.
--HG--
extra : rebase_source : 6dbeb6dd2e69511682b5b3e8582104d06d13766d
2014-09-10 12:51:09 -05:00
Bill McCloskey
90f75883ed Bug 1062024 - Allow CPOWs to be passed to COWs (r=bholley) 2014-09-10 17:15:41 -07:00
Bill McCloskey
416cd026a1 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
9b8255f0c4 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
3a6a843e37 Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
Nicolas B. Pierron
85e5d11f1e Bug 1063816 - Rename useCount to warmUpCounter. r=h4writer 2014-09-10 19:11:20 +02:00
Peter Van der Beken
e611d02a03 Bug 1063700 - Remove unused IsSecurityWrapper functions. r=bholley.
--HG--
extra : rebase_source : 32499305e3e28c690d0158f3e9df333b73e2259b
2014-09-09 15:38:45 +02:00
Bobby Holley
16ad956f14 Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Irving Reid
3a5b415c8d Bug 1064424 - Use Timestamp::ProcessCreation to calculate Cu.now(). r=bz 2014-09-08 14:15:04 -04:00
Bobby Holley
9202777ccf Bug 1064437 - Remove Proxy special-case in ForceCOWBehavior. r=gabor 2014-09-09 08:21:45 -07:00