Commit Graph

751 Commits

Author SHA1 Message Date
Kyle Huey
6a71698a53 Back it all out on this CLOSED TREE. a=mfbt 2011-05-20 17:00:46 -07:00
Kyle Huey
0018d52058 Backed out changeset b8404a1d3153 2011-05-20 17:00:13 -07:00
Kyle Huey
f9f5c8ce1a Backed out changeset bf0b91206fb3 2011-05-20 16:59:38 -07:00
Jonas Sicking
c7993db4b7 Fix orange from botched merge 2011-05-20 15:17:58 -07:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Kyle Huey
7da7ee7e4b Bug 648997: Implement BlobBuilder spec as mozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch mozBlobBuilder.getBlob("content/type"); returns a Blob and clears the mozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new mozBlobBuilder();
mozBlobBuilder.append("foo");
let blob1 = mozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
mozBlobBuilder.append("bar");
let blob2 = mozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
William Chen
db78afb329 Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap 2011-05-20 10:23:49 -07:00
Justin Lebar
331607e5aa Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Peter Van der Beken
e9a0c2e1a1 Fix for bug 649534 (Remove nsIXSLTProcessorObsolete). r=sicking.
--HG--
extra : rebase_source : 48d37254b6f50ac74b285fb0f765c159877e7d03
2011-04-08 10:50:51 -07:00
Ms2ger
5d712a77e7 Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst 2011-04-14 14:04:08 +02:00
Kyle Huey
d0c0eab2e5 Bug 607114: Expose a File constructor to chrome script. r=sicking
--HG--
rename : content/canvas/test/image_yellow.png => content/base/test/chrome/fileconstructor_file.png
2011-04-13 19:41:34 -07:00
Jonas Sicking
913afe451c Bug 649672: Make File.slice arguments match Array.slice and prefix File.slice. r=khuey 2011-04-13 14:34:36 -07:00
Mounir Lamouri
dd977ba6ef Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Boris Zbarsky
ae3f14f1ba Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Justin Lebar
40443aa024 Bug 653364 - HashChange event should have isTrusted property. r=bz
--HG--
extra : rebase_source : 6829b06980ed01c38e0cc5b88a9428fc784c1bb0
2011-04-28 16:13:03 -04:00
Masatoshi Kimura
ffece27fd3 Bug 650505 - Get rid of ComputedCSSStyleDeclaration. r=dbaron,jst,peterv 2011-05-04 09:26:41 +02:00
Craig Topper
cc15a2a6e3 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Ms2ger
d5df8a6e33 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ms2ger
a49c5db9c8 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Mounir Lamouri
7211c91c57 Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Matt Brubeck
1b17575132 Back out changeset bfb48178c8ec (finish backing out bug 514437) to fix tests on a CLOSED TREE. 2011-05-09 19:38:05 -07:00
Ms2ger
7dfa3e196c Bug 660635 - Remove Notation; r=sicking 2011-06-04 08:57:22 +02:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Olli Pettay
132add9eb2 Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Jeff Walden
1ae34fd49a Bug 676738 - Change the index argument to JS_SetElement from jsint to uint32. r=dmandelin 2011-08-04 19:39:13 -07:00
Jeff Walden
8f924181c5 Bug 676738 - Change the index argument to JS_GetElement from jsint to uint32. r=dmandelin 2011-08-04 19:39:13 -07:00
Jeff Walden
471f61bdd4 Bug 676738 - Change the index argument to JS_HasElement from jsint to uint32. r=dmandelin
--HG--
extra : rebase_source : 20e35753ef5af787d1755ab8c1b68d5b7a43cce1
2011-08-04 19:39:13 -07:00
Jeff Walden
49d1d5ab36 Bug 676738 - Change the index argument to JS_DefineElement from jsint to uint32. r=jst, r=dmandelin
--HG--
extra : rebase_source : d0e3be27e3f0cf022eea21805923c2f4736a36ca
2011-08-04 19:39:12 -07:00
Jonas Sicking
eb9ce9a027 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
L. David Baron
7e86462271 ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
b534bd3113 Add animation event interface and data structures. (Bug 435442, patch 12) r=smaug 2011-04-11 23:18:44 -07:00
L. David Baron
f80131c3b4 Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky 2011-04-11 23:18:43 -07:00
Blake Kaplan
f82a68b669 Bug 642026 - Enumerate standard classes. r=jst
--HG--
extra : rebase_source : a4a9630f54d398337a22ba5f75cee466ef4854db
2011-04-08 13:28:05 -07:00
Doug Turner
d4487fbc34 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
David Zbarsky
4c1bcbd9bc Bug 666968 - Remove nsIDOM3Attr r=jst 2011-06-25 09:33:32 +02:00
Ms2ger
509e00cd9a Bug 660433 - Remove nsIDOMNSHTMLFormElement; f=volkmar r=peterv 2011-05-30 13:35:56 +02:00
Ms2ger
1664471214 Bug 659738 - Move document.open implementation from classinfo to nsHTMLDocument; r=bz 2011-05-30 13:35:55 +02:00
Boris Zbarsky
7e1dd99351 Bug 658213. Just pass an JSContext to ReparentContentWrappersInScope. r=peterv 2011-05-19 16:05:46 -04:00
Ms2ger
999f948236 Bug 529328 - Return undefined for out-of-bounds access through nsStringArraySH; r=smaug
This patch has no effect on CSSStyleDeclaration, as that never returns a void DOMString.
2011-05-30 13:35:52 +02:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Ms2ger
bfe60518ca Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv 2011-05-28 09:43:44 +02:00
Ms2ger
b5b41f66d9 Bug 658904 - Remove nsIDOMDocumentStyle; r=roc,jst 2011-05-26 10:18:43 +02:00
Ms2ger
9d8e97c84f Bug 587463 - Drop support for HTMLDelElement and HTMLInsElement; r=jonas
--HG--
rename : content/html/content/src/nsHTMLDelElement.cpp => content/html/content/src/nsHTMLModElement.cpp
2011-05-26 10:06:31 +02:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Jonas Sicking
e5cc03fd5b Bug 641333: Kill nsIDOM3Text and move its contents to nsIDOMText. r=ms2ger 2011-05-20 22:21:28 -07:00
Kyle Huey
e55769423b Bug 648997: Prefix BlobBuilder harder. rs=sicking 2011-05-24 14:01:50 -07:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
William Chen
d166aaa360 Bug 658746 - "Assertion failure: JSID_IS_STRING(id)" with dataset[0].
Fixed incorrect handling of integer jsid to access dataset properties. Converted integer jsids to strings. Added checks to ensure jsids are strings when using them as strings. r=sicking
2011-05-23 15:53:12 -07:00
Jim Mathies
4327e25f5e Backout of bug 570341 (cset:1a645ea075fc) due to test failure. 2011-05-23 19:55:36 -05:00
Igor Bazarny
dbf49a1d09 bug 570341 - Initial implementation of web timing specification
r=smaug sr=biesi

