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
Bobby Holley
b8be4d3f20
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
b3b77faddd
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Shu-yu Guo
eb5d9a9824
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
fb72204dc4
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
215542cfa3
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
b3f9fb2045
Bug 1062077 - Switch SystemErrorReporter to xpc::ErrorReport. r=bz
2014-09-08 16:30:11 -07:00
Bobby Holley
25ec5c8219
Bug 1062077 - Hoist console logging duties into xpc::ErrorReport. r=bz
2014-09-08 16:30:11 -07:00
Bobby Holley
35d62e8c00
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
723e07a699
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
926369bebb
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
dae60ad74d
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
72d84e295c
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
291c91ca15
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
34e5d52a93
Bug 1017424 part 5. Remove classinfo for Window. r=peterv
2014-09-05 14:28:45 -04:00
Boris Zbarsky
606d8e7d30
Bug 1017424 part 4. Remove Web IDL quickstubs for Window. r=peterv
2014-09-05 14:28:44 -04:00
Boris Zbarsky
f9250dfe0d
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
fc99c53ae5
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
c5fd483020
Bug 1051224 - Add an opt-out for cross-origin argument checking. r=gabor
2014-09-03 13:02:36 -07:00
Ehsan Akhgari
10583ebaa1
Bug 1060977 - Fix more bad implicit constructors in xpconnect; r=smaug
2014-08-31 21:06:35 -04:00
Eric Faust
dd4eb066b2
Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj)
2014-08-28 13:47:16 -07:00
Eric Faust
33d3cc6444
Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff)
2014-08-28 13:30:56 -07:00
David Major
fe73a6c3fb
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
8b3951c20f
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
9cd68fdbee
Bug 1057140 - Revert JS_realloc bustage from bug 1033442; r=sfink
2014-08-25 12:28:38 -07:00
Andrew McCreight
e22baa3a1e
Bug 1052626, part 2 - Report the total size of nsXPCWrappedJS. r=bholley,froydnj
2014-08-25 12:34:00 -07:00