Commit Graph

10760 Commits

Author SHA1 Message Date
Mounir Lamouri
bc75031273 Bug 767806 - Don't create a useless string every time we check for input's validity. r=jlebar 2012-07-05 12:03:19 +02:00
Raphael Catolino
0081a6c0a7 Bug 764481 - Add a pref to enable/disable experimental form features. r=mounir
--HG--
extra : rebase_source : 43b03c409b9cc52a991ca753c1848d453afbbb33
2012-06-23 14:32:54 +02:00
Mounir Lamouri
c0c5b1a1f3 Bug 636737 - Implement valueAsNumber for <input type='number'>. r=sicking
--HG--
extra : rebase_source : 5c77f49a870c6223f46e0259de09b80bbeceef3d
2012-07-05 12:13:41 +02:00
Mounir Lamouri
16dc6731cb Bug 636627 - Implement stepDown() and stepUp() for <input type='number'>. r=sicking
--HG--
extra : rebase_source : 94d0543e68d5c2aa021e07b8b62d674e280f10dd
2012-07-05 16:33:47 +02:00
Mounir Lamouri
4926879c87 Bug 556009 (2/2) - <input type='number'> can suffer from a step mismatch when @step is set. r=sicking
--HG--
extra : rebase_source : ebe773a2bd9ade8a1a9cd9b4a6a3aa077fad54b2
2012-06-22 21:02:20 +02:00
Mounir Lamouri
eaae5e727b Bug 556009 (1/2) - Add the step attribute to HTMLInputElement. r=sicking
--HG--
extra : rebase_source : 7288832870ee9c6a7964f5f8b3e619c2b2b81c70
2012-07-05 12:12:14 +02:00
Jon Buckley
4e2d74c059 Bug 769077 - Have unintialized render buffers report memory usage correctly, r=bjacob 2012-06-27 16:11:00 -07:00
Bill McCloskey
3f0d55e974 Bug 770999 - Add get() method to Handle<T> and Rooted<T> (r=bhackett) 2012-07-04 13:34:42 -07:00
Bill McCloskey
943f752751 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Matthew Gregan
a7e33bf074 Bug 695612 - Make nsRemoteAudioStream::Write block by waiting for acks from its parent. r=doublec 2012-07-02 16:59:43 +12:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
729030ee5b Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
John Schoenick
b7f0b6aeae Backout Bug 406451 for regressions 2012-06-19 16:25:56 -07:00
Devdatta Akhawe
b405ba9003 Bug 767134 - Stuff the source principal into nsIContentPolicy (r=bz, sr=jst) 2012-07-02 16:16:11 -07:00
Ed Morley
b0cc4dae44 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
93ce055147 Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ryan VanderMeulen
d896e0e1d6 Merge m-c to inbound. 2012-07-01 11:03:00 -04:00
Chris Peterson
36fdd81fa4 Bug 769080 - Fix Azure build errors about Uint8ClampedArray on Android. Fix some uninitialized variable warnings. r=Ms2ger 2012-06-29 15:17:03 -07:00
Aryeh Gregor
fe8e98a3f0 Bug 767169 part 2 - Handle lastCandidate being null in nsContentSubtreeIterator::Init; r=bz 2012-06-28 14:29:56 +03:00
Mounir Lamouri
3665ad6901 Bug 635554 (2/2) - Implement :in-range and :out-of-range for <input>. r=sicking
--HG--
extra : rebase_source : 0c107ddf81fc899dfdeb602bcdc3818dd2d3c541
2012-06-09 19:44:47 +02:00
Mounir Lamouri
cd9032ef15 Bug 635554 (1/2) - Keep track of whether an input element has a range applying. r=sicking
--HG--
extra : rebase_source : b1f577c5acaa70da105352e4d682f608cf938010
2012-06-22 11:41:32 +02:00
Mounir Lamouri
535904ed42 Bug 635553 (2/2) - <input type='number'> can suffer from a range underflow when @min is set. r=sicking
--HG--
extra : rebase_source : 27045996c62489b28c799d11b6cee5f5df3a2359
2012-06-22 11:38:20 +02:00
Mounir Lamouri
1891be27db Bug 635553 (1/2) - Add the min attribute to HTMLInputElement. r=sicking
--HG--
extra : rebase_source : 071c211fde723cb8d79f5d85bab58d8ef2631f66
2012-07-05 12:11:53 +02:00
Mounir Lamouri
81a62bca13 Bug 635499 (2/2) - <input type='number'> can suffer from a range overflow when @max is set. r=sicking
--HG--
extra : rebase_source : 8d5a589b3ab4018de422fb92ab436afc5a083fb7
2012-06-22 11:36:24 +02:00
Mounir Lamouri
3af7244f4b Bug 635499 (1/2) - Add the max attribute to HTMLInputElement. r=sicking
--HG--
extra : rebase_source : 4244148c48e837750bb12d809596d8ec18155f73
2012-07-05 12:11:31 +02:00
Mounir Lamouri
e1126739b0 Bug 635281 - Implement the value sanitizing algorithm for <input type="number">. r=sicking
--HG--
extra : rebase_source : b4ca5ff2b2ce873012ba3a8e589130123eb40559
2012-06-10 22:24:03 +02:00
Mounir Lamouri
5885dd639e Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02:00
Masatoshi Kimura
b320c84c6a Bug 769119 - Treat null or undefined as an empty dictionary; r=sicking 2012-06-30 16:03:27 +02:00
Peter Van der Beken
f8c3fdf0be Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz. 2012-05-21 23:30:07 +02:00
Boris Zbarsky
e58a7928ca Bug 767936. Use Element* as the cache key for CanvasImageCache. r=roc 2012-06-30 01:53:21 -04:00
Matt Woodrow
4b10a2b53c Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Brian Hackett
b0e75959cf Treat canvas invalidations as animation activity for JS heuristics, bug 753630. r=dmandelin 2012-06-29 14:35:06 -07:00
Benoit Jacob
fb1f675dc6 Bug 763355 - even more logging to understand this intermittent orange in WebGL tests on Android - r=jgilbert 2012-06-29 17:21:35 -04:00
Gavin Sharp
f7ba48e261 Bug 769771: add support for specifying content type of an html:iframe, r=bz
--HG--
extra : transplant_source : %97%CDKKQ%11%F4%98%C0%D6e%B81%BE6a%3Ah_%07
2012-06-29 15:03:53 -04:00
Mark Goodwin
f752a13d8e Bug 766569 - add l10n support to existing CSP errors and warnings. (r=bz) 2012-06-29 12:51:24 -07:00
Peter Van der Beken
436113599f Bug 762652. Rename the class GeneralPattern here to avoid having Windows PGO builds confuse this class with the GeneralPattern class in gfxContext.cpp. r=bz 2012-06-29 11:20:13 -07:00
Peter Van der Beken
52a7369c47 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Ehsan Akhgari
9a62d06bd1 Bug 769653 - Initialize the transferable created in nsDOMDataTransfer::FillInExternalDragData; r=bzbarsky 2012-06-29 11:41:38 -04:00
Bonnie Surender
6dcaba353f Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Bobby Holley
c866397a9c Bug 754202 - Only push the context of the event target if the listener is scripted. r=smaug 2012-06-28 23:47:56 +02:00
Blake Kaplan
99bfdd86fe Bug 769265 - Fix these calls. r=bent 2012-06-28 16:14:11 +02:00
Vivien Nicolas
23fcbde395 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Chris Pearce
5dca73c48d Bug 762191 - Make video controls mute/volume widgets do nothing if the video doesn't have audio. r=jaws 2012-06-28 17:31:09 +12:00
Trevor Saunders
e1169a2685 bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
Ryan VanderMeulen
9910982f5d Merge m-c to inbound. 2012-06-27 20:15:13 -04:00
Olli Pettay
4d59e2edf0 Bug 730639 - Blast DOM owned subtrees during canSkip, r=mccr8 2012-06-28 01:09:15 +03:00
Ralph Giles
62f6aacafd Bug 766331 - Don't rescan old data for Ogg timestamps - r=cpearce
nsOggReader::RangeEndTime() relied on CRC values from valid ogg
pages to keep track of already-searched data when looking for a
end timestamp. This caused quadratic behaviour searching in a
section of a file with no valid pages.