--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Ms2ger
fb6f5dd0ca Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
wfernandom2004@gmail.com
5963fbfd3b Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Peter Van der Beken
d007f2048d Fix for bug 649057 (Make all nsINodeLists inherit from nsWrapperCache). r=bz.
--HG--
extra : rebase_source : 38dc8fd49822774a1ee356ab8496e2c0b908bab9
2009-06-16 08:32:10 +02:00
Jonas Sicking
de9773c785 Bug 658714 Part 8: Improve the nsEventListenerManager API. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking
6c4113f213 Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mounir Lamouri
54d8e46d16 Bug 665548 - r=jst 2011-06-22 10:00:43 +02:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Peter Van der Beken
bbd0f47d9f Fix for bug 648359 (Resolve warnings about nsDOMClassInfo::WrapNative). r=bent. 2011-04-08 10:50:49 -07:00
Cameron McCormack
9c4e74e95e Bug 631437: Add length to SVGXXXList interfaces and make them respond to array indexing (v4) r=jwatt,bzbarsky 2011-04-08 10:44:03 +12:00
Ehsan Akhgari
0ce5440550 Merge mozilla-central into cedar 2011-03-26 12:21:39 -04:00
Ms2ger
2deca252e5 Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Ms2ger
e1e1dbb813 Bug 585933 - Only implement HTMLUnknownElement on unknown elements; r=jonas,smaug
--HG--
rename : content/html/content/src/nsHTMLSpanElement.cpp => content/html/content/src/nsHTMLUnknownElement.cpp
2011-03-26 11:58:55 -04:00
Benjamin Smedberg
47387e2693 Bug 617539 - Merge nsIDOMWebGLRenderingContext_MOZILLA_2_0_BRANCH, r=jrmuizel 2011-03-25 11:03:35 -04:00
Benjamin Smedberg
f16e230ee4 Bug 617539 - Fold in nsIDOMHTMLSelectElement_Mozilla_2_0_Branch, r=smaug 2011-03-25 11:03:35 -04:00
Benjamin Smedberg
634c35dcd2 Bug 617539 - Fold nsIDOMHistory_MOZILLA_2_0_BRANCH back into the main interface, r=smaug 2011-03-25 11:03:34 -04:00
Benjamin Smedberg
d758fb0d7e Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:33 -04:00
Olli Pettay
26c20e1988 Bug 641477 - Throw UNSPECIFIED_EVENT_TYPE_ERR if event isn't initialized before dispatching, r=sicking 2011-03-24 13:34:03 +02:00
Boris Zbarsky
58a96f2303 Bug 585786. Do fast-unwrapping even for non-slim wrappers as long as they're cached. r=peterv 2011-03-23 10:45:21 -04:00
Benoit Jacob
7d7c017074 Bug 632587 - 2/3 - add isContextLost - r=jrmuizel, a=blocking2.0 2011-03-01 17:25:22 -05:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Mounir Lamouri
5009398c09 Bug 637019 - Select element should fallback to ElementSH resolve hook. r=bzbarsky, a=blocker 2011-02-27 14:37:57 +01:00
Blake Kaplan
bff040d432 Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker 2011-02-24 19:36:33 +01:00
Mounir Lamouri
61a2c6dde9 Bug 633133 - Resolve ids and names in HTMLCollections. r=jst, a=blocker 2011-02-24 19:27:26 +01:00
Jonas Sicking
b816bf46cf Bug 634435: Add a property to expose the current pushState-state. r=jlebar a=beltzner 2011-02-17 12:44:04 -08:00
Ms2ger
05541dbe31 Bug 615501 - Followup to fix assertion; r+a=sicking 2011-02-17 14:39:53 -05:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Blake Kaplan
abb62339da Bug 629227 - ObjectIsNativeWrapper lies for document.domain. a=blocker 2011-02-16 20:29:14 -08:00
Ben Turner
855fe52f2e Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-16 12:47:08 -08:00
Chris Leary
7cd988f331 Merge tracemonkey and mozilla-central. (a=blockers) 2011-02-11 09:56:19 -08:00
Jonas Sicking
05cbdc2ddd Bug 633414: Update cursor properties to latest spec. r=bent a=jst 2011-02-10 23:47:00 -08:00
Ben Turner
e29dc44bff Backout 10ebc5ea11ac due to test failures. 2011-02-09 15:29:31 -08:00
Ben Turner
3fb884d2a6 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-09 12:51:16 -08:00
Jim Blandy
b775bfcb46 Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner
314aa75aac Backout bug 614347 due to test failures 2011-02-08 22:15:48 -08:00
Ben Turner
3dd9784466 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-08 18:54:14 -08:00
Johnny Stenback
c13a3fd071 Bug 631490. Fix compartment mismatch when dealing with certain types of global properties. r=mrbkap@gmail.com, a=blocker 2011-02-04 09:55:21 -08:00
Blake Kaplan
8f1726be5c Fix bug 691359. r=jst@mozilla.com, a=blocker 2011-02-01 09:19:35 -08:00
David Mandelin
63046eea1a Bug 628612: make window constructor properties configurable so Facebook works, r=cam,jeff, a=blocker 2011-01-25 17:49:10 -08:00
Johnny Stenback
6a0e982723 Fixing orange from the fix for bug 608987, make sure to enter a request *before* entering a compartment. a=orange. CLOSED TREE 2011-01-18 17:11:12 -08:00
Johnny Stenback
8669a846ab Bug 608987. Fixing compartment mismatch when setting up the proto chain of a plugin object. r=gal@uci.edu, a=blocker 2011-01-18 15:49:34 -08:00
Andreas Gal
cc7aab8dd2 document.all('foo') doesn't work (bug 626050, r=brendan). 2011-01-16 23:30:38 -08:00
Doug Turner
8ed1d71258 Bug 623316 - Remove IndexedDB from content. noscript to the existing interface method. r=bent a=blocking-fennec
--HG--
extra : rebase_source : 61c1cb1e431a9eebfa44f361417a0b690114563f
2011-01-12 09:35:31 -08:00
Blake Kaplan
06e8f326af Bug 616992 - Give nsDOMConstructors a precreate hook so that we don't accidentally create more than one wrapper object for them. r=jst@mozilla.com, gal@uci.edu, a=blocker 2011-01-11 12:15:52 -08:00
Chris Leary
e2855fd450 Merge tracemonkey and mozilla-central. 2011-01-07 00:17:35 -08:00
Andreas Gal
5d848ac282 Use right compartment when resolving prototypes (bug 620028, r=jst). 2011-01-06 22:31:14 -08:00
Ben Turner
cde3f1127c Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Robert Sayre
2d5aa4fe20 Backed out changeset 39ccae4efa0f 2011-01-06 21:38:46 -05:00
Andreas Gal
e49c60a09e Use right compartment when resolving prototypes (bug 620028, r=jst). 2011-01-06 15:30:35 -08:00
Blake Kaplan
617e140f0e Bug 618871 - Try again to fix accessing content constructors from chrome through Xray wrappers. r=jst@mozilla.com, a=blocker 2011-01-05 20:28:19 -08:00
Chris Leary
1d3c0638b7 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Doug Turner
9d720ff78a Bug 607860 - remove navigator.mozNotification from Firefox desktop. r=jst/jonas a=betaN+ 2011-01-03 16:37:01 -08:00
Boris Zbarsky
aaf4848aca Bug 620947. Be a little more careful getting properties from document.all. r=jst 2010-12-27 14:41:31 -06:00
Chris Leary
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Cameron McCormack
cc2415b164 Bug 620295 - Give SVGAElement objects an href property in JS r=jwatt a=roc 2010-12-22 16:30:38 +13:00
Mounir Lamouri
301df17125 Bug 618948 - Add support for element.oninput and element.oninvalid. r=smaug a=sicking 2010-12-22 19:43:50 -05:00
Ben Turner
81a511c1aa Bug 618141 - 'IndexedDB: createObjectStore and createIndex should accept an optional object argument'. r=sicking, a=blocking. 2010-12-21 11:02:01 -05:00
Vladimir Vukicevic
ea8b4ccfc1 b=586938; missing VIEWPORT property on WebGL context; r=mrbkap,a=b 2010-12-20 20:08:03 -08:00
Mihai Sucan
b1290b879d Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 1; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Vladimir Vukicevic
133b07466e b=615994; fix WebGL context DOM ClassInfo to avoid assertion; r=bz, a=b 2010-12-13 14:09:19 -08:00
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Igor Bukanov
933918e6f4 Bug 614578 - Removal of nsAutoGCRoot. r=mrbkap 2010-11-26 15:11:14 +01:00
Blake Kaplan
50c50a6c60 Bug 610941 - Don't resolve prototypes for things that aren't windows. r=jst
--HG--
extra : rebase_source : c455e27b68f15789eae5e7b12d6886560338b22e
2010-12-06 14:46:49 -08:00
Blake Kaplan
ecc7bdafe4 Bug 617093 - Kill the dead XOW cache. r=jst
--HG--
extra : rebase_source : 3c31bedb7101204c636a2a082b6fb2d848d7ffc3
2010-12-06 12:10:28 -08:00
Blake Kaplan
bd44733edc Backout due to bustage 2010-12-02 17:13:20 -08:00
Blake Kaplan
8b73bde56d Bug 610941 - Don't resolve prototypes for things that aren't windows. r=jst 2010-12-02 14:35:27 -08:00
Jonas Sicking
6948fc9a18 Bug 609030: Update createBlobURL/revokeBlobURL to it's final name. r=jst a=blocker 2010-11-23 00:50:55 -08:00
Michael Wu
bf239dd739 Bug 581596 - Create GetInputMode API, r=masayuki,roc sr=roc a=blocking-fennec 2010-11-22 22:48:45 -08:00
Robert Sayre
955582f717 Merge tracemonkey to mozilla-central. a=blockers 2010-12-09 13:37:40 -05:00
Patrick McManus
725731c1fa Bug 616733: Disable websockets by default. r=peterv,jst a=beta8
Can be turned on by setting preference
network.websocket.override-security-block.  Websockets can only be used if
override-security-block and network.websocket.enabled are both set to true.

