Граф коммитов

353 Коммитов

Автор SHA1 Сообщение Дата
Blake Kaplan 7ee868f077 Bug 607767 - Don't let XPConnect objetcs pretend to have an inner object hook, since that confuses us. r=peterv, a=beta7+ 2010-10-31 11:07:33 -07:00
Ben Turner 027592ef2a Bug 603811 - 'IndexedDB: Implement setVersion changes to the spec'. r=sicking, a=blocking2.0-betaN+ 2010-10-19 10:58:52 -07:00
Blake Kaplan 994b516c45 Fix bug 605167. r=peterv 2010-10-18 15:21:50 -07:00
Blake Kaplan 960b044648 Bug 604826 - Make constructors on Xray wrappers work properly again. r=peterv 2010-10-18 15:20:47 -07:00
Boris Zbarsky 5dcb55acb1 Bug 601247. Don't JSVAL_TO_PRIVATE a random jsval. r=jst, a=jst 2010-10-15 17:55:53 -04:00
Justin Lebar aa38ca6673 Backing out changesets bb01920c2708 and a4a69aef3cba due to orange. 2010-10-15 16:24:08 -07:00
Boris Zbarsky 85fcbc7a6d Bug 601247. Don't JSVAL_TO_PRIVATE a random jsval. r=jst 2010-10-15 17:55:53 -04:00
Blake Kaplan 312e4e1e90 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking 1dee38609c Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Jim Blandy 142983dfa4 Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Johnny Stenback 87581aa250 Bug 580128. Resolve class names on the window's own JS object, not on the passed in object. r=peterv@propagandism.org 2010-10-10 15:42:23 -07:00
Blake Kaplan 5631a85e40 bug 580128 - Distinguish between XOW XrayWrappers and XPCNW XrayWrappers and use the new knowledge in a few places. r=gal 2010-10-10 15:42:18 -07:00
Blake Kaplan facf459aa7 bug 580128 - Only expose same-compartment window.wrappedJSObject to chrome callers. r=jst 2010-10-10 15:42:15 -07:00
Andreas Gal 84f62c2607 bug 580128 - Try to allow "XOWs" to see named frames. 2010-10-10 15:41:30 -07:00
Andreas Gal 1219a88f7e bug 580128 - Remove vestiges of old wrappers from nsDOMClassInfo. r=mrbkap 2010-10-10 15:41:27 -07:00
Blake Kaplan 42c68caa59 bug 580128 - Bad attempt to make .wrappedJSObject on raw windows only apply to chrome. Fixed later r=nobody I hope! 2010-10-10 15:38:04 -07:00
Blake Kaplan bdb04e3dcc bug 580128 - Avoid using the parent chain of proxies for anything because it's often wrong. r=jst 2010-09-24 18:00:58 -07:00
Blake Kaplan 64aaf55c41 bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst 2010-09-24 15:30:00 -07:00
Blake Kaplan ce180ccef3 bug 580128 - Pass the XrayWrapper itself to scriptable helpers (and related cleanup) since the holder doesn't have enough smarts to do lookups, etc. r=gal 2010-09-23 15:56:28 -07:00
Blake Kaplan 275fe3585d Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too). 2010-09-22 17:34:20 -07:00
Blake Kaplan 2549d7dc99 bug 580128 - Make sure nsDOMClassInfo uses the right compartment for objects that it defines on wrappers (both security and not). r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan 697c0a497c bug 580128 - Give windows a .wrappedJSObject property to help out old consumers of XPCNativeWrappers. r=peterv 2010-09-17 14:54:40 -07:00
Chris Pearce dc05e1b4bf Bug 600791 - Correct DOM class info for TimeRanges class. r=jst a=blocking2.0 2010-10-13 14:01:37 +13:00
Blake Kaplan 8e08990a45 Bug 580128 - Fix a leak caused by holding a non-cycle collectable object instead of a cycle-collectable one. r=peterv 2010-09-03 14:15:50 -07:00
Blake Kaplan f021fe41ba bug 580128 - Fix code that expects XPConnect to hand outer windows to C++ from JS. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan 6f88d76769 bug 580128 - Now that we use a proxy for the outer window, nsOuterWindowSH is unused (except for PreCreate). Nuke it. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan b548e78f8a bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv 2010-09-17 14:54:40 -07:00
Doug Turner dd66d09c1a iBug 587414 - e10s: Geolocation needs to set pref from content process. r=jst a=blocking-fennec 2010-09-20 21:16:37 -07:00
Jonas Sicking 8e2422ebb4 Bug 587931: Implement document.currentScript and beforescriptexecute/afterscriptexecute events. r=mrbkap a=sicking 2010-09-16 01:48:47 -07:00
Olli Pettay c1f7e70908 Bug 585240 - Can't add message handlers by setting the onmessage property, r=jwalden, a=jst
--HG--
extra : rebase_source : 1ad4cb8bbef2151b424402b589c69dd13e0c13f3
2010-09-15 19:08:56 +03:00
Robert Sayre 2b6095f93d Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Mounir Lamouri 06546aad23 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Doug Turner 8d99337013 Bug 573588 - Implement Desktop Notifications r=smaug, a=beltzner
--HG--
extra : rebase_source : 05ec761dd838e4f85a63df677c6335e456a8dfd6
2010-09-09 22:00:14 -07:00
Robert Sayre 9ec3408857 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Olli Pettay 337e2636be Bug 585173 - Process message manager. r=dougt a=blocking-fennec 2010-08-31 11:58:35 -07:00
Luke Wagner 719f726121 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
David Humphrey 7d9c209973 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Benoit Jacob a6b4fe7683 Bug 585199 - Implement WebGLActiveInfo, remove NativeJSContext, adapt WebGL code to that - r=vladimir a=blocking2.0 2010-08-23 17:03:49 -04:00
Chris Pearce caf4d0aa29 Bug 589561 - Rename HTMLTimeRanges to TimeRanges, HTMLMediaError to MediaError. r=roc a=roc
--HG--
rename : content/html/content/src/nsHTMLMediaError.cpp => content/html/content/src/nsMediaError.cpp
rename : content/html/content/src/nsHTMLMediaError.h => content/html/content/src/nsMediaError.h
rename : content/html/content/src/nsHTMLTimeRanges.cpp => content/html/content/src/nsTimeRanges.cpp
rename : content/html/content/src/nsHTMLTimeRanges.h => content/html/content/src/nsTimeRanges.h
rename : dom/interfaces/html/nsIDOMHTMLMediaError.idl => dom/interfaces/html/nsIDOMMediaError.idl
rename : dom/interfaces/html/nsIDOMHTMLTimeRanges.idl => dom/interfaces/html/nsIDOMTimeRanges.idl
2010-08-25 20:43:00 +12:00
Robert Sayre 5d4ec38d54 Merge mozilla-central to tracemonkey. 2010-08-20 10:04:58 -04:00
Ms2ger b00453d727 Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Blake Kaplan 0af0070428 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner e8308fa9a8 Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Blake Kaplan 12ff3dcb37 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Blake Kaplan 9d9623ade3 Bug 585228 - Move forwarding code out of the inner window's resolve hook and don't give it an addProperty hook since it doesn't need it. r=jst 2010-08-06 17:15:55 -07:00
Blake Kaplan b70d1da23a Bug 585228 - Make the outer window not have an outerObject hook and the inner window not have an innerObject hook. r=jst 2010-08-06 17:13:14 -07:00
Blake Kaplan 4240b7bbb9 Bug 585228 - The inner window doesn't need a NewEnumerate hook. r=jst 2010-08-06 17:10:22 -07:00
Matthew Gregan 03ad3eb6b1 Bug 569301 - Add on* event handler property support for media events. r=smaug 2010-08-02 17:53:45 +12:00
Robert Sayre 6d86fc6985 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Blake Kaplan 9c322c2cc1 Bug 584260 - Delay creating the outer window JS object until the last possible second. r=jst 2010-07-26 18:08:26 -07:00
Blake Kaplan bfa16f49c6 Bug 574975 - Split inner/outer scriptable helpers, make the outer window not global. r=jst. 2010-08-01 17:39:35 -07:00
Robert Sayre 61a58b84de Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Brian Birtles 8b6e3c3cc7 Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Robert Sayre 802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
David Zbarsky e6d0f043d4 Remove unneeded nsIDOMNSHTMLButtonElement interface by merging it into nsIDOMHTMLButtonElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky 5cc7a6ac5e Remove unneeded nsIDOMNSHTMLAreaElement and nsIDOMNSHTMLAreaElement2 interfaces by merging them into nsIDOMHTMLAreaElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky a4f8062126 Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky 3756ea9487 Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky 5cfc5b0e6d Remove unneeded nsIDOMNSHTMLScriptElement interface by merging it into nsIDOMHTMLScriptElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky e134784dbd Remove unneeded nsIDOMNSHTMLLabelElement interface by merging it into nsIDOMHTMLLabelElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Craig Topper 62fbc28b95 Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
Chris Pearce 6cc25b1183 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
David Zbarsky 170437618c Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky e68c9ea851 Remove unneeded nsIDOMNSHTMLImageElement interface by merging it into nsIDOMHTMLImageElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
David Zbarsky f185611489 Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Robert Sayre ca1f1776fe Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre b8d6ec6280 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Igor Bukanov 54e3c21362 bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap 2010-06-26 22:31:54 +02:00
Luke Wagner 7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre 2fd899ed0f Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Andreas Gal e1de8eff4f Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Peter Van der Beken 06960e57dc Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Peter Van der Beken 507098fb13 Part 5 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make ResolveName and GetDocumentAllResult return the wrapper cache. r=jst.
--HG--
extra : rebase_source : d36cf87ab26c82bba89998111f872389a1cae754
2010-05-10 18:43:20 +02:00
Peter Van der Beken d2c306821b Part 4 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNamedItem return the wrapper cache. r=jst.
--HG--
extra : rebase_source : 584b74ed06c59bbf08c20e3a8a3b10dd7d540592
2010-05-09 21:41:19 +02:00
Peter Van der Beken 18486f7159 Fix for bug 564585 (Use WrapNativeParent if we can in nsNodeSH::PreCreate). r=bz.
--HG--
extra : rebase_source : 349801780c4e8ae13e61ee43dfdae32344c936db
2010-05-09 21:33:00 +02:00
Peter Van der Beken a4953c4e2d Part 3 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNodeAt return nsIContent*. r=jst.
--HG--
extra : rebase_source : 4653ed3c0f67141bbace1b1973db4aca4b4d908d
2010-05-09 21:33:00 +02:00
Justin Lebar f86987c51a Bug 581051 - Move selection.modify() from nsISelection.idl into nsISelection3.idl. r,approval2.0=jst
--HG--
extra : rebase_source : 9008b467241f21bc66d5fca734d916400d21e3b2
2010-07-22 11:02:06 -07:00
Peter Van der Beken 8c1e061f38 Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst.
--HG--
extra : rebase_source : 0dab994cd3bfbc72b7b876876b89b138cb3290f1
2010-05-09 20:32:57 +02:00
Ben Turner 390a540434 Bug 570858 - 'ChromeWorker doesn't exist from browser.xul/overlay js'. r=mrbkap. 2010-08-02 14:29:19 -07:00
Felipe Gomes e2a618aa5f Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Robert O'Callahan 10b836489b Backed out changeset edd01aafe372 2010-08-02 15:20:05 +12:00
David Zbarsky d434e271cb Bug 582303. Move nsIDOMNSHTMLImageElement into nsIDOMHTMLImageElement. r=jst 2010-08-02 15:07:06 +12:00
Peter Van der Beken 6efff48ea1 Fix for bug 583225 (Use the right DOMCI for DocumentFragment). r=jst. 2010-07-30 15:04:30 +02:00
Peter Van der Beken 44fc210856 Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst.
--HG--
extra : rebase_source : d9a660d478412545c7f1717b034b04d419111757
2010-04-19 17:41:39 +02:00
Peter Van der Beken 6d713232bf Backout 249ee5a4b51d, f3003a80bf28 and 1b4359586ce5 to fix leak.
--HG--
extra : rebase_source : effdeb6ac33a5a065689ca5c3f8f6da249eb6375
2010-07-14 15:45:11 +02:00
Robert Sayre df2f1f7fff Merge 2010-07-14 06:00:55 -07:00
Peter Van der Beken 860523e4d0 Fix for bug 564585 (Use WrapNativeParent if we can in nsNodeSH::PreCreate). r=bz. 2010-05-09 21:33:00 +02:00
Peter Van der Beken 8431bed815 Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst. 2010-05-09 20:32:57 +02:00
Peter Van der Beken 3d0fea5463 Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst. 2010-04-19 17:41:39 +02:00
Ms2ger 932f266c80 Bug 573357 - Use the HTMLElement interface for more elements. r=jonas 2010-06-30 23:11:45 +02:00
Shawn Wilsher f871937b41 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher 3d5256df47 Bug 574811 - Rename IDBIndexRequest to IDBIndex
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBIndexRequest.cpp => dom/indexedDB/IDBIndex.cpp
rename : dom/indexedDB/IDBIndexRequest.h => dom/indexedDB/IDBIndex.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher c4b3932911 Bug 574811 - Rename IDBObjectStoreRequest to IDBObjectStore
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBObjectStoreRequest.cpp => dom/indexedDB/IDBObjectStore.cpp
rename : dom/indexedDB/IDBObjectStoreRequest.h => dom/indexedDB/IDBObjectStore.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher a2baef3136 Bug 574811 - Rename IDBDatabaseRequest to IDBDatabase
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBDatabaseRequest.cpp => dom/indexedDB/IDBDatabase.cpp
rename : dom/indexedDB/IDBDatabaseRequest.h => dom/indexedDB/IDBDatabase.h
2010-06-28 09:46:49 -07:00
Shawn Wilsher b68638c849 Bug 574811 - Rename IDBTransactionRequest to IDBTransaction
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBTransactionRequest.cpp => dom/indexedDB/IDBTransaction.cpp
rename : dom/indexedDB/IDBTransactionRequest.h => dom/indexedDB/IDBTransaction.h
2010-06-28 09:46:21 -07:00
Shawn Wilsher 3405a47131 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00
Geoff Lankow d60c1164a9 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
Mounir Lamouri 15a6867bff Bug 345624 - Implement HTML 5's Constraint Validation API. f=ajvincent r=smaug sr=sicking a2.0=blocking 2010-08-18 20:28:08 +02:00
Jeff Walden 5ec929857e Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Jason Orendorff 0f12d927b6 Backed out changeset d4caa61e69ab. It turned the tree red. 2010-07-01 20:06:33 -05:00