Commit Graph

444 Commits

Author SHA1 Message Date
L. David Baron
3f90844e3c Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -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
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
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