Bobby Holley
ea51770fa3
Bug 843231 - Remove SetGlobal. r=bz
...
This stuff has all been simplified significantly with CPG, and this is no longer
necessary. We always have a global when we construct a scope, and it never
changes.
2013-02-22 07:56:03 -08:00
Bobby Holley
b1e6cef1c7
Bug 843231 - Move the nulling out of mPrototypeNoHelper from SetGlobal to RemoveWrappedNativeProtos. r=bz
...
The only call-site for both of these is JSD->nsXPConnect::InitClasses, so this
is equivalent. All this will go away soon anyhow when JSD goes away.
2013-02-22 07:56:02 -08:00
Peter Van der Beken
86d3fc6af5
Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
...
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Chuck Lee
e45fb52048
Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence
2013-02-21 17:48:17 +08:00
Jonathan Kew
e04415fc7f
backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn
2013-02-22 09:36:41 +00:00
Bill McCloskey
6798be1a0e
Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley)
2013-02-21 18:23:47 -08:00
Masatoshi Kimura
e34e3f60a9
Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking
2013-02-20 20:54:19 +09:00
Gavin Sharp
58c2d69de4
Bug 841359 - Always log error originating from windows with chrome principals. r=bz
2013-02-16 17:01:59 -08:00
Andrea Marchesini
d98c0993bb
Bug 839447 - Rename nsHTMLOptionElement to HTMLOptionElement, r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLOptionElement.cpp => content/html/content/src/HTMLOptionElement.cpp
rename : content/html/content/src/nsHTMLOptionElement.h => content/html/content/src/HTMLOptionElement.h
2013-02-18 13:24:58 +01:00
Andrea Marchesini
fe3cb4351c
Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-18 06:59:08 -05:00
Randy Lin
90902b6a5b
Bug 834165 - Implement BlobEvent. r=smaug
...
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
Boris Zbarsky
213f724948
Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending
2013-02-15 22:41:31 -05:00
Steve Fink
2a42a7a9fb
Bug 838014 - More rooting in Debugger, plus some minor rooting in JSD and xpconnect for some should-be-private JSAPI changes. r=terrence
...
--HG--
extra : rebase_source : 46febe5421f6e1901f0d5ac2707fb3fdde1894db
2013-02-12 12:27:02 -08:00
Bobby Holley
0cff91747e
Bug 834697 - Enable XBL scopes, and disable assertion. r=bz,me
2013-02-14 15:15:59 +01:00
Makoto Kato
8d2aa4329c
Bug 834645 - move -STACK parameter to config.mk. r=ted
2013-02-14 15:22:00 +09:00
Till Schneidereit
22ae6134ff
Bug 679940 - Share bytecode, source notes and atoms of functions in a runtime wherever possible. r=bhackett
...
--HG--
extra : rebase_source : 1518f7830a5640a2216c2d828859b8660d3fff60
2013-02-02 00:02:08 +01:00
Ryan VanderMeulen
0e981ca346
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
f946ae9e15
Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap
2013-02-13 00:22:27 +01:00
Bobby Holley
9c9b132652
Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap
2013-02-13 00:22:27 +01:00
Bobby Holley
e9d5a91d21
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
5a1f2c3927
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
863479340f
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Andrew McCreight
0694a9d260
Bug 784730 - Add missing comment. r=bholley DONTBUILD
2013-02-12 09:46:34 -08:00
Ryan VanderMeulen
c32ab4bc8d
Merge m-c to inbound.
2013-02-11 20:49:31 -05:00
Olli Pettay
ff9c34a6e4
Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey
2013-02-11 21:37:50 +02:00
Olli Pettay
6e6150abc6
Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir
2013-02-11 21:37:20 +02:00
Jeff Walden
149649e256
Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
...
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Bobby Holley
6c9a0d2a78
Bug 839867 - Align gecko with the spec on cross-origin access to Location.hash. r=bz
...
We update the tests to cover this case. There was also a bug in the tests where
we were accidentally testing non-writable Location properties against window
rather than window.location. :-(
2013-02-11 00:05:17 +01:00
Andrew McCreight
2093b2df88
Bug 784730 - Crash in ReparentWrapperIfFound if wrapper already in scope. r=bholley
2013-02-06 12:18:54 +00:00
Tom Schuster
d3846ae9e6
Bug 838558 and Bug 839027: checkin lost changsets in XPC. CLOSED TREE
2013-02-11 22:07:35 +01:00
Tom Schuster
b5f30783df
Bug 839027 - Kill object typeof hook. r=jorendorff
2013-02-11 21:05:13 +01:00
Mike Hommey
414926b916
Bug 793767 - Use the executable file location to derive the update root. r=rstrong
2013-02-08 15:58:52 +01:00
Andrea Marchesini
01f03b4f30
Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Boris Zbarsky
25613db785
Bug 839116 followup. Stop depending on <html> elements having a content-visible QueryInterface in the poor CLOSED TREE. r=mrbkap
2013-02-08 15:03:07 +00:00
Bobby Holley
a9cbc7eea3
Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz
2013-02-08 14:24:22 +00:00
Bobby Holley
2be0c8d31e
Bug 821850 - Expose XBL members via Xray wrappers. r=bz
2013-02-08 14:24:21 +00:00
Bobby Holley
fd02fd27ef
Bug 821850 - Clean up security wrappers for NAC. r=bz
2013-02-08 14:24:20 +00:00
Bobby Holley
032bee38ff
Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz
2013-02-08 14:24:20 +00:00
Bobby Holley
b757981155
Bug 821850 - Add infrastructure for lazily-created XBL scopes. r=bz
2013-02-08 14:24:19 +00:00
Bobby Holley
5c1e864319
Bug 812669 - Remove XPConnect equality hooks. r=mrbkap
2013-02-08 10:39:01 +00:00
Nicholas Nethercote
d8786a806d
Bug 836949 (part 1) - Clean up the versions/options code. r=jorendorff.
...
--HG--
rename : content/html/content/test/test_meta_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 970d8a542bb631ce3f18da26ece69667af29d0a9
2013-02-06 21:35:16 -08:00
Peter Van der Beken
871110115e
Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
...
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 9bd7efb927e4eac96569ed629ee230dbf555fb63
2013-02-01 15:33:58 +01:00
Vicamo Yang
195ec21112
Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug
2013-02-07 19:02:12 +08:00
Vicamo Yang
cacd4c86e3
Bug 835148: Implement SmsEvent using event generator. r=smaug
...
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Bill McCloskey
dafe7f51a1
Bug 836524 - Zone renaming part 2 (r=jonco)
2013-02-06 18:08:16 -08:00
Ryan VanderMeulen
6d4e2b111c
Backed out changesets 34927afb65e2 and 2d0b056ced49 (bug 838559) for mochitest failures.
...
--HG--
rename : content/html/content/src/HTMLMenuElement.cpp => content/html/content/src/nsHTMLMenuElement.cpp
rename : content/html/content/src/HTMLMenuElement.h => content/html/content/src/nsHTMLMenuElement.h
2013-02-06 16:22:59 -05:00
Andrea Marchesini
c0ac3d2eb1
Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-06 14:19:20 -05:00
Boris Zbarsky
ebdd009711
Bug 838518 part 2. Fix nodeiterator callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Boris Zbarsky
d71214e1ed
Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Ryan VanderMeulen
67b204034f
Backed out changeset 2861ef67390a (bug 837566) for Linux32 mochitest-other shutdown hangs.
2013-02-05 07:54:49 -05:00
Vicamo Yang
012d5c6218
Bug 833278 - Part 2/2: Implement MozVoicemailEvent using codegenerator. r=gwagner,smaug
2013-02-05 17:02:18 +08:00
Nicholas Nethercote
744586f40d
Bug 837566 - Remove js_RemoveRoot. r=terrence.
2013-02-03 20:17:34 -08:00
Bobby Holley
9124b9b5fd
Bug 831076 - Outerize during same-compartment wrapping so that JS_Wrap* is guaranteed to outerize. r=mrbkap
2013-02-04 15:13:14 +00:00
Bobby Holley
b32a8d4b14
Bug 831076 - Outerize at the very beginning of XPConnect wrapping and remove other outerization checks. r=mrbkap
2013-02-04 15:13:13 +00:00
Andrew McCreight
ca5d0dc894
Bug 819131 - Preserve reflector delegate weak map keys. r=billm
2012-05-25 09:07:24 -07:00
Peter Van der Beken
ee4a060f18
Fix for bug 830879 (HTML Element WebIDL bindings require classinfo). r=bz.
...
--HG--
extra : rebase_source : a88a5f24d3d4c12b652f1228eb5b3b7bb8b9e5ee
2013-01-10 10:54:32 +01:00
Nicholas Nethercote
0bda4fcd31
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
2d79942fa4
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
46ba51002e
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Nicholas Nethercote
9987ec3eb4
Bug 833208 (part 5) - Remove e4x support from mochitests. r=jorendorff.
...
--HG--
extra : rebase_source : a88f8ed13299c566df2297729b3a5ddf21fcaafa
2013-01-28 14:55:17 -08:00
Nicholas Nethercote
d0f259110b
Bug 833208 (part 4) - Remove e4x support from xpcshell tests. r=jorendorff.
...
--HG--
extra : rebase_source : a7bd33905120f74e6c242e0c236450dd3be54436
2013-01-30 16:56:16 -08:00
Boris Zbarsky
de131aa791
Add a test for WebIDL-weakmap stuff in addition to XPConnect-weakmap. No bug, no review
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-1.html
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-2.html
2013-01-31 01:04:48 -05:00
Boris Zbarsky
e7f12d401a
Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
...
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.
nsIDOMRect quickstubs haven't been needed since bug 824970 landed.
nsCSSPropertiesQS has been unused since bug 801083 at least.
The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
e53ffbf3f0
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
e15be64167
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Boris Zbarsky
3ce404fddd
Back out bug 829867 (rev 2a0424e177c1) on suspicion of Ts regression
2013-01-29 17:17:37 -05:00
Terrence Cole
812eb2db9f
Bug 706885 - Rework Rooting APIs to preserve all available type information; r=billm
2013-01-28 18:25:23 -08:00
Boris Zbarsky
d29ed299fd
Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
...
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.
nsIDOMRect quickstubs haven't been needed since bug 824970 landed.
nsCSSPropertiesQS has been unused since bug 801083 at least.
The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
24d3443115
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Nils Maier
05cea1012b
Bug 761552 - Part 2: Avoid external JS strings in XPCConvert. r=bholley
...
XPCConvert needs to convert some string types to JS strings in order to call
from C++ into JS land. Make those converted JS strings allocate the buffers
from the JS compartment memory pool, instead of making them external and
allocated from the main heap.
This improves memory reporting and may also influence memory fragmentation
and/or performance.
2013-01-29 10:50:04 -05:00
Boris Zbarsky
ffb6f4551e
Bug 829252 followup. Now that WindowRoot has a wrapper cache, we need to be able to deal with ConstructSlimWrapper on things that have no classinfo. r=peterv pending, but landing on CLOSED TREE now to fix orange.
2013-01-29 10:18:05 -05:00
Boris Zbarsky
634d722804
Bug 834877 part 3. Add faster DOMString-to-JS conversion code. r=peterv
2013-01-29 09:42:14 -05:00
Boris Zbarsky
42d12beb79
Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv
2013-01-29 08:44:01 -05:00
Nathan Froyd
e1f9ebca82
Bug 835358 - remove unused member nsXPConnect::mScopes; r=bholley
...
--HG--
extra : rebase_source : 7c5c2152666c9b8eb8860db4d7e39c274f772b5b
2013-01-28 10:37:57 -05:00
Peter Van der Beken
105d61cacc
Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
...
--HG--
extra : rebase_source : 2ced75b6d49dbab5afe9a6ce7c322bf18a634026
2013-01-14 11:29:48 +01:00
Ed Morley
19dd19ed37
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
18764acd4b
Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
...
--HG--
extra : rebase_source : 6bc420bd917e00a49dc5f6f3de13ff9e290c9580
2013-01-14 11:29:48 +01:00
Kyle Machulis
8a6e862a23
Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi
2013-01-28 15:39:50 +08:00
Bill McCloskey
0b41061a2c
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Jan de Mooij
223b6a2efc
Bug 833817 part 3 - Replace JSStackFrame with JSAbstractFramePtr. r=luke
2013-01-25 09:49:29 +01:00
Jon Coppeard
49c07872fb
Bug 815542 - crash in IncrementalCollectSlice r=billm
...
--HG--
extra : rebase_source : d751b3684f6461b094278aa39508417928c2b660
2013-01-25 09:56:04 +00:00
Bobby Holley
29dd20ec7d
Bug 833856 - Handle errors better in EvaluateString. r=bz
...
This bug happens when we take the !useSandbox path. Basically, when the code
throws, we can end up with garbage in *aRetValue while still returning true
from EvaluateString. It looks like the convention is for these kind of eval
functions to return success even for invalid code, so lets just make sure we
check things a bit better.
This crashtest is kind of half-baked in the sense that it doesn't actually
crash without the rest of the patch. But the testcase here involves a lot of
undefined behavior (what ends up getting left in *aRetValue) during a call
to window.open (which spins the event loop, etc). I already sunk about half
an hour into trying to make it crash, so I'm just going to go with this for
now.
2013-01-25 11:17:40 +01:00
Bobby Holley
bc4863413b
Bug 823348 - Tests. r=mrbkap
...
We tack these onto the tests from bug 812415, adding coverage for
nsExpandedPrincipal and making sure that the waivers are deep.
We also take the opportunity to check the asymmetric security
relationship between a principal and its corresponding nsEP.
2013-01-23 06:04:39 +01:00
Bobby Holley
ded682bc4a
Bug 823348 - Stop checking for Xray waivers in the Xray machinery. r=mrbkap
...
All the casese where we want to waive should now be going through WaiveXrayWrapper.
2013-01-23 06:04:39 +01:00
Bobby Holley
4e3138cf29
Bug 823348 - Replace security wrapper enumeration with a more rule-based approach. r=mrbkap
2013-01-23 06:04:39 +01:00
Bobby Holley
f7f57d1c83
Bug 823348 - Hoist special cases to the top of WrapperFactory::Rewrap. r=mrbkap
...
This paves the way for more rule-based selection of wrappers in the common case.
2013-01-23 06:04:39 +01:00
Bobby Holley
0d89c821ca
Bug 823348 - Move COW prototype remapping out of wrapper selection. r=mrbkap
...
It's pretty orthogonal, and makes the critical block more complicated than it
needs to be.
2013-01-23 06:04:39 +01:00
Bobby Holley
08c058f711
Bug 823348 - Precompute various parameters in Rewrap. r=mrbkap
...
This is generally cleaner, and avoids potentially calling these functions
multiple times when we start moving this stuff around.
2013-01-23 06:04:39 +01:00
Bobby Holley
39b3f7c72e
Bug 823348 - Use GetXrayType for content->chrome Xray wrappers. r=mrbkap
...
There's no reason to do this any different than we do for XOWs and such. The
only thing this might conceivably support would be certain chrome XPWNs-as-COWs.
But that would require that they forced a parent in precreate without being
flagged as DOM objects in classinfo. And it's not clear why we'd want to support
that. And we're generally moving away from COWs anyway.
2013-01-23 06:04:39 +01:00
Bobby Holley
69822a012d
Bug 823348 - Use EnsureCompartmentPrivate In Rewrap and stop checking for null. r=mrbkap
2013-01-23 06:04:39 +01:00
Bobby Holley
c3882ecf88
Bug 823348 - Flip off the wantXrays for chrome sandboxes. r=mrbkap
...
wantXrays means that the sandbox wants Xray wrappers even when accessing same-
origin content. The default is true, which Blake says has something to do with
GreaseMonkey and days of old.
This flag never had an effect for chrome, because the chrome->chrome case always
short-circuited to &CrossCompartmentWrapper::singleton. But once we start
respecting the flag as a general-purpose indicator that Xrays should be applied
same-origin, we need to either add a special case in Rewrap or make the flag reflect
reality. The latter seems cleaner and more sane.
However, things are complicated by the fact that there's also a completely different,
orthogonal usage, whereby setting wantXrays to false implicitly waives Xray on the
returned sandbox _and_ on any results returned from evalInSandbox. This is just nuts.
The former can be accomplished by callers manually using .wrappedJSObject, and the
latter by having EvalInSandbox transitively apply waivers from their sandbox arguments.
I've updated the documentation on the MDN page so that it only describes the
reasonable usage. The next step is to get rid of the crazy behavior. I think the
best path of migration is to have wantXrays: false keep implicitly waiving, but
waive return values from EvalInSandbox based on whether the argument was waived. This
patch does that.
2013-01-23 06:04:39 +01:00
Bobby Holley
44a21fc15a
Bug 823348 - Make NNXOWs use an explicitly opaque Policy. r=mrbkap
...
There's no reason to be doing a dynamic check here, given that the JSClasses
will never match. Lets be explicit and safe.
2013-01-23 06:04:38 +01:00
Bobby Holley
ddece7045a
Bug 823348 - Do a better job of lying about the holder and make assertions fatal. r=mrbkap
...
I noticed this nonfatal assertion firing, unrelated to my patches. Leaking
the holder is not so great. Let's fix this for real.
2013-01-23 06:04:38 +01:00
Bobby Holley
d0a9794947
Bug 823348 - Remove broken and unused __scriptOnly__ check. r=mrbkap
...
__scriptOnly__ is unused on mxr and addons-mxr. Morevoer, the current
implementation is totally broken, because we check for NNXOW, which only
happens when a random content JS object ends up in some other cross-origin
scope (via addons, presumably), whereas chrome objects use ChomeObjectWrapper.
I'm soon going to replace SCRIPT_ACCESS_ONLY with checked unwrapping, and mark
all COWs as unsafe to unwrap (see bug 821573 and bug 658909). So let's just kill
this thing here.
2013-01-23 06:04:38 +01:00
Bobby Holley
c0cc2fa626
Bug 823348 - Don't set universalXPConnectEnabled for chrome compartments. r=mrbkap
...
There's a browser-chrome test that does this, which means that _all_ subsequent
browser-chrome tests inherit it. So depending on the ordering of cases in
WrapperFactory, we might end up using a CrossCompartmentWrapper rather than an
XrayWrapper, meaning that stuff like nodePrincipal doesn't work anymore.
The semantics of UniversalXPConnect are now entirely dicatated by what makes
our test suite go green. So let's not force ourselves to bend over backwards
during wrapping to handle this case. And let's fix that stupid test while
we're at it.
2013-01-23 06:04:38 +01:00
Bobby Holley
71cfd0816b
Bug 823348 - Uninline UniversalXPConnect management. r=mrbkap
...
Every time the layout of CompartmentPrivate changes, I forget to rebuild in
caps/ and spend half an hour wondering what the heck is going on. :-(
2013-01-23 06:04:38 +01:00
Ehsan Akhgari
94b2981ab9
Bug 833631 - Unprefix mozAudioContext; r=roc
...
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
Steve Fink
d3f194fbfb
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Terrence Cole
6b98628bf0
Bug 803182 - Make the js shell stack limit match the browser's; r=dmandelin
...
This should help ensure that recursion errors found in the shell actually
represent real errors. This also attempts to account for the difference in size
between debug and optimized builds to the size of js::Interpret's stack frame.
2012-10-29 13:36:41 -07:00
Irving Reid
e97ded2b9d
Bug 818958: Tell SPSProfiler when the JS runtime shuts down r=luke
2013-01-18 12:04:35 -05:00
Nicholas Nethercote
9ffa66e982
Bug 832026 - Measure JSRuntime::bumpAlloc_ in the JS memory reporter. r=sstangl.
...
--HG--
rename : js/src/tests/lib/jittests.py => js/src/jit-test/jit_test.py
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
rename : services/common/servicesComponents.manifest => services/sync/SyncComponents.manifest
extra : rebase_source : 6b9d955241e189e52c6145f3fb4c3169ec834b78
2013-01-17 17:50:21 -08:00
Boris Zbarsky
2837c731e6
Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley
2013-01-17 12:30:37 -05:00
Bobby Holley
1d5c9aeac3
Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
...
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Andrew McCreight
30ded1b75a
Bug 829430 - Use the right check for if we're GCing. r=billm
2013-01-15 09:10:36 -08:00
Mats Palmgren
0ae685efa9
Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan
2013-01-15 13:22:03 +01:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Terrence Cole
b97ee61fd5
Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
...
--HG--
extra : rebase_source : 9d239c525e8b0c04a63770d4ed732c9c6da54a2c
2012-11-09 09:45:25 -08:00
Ehsan Akhgari
c58996466d
Bug 818224 - Show all chrome script errors originated from private windows; r=bholley
2013-01-14 09:17:37 -05:00
Ms2ger
fea92580b3
Merge latest PGO-green m-i changeset to m-c.
2013-01-11 14:48:33 +01:00
Ms2ger
7dbb0eec52
Bug 824481 - Cleanup style attribute getters; r=bz
2013-01-11 09:42:59 +01:00
Ehsan Akhgari
f33d8a82ee
Merge mozilla-central into mozilla-inbound
2013-01-08 14:59:20 -05:00
Olli Pettay
f2c321d01d
Bug 827471 - Improve CanSkipWrappedJS, r=mccr8
2013-01-08 19:40:35 +02:00
Andrew McCreight
ecb75d0a95
Bug 690970, part 3: fix black-gray edges in weak containers at start of CC. r=billm
2013-01-08 10:36:51 -08:00
Steve Fink
9ea2fb22e5
Bug 827225 - Rename JS_GetTypedArrayType to JS_GetArrayBufferViewType, add TYPE_DATAVIEW. r=bz, sr=dmandelin
...
--HG--
extra : rebase_source : c5947273c5d517338ea1f468358511aa979b4959
2013-01-07 15:12:00 -08:00
William Chen
481bdc8fcd
Bug 826606 - Set uninitialized values for DeviceProximityEvent according to spec. r=dougt,smaug,khuey
2013-01-08 09:36:05 -08:00
Andrew McCreight
0d5e9c008f
Bug 777385 - Support (some) Paris bindings objects as weak map keys. r=peterv
...
This adds support for many kinds of Paris bindings objects as weak map keys.
This patch supports nsISupports objects as well as non-cycle-collected
non-nsISupports objects. What is needed for support is to preserve any wrapper,
if the object is wrapper cached. In other cases, we don't need to do anything.
2012-11-09 10:59:02 -08:00
Ed Morley
549f0d9ca7
Merge mozilla-central to mozilla-inbound
2013-01-07 20:20:51 +00:00
Olli Pettay
c1487b3cd4
Bug 705371 - [CC] don't add JSContexts that have no children to the cycle collector graph, r=mccr8
2013-01-07 19:40:46 +02:00
Chia-hung Tai
7a6adf3d2b
Bug 825836 - Add Blob into JS component. r=sicking
2013-01-04 15:53:25 +08:00
Nicholas Nethercote
4a7bdc918c
Bug 826526 - Modify the orphan node reporter so it handles WebIDL objects. r=bz.
2013-01-06 20:43:54 -08:00
Peter Van der Beken
aeb099b863
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableColElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : 4654bf54c41231eed6f73a35118d58be0c9af9a0
2012-12-29 15:07:57 +01:00
Peter Van der Beken
429830ebec
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableRowElement to WebIDL. r=bz.
...
--HG--
extra : rebase_source : d2febac66f508caf3c2b89816e811ed8e2c88856
2012-12-29 15:07:57 +01:00
Peter Van der Beken
3bea4275da
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCellElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : fcf088e7ac91a216ae7ad1cb16d509a17cd7a2a7
2012-12-29 15:07:56 +01:00
Peter Van der Beken
9ca46c7fbd
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
Peter Van der Beken
bd72187758
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
extra : rebase_source : 36ef4c094fdf54103ad3c41e299eb86d20956915
2012-12-29 09:08:15 +01:00
Jeff Walden
816e713d85
Whitespace tab-killing patrol. No bug, r=sparky
2013-01-04 17:00:43 -06:00
Jeff Walden
f1646c3edf
Bug 824217 - Make ChromeObjectWrapper::getPropertyDescriptor not pretend no descriptor exists when the property exists along the prototype chain, when the property is being resolved just before an assignment. r=bholley
2013-01-03 17:55:58 -06:00
William Chen
8f2a3385ae
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Jeff Walden
86789118e4
Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
...
--HG--
extra : rebase_source : 3b88b411965087984d7973a90f8fa1b06457a6ce
2013-01-03 15:31:36 -06:00
Boris Zbarsky
ee882be1d9
Bug 824823 part 2. WebIDL binding for HTMLAnchorElement. r=peterv
2013-01-04 12:02:13 -05:00
Boris Zbarsky
0f7b83e7d7
Bug 824823 part 0. Fix a test to keep using an XPCWrappedNative element for now until bug 825053 is fixed. Verbal r=peterv
2013-01-04 12:02:13 -05:00
Boris Zbarsky
0635656574
Bug 826423. Fix SpecialPowers.wrap() to reliably detect Xrays. r=peterv
2013-01-04 12:02:13 -05:00
Ehsan Akhgari
faeec71701
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari
6a1c8d2947
Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
...
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
60fa51d399
Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
...
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Norbert Lindenberg
6bfc34b95f
Bug 769872 - Add support for default locale for Internationalization API. r=jwalden
...
--HG--
extra : rebase_source : f4b3275cc8ea9274841e1a144ce33e97c098f193
2013-01-03 12:29:09 -06:00
Andrew McCreight
0654b292c3
Bug 785493, part 2 - mark XUL protos of live docs black during GC. r=smaug
2012-08-24 13:22:23 -07:00
Ehsan Akhgari
fb0041f474
Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky
2013-01-02 12:28:14 -05:00
Ehsan Akhgari
f808d4d65b
Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky
...
--HG--
rename : content/html/content/src/nsHTMLImageElement.cpp => content/html/content/src/HTMLImageElement.cpp
rename : content/html/content/src/nsHTMLImageElement.h => content/html/content/src/HTMLImageElement.h
2012-12-31 12:25:46 -05:00
Jeff Walden
cec653ab7c
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
...
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Nicholas Nethercote
b6939f2c42
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Andrew McCreight
54e412aed8
Bug 821371, part 1 - Don't finish GC when CCTimerFired calls CycleCollectNow. r=smaug
2012-12-31 15:54:37 -05:00
Josh Matthews
e73f0795ee
Backed out changeset 40c1df07b407 (bug 824217)
2012-12-28 19:13:36 -05:00
Jeff Walden
ce89319fe6
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
2012-12-19 19:32:34 -05:00
Jeff Walden
c3a0e6572c
Bug 823283 - Remove all remaining uses of JSRESOLVE_QUALIFIED, and the few remaining tests (which were pretty much purely diagnostic). r=luke
...
--HG--
extra : rebase_source : 51e2ac7ccc76be84d12600baeb6d458c2927bea7
2012-09-15 11:19:55 -07:00
Boris Zbarsky
b8073abc89
Bug 819624 part 2. Hook up the HTMLDocument WebIDL API to quickstubs. r=peterv
2012-12-26 13:37:26 -08:00
Boris Zbarsky
e845de4094
Bug 824517. Quickstub window.performance. r=peterv
2012-12-25 14:00:15 -08:00
David Zbarsky
4132d3061c
Bug 824604 - Remove quickstubs for nsIDOMSVGElement r=bz
2012-12-25 14:39:24 -05:00
Boris Zbarsky
ab0dbf07d1
Bug 816180. Convert DocumentFragment to WebIDL. r=peterv
2012-12-24 19:35:19 -08:00
David Zbarsky
cd3a226611
Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz
2012-12-23 03:22:58 -05:00
David Zbarsky
29dc901587
Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
...
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Boris Zbarsky
df1030e8d7
Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv
2012-12-23 14:34:22 -08:00
Boris Zbarsky
b3efacb80d
Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv
2012-12-23 14:33:33 -08:00
Ms2ger
ab46722ce3
Backout bug 823394 for reftest oranges.
2012-12-23 13:44:04 +01:00
David Zbarsky
4612303f43
Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz
2012-12-23 03:22:58 -05:00
David Zbarsky
9a8115eee5
Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
2012-12-23 03:22:22 -05:00
Peter Van der Beken
23f8debd95
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Boris Zbarsky
c4e0d0fac2
Bug 804631. Add the WebIDL API for Document. r=peterv
...
I'm not entirely happy with the XPath bits. If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Gavin Sharp
5f75f8883d
Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures
2012-12-21 18:50:00 -05:00
William Chen
52de923193
Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent
2012-11-01 11:18:08 -07:00
Peter Van der Beken
09bb1c4675
Fix for bug 821606 (Turn on WebIDL bindings for Element and HTMLElement). r=bz.
...
--HG--
extra : rebase_source : f85002d801871a3a99c1b8bc121509ae87d2f665
2012-11-22 12:09:57 +01:00
Bobby Holley
e3b2e4ad4b
Bug 809652 - Deny nativeCall for SecurityWrapper except under specific circumstances. r=jorendorff
2012-12-20 22:33:26 -08:00
Bobby Holley
a7fd1fbfc7
Bug 809652 - Have SecurityWrapper::enter default to deny, and override SecurityWrapper::objectClassIs. r=jorendorff
2012-12-20 22:33:26 -08:00
Peter Van der Beken
b2b3e56308
Fix for bug 820577 (Support reparenting for new DOM binding objects). r=bholley/bz.
...
--HG--
extra : rebase_source : 66dad56b8f543790ffa7e595ccd684c4673403df
2012-09-26 16:17:46 +02:00
Peter Van der Beken
0730848e6c
Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : c24544fd3d1c99651e279e687a07a02c5b994323
2012-09-12 22:29:30 +02:00
Masatoshi Kimura
2a245d47d2
Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo
2012-12-21 20:47:52 +09:00
Nicholas Nethercote
7bd984722f
Bug 814229 (part 2) - Refactor storage of the "objects-extra" numbers.
...
--HG--
extra : rebase_source : 2125ae4446928fbc7432f22505565b9b246f960d
2012-11-21 17:07:42 -08:00
Nicholas Nethercote
7f52f9e813
Bug 814229 (part 1) - Add "objects-extra/ctypes-data" memory report. r=jorendorff.
...
--HG--
extra : rebase_source : 8b65b74b5c22ebf7525eeff51601e36274d56736
2012-11-21 17:05:39 -08:00
Bobby Holley
a4421fa00d
Bug 823120 - Fix test. r=philor
...
<script> moves up to head, and the call to document.getElementById moves into go().
2012-12-19 15:27:49 -08:00
Olli Pettay
04a744cce4
Bug 790978 - Convert MutationObserver to webidl, r=bz
...
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Gene Lian
f48d0b7bff
Bug 821633 - Alarm API - .getAll() need to wrap the objects respecting to the content window (part 1, ObjectWrapper.jsm and Cu.createDateIn()). r=sicking
2012-12-17 13:29:00 +08:00
Jim Mathies
f5523fcce2
Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend
2012-12-17 12:08:00 -06:00
Ed Morley
00264a3661
Bug 820471 - Disable test_weakmaps.xul on Windows for too many intermittent failures
2012-12-17 13:21:18 +00:00
Masatoshi Kimura
6b9c763cde
Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz
2012-12-16 19:57:12 -05:00
Trevor Saunders
63d7222d76
bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8
2012-12-08 00:08:37 -05:00
Bill McCloskey
780cb8b79d
Bug 816064 - Assert against NULL objects in deferred release (r=mccr8)
2012-12-13 11:18:41 -08:00
Bobby Holley
e6d3334eb8
Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap
2012-12-12 17:09:37 -08:00
Kyle Huey
bc4bf082d3
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 13:21:03 -08:00
Ms2ger
0423afe5fe
Bug 776539 - Move FormData to Paris bindings; r=bz
2012-12-11 19:09:56 +01:00
Ed Morley
a8fb464cea
Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures
2012-12-11 13:09:38 +00:00
Kyle Huey
10448fbbb9
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 03:54:08 -08:00
Blake Kaplan
b817d83159
Bug 820185 - Fix the copy constructor to not use uninitialized members. r=bent
...
--HG--
extra : rebase_source : bef21925492ded3580021e3546b6117bb8a6639e
2012-12-10 16:12:49 -08:00
Saurabh Anand
151d13c7a5
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Bobby Holley
28c393b4b2
Bug 813901 - Validate __exposedProps__. r=mrbkap
...
This also involves modifying test_cows to deep clone in getCOW.
2012-12-07 14:49:11 -08:00
Bobby Holley
58fb47e8e1
Bug 813901 - Throw COW exceptions in the wrapper's scope. r=mrbkap
2012-12-07 14:49:11 -08:00
Bill McCloskey
99cc862ea6
Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
...
--HG--
extra : rebase_source : 260e28983e892928daee5e661f52a66d7e6cd30a
2012-11-28 17:03:54 -08:00
Peter Van der Beken
3939a9cb7b
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Boris Zbarsky
fa853f8a85
Bug 815803. Now that JSSLOT_PROXY_PRIVATE == 0, simplify binding code that had to deal with different slot indices on proxy and non-proxy objects. r=peterv
2012-12-06 15:21:19 -05:00
Boris Zbarsky
a4f96fba76
Bug 816842. Clean up jsval return values in quickstubs a bit. r=bholley
2012-12-06 15:21:18 -05:00
Peter Van der Beken
f693a39872
Back out 79fc9d732bf7 (bug 818219) for orange.
...
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken
8ca0ac01c9
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : ddbedbaea030272ce8fc1ac7245175f7fd3edaa4
2012-11-26 15:19:02 +01:00
Brian Smith
4031b71173
Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
...
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification
--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Jim Mathies
0bec073606
Bug 817076 - Update xpcshell's NS_APP_PREFS_DEFAULTS_DIR_LIST so that it returns the app dir if specified. r=glandium
2012-12-05 16:35:34 -06:00
Andrew McCreight
2fa5d0a9d8
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Vicamo Yang
be687e70b2
Bug 778093 - Part 3/9: complete onreceived event handling, r=mounir,hsinyi,bent
2012-12-04 10:40:47 +08:00
Bill McCloskey
c653b8d62e
Bug 815999 - Mark gray globals black before returning them to the debugger (r=mccr8)
2012-12-03 17:59:46 -08:00
Bill McCloskey
fbe3efe4af
Bug 817218 - Followup to fix compile error (r=red)
2012-12-03 11:35:22 -08:00
Bill McCloskey
04efb729ae
Bug 817218 - Move UnmarkGray to the JS engine (r=mccr8)
2012-12-03 11:19:23 -08:00
Bill McCloskey
4c74d19ad5
Bug 803019 - Fix case where atoms compartment is only compartment marked in a GC (r=jonco)
2012-12-03 11:10:29 -08:00