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

7335 Коммитов

Автор SHA1 Сообщение Дата
Jared Wein 077afef047 Bug 756419 - White standalone image background flashes into view when switching tabs. r=roc,bholley 2012-08-08 12:42:37 -07:00
Matt Brubeck 3cfaa1db23 Back out bug 562169 because of Dromaeo DOM regressions
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Ed Morley 2c3082317d Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141 2012-08-08 13:11:34 +01:00
Simon Montagu e4b3469775 Add support for :dir(ltr/rtl) CSS selector, content part, Bug 562169, r=bz 2012-04-17 07:03:10 +03:00
Simon Montagu aed3f621eb Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz 2012-08-07 21:44:24 -07:00
Paul Adenot 8184d80a9a Bug 567077 - Fix an assertion failure when the decoder was cloned. r=cpearce 2012-08-07 18:00:28 -07:00
Paul Adenot 7d605f68fd Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce 2012-08-07 15:56:01 -07:00
Paul Adenot a769fb1ee2 Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce 2012-08-07 15:54:30 -07:00
Paul Adenot c09844be30 Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
--HG--
extra : rebase_source : 4e8a2a4544895c9234ccd3992e1cafe82b8cf365
2012-08-07 16:01:02 -07:00
Paul Adenot 8e8a009e3b Bug 778902 - When a video finished playing, "pause" should be fired, and |paused| should be true. r=cpearce
--HG--
extra : rebase_source : 2866707bd6b61d0225952ff49b858011d79e04ed
2012-08-06 10:27:55 -07:00
Ed Morley 5162e724a0 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
John Schoenick b65356608c Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-08-06 13:48:25 -07:00
Bobby Holley 2adf92413a Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
William Chen 710c56850a Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : e014ba90baa75ba3146f4e3fb5c447b87a8e83c0
2012-08-06 22:15:49 +02:00
Camilo Viecco 76b7667732 Bug 726053 This patch removes all forms of 'obj instanceof Components.interfaces' for the new specialpowersAPI call. r=bholley
--HG--
extra : rebase_source : 8a246ed35698c4da3f8a4a5202dcce949121d722
2012-08-06 22:13:46 +02:00
Aryeh Gregor 2fbc523d8e Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Luqman A 3c2dc774b6 Bug 775049 - DeCOMtaminate nsIRadioGroupContainer; f=Ms2ger r=mounir 2012-08-03 12:38:52 +02:00
Paul Adenot 5e8995f3da Bug 774357 - Fix a crash in nsHTMLMediaElement::EndMediaStreamPlayback r=roc 2012-07-18 18:27:43 -04:00
David Zbarsky 03039446fa [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Ms2ger c75eefb90d Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley f4181983a1 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger 27245512cd Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Cameron McCormack 5e22f14219 Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc 2012-08-02 21:38:50 +10:00
Matthew Gregan 2944580dce Bug 779416 - Shrink some unnecessarily large char arrays used for codec types. r=cpearce 2012-08-01 18:15:27 +12:00
Matthew Gregan 5160a4d6a5 Bug 768333 - Follow up: remove redundant call to GetPositionInFrames. r=cpearce 2012-07-31 21:11:52 +12:00
Andrew McCreight 12f4e9ecc5 Bug 776213 - don't forget about sortedControls. r=smaug 2012-07-31 07:00:13 -07:00
Aryeh Gregor 95bd12c12c Bug 778681 part 1 - Make some nsHTMLSelectElement methods infallible; r=bz 2012-07-30 16:48:02 +03:00
Matthew Gregan a515ca6a14 Bug 768333 - nsBufferedAudioStream::GetPositionInFrames miscompiled with Win32 PGO. r=cpearce 2012-07-16 17:21:04 -04:00
David Zbarsky c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Ralph Giles edf533c3f1 Bug 763010 - Expose media element metadata. r=cpearce
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.

Currently this is only implemented for Ogg Vorbis streams.

Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.

The hash pointer is passed up to the media element as part of the MetadataLoaded event.

The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Aryeh Gregor c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor 587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Henri Sivonen d5ae090db7 Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky. 2012-07-27 16:35:09 +03:00
Ms2ger 3941714312 Back out bug 771666 and bug 745030. 2012-07-25 22:39:01 +02:00
John Schoenick cc7cc66729 Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-07-25 09:51:02 -07:00
Joshua Cranmer 497e7cd9bb Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Aryeh Gregor 65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mounir Lamouri e744d91b29 Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking 2012-07-15 18:37:31 -07:00
Rafael Ávila de Espíndola 145fda4306 Bug 774038 - remove unused field. r=roc. 2012-07-15 00:18:01 -04:00
Nicolas Silva 966f3cd0b1 Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones 2012-07-13 15:38:09 -04:00
Matthew Noorenberghe 6ad5ac7bec Bug 639362 - Display text/cache-manifest data as text. r=bz
--HG--
extra : rebase_source : e8e30229a029b68b199efe7f0fba71dc142de980
2012-07-13 23:13:20 -07:00
Boris Zbarsky aea56e73f2 Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug 2012-07-13 19:29:14 -04:00
L. David Baron 129bc726ce Back out changeset d49beb57db23 (bug 558516) for causing all Mac builds to crash in nsXULElement::GetAttrValue and for causing a single mochitest-1 failure. 2012-07-13 18:01:25 -07:00
Boris Zbarsky b09a7f11f3 Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug 2012-07-13 19:29:14 -04:00
Justin Lebar b789524ca1 Bug 762802 - Each <iframe mozapp> should get its own process. Part 2: Content/DOM changes. r=mounir
--HG--
extra : rebase_source : 06a6945689c5b112722f461f3cb1d438a94d4030
2012-07-13 17:10:20 -04:00
Aryeh Gregor dde10d9130 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Michal Novotny cc4b4f2b31 Bug 737615 - Remove use of synchronous cache API from unit tests - content tests, r=bsmith 2012-07-11 11:18:26 +02:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mark Capella 9e697010b7 Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger 2012-07-09 08:36:05 -04:00
Alessandro Decina 4ab1c529a5 Bug 761063 - Add avc1.42001E (used by youtube) to the list of supported h264 codecs r=doublec 2012-07-06 14:11:29 -07:00
Mounir Lamouri 4362d8889f Bug 771385 - Use more heavily NS_floorModolu() instead of fmod() in nsHTMLInputElement. r=smaug 2012-07-06 14:41:23 +02:00
Mounir Lamouri b8fd17dc6a Bug 771182 - Don't use standard C++ way to detect/set NaN but use MFBT instead. r=smaug 2012-07-06 14:41:00 +02:00
Mounir Lamouri 0d092356a6 Bug 636634 - Add GetMinAsDouble() and GetMaxAsDouble() to nsHTMLInputElement and refactorize. r=smaug 2012-07-06 14:40:18 +02:00
Raphael Catolino 5d72313131 Bug 765772 - Always sanitize the value when blurring, submitting and getting the value, for <input type='number'>. r=mounir 2012-07-05 18:15:46 +02:00
Aryeh Gregor 538ef8bff3 Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan 2012-06-19 16:23:36 +03:00
Ehsan Akhgari 4951d76b67 Merge mozilla-central into mozilla-inbound 2012-07-05 11:13:45 -04:00
Mounir Lamouri c704b5bab0 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 4837dc9c41 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 3fce1ed8f0 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 2e4b9d817e 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 d09719cb78 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 d289e5146a 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
Mounir Lamouri c3bb27524d 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 0ac84a9cf1 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 5362c65903 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 42f9886c6f 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 d7b22376e5 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 ab5c9037ba 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 cc34abdfb9 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 870e9d2721 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
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ed Morley eff0157441 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger 2b6c403037 Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Peter Van der Beken ad2c6d7b5a Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz. 2012-05-21 23:30:07 +02:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Brian Hackett c30644f997 Treat canvas invalidations as animation activity for JS heuristics, bug 753630. r=dmandelin 2012-06-29 14:35:06 -07:00
Trevor Saunders b3d3815263 bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
Matt Brubeck aa0f6555db Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests 2012-06-27 16:24:53 -07:00
Peter Van der Beken 60fb9fe77c Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
--HG--
extra : rebase_source : 04c68533b85dca434e3ab086d8ff5081a323785c
2012-05-21 23:30:07 +02:00
Jonathan Watt 970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Aryeh Gregor 4b464cdfe8 Bug 760052 - execCommand() should abort and return false for disabled commands; r=ehsan 2012-06-21 15:05:24 +03:00
Kartikaya Gupta e3e8c3d4e0 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
Chris Jones 3d15214018 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
Bobby Holley 3f91fbc21e Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz 2012-06-15 08:31:27 +02:00
Alessandro Decina de05b63bca Bug 756954 - Return maybe in canPlayType() for h264 container types. r=roc 2012-06-13 21:12:37 -04:00
Justin Lebar 8d7f4a897e Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Justin Lebar 9ff0e10da2 Bug 742944 - Part 3: Move nsHTMLIFrameElement to a header file. r=bz
--HG--
extra : rebase_source : 9138a7a4ba9d5ca13ba7c98b59d24dc283d47bee
2012-06-12 18:01:25 -04:00
David Zbarsky 807ff1b8f1 Bug 763626 r=bz 2012-06-11 22:51:27 -07:00
Ed Morley 865fc92be0 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 cee7c9d24b 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
Ryan VanderMeulen 0798422bbf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay e160cfea86 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Aryeh Gregor 7737d5d63f 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
Mounir Lamouri 638e5a1ca4 Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
Mounir Lamouri 0a04bbe8b9 Bug 762047 - Improve content/html/content/tests/forms/test_progress_element.html. r=Ms2ger 2012-06-07 20:46:53 +02:00