At a future time, with a more secure websocket protocol, the
override-security-block preference can be removed.

This action is based on the security concern over an HTTP cache
poisoning attack as described in
http://www.adambarth.com/experimental/websocket.pdf
2010-12-08 14:12:51 -08:00
Boris Zbarsky
bbc7eab938 Bug 617296. Window.URL should be replaceable. r=sicking, a=sicking 2010-12-08 11:16:09 -05:00
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Jason Orendorff
3fe395d024 Bug 608171 - Make ChromeWorkers available to JSMs. r=bent.
--HG--
extra : rebase_source : 489ea909e324e1809b00ac8a812a68c54a258313
2010-11-16 14:53:47 -06:00
Robert Sayre
f8d70b12f4 Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Vladimir Vukicevic
e8053d8870 b=612334; fix webgl context type; r=bz
--HG--
rename : dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl => dom/interfaces/canvas/nsIDOMWebGLRenderingContext.idl
2010-11-16 20:33:04 -08:00
Mounir Lamouri
1eb84fddaf Bug 596511 (1/3) - Add the required attribute to the select element. r=smaug a=blocking-betaN 2010-11-16 21:06:15 +01:00
Johnny Stenback
7307c2f4d5 Bug 610714: Add nsIDOMGlobalPropertyInitializer, which allows "JavaScript Global Properties" to know about the window they're being attached to, r=mrbkap, a=blocking
--HG--
extra : rebase_source : c66b23c40e111102c36364f55e01359390012612
2010-11-09 18:00:01 -05:00
Robert Sayre
78fcef6d2d Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
Igor Bukanov
92b67c9caf bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Blake Kaplan
55c01b4915 Bug 604341 - Ensure that we're in the right compartment when we create plugin objects' wrapper JS objects. r=jst a=blocking beta 7
--HG--
extra : rebase_source : b768cd2a13f6d4515fd2220737677adeab023b21
2010-10-25 12:18:20 -07:00
Blake Kaplan
0fd8e3573a Bug 604449 - Protect against an outer window that has already been closed. r=jst
--HG--
extra : rebase_source : 9aa28d1ab4eff66f12806893c24930fcafad1d66
2010-10-25 12:15:04 -07:00
Blake Kaplan
4439c737ab Bug 605696 - Refuse to create location objects without an outer window. r=jst
--HG--
extra : rebase_source : 1666f3d4a81c37d6e09890651b204b466d2591bd
2010-10-25 12:13:36 -07:00
Ben Turner
758b991dab Bug 607729 - 'IndexedDB: Allow IndexedDB events to propagate, and error events to hit window.error'. r=sicking, a=blocking+ 2010-11-10 15:26:03 -08:00
Ben Turner
719ea5cedf Bug 607122 - 'IndexedDB: IDBKeyRange cleanup'. r=sicking, a=blocking+ 2010-11-10 15:26:00 -08:00
Ben Turner
52bc9dcc50 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
Blake Kaplan
8ce4f994ed A last attempt at fixing orange. a=orange 2010-11-01 22:24:24 -07:00
Blake Kaplan
ade40c675c bug 607767 - Fix rewrapping native objects across compartment boundaries. r=jst 2010-10-29 12:49:32 -07:00
Johnny Stenback
131f4e4cc0 Backed out changeset 1c265164a571 due to orange. a=backout 2010-10-31 12:20:04 -07:00
Blake Kaplan
40a819f1e3 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
07830b6931 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
a00685f551 Fix bug 605167. r=peterv 2010-10-18 15:21:50 -07:00
Blake Kaplan
50ccf04391 Bug 604826 - Make constructors on Xray wrappers work properly again. r=peterv 2010-10-18 15:20:47 -07:00
Boris Zbarsky
f0aed9ddea Bug 601247. Don't JSVAL_TO_PRIVATE a random jsval. r=jst, a=jst 2010-10-15 17:55:53 -04:00
Justin Lebar
1e91d0253e Backing out changesets bb01920c2708 and a4a69aef3cba due to orange. 2010-10-15 16:24:08 -07:00
Boris Zbarsky
77aa754c67 Bug 601247. Don't JSVAL_TO_PRIVATE a random jsval. r=jst 2010-10-15 17:55:53 -04:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Jim Blandy
713b25831a 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
1b772138d9 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
4982e8d388 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
b49f4387f9 bug 580128 - Only expose same-compartment window.wrappedJSObject to chrome callers. r=jst 2010-10-10 15:42:15 -07:00
Andreas Gal
4ed857a43e bug 580128 - Try to allow "XOWs" to see named frames. 2010-10-10 15:41:30 -07:00
Andreas Gal
a9cd5a763d bug 580128 - Remove vestiges of old wrappers from nsDOMClassInfo. r=mrbkap 2010-10-10 15:41:27 -07:00
Blake Kaplan
454d48e5fe 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
11e65685b7 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
cb84d63788 bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst 2010-09-24 15:30:00 -07:00
Blake Kaplan
964c4a31ef 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
d8815d1675 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
76235d110d 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
f981834205 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
c22432e72c Bug 600791 - Correct DOM class info for TimeRanges class. r=jst a=blocking2.0 2010-10-13 14:01:37 +13:00
Blake Kaplan
2c70930a60 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
dab96e4a0d 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
5bfbd563c6 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
0e7a7f5511 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
4725cb18fb 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
fd2c9c0694 Bug 587931: Implement document.currentScript and beforescriptexecute/afterscriptexecute events. r=mrbkap a=sicking 2010-09-16 01:48:47 -07:00
Olli Pettay
53f658e81a 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
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Mounir Lamouri
af7af7ba81 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Doug Turner
6ed1c44d56 Bug 573588 - Implement Desktop Notifications r=smaug, a=beltzner
--HG--
extra : rebase_source : 05ec761dd838e4f85a63df677c6335e456a8dfd6
2010-09-09 22:00:14 -07:00
Robert Sayre
357a4a6366 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Olli Pettay
37754ca52c Bug 585173 - Process message manager. r=dougt a=blocking-fennec 2010-08-31 11:58:35 -07:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
David Humphrey
07de814ba1 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
8277999173 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
b1b1746c37 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
d598acd055 Merge mozilla-central to tracemonkey. 2010-08-20 10:04:58 -04:00
Ms2ger
a2c049c1fc Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Blake Kaplan
28169c5f95 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner
ed7ada6b7e Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Blake Kaplan
3e81f7fd38 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Blake Kaplan
c2aa4c1b09 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
3b8d149022 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
494a888491 Bug 585228 - The inner window doesn't need a NewEnumerate hook. r=jst 2010-08-06 17:10:22 -07:00
Matthew Gregan
ffcc5cc81a Bug 569301 - Add on* event handler property support for media events. r=smaug 2010-08-02 17:53:45 +12:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Blake Kaplan
47dec9bca0 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
8ddb90ded3 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
d580edd975 Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Brian Birtles
6c35d0694f Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
David Zbarsky
b031cede9e Remove unneeded nsIDOMNSHTMLButtonElement interface by merging it into nsIDOMHTMLButtonElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
b3ebf67236 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
f1c4604ccc Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
91c644282f Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
08bd79fe55 Remove unneeded nsIDOMNSHTMLScriptElement interface by merging it into nsIDOMHTMLScriptElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
aa0b85856a Remove unneeded nsIDOMNSHTMLLabelElement interface by merging it into nsIDOMHTMLLabelElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Craig Topper
8972b3e08e Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
Chris Pearce
fb117ca2e7 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
9f2162a376 Remove unneeded nsIDOMNSHTMLImageElement interface by merging it into nsIDOMHTMLImageElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
David Zbarsky
ad200f8dad Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Igor Bukanov
d7aedab4b6 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
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Andreas Gal
38966949eb Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Peter Van der Beken
54a3679793 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
1a344e3027 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
c872db9372 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
6c9db700f1 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
76cf6809a4 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
445d3bb942 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
8ac29c76fa 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
cbe2d1fa2b Bug 570858 - 'ChromeWorker doesn't exist from browser.xul/overlay js'. r=mrbkap. 2010-08-02 14:29:19 -07:00
Felipe Gomes
8d9b3f1877 Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Robert O'Callahan
b88214cae4 Backed out changeset edd01aafe372 2010-08-02 15:20:05 +12:00
David Zbarsky
ae961dd518 Bug 582303. Move nsIDOMNSHTMLImageElement into nsIDOMHTMLImageElement. r=jst 2010-08-02 15:07:06 +12:00
Peter Van der Beken
68521e88b9 Fix for bug 583225 (Use the right DOMCI for DocumentFragment). r=jst. 2010-07-30 15:04:30 +02:00
Peter Van der Beken
8c1a0bae2b 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
ba965ac95d Backout 249ee5a4b51d, f3003a80bf28 and 1b4359586ce5 to fix leak.
--HG--
extra : rebase_source : effdeb6ac33a5a065689ca5c3f8f6da249eb6375
2010-07-14 15:45:11 +02:00
Robert Sayre
7846424f94 Merge 2010-07-14 06:00:55 -07:00
Peter Van der Beken
0c2e4a8076 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
b7843c8de4 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
7fa945a5b8 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
efa1edce8f Bug 573357 - Use the HTMLElement interface for more elements. r=jonas 2010-06-30 23:11:45 +02:00
Shawn Wilsher
57685bdd35 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
aff7e85a3b 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
ad8dc5eaf7 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
1dd26b5f02 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
7efa6fa6f7 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
8f3f92a5f4 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
cc4019ac75 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
Mounir Lamouri
b3a82943f3 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
52312bac03 Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Jason Orendorff
cbe2891235 Backed out changeset d4caa61e69ab. It turned the tree red. 2010-07-01 20:06:33 -05:00
Andreas Gal
5c69f9ab84 Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-01 15:45:08 -07:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Blake Kaplan
1a9a5c12c9 More bustage fixing. 2010-06-29 18:28:21 -07:00
Blake Kaplan
129690a412 Bug 574517 - Separate the inner and outer windows' JS classes. r=jst 2010-06-28 16:39:00 -07:00
Robert Sayre
0a9fd0ff39 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Blake Kaplan
d50049f16f Backed out changeset 6346e45d7034. 2010-06-23 17:17:55 -05:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Blake Kaplan
a1651aaa59 Bug 564208 - Don't run getters while enumerating. r=jst
--HG--
extra : rebase_source : 64df2342d0946b232543ae935cdff6162a05358c
2010-06-10 14:11:09 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Blake Kaplan
62c84f09e1 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Blake Kaplan
0130483c24 Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst 2010-05-28 16:01:08 -07:00
Mounir Lamouri
d51cd6c01d Bug 565611 - ""ASSERTION: How did that happen?: 'form == aThisForm'" with <legend>" [r=bz, sr=smaug]
(transplanted from 0c87f407797d0bc7353049a52f5c705fc1d4ae67)

