Luke Wagner
d266538fea
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
Jon Buckley
abfe75ece8
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ms2ger
e1eb3aea1b
Bug 732708 - Part f: Remove nsStorageSH; r=mayhemer
2012-05-05 11:00:05 +02:00
Ms2ger
ffc7d3c0c4
Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer
2012-05-05 11:00:05 +02:00
Ms2ger
3b04c7d79e
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Boris Zbarsky
6cb0048f56
Bug 747825. Make the WebGLContext a wrapper cache. r=peterv
2012-05-04 12:36:40 -04:00
Doug Turner
68e34b4226
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Doug Turner
63408865d2
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
86b2714480
Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : ba0e5a7c3f9f5f4c76eaa3c8e20d406b9691be9b
2012-03-20 21:29:47 -07:00
Eric Chou
fdedf2d2b0
Backout 4a9ebf972d27 (Bug 730990) because it was checked-in without superreview
2012-05-04 07:53:51 +08:00
Boris Zbarsky
32c7f6e634
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
Josh Aas
a91941c89a
Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE
2012-05-01 16:47:35 -04:00
aceman
047587d603
Bug 750501 - Fix build failure in nsDOMClassInfo.cpp due to missing nsIDOMMediaStream.h when MOZ_MEDIA is disabled. r=bz
2012-04-30 22:45:02 -04:00
Robert O'Callahan
d59506a4a4
Bug 664918. Part 4: Create nsDOMMediaStream, a DOM object wrapping an underlying MediaStream. r=smaug,jesup
2012-04-30 15:11:34 +12:00
Bobby Holley
f5f5820087
Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv,smaug
2012-04-27 10:38:14 +02:00
Ms2ger
b1ee890571
Backout cc0e289b9f34 (bug 640904) for Windows M1 crashes.
2012-04-26 18:22:08 +02:00
Bobby Holley
5bbb2ebb19
Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv
2012-04-26 14:16:10 +02:00
Matt Brubeck
d5da39b00f
Back out bug 730208 and bug 747543 because of xpcshell test failures
2012-04-24 20:47:16 -07:00
Steve Fink
0f3ecde4b7
Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Josh Matthews
c119292173
Bug 677194 - Change assertion to an early-return bailout. r=jst, a=akeybl
2012-02-29 12:11:03 -05:00
Boris Zbarsky
516d09b4a2
Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl
2012-04-20 21:44:35 -04:00
Philipp von Weitershausen
7560ad0bad
Bug 729173 - Part 2: MobileConnection boilerplate. r=mounir
2012-04-19 18:33:25 -03:00
David Anderson
9e6c5a8a5f
Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
...
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Ms2ger
a37d5dbaac
Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley
2012-04-14 15:05:17 +02:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
05d5270d53
Bug 743573 - Fix a number of build warnings in dom/; r=volkmar
2012-04-14 15:09:47 +02:00
Ms2ger
ead7156eeb
Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley
2012-04-14 15:05:17 +02:00
Ms2ger
f88fab52fb
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-04-14 15:05:01 +02:00
Masatoshi Kimura
23049011a9
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
Nathan Froyd
69d33a0304
Bug 732708 - remove nsIDOMStorageList; r=honzab
2012-03-28 12:33:41 -04:00
Igor Bukanov
83623b313c
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Veeraya Pupatwibul
1bdf9d9923
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
e30ff35d31
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Ms2ger
a0062c6cca
Bug 532062 - localStorage/sessionStorage should return undefined (not null) for undefined keys through property access; r=mayhemer
2012-04-03 09:25:39 +02:00
Ed Morley
7b8f9d67b3
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Peter Van der Beken
c2e642fbcc
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Peter Van der Beken
f4bf642150
Bug 740526. Change LookupName to return the nsGlobalNameStruct as a return value, not an out param. r=bzbarsky
2012-03-29 11:43:13 -07:00
Gregor Wagner
ec5cd78551
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07:00
Benoit Jacob
b50b67bbf5
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
...
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
e8dddcde54
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
2012-03-26 14:59:04 -04:00
Eric Chou
85cd3d3dea
Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot
2012-03-23 14:58:12 -07:00
Kyle Machulis
233b8a5ed9
Backing out a44ac6895a2f
2012-03-23 14:50:47 -07:00
Eric Chou
5fc8781e5d
Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot
2012-03-23 14:18:03 -07:00
Boris Zbarsky
4d4ac90393
Bug 622491. Make the global scope polluter work in standards mode too. r=jst
2012-03-22 00:10:50 -04:00
Mounir Lamouri
753a764c6f
Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug
2012-03-14 19:50:11 +01:00
Mounir Lamouri
fe9374bc32
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-03-14 11:10:48 +01:00