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
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