--HG--
extra : transplant_source : %0C%87%F4%07y%7D%0B%C750I%A5/%5Cp_%C1%D4%AEg
2010-05-19 16:33:00 -04:00
Mounir Lamouri
21c25202c6 Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-19 11:44:43 -07:00
wfernandom2004@gmail.com
eac77c5f8b Bug 562681, websockets (protocol v76), r=smaug
--HG--
extra : rebase_source : 3fd1b153d688eba6fa6ffb499bc704dd9ca2a3c2
2010-06-17 21:36:01 +03:00
wfernandom2004@gmail.com
7b192188c1 Bug 472529, websockets (protocol v75), r=smaug+biesi
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
extra : rebase_source : 44e45b23f85ec0095677233cdbd970c33b0c87b4
2010-06-17 21:34:24 +03:00
wfernandom2004@gmail.com
e1b3b326b5 Bug 472529, websockets (content patch)
--HG--
extra : rebase_source : 831a44f14acffa793cd3814d40a0d44bf152decb
2010-06-17 14:27:52 +03:00
Ehsan Akhgari
59ce9793d3 Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-16 20:33:46 -04:00
Chiaki Ishikawa
8b8cd62faf ThunderBird part of Bug 567191 - LOCAL_INCLUDES in layout/base should not be conditioned on MOZ_MEDIA. r=jst 2010-05-23 19:29:00 -04:00
Dan Witte
78b72f1c78 Bug 568059 - Remove navigator.preference. r=sicking, sr=jst 2010-06-08 16:43:55 -07:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Benoit Jacob
4c1b5ed665 b=565404; add WebGLUniformLocation object; r=vlad 2010-06-01 23:09:19 -07:00
Blake Kaplan
f93188d433 Fix bustage. 2010-05-28 16:18:23 -07:00
Blake Kaplan
569e36bde1 Bug 517636 - Assigning through wrappers defeats the "fast expando" optimization. r=jst 2010-05-28 15:40:41 -07:00
Blake Kaplan
54ca1d9bd6 Bug 545314 - Force an inner window here so that we return a working location object. r=peterv 2010-05-28 15:40:29 -07:00
Mounir Lamouri
6b57ca1497 Bug 562932 - "Implement control attribute for label element" [r=sicking sr=smaug] 2010-05-19 22:28:10 -04:00
Ms2ger@gmail.com
98d48c313e Bug 474058 - Drop support for window.directories. r=jst
--HG--
extra : rebase_source : f0ee7974097fcc9db75b2928dae9b58cc3d8859b
2010-05-19 19:53:08 +02:00
Olli Pettay
078f01ee1d Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Blake Kaplan
3378dfe336 Bug 563826 - Don't accidentally hold on to windows accessed via numeric properties. r=jst
--HG--
extra : rebase_source : 7dda2380711af649c10c9de25c8c331d4c159045
2010-05-05 17:32:21 -07:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Robert Sayre
2a89b5be4f Merge mozilla-central to tracemonkey. 2010-05-03 11:03:37 -04:00
Robert Sayre
2420e05a4d Merge mozilla-central to tracemonkey 2010-04-28 11:11:48 -04:00
Boris Zbarsky
d319faf7ba Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff 2010-04-26 10:06:25 -04:00
Boris Zbarsky
e3c85bbb77 Bug 492925. Make array access on medialists actually work. r=jst 2010-04-23 13:37:02 -04:00
Robert O'Callahan
75dc672dff Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0 Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Ben Turner
f53cf449f0 Bug 559447 - 'Make ChromeWorkers that have access to ctypes for browser and extensions'. r=dwitte+jst. 2010-04-20 09:44:56 -07:00
Jonas Sicking
1a83956b1c Bug 518110: Kill HTMLBaseFontElement interface and HTMLHeadElement.profile. Also merge nsHTMLHeadElement and nsHTMLHtmlElement into nsHTMLSharedElement. r=jst
--HG--
extra : rebase_source : 651aeed4f884405ffd980b3b74a0dbb21f931156
2010-04-19 12:06:00 -07:00
Robert Longson
eb179fd968 Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Blake Kaplan
3cab1f9ae4 Bug 554833 - Define 'document' on XPCNativeWrapped windows properly. r=jst
--HG--
extra : rebase_source : 99693fdf3dbd77039f17c31ad5b01050a5957792
2010-03-24 19:08:50 -07:00
Peter Van der Beken
42d3a70ee1 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Use flags on DOMCI to be able to cast instead of QI. r=jst.
--HG--
extra : rebase_source : b33953705ace2b6c2171f32fcf7c0157a1f76173
2010-01-12 15:24:00 +01:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Mounir Lamouri
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Peter Van der Beken
fd4084623b Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
Robert Sayre
c8c02b70fc Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Olli Pettay
e425b81efd Bug 536092 - Micro optimizations for event handling, r=jst
--HG--
extra : rebase_source : d34faef862a532109f05750ccb7220bd1ddf6e19
2010-03-31 15:44:18 +03:00
Andreas Gal
32268bb413 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Robert Sayre
53807b9013 Fix up a little merge fail so that infallible malloc macros don't get run on js/src files. 2010-03-13 14:35:27 -05:00
Robert Sayre
84b14d6f30 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Ben Newman
4502ed4669 Simpler approach to bug 523885. r=jst 2010-03-11 20:42:05 -08:00
timeless@mozdev.org
36ccbc2070 Bug 550902 rv used uninitialized in BaseStubConstructor if nsGlobalNameStruct::eTypeClassConstructor and FindConstructorFunc fails
r=peterv

