Kevin Locke
eef17b0082
Bug 752357 - Include compartment location (sandbox name) in compartment name when it differs from the principal name. r=nnethercote.
...
--HG--
extra : rebase_source : f82959649a377c4f3806043d83506e3aa48b5915
2012-05-08 19:02:37 -07:00
Luke Wagner
edbcf65b4a
Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
...
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Bill McCloskey
5ff5ac98f6
Bug 751454 - Use automarker for XPCNativeScriptableInfo (r=bholley)
2012-05-08 11:11:09 -07:00
Jon Buckley
878265a2e8
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
39725f8eb1
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
77c72c6618
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Boris Zbarsky
2c23661943
Bug 751077. Skip binding for the XPConnect-default property ops as well when resolving properties on a sandbox prototype. r=bholley
2012-05-07 13:26:50 -04:00
Bill McCloskey
e917642408
Bug 715761 - Start to rewrite xpconnect TraceJS code (r=bholley)
2012-05-07 10:01:50 -07:00
Bill McCloskey
c972487a40
Bug 715761 - Replace xpconnect automarker macros with templates (r=bholley)
2012-05-07 10:01:44 -07:00
Bill McCloskey
7e5ea5b6ee
Bug 715761 - Move xpconnect mark bits (r=bholley)
2012-05-07 10:01:39 -07:00
Bill McCloskey
976b39bf1d
Bug 715761 - Add a comment explaining xpconnect (r=bholley)
2012-05-07 10:01:33 -07:00
Nicholas Nethercote
e484d48751
Bug 752381 - Merge System Principal compartments in about:memory. r=jlebar.
2012-05-06 22:05:16 -07:00
Andrew Paprocki
e582d93001
Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn
2012-05-05 15:26:16 -04:00
Bobby Holley
19eb041cd2
Bug 749173 - Remove AutoPreserveCompartment. r=luke
2012-05-06 13:09:49 +02:00
Ms2ger
1935eed9de
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Ms2ger
c22d73ca9e
Bug 745427 - Fix XPCWrappedNativeScope::SetContext; r=gal
2012-05-05 11:00:04 +02:00
Doug Turner
8037368886
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Doug Turner
04eebc18ac
Bug 738131 - implement device proximity. r=smaug
...
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Steve Fink
6da79d663c
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
4a7e99e9ff
Bug 730208 - XPConnect changes to UnmarkGray some more objects and return them for convenience. r=mccr8
...
--HG--
extra : rebase_source : ddbfd05ec43868d39c26b1c37cac7e81522df29f
2012-03-20 21:22:40 -07:00
Johnny Stenback
8597c33482
First part of bug 749392. Stop exposing 'clear' in our shells in preparation of removing the underlying JS_ClearScope() API. r=jwalden
2012-05-03 15:52:45 -07:00
Andrew McCreight
4637784381
Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
72ec2d32c4
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
fdea830c29
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Peter Van der Beken
2124da09e0
Fix for bug 744772 (Trace the DOM interface object array). r=bz.
...
--HG--
extra : rebase_source : c9f27bed0eab0e6db03295050176ef986cf0b59b
2012-05-02 14:49:43 +02:00
Marco Castelluccio
32c6af04aa
Bug 751280 - Remove 2-arg form of xpc_FastGetCachedWrapper. r=bholley
2012-05-03 06:22:58 -04:00
Luke Wagner
9c9d173214
Bug 720753 - hoist JaegerCompartment and MathCache from JSCompartment into JSRuntime (r=bhackett,njn)
2012-05-03 09:12:47 +02:00
Luke Wagner
a6ae6394fa
Bug 650353 - Implement Compartment-Per-Global in XPConnect. r=mrbkap
2012-05-03 09:10:12 +02:00
Luke Wagner
f5d8021d08
Bug 722775 - rm sameGroupAs. r=mrbkap
2012-05-03 09:10:10 +02:00
Boris Zbarsky
f110e1483e
Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
...
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom. General files not specific to an interface are also exported into
mozilla/dom.
In terms of namespaces, most things now live in mozilla::dom. Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).
IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum. We then typedef
EnumFooValues::valuelist to EnumFoo. That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.
The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.
The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.
--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Bobby Holley
8b73576603
Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE
2012-05-02 23:57:43 +02:00
Bobby Holley
31b2dd340b
Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz
2012-05-02 23:57:34 +02:00
Justin Lebar
e550e85a83
Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
...
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Kyle Huey
b22a005c31
Bug 750253: Reorder generation of quickstubs header/cpp to avoid unnecessary rebuilds. r=ted
2012-04-30 12:30:00 -04:00
Mike Hommey
3bc3358968
Bug 749573 - Declare run-mozilla.sh and xpcshell as SDK_BINARY. r=ted
2012-04-30 08:05:34 +02:00
Mark Capella
fd7631eab2
Bug 723530 - double error reporting in ctype JS api implementation, r=bholley
2012-04-27 12:47:00 +02:00
Gabor Krizsanits
f3b232d770
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-28 09:12:28 -04:00
Gabor Krizsanits
f599d5227b
Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley
2012-04-28 09:12:27 -04:00
Gabor Krizsanits
1d4a9b9d3f
Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley
2012-04-28 09:12:27 -04:00
Eddy Bruel
956914dcf6
Bug 703537: Removing the fix trap r=jorendorff@mozilla.com
2012-04-27 17:09:32 -04:00
Peter Van der Beken
497104d825
Fix for bug 723465 (Make finalize for DOM list bindings use XPConnect).
...
--HG--
extra : rebase_source : e4df7d98765aaa2c600044d69f8714568f1d6109
2012-04-27 10:15:40 +02:00
Peter Van der Beken
7f6493f4ed
Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
...
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.
--HG--
extra : rebase_source : b462393e7376fdb68f3b279ccd08b3ab25ac154a
2012-04-23 16:10:56 +02:00
Gijs Kruitbosch
6d5668589a
Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
...
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Bobby Holley
594a3c5338
Bug 747749 - Remove call to JS_SetGlobalObject in mozJSComponentLoader. r=luke
2012-04-26 20:40:11 +02:00
Nicholas Nethercote
2ce98603b9
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Boris Zbarsky
719660aa43
Bug 747815. Use const strings for arguments in DOM bindings. r=peterv
2012-04-26 00:42:03 -04:00
Ryan VanderMeulen
e580e20775
Backout a0b3af4ac9f5 (bug 735280) due to Android jsreftest orange.
2012-04-25 21:59:36 -04:00
Gabor Krizsanits
5c2e5e5fc5
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-25 20:12:33 -04:00
Gabor Krizsanits
404a89cdd5
Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley
2012-04-25 20:12:33 -04:00
Gabor Krizsanits
83b80ef327
Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley
2012-04-25 20:12:33 -04:00