Instead, remember where we last looked, and backoff immediately
if we go more than the maximum length of a page into previously
scanned data. This avoids searching data we've eliminated as
containing valid Ogg pages and lets us search backward with O(N)
instead.
2012-06-25 09:38:56 -07:00
Daniel Holbert
dd5d8688a3 Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Bill McCloskey
99ad1c23c4 Bug 766717 - nsNodeInfoManager needs to be able to add itself to the purple buffer (r=smaug) 2012-06-26 13:35:29 -07:00
Mark Goodwin
4dd1208222 Bug 712859 - show CSP policy violation messages in the web developer console. r=bz 2012-06-26 13:34:41 -07:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
2d38eb66bb Bug 747509 - include mIdentifierMap's hash keys in about:memory statistics; r=njn 2012-06-18 12:39:29 -04:00
Aryeh Gregor
746e74a592 Bug 760052 - execCommand() should abort and return false for disabled commands; r=ehsan 2012-06-21 15:05:24 +03:00
Ryan VanderMeulen
71a0dba494 Merge m-c to inbound. 2012-06-23 22:22:42 -04:00
Olli Pettay
0bcc3dec86 Bug 763899 - mouseenter events should fire the opposite order of mouseleave, r=masayuki
--HG--
extra : rebase_source : 1c306177f0496c84d32bde9015d1d90c22ddfbaa
2012-06-23 15:41:47 +03:00
Ms2ger
d2336c4ef9 Merge m-c to m-i. 2012-06-23 10:03:22 +02:00
Ms2ger
be2608de87 Bug 767130 - Consolidate code duplicated between nsGenericElement.cpp and nsINode.cpp; r=bz 2012-06-23 08:58:04 +02:00
David Zbarsky
df2d9e3aea Bug 661746 - Part of part 2: Introduce a const AsElement(). r=bzbarsky 2012-06-23 08:57:57 +02:00
Ms2ger
d91f9e40f3 Bug 767130 - Create nsINode.cpp; r=mounir
--HG--
rename : content/base/src/nsGenericElement.cpp => content/base/src/nsINode.cpp
2012-06-23 08:57:01 +02:00
Chris Jones
32a72b6e00 Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn 2012-06-22 18:27:30 -07:00
Ed Morley
91815d3c91 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Mounir Lamouri
a84af71501 Merge backout. 2012-06-22 11:14:08 +02:00
Mounir Lamouri
1f70fdd32a Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5). 2012-06-22 11:13:32 +02:00
Aryeh Gregor
cfa65efdf5 Followup to bug 764400 - Move IsHTML etc. back from nsINode to nsIContent; r=mounir 2012-06-22 10:41:56 +03:00
Robert O'Callahan
53fe336e33 Bug 752796. Add a bit more logging. r=jesup 2012-06-22 17:07:41 +12:00
Justin Lebar
f7781081e2 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 21:17:52 -04:00
Justin Lebar
2bfa9751db Bug 765075 - Load BrowserElementChild.js before returning the result of window.open from <iframe mozbrowser> to the opener. r=smaug 2012-06-21 21:17:52 -04:00
Paul Adenot
8a6d5f1515 Bug 761419 - Build failure in content/media/gstreamer/nsGStreamerReader.cpp when using clang r=kinetik 2012-06-21 20:44:39 -04:00
Boris Zbarsky
a188f8e851 Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Dão Gottwald
a8ee787c54 Bug 767462 - Allow controlling outside-click event consumption with an attribute. r=enndeakin
--HG--
extra : rebase_source : 0afac7d049f96568390e283cb90f2f1a79ad7c5a
2012-06-22 22:07:26 +02:00
Julian Seward
5abbda87be Bug 767370 - Uninitialised value use in nsIDOMKeyEvent_GetCharCode; r=peterv 2012-06-22 17:53:01 +02:00
Robert O'Callahan
99b99a420e Bug 752796. More logging. r=jesup 2012-06-22 22:51:04 +12:00
Robert O'Callahan
19277ba9e5 Bug 731868. Part 2: Make CanvasRenderingContext2DUserData's reference to the context weak (Azure). r=jrmuizel 2012-06-01 18:26:42 +12:00
Robert O'Callahan
ca02c922f7 Bug 731868. Make reference from CanvasRenderingContext2DUserData to its 2D (non-Azure) context weak. r=jrmuizel 2012-06-01 18:26:36 +12:00
Ed Morley
76aca6769f Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
968f7d047e Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 11:58:49 -04:00
Kartikaya Gupta
8e1c5560cf Bug 755971 - Switch to using the padding rect size for scrollWidth and scrollHeight, and update tests to continue passing. r=bz, gavin 2012-06-21 09:36:57 -04:00
Kartikaya Gupta
af54e9aaa6 Bug 755971 - Add a nsGenericElement::GetPaddingRectSize to return the size of the padding rect. r=bz 2012-06-21 09:35:31 -04:00
Jeff Walden
9bfb3aa19b Bug 758912 - Don't use JSCLASS_NEW_RESOLVE_GETS_START in XBL code. r=bz 2012-05-29 12:01:30 -07:00
Jonathan Watt
95ea2cc074 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Ed Morley
db2183d3d6 Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Ms2ger
0e9e7876a6 Bug 765468 - Use a dictionary for the argument to the XMLHttpRequest constructor; r=bz 2012-06-21 09:21:55 +02:00
Philipp von Weitershausen
74ad92bc08 Bug 763814 - System XHR: Don't leak XMLHttpRequestParameters; r=Ms2ger 2012-06-21 09:21:16 +02:00
Robert O'Callahan
e34310d315 Bug 731293. Address review comments. r=mats
--HG--
extra : rebase_source : ea9186cd545311e82fc12dd4f1170c442e37e7f0
2012-06-21 09:03:54 +08:00
Chris Pearce
52a61edb23 Bug 756936 - Minor tidy ups to pointer lock code. r=smaug 2012-06-21 11:38:11 +12:00
Chris Pearce
f01716614d Bug 756936 - Ensure MouseEvent.mozMovement{X,Y} values are correct on secondary monitors. r=smaug 2012-06-21 11:38:03 +12:00
Chris Jones
dd7fb3f7e6 Bug 757137, part 4: Keep the chrome document on the event target chain when mozbrowser is in a chrome document. r=smaug 2012-06-20 12:25:23 -07:00
Chris Jones
0151bf4f96 Bug 757137, part 3: Allow system-principal-privileged code to know that a frame really is mozbrowser. r=jlebar 2012-06-20 12:25:23 -07:00
Chris Jones
a45d29ebb6 Bug 757137, part 2: Test. r=bz 2012-06-20 12:25:23 -07:00
Chris Jones
9cff6d2611 Bug 757137, part 1: Force mozbrowser frames to be typeContent (whether or not any other mozbrowser features are enabled). r=bz 2012-06-20 12:25:22 -07:00
Justin Lebar
070a4d787f Bug 763593 - In nsImageLoadingContent, lock the current request while switching in a pending request. r=joe,bz 2012-06-20 13:43:06 -04:00
Bobby Holley
2942dab9a8 Bug 765168 - Remove js context parameter from XHR.send call chain. r=smaug 2012-06-20 12:18:39 +02:00
Bobby Holley
4e5a9a98f5 Bug 765168 - Remove the dependency of XHR::send on a cx parameter. r=smaug
Given the new bindings, I think this is dead code anyway modulo the pref.
2012-06-20 12:18:39 +02:00
Mike Hommey
e1f994d15f Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Masatoshi Kimura
0a16a56d7f Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Robert Longson
be75994ded Backout most of Bug 467498 - crashtest failure on windows 2012-06-19 17:49:47 +01:00
Jonathan Watt
1d7315c090 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
30fbb12128 Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Mike Hommey
f600664217 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Jignesh Kakadiya
2584092191 Bug 763861 - Assign a flag in nsINode to say whether the node is content; r=ehsan 2012-06-18 23:47:35 -04:00
Ehsan Akhgari
aef7f91aa1 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Aryeh Gregor
5e33b7294c Bug 765799 - Uninitialized variable use in nsRange::InsertNode; r=smaug 2012-06-19 16:17:37 +03:00
Peter Van der Beken
b02a1ce6f4 Fix for bug 762657 (Fix canvas tests and drop support for fake ImageData in putImageData to comply with spec). r=Ms2ger. 2012-05-25 16:27:18 +02:00
Peter Van der Beken
eeca8d5fd4 Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz. 2012-06-04 21:41:51 +02:00
Aryeh Gregor
67f9002049 Bug 764400 - Move various nsIContent methods to nsINode; r=mounir 2012-06-14 09:47:03 +03:00
Matthew Gregan
af06cd9d7b Bug 765524 - Register PrefChanged for CUBEB_LATENCY_MS. r=cpearce 2012-06-17 14:13:22 +12:00
Ryan VanderMeulen
a9079cbdbe Merge m-c to inbound. 2012-06-17 08:25:16 -04:00
Aryeh Gregor
69be0adeef Followup bug 412257 - Fix now-incorrect test description; r=Ms2ger 2012-06-17 12:35:42 +03:00
Ms2ger
a94b52ec1f Bug 762003 - Remove nsDocument::NodeType / nsDocument::NodeName; r=jst 2012-06-17 10:11:16 +02:00
Jonathan Watt
5691b0a166 Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Gregor Wagner
1011a23af6 Bug 764682 - Fix B2G build. r=red 2012-06-16 11:47:04 -07:00
Gregor Wagner
690cbd60df Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Robert Longson
25acc20312 Bug 764851 - Fix animations of the width/height of an outer SVG element. r=jwatt 2012-06-16 16:47:40 +01:00
Benoit Jacob
c52c12fbb8 Bug 765137 - 3/3 - WebGL: more cleanup and renaming around extensions - r=jgilbert 2012-06-16 01:12:30 -04:00
Benoit Jacob
ca958a1d97 Bug 765137 - 2/3 - WebGL: clean up IsExtensionSupported - r=jgilbert 2012-06-16 01:12:08 -04:00
Benoit Jacob
e772dccbe8 Bug 765137 - 1/3 - WebGL: use case-insensitive comparisons rather than lower-case versions of extension strings - r=jgilbert 2012-06-16 01:11:50 -04:00
Boris Zbarsky
cd8eb435f9 Bug 764591. Handle removals of kids of document fragments being inserted under a separate scriptblocker, just like we do with the single-node insert case, so their XBL binding teardown happens before insert. r=smaug 2012-06-15 17:59:05 -04:00
Benoit Jacob
96be0aa7b1 Bug 765179 - 2/2 - Check for empty string in WebGL SplitLastSquareBracket - r=jgilbert 2012-06-15 17:40:25 -04:00
Benoit Jacob
ca107b35b9 Bug 765179 - 1/2 - Check for empty GLSL identifier strings - r=jgilbert 2012-06-15 17:39:21 -04:00
Benoit Jacob
ef8f0631cb Bug 765198 - WebGL crash in readPixels with null destination - r=bz 2012-06-15 17:36:48 -04:00
Boris Zbarsky
e9f438db41 Bug 764104. Avoid collisions with C++ reserved words by using initial-caps for WebIDL enum values. r=peterv 2012-06-15 16:25:51 -04:00
Boris Zbarsky
44edd4a058 Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob 2012-06-15 16:25:51 -04:00
Ed Morley
35dfac289e Merge mozilla-central to mozilla-inbound 2012-06-15 15:18:20 +01:00
Mike Hommey
2536fb188a Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
9ef4312c8c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Bobby Holley
bb38fbaa32 Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz 2012-06-15 08:31:27 +02:00
Nathan Froyd
630362934d Bug 752952 - account for nsIDocument's property tables in about:memory; r=njn,f=smaug 2012-06-15 00:10:08 -04:00
Ed Morley
6851f5438e Merge mozilla-central to mozilla-inbound 2012-06-15 14:04:37 +01:00
Aryeh Gregor
d27416ea02 Bug 412257 - Allow createComment("--"); r=bz 2012-06-15 15:13:14 +03:00
Benoit Jacob
a4f9ebbddf Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert 2012-06-14 23:16:21 -04:00
Jonathan Watt
ee7b3d7fe0 Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Aryeh Gregor
ff97767fe5 Bug 763869 part 4 - Use nsIContent* in nsContentIterator where possible; r=bz 2012-06-14 09:47:03 +03:00
Aryeh Gregor
e3b427f6f3 Bug 763869 part 3 - Make aIndexes param optional; r=bz 2012-06-14 09:47:03 +03:00
Aryeh Gregor
1f87c8de60 Bug 763869 part 2 - Clean up nsContentIterator.cpp; r=bz 2012-06-14 09:47:03 +03:00
Aryeh Gregor
6c78c4dd14 Bug 763869 part 1 - Remove useless NodeHasChildren helper function; r=bz 2012-06-14 09:47:03 +03:00
Mike Hommey
3acf5d646d Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Olli Pettay
87b1256e32 Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen 2012-06-14 21:00:05 +03:00
Jonathan Watt
dc30fd5458 Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Alessandro Decina
1866948cad Bug 756954 - Return maybe in canPlayType() for h264 container types. r=roc 2012-06-13 21:12:37 -04:00
Robert Lickenbrock
dede1348c8 Bug 756367 - Reset animation of image requests when they become the current request instead of when they finish loading. r=bz 2012-06-13 21:12:37 -04:00
Masatoshi Kimura
6105e338ad Bug 743888 - Part 2: Update SVG exception types. r=jwatt 2012-06-13 21:12:37 -04:00
Fabrice Desré
e703351031 Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug] 2012-06-14 16:03:55 -07:00
Ryan VanderMeulen
9eb2db5d07 Merge m-c to inbound. 2012-06-14 18:45:40 -04:00
Benoit Jacob
157e8095af Bug 763355 - more logging to understand WebGL read-pixels-test intermittent timeouts on Android - r=jgilbert 2012-06-14 16:12:34 -04:00
Jim Mathies
d0b684c0ba Bug 764355 - Add a new edge swipe simple gesture and add a click count value to existing tap gestures for Win8. r=felipe 2012-06-14 12:40:12 -05:00
Boris Zbarsky
56f9bd70e4 Bug 763225. Take a bit more care about our compartments in SetJSEventListenerToJsval. r=smaug,bholley 2012-06-14 13:22:34 -04:00
Gregor Wagner
b8dd529aa2 Bug 764667 - Implement ContactChangeEvent in C++. r=smaug 2012-06-14 10:13:12 -07:00
Aryeh Gregor
16302fd2e9 Bug 543645 - Clean up nsContentSubtreeIterator (fixing a hang while we're at it); r=bz 2012-06-12 11:45:09 +03:00
Joel Maher
02865e954c Bug 761125 - change mochitests to run all tests except excludedtests in android.json. r=jgriffin 2012-06-14 09:01:23 -04:00
Robert Longson
aff81fb50f Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Ryan VanderMeulen
71f5182a3c Merge m-c to inbound. 2012-06-12 21:36:40 -04:00
Matt Brubeck
77ee3f3f4b Merge last green changeset from inbound to mozilla-central 2012-06-12 18:24:45 -07:00
Nicholas Cameron
4315d16887 Bug 750575; use nsCOMPtr around nsIPresShell in canvas code. r=roc 2012-06-12 10:48:42 -07:00
Boris Zbarsky
332924a065 Bug 736695 part 3. Tear down XBL bindings off a scriptrunner when unbinding nodes. r=smaug 2012-06-11 18:22:26 -04:00
Boris Zbarsky
8c315e097e Bug 736695 part 2. Use separate mutation observer batches and script blockers for the removal of newChild from its parent and the other mutations we do during an insert. r=smaug 2012-06-11 18:22:25 -04:00
Boris Zbarsky
6c3036f82a Bug 736695 part 1. Rearrange node insertion/replacement such that we remove the newChild from its parent before removing the refChild, if we need to remove refChild. r=smaug 2012-06-11 18:22:19 -04:00
Chris Jones
5fc3024b9d Bug 746813: Check for context allocation failure before returning inverse transform. r=joedrew 2012-06-12 10:31:37 -07:00
Nathan Froyd
21b0f8399f Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc 2012-06-06 13:29:16 -04:00
John Drinkwater
1aa688bab1 Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert 2012-06-11 08:25:06 -07:00
Aryeh Gregor
c38d8e4218 Bug 763283 part 3 - Change nsINode::AsElement from NS_ASSERTION to MOZ_ASSERT; r=mounir 2012-06-11 18:07:49 +03:00
Aryeh Gregor
bd2dec6adf Bug 763283 part 1 - Add new nsINode::AsContent() and nsINode::IsContent() methods; r=mounir 2012-06-10 15:39:21 +03:00
Ed Morley
7d13aab294 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
aee92f1d56 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
5076b975a0 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Michael Wu
539066cff5 Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Ryan VanderMeulen
846a6a41bf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
David Zbarsky
a756414b41 Bug 0: fix bustage r=bustage 2012-06-09 15:45:01 -07:00
Jignesh Kakadiya
05c4596cae Bug 744157 - Return nsICSSDeclaration from Element::GetSMILOverrideStyle 2012-06-09 15:19:25 -07:00
Jignesh Kakadiya
05b649bf5a Bug 756579 - nsXBLBinding::GetInsertionPointsFor is now infallible. 2012-06-09 15:15:12 -07:00
Jignesh Kakadiya
2f9b3165ba Bug 751785 - Make Selection.toString() API use DOMString instead of wstring 2012-06-09 15:15:12 -07:00
Jignesh Kakadiya
1318639248 Bug 762182 - Remove unused variable 'rootElement' in nsScriptLoader.cpp. r=Ms2ger 2012-06-09 14:22:42 -04:00
Ryan VanderMeulen
caebb33c05 Merge m-c to inbound 2012-06-09 14:22:32 -04:00
Olli Pettay
4fb227aead Bug 756277 - XMLHttpRequest started from Cc['@mozilla.org/xmlextras/xmlhttprequest;1'] ends up bound to some random window, r=bz
--HG--
extra : rebase_source : 480dbf41846fee3362697cb0bf537281f35845e0
2012-06-08 23:45:13 +03:00
Nathan Froyd
f544123f1c Bug 747509 - include document ID and styled links tables in about:memory; r=njn 2012-06-07 20:31:00 -04:00
Ehsan Akhgari
541f19c90a Bug 762345 - Skip all the QIing stuff in the TreeMatchContext constructor if possible; r=bzbarsky 2012-06-07 15:19:56 -04:00
Robert O'Callahan
a5c6b246c7 Bug 731293. Walk frame tree to find the right element/node for elementFromPoint and nodesFromRect. r=mats 2012-06-09 00:31:23 +12:00
Mounir Lamouri
5b981afc86 Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
Mounir Lamouri
d64e55ab0d Bug 762047 - Improve content/html/content/tests/forms/test_progress_element.html. r=Ms2ger 2012-06-07 20:46:53 +02:00
Mounir Lamouri
e3536e8820 Bug 762044 - Move content/html/content/test/test_bug660238.html to content/html/content/test/forms/ r=Ms2ger
--HG--
rename : content/html/content/test/test_bug660238.html => content/html/content/test/forms/test_meter_pseudo-classes.html
2012-06-07 20:46:34 +02:00
Mounir Lamouri
f40c8a09fa Bug 748238 - <meter> should not be a form control. r=bz
--HG--
rename : content/html/content/test/test_bug657938.html => content/html/content/test/forms/test_meter_element.html
2012-06-07 20:42:45 +02:00
Mounir Lamouri
f7f5b9aa92 Bug 762435 - Make <progress> labelable again. r=bz 2012-06-07 20:41:59 +02:00
Mounir Lamouri
80843c1556 Bug 762434 - Allow any element to be labelable. r=bz 2012-06-07 20:41:23 +02:00
Robert Longson
d417b1cbfb Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-08 08:54:39 +01:00
Brian Hackett
f156f0f759 Remove race condition from test for bug 518104, bug 761872. r=bz 2012-06-07 14:56:29 -07:00
Honza Bambas
f29e1ac591 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Sid Stamm
7ae666a35f bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Matt Brubeck
72ef8c96fc Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
David Zbarsky
10ced858fe Bug 763626 r=bz 2012-06-11 22:51:27 -07:00
Andrew McCreight
9152e14841 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Aryeh Gregor
8e7de01930 Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Peter Van der Beken
794b8397b5 Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 332bf497cd68c9ea5c8a443c64c2884d4e18d2ea
2012-05-03 19:01:49 +02:00
Henri Sivonen
3800ba18ca Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
Philipp von Weitershausen
9118053b0e Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Doug Turner
a67548c064 Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug 2012-06-07 10:58:33 -07:00
Alexander Surkov
00e61410f2 Bug 760774 - switch ARIA role map to atoms, r=tbsaunde, sr=neil 2012-06-08 01:23:33 +09:00
Aryeh Gregor
a9cd8feaa1 Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor
f138398d88 Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
Andrew Quartey
86768eb44d Bug 445516 - Support for auto-generated=true text attribute on list bullets, r=tbsaunde 2012-06-07 21:49:21 +09:00
Robert O'Callahan
26dd819e2e Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug 2012-06-07 22:06:39 +12:00
Ed Morley
650ccaada6 Backout 14bea2e7f431 (bug 762119) for compilation failures 2012-06-07 09:40:02 +01:00
Robert Longson
9971ff0f0c Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-07 09:30:45 +01:00
Matthew Gregan
d90bbfc34b Bug 723860 - Early bail from reader's GetBuffered() if not yet initialized. r=doublec 2012-06-06 17:58:07 +12:00
Jason Orendorff
31a1022fa0 Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst. 2012-06-06 21:52:14 -05:00
Paul Adenot
728580b6aa Bug 760336 - When seeking in an unbuffered range on a live stream, playback stops and |played| reports bogus values. r=chris.double 2012-06-07 11:43:29 +12:00
Paul Adenot
2a87e1ad04 Bug 760336 - Set nsBuiltinDecoderStateMachine::mBufferingWait to be seconds instead of milliseconds r=chris.double 2012-06-07 11:43:25 +12:00
Paul Adenot
0f761e6f39 Bug 761708 - Wrong |played| value when seeking back in the media. r=chris.double 2012-06-07 11:43:13 +12:00
Mounir Lamouri
65040cbb94 Bug 760848 - Make select.size reflection follow the specifications. r=smaug 2012-06-07 01:27:53 +02:00
Aryeh Gregor
136bcc43fe Bug 761993 - Revert broken execCommand("insertparagraph") support; r=ehsan 2012-06-06 20:34:10 +03:00
Ehsan Akhgari
ccdd37d975 Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Nathan Froyd
bd8ece9a84 Bug 760831 - split out per-node type stats in about:memory; r=njn, bz 2012-06-05 10:49:48 -04:00
Arnaud Bienner
9a3ecda11a Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types; r=sicking,mounir 2012-06-06 14:16:58 +02:00
Ed Morley
0fd801a0b6 Merge mozilla-central to mozilla-inbound 2012-06-06 10:24:28 +01:00
Ed Morley
8e3f4a6794 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Robert Longson
19759f7c92 Bug 761507 - Fix issues with adoptNode and conditional processing. r=dholbert 2012-06-06 09:15:53 +01:00
Ms2ger
ffbf1dffd2 Bug 759726 - Move mCanvasElement to nsICanvasRenderingContextInternal and make SetCanvasElement return void; f=bz r=bjacob 2012-06-06 09:42:47 +02:00
Ms2ger
9959e5ffee Bug 761120 - Disallow inserting a text node as child of a document; r=bz 2012-06-06 09:42:06 +02:00
Ms2ger
33a16fe510 Bug 761020 - Add nsIDocument::GetDocumentType(); r=mounir 2012-06-06 09:41:20 +02:00
Ms2ger
f696a656cc Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Ms2ger
4ff76331ca Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ms2ger
201de433a3 Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Chris Jones
d45528d7d4 Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel 2012-06-05 20:33:59 -07:00
Geoff Lankow
552f02f3f1 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Peter Van der Beken
03bfb0f33a Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky 2012-06-04 21:29:56 -04:00
David Zbarsky
fd086e43bf Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
Jason Duell
f8b592b73f Bug 695636 - Update close steps to adhere to WS spec. r=smaug 2012-06-04 16:38:32 -07:00
Stephen Moehle
0f2f68b13e Bug 760899 - Fix debug builds with gstreamer enabled - r=kinetik
--HG--
extra : rebase_source : 22598bc470d35d94991ea9f1b14df11ba19a461a
2012-06-05 11:32:36 +12:00
Stephen Moehle
f4cbb185ec Bug 761030 - Fix crash with HTML 5 video with GStreamer enabled - r=kinetik
--HG--
extra : rebase_source : 5e884550f9870bd2fda247d50bebd472e8368588
2012-06-05 11:31:13 +12:00
L. David Baron
6570cc2a66 Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc 2012-06-04 16:26:30 -07:00
Ralph Giles
cdb2dd1a25 Bug 760795 - Remove MOZ_MEDIA protection on GkAtoms - r=bz
Remove the #ifdef MOZ_MEDIA conditionalization on media-
related nsGkAtoms. Saving the small amount of space
associated with these isn't worth the trouble of maintaining
the list.
2012-06-04 15:23:22 -07:00
Doug Turner
7e382355db Backout of 2f4307a63c18 - Bug 759989. 2012-06-04 12:22:23 -07:00
Laurent Dulary
9f24da8c66 Bug 660238 (3/3) - Tests. f=mounir r=smaug 2012-05-16 12:24:48 +02:00
Laurent Dulary
3a487b0638 Bug 660238 (2/3) - Add pseudo-class to access optimal, sub-optimal and sub-sub-optimal meter elements. f=mounir r=smaug 2012-05-16 13:23:31 +02:00
Laurent Dulary
bbc085ab81 Bug 660238 (1/3) - Add const getters to nsHTMLMeterElement. f=mounir r=smaug 2012-05-16 13:21:53 +02:00
David Keeler
78f210e744 Bug 749455 - Use mContentType for click-to-play plugins in nsObjectLoadingContent::OnStartRequest. r=josh 2012-04-27 17:01:07 -07:00
Anant Narayanan
8fbc325351 Bug 738528: Android still image support for getUserMedia r=sicking, r=jesup (plus bustage fix r=jesup) 2012-06-05 08:53:00 -04:00
Benoit Jacob
b9b6ba191f Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher 2012-06-08 13:41:45 -04:00
Benoit Jacob
6458b79a5a Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert 2012-06-08 13:41:43 -04:00
Benoit Jacob
4e9b9a219c Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert 2012-06-08 13:41:42 -04:00
Benoit Jacob
2d526bb1d8 Bug 761326 - test_2d.path.arc.scale.1 assumes unrealistic 0.098 tolerance or luck - r=jrmuizel 2012-06-08 13:41:39 -04:00
Benoit Jacob
c0d24546d0 Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher 2012-06-08 13:41:38 -04:00
Anant Narayanan
4b1afd8829 Backout e8364adb4fd8, build bustage on Android (Bug 738528) 2012-06-08 17:17:52 -07:00
Anant Narayanan
48eea0d084 Bug 738528: Android still image support for getUserMedia; r=sicking, r=jesup 2012-06-05 08:53:00 -07:00
Matt Brubeck
c4a437e09c Back out bug 759221 and bug 761326 because of media test failures 2012-06-08 12:20:14 -07:00
Benoit Jacob
1ae3924f8a Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher 2012-06-08 13:41:45 -04:00
Benoit Jacob
61d21a3c32 Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert 2012-06-08 13:41:43 -04:00
Benoit Jacob
3c118cd898 Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert 2012-06-08 13:41:42 -04:00