Commit Graph

10288 Commits

Author SHA1 Message Date
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
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
Doug Turner
43f94a70d5 Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug 2012-06-04 10:23:18 -07:00
Doug Turner
402c53d371 Bug 742376 - DisableDevice is being called with types that are not known device sensors - follow up. Logic got reversed. r=smaug 2012-06-04 09:19:15 -07:00
Doug Turner
6cec7a3926 Bug 759354 - Add other device sensors to nsEventListenerManager::IsDeviceType. r=olli 2012-06-04 09:17:16 -07:00
Sid Stamm
94bb501bd7 Bug 634773 - fix CSPSourceList.equals so 'none' and * are not equal. r=jst 2012-05-23 16:35:37 -07:00
Mounir Lamouri
b8c3ee50da Backing out bug 738528 pushed without a peer review and with wrong authorship. 2012-06-04 10:57:42 +02:00
Nils Maier
8aaf80e805 Bug 760265: Add identifying information to frame script compartments. r=bz.
--HG--
extra : rebase_source : 5b7d05cbe7d8ebd9e3ce4fd2d7f4dc7084edfcb0
2012-06-03 22:38:15 -07:00
Doug Turner
7878db4584 Bug 738528: Android still image for getUserMedia; r=fabrice 2012-05-31 10:28:04 -07:00
Timothy B. Terriberry
ecec43fc18 Bug 750231 - Use larger stacks on the media decoder threads with ASAN, r=kinetik 2012-06-03 12:43:09 -07:00
Phil Ringnalda
5082a2ad9e Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Jan Varga
f5f6531fb7 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Timothy B. Terriberry
d3be27c800 Bug 752661 - Make ReadMetadata() fail when there are no active Ogg streams, r=kinetik 2012-06-02 06:29:44 -07:00
Robert Longson
4bbc072620 Bug 758505, Part 3: Avoid unnecessary invalidations on repeated calls to set the same animated value (for SMIL animations of CSS, mapped attrs, and motion). r=dholbert 2012-06-01 16:53:57 -07:00
Robert Longson
c69439c089 Bug 758505, Part 2: Avoid unnecessary invalidations on repeated calls to set the same animated value (most other non-list types). r=dholbert 2012-06-01 16:53:06 -07:00
Matt Woodrow
d6122477e9 Bug 758505, Part 1: Avoid unnecessary invalidations on repeated calls to set the same animated value (nsSVGLength2 part). r=dholbert 2012-06-01 16:52:15 -07:00
Benoit Jacob
8d4e604e05 Bug 748211 - getVertexAttrib should reject the VERTEX_ATTRIB_ARRAY_POINTER pname - r=jgilbert 2012-06-01 15:32:18 -04:00
Mats Palmgren
0beb1b04bd Bug 760325 - Report all events after 'ended' as test failures, except when removing the element we ignore timeupdate/pause/stalled events. Use info() for logging, not ok(). r=roc 2012-06-01 20:52:37 +02:00
Mats Palmgren
9c5b9594db Bug 760311 - Fix DOS line endings. r=bz 2012-06-01 20:52:37 +02:00
Mats Palmgren
5aa766c2f2 Bug 760311 - Add a setTimeout to workaround <input type=file> blur issues, and actually call MockFilePicker.cleanup(). r=bz 2012-06-01 20:52:37 +02:00
Mats Palmgren
4b7f75a2b4 Bug 759801 - Remove the 'timeupdate' event listener when the test is done. r=philor 2012-06-01 20:52:37 +02:00
Mats Palmgren
65b7aa4ce6 Bug 759789 - Don't move on to the next test (or finishing) until we get all expected non-optional 'loadend' events. r=smaug 2012-06-01 20:52:37 +02:00
Mats Palmgren
33abde7902 Bug 759757 - Make sure SimpleTest.finish runs after the last test is finished. r=philor 2012-06-01 20:52:37 +02:00
Mats Palmgren
a303c453f3 Bug 759745 - Remove focus/blur event listeners after the test is done. r=philor 2012-06-01 20:52:37 +02:00
Boris Zbarsky
1ead997ef4 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Ed Morley
d522af1b80 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Ed Morley
c8248fce4b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Olli Pettay
00a95f40b2 Bug 744830 - Implement fast serializer for innerHTML/outerHTML, p=jdm+smaug, r=hsivonen 2012-06-01 12:59:16 +03:00
Boris Zbarsky
82544a6dce Bug 748692. Don't reparse inline stylesheets on random attribute changes. r=sicking 2012-06-01 00:30:42 -04:00
Chris Double
cdfcde6a3f Bug 759948 - libstagefright based media playback doesn't receive ended event when complete on B2G - r=edwin
--HG--
extra : rebase_source : a6450eb3a2fbb2ac67e329fa9ef9f0bd9e801e89
2012-06-01 12:54:52 +12:00
Andreas Gal
d3eef34feb Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Ed Morley
a0f902dbd7 Merge mozilla-central to mozilla-inbound 2012-06-01 01:12:32 +01:00
Joel Maher
7ba48baac9 Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
Mounir Lamouri
0fd51b287f Bug 760164 - Remove some useless message data passed to BrowserElement events. r=jlebar 2012-06-01 11:43:34 +02:00
Mounir Lamouri
b4f0f2ddcc Bug 759666 - Make :disabled apply on <option> when their parent <optgroup> has @disabled set. r=bz 2012-06-01 11:46:43 +02:00
Robert O'Callahan
a230eb4dde Backing out 65cd6893941e, b24941f7205b and bcec6006b1ac (bug 731868) for test failures 2012-06-01 20:27:53 +12:00
Mats Palmgren
d3384a8022 Bug 759788 - Keep the plugin instance owner alive for the duration of DoStopPlugin so that everything gets cleaned up correctly, r=bsmedberg 2012-05-31 08:44:10 -04:00
L. David Baron
f5573cbd2e Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky 2012-05-30 22:19:49 -07:00
Ralph Giles
1945df87b2 Bug 758833 - Track and trim opus preskip samples - r=doublec
We trim the initial few samples out of the opus decoder,
to give the output time to converge, and to correct for
the encoding delay. Encoders store the delay in the preskip
field of the Ogg encapsulation header.

The previous code to do this was a hack based on the granulepos
values and could fail on some inputs. Instead, keep a count
of how many samples we want to trip, and remove packet data
until that value matches the preskip value from the header.

The value is set to the preskip value from the header when
the decoder is initialized. We also need to do this after
seek. To do this we add a specialized nsOggReader::ResetDecode
method which takes a boolean argument, set to true when
we are seeking to the start of the stream. In that case,
the method resets the skip count.

There is still an issue after general seeks. The spec recommends
trimming a full 80 ms (3840 frames) to allow the decoder to fully
settle from the previous state. It's tricky to do this inside
nsOpusState because it doesn't know where it is in the stream.

Also add some debug output to track the decode behaviour.
2012-05-31 16:03:14 +12:00
Abhishek Bhatnagar
9d5a0d7a05 Bug 500784 - Video/Audio files over 2^31 bytes now return proper durations; r=cpearce
--HG--
extra : rebase_source : 219872db85890a3358456dde226a29595e738f1b
2012-05-31 14:33:15 +12:00