--HG--
extra : rebase_source : f322ae72aeba7d1c0e0810cb5ded934eea709263
2010-03-12 07:50:11 +01:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Andreas Gal
cef73f06e6 Don't include JS-engine internal header files in header files outside the JS engine (bug 549440, r=jst). 2010-03-04 16:17:05 -08:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Andreas Gal
9d5b1c0316 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Blake Kaplan
bf56726f19 Bug 544544 - Make sure DataContainerEvent's classinfo interfaces are complete. r=smaug 2010-02-08 13:25:07 -08:00
Robert Longson
79ae710023 Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc 2010-02-06 13:46:54 +00:00
Blake Kaplan
77843f806c Backed out changeset 07e47cdf85ad. We hit it on tinderbox. 2010-03-22 17:07:40 -07:00
Blake Kaplan
cf01e551cd Bug 522430 - Assert that this bad case doesn't happen. r=jst 2009-10-20 17:22:16 -07:00
Peter Van der Beken
68a0d4625a Fix for bug 552712 (Remove some NS_DEFINE_CLASSINFO_DATA_WITH_NAME use). r=jst.
--HG--
extra : rebase_source : 0e4b74d5c731a2bdff8da75f9c4edf6757c8b355
2010-03-17 16:09:01 +01:00
Blake Kaplan
5f9a4782f7 Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Robert O'Callahan
266633a9f7 Backed out changeset 5125fc26166b 2010-03-05 20:20:15 +13:00
Blake Kaplan
20a75bea4c Fix bug 541530. r=jst sr=brendan 2010-03-04 13:44:42 -08:00
Chris Jones
f0560d9e8e Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Jonas Sicking
1a41a3c97c Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Honza Bambas
e1a5b71c19 Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Peter Van der Beken
2a74b42ee1 Fix for bug 539219 (Remove unused DOMCI). r=jst. 2010-01-16 15:25:58 +01:00
Peter Van der Beken
22fc8d3fe6 Fix for bug 428229 (Unable to override addEventListener), add nsIDOM(NS)EventTarget to all SVG elements. r=smaug.
--HG--
extra : rebase_source : f06870811a6644720826e2d16c900414d855a4c1
2010-01-13 14:50:01 +01:00
Peter Van der Beken
f83021152f Fix for bug 428229 (Unable to override addEventListener), add nsIDOMNSEventTarget to workers. r=bent.
--HG--
extra : rebase_source : 81ef9a9c3401c7b6b47c2da829903a02d61d51e3
2010-01-13 14:50:01 +01:00
Peter Van der Beken
7d8645e4ca Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Johnny Stenback
151eed8823 Fix regression calling unique methods for the first time on plugin objects. b=536116 r=josh 2009-12-25 13:16:57 -05:00
Boris Zbarsky
3e7aa47200 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
L. David Baron
e3e86676fd Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 14:10:31 -05:00
Benjamin Smedberg
c2bbf9c677 Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron
cef8b7a5f8 Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 06:35:46 -05:00
Blake Kaplan
6d42381ab6 Bug 531364 - Change up the order of these calls. r=peterv sr=bzbarsky 2009-12-17 16:21:57 -08:00
Peter Van der Beken
110cb44583 Fix for bug 534362 (Allow modifications to Location.prototype). r=mrbkap.
--HG--
extra : rebase_source : c860de457e25114244c86ff8063ca6c1390e33ae
2009-12-13 16:57:08 -08:00
Peter Van der Beken
c6b8b7525a Part 2 of fix for bug 533401 (Names added through external DOM classinfo don't resolve on global object). r=jst, a=beltzner. 2009-12-08 21:50:27 -08:00
Peter Van der Beken
7b1a7303e7 Fix for bug 533401 (Names added through external DOM classinfo don't resolve on global object). r=jst, a=beltzner. 2009-12-08 13:46:42 -08:00
Mark Steele
6714e94c89 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
4aacb4b100 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
Peter Van der Beken
41824cb4bf Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
Peter Van der Beken
5a63b1ad1c Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken
39a59a95a1 Try to fix timeouts. 2009-11-28 21:45:37 +01:00
Peter Van der Beken
2186f69c09 Fix build bustage. 2009-11-28 15:25:40 +01:00
Peter Van der Beken
1f7d9b23d4 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+. 2009-11-28 10:35:35 +01:00
Peter Van der Beken
7e0a012c40 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
aae3f7089b Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00