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

24074 Коммитов

Автор SHA1 Сообщение Дата
Michal Novotny d948158643 Bug 725993 - Remove usage of STORE_ON_DISK flag in XHR code, r=jonas 2012-11-27 12:48:15 +01:00
Daniel Holbert bb1f3c64fd Bug 815058: Move callers of mozilla-internal-API-only "SetDOMStringToNull()" from nsINode.h to .cpp, to fix "inline function used but never defined" build warnings. r=Ms2ger 2012-11-27 00:41:02 -08:00
Daniel Holbert 57e9d5cef0 Bug 815450: Add "u" suffix to numeric literals in TestAudioEventTimeline.cpp, to fix sign-compare build warnings. r=ehsan 2012-11-26 20:34:16 -08:00
Daniel Holbert 2eecde6b4e Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage 2012-11-26 20:34:10 -08:00
Ehsan Akhgari c2934219f5 Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky 2012-11-23 18:33:41 -05:00
Edwin Flores ad69bc93e8 Bug 812756 - Remove seeking hack from OMX decoder r=cpearce 2012-11-27 17:08:40 +13:00
Matt Woodrow 3f615fa660 Bug 810592 - Make nsSubDocumentFrames that are actively scrolling build their own layer. r=roc 2012-11-22 18:33:33 +13:00
Ehsan Akhgari f4bd2d33b7 Bug 815226 - Make the MediaPluginReader not depend on the concrete type of the AbstractMediaDecoder passed to it; r=cpearce 2012-11-26 16:12:24 -05:00
Andrew McCreight ead425b3e0 Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug 2012-11-23 11:27:06 -08:00
Andrew McCreight ed24acb94f Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug 2012-11-23 11:13:39 -08:00
Tim Taubert 340359b404 Bug 813277 - Unable to long-tap hold on the home-screen to invoke the wallpaper menu r=smaug 2012-11-26 19:13:53 +01:00
Mounir Lamouri 57cf75c47a Bug 813936 - Update nsHTMLInputElement::GetStepBase() to return the default value if there is no min. r=smaug 2012-11-26 11:35:26 +00:00
Fabrice Desré 5ab939777a Bug 814927 - gstreamer builds broken by Bug 814284 [r=ehsan] 2012-11-25 14:39:11 -08:00
Ehsan Akhgari ece376f0ad Bug 814757 - Export all decoder reader headers; r=cpearce 2012-11-23 14:52:39 -05:00
Thinker K.F. Li c0bc8ca514 Bug 805711 - check EOS against audio source for OmxDecoder. r=doublec 2012-11-24 20:25:02 +13:00
Ehsan Akhgari fe06262526 Bug 814756 - Disambiguate PacketQueue; r=cpearce 2012-11-23 14:47:45 -05:00
Ehsan Akhgari aa6d843a27 Merge mozilla-central into mozilla-inbound 2012-11-23 15:03:21 -05:00
Jeff Muizelaar 170ff8fe08 Bug 813851 - Clear path when creating a path builder. r=bas,ncameron 2012-11-23 14:02:36 -05:00
Olli Pettay ba7953c4f6 Bug 813919, fix an assertion in DOM Range, r=mats 2012-11-23 17:37:31 +02:00
Marco Chen 0188ec492a Bug 813426 - Fail to assign mozAudioChannelType twice. r=kinetik, a=blocking-basecamp
Return NS_OK when mozAudioChannelType is assiged to the same type even
  if mDecoder is already set up.
2012-11-22 18:03:15 +08:00
Ehsan Akhgari 39fccdab85 Bug 814284 - Part 4: Simplify DecoderTraits::ShouldHandleMediaType; r=cpearce 2012-11-22 15:15:47 -05:00
Ehsan Akhgari 7ae7284105 Bug 814284 - Part 3: Use CodecListContains anywhere we can; r=cpearce 2012-11-22 14:08:57 -05:00
Ehsan Akhgari 77effde0b0 Bug 814284 - Part 2: Move the logic of dealing with requested codecs down into DecoderTraits::CanHandleMediaType; r=cpearce 2012-11-22 13:49:37 -05:00
Ehsan Akhgari 980fea9d8f Bug 814284 - Part 1: Refactor the code necessary for detection of codec support out of nsHTMLMediaElement; r=cpearce 2012-11-21 22:10:41 -05:00
Benoit Jacob 478e9dc583 Bug 813528 - WebGLElementArrayCache about:memory should not pass array.Elements() to MallocSizeOf - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob d9fa996926 Bug 810943 - add ability to skip webgl pages on Android by listing them in a text file, skipped_tests_android.txt - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob 37a26121ee Bug 814407 - check for null buffer data in readpixels (should never happen, but apparently does) - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob 3d8cbb81ad Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8 2012-11-22 12:15:38 -05:00
Paul Adenot ea454d07b2 Bug 495040 - Implement playbackRate and related bits (Fix other tests) r=kinetik 2012-11-22 11:38:29 +01:00
Paul Adenot e124866b12 Bug 495040 - Implement playbackRate and related bits (Tests) r=kinetik 2012-11-22 11:38:28 +01:00
Paul Adenot d37e140816 Bug 495040 - Implement playbackRate and related bits r=kinetik 2012-11-22 11:38:28 +01:00
Boris Zbarsky 17b5f62161 Bug 814093. Require preflight requests to receive a 200 response. r=sicking 2012-11-22 01:25:01 -05:00
Boris Zbarsky 1d16fa18f5 Bug 814064. We should not fire a readystatechange for our transition to the SENT state. r=sicking 2012-11-22 01:25:01 -05:00
L. David Baron 14c4ae4288 Bug 814302: Don't print to console when an invalid selector is passed to mozMatchesSelector. r=bzbarsky 2012-11-21 21:51:39 -08:00
Matthew Gregan cf76cd1e8e Bug 814292 - Remove mAudioPlaybackThread and AudioStream refcounting. r=cpearce 2012-11-22 16:38:39 +13:00
Thinker K.F. Li 33076029f1 Bug 810734 - Check EOF to avoid infinite looping when parsing MP4. r=doublec 2012-11-21 22:45:42 -05:00
Boris Zbarsky 99668e7fe2 Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Boris Zbarsky 07cd537a7d Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Ehsan Akhgari 772eb2c0c3 Bug 813637 - Let the compiler convert between the types, so that we don't end up with incorrect pointer math; r=cpearce 2012-11-21 18:30:10 -05:00
Chris Lord 3bdec04a47 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Nicholas Cameron 5eadd39ce2 Bug 812453; fix CopyInnerTo; r=bz 2012-11-22 10:55:37 +13:00
Nicholas Cameron b5abc3ce0b Bug 814149. Fix GetCanvas. r=bz 2012-11-22 10:55:36 +13:00
Bobby Holley 660ca5d5cf Bug 808608 - Remove unnecessary outparam. r=mrbkap 2012-11-21 13:20:05 -08:00
Ehsan Akhgari f90938a237 Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord a231be5912 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ryan VanderMeulen 8dd0402085 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky bb0f6d22e6 Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Boris Zbarsky dc0e11d6e8 Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Simon Montagu 07e8a16de0 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv. 2012-11-21 02:13:57 -08:00
Simon Montagu 85a51db309 Changes to existing tests caused by bug 548206 2012-11-21 02:13:55 -08:00
Alexander Surkov ca83b883b2 Bug 813008 - get rid nsEventStateManager::IsHandlingUserInputExternal, r=tbsaunde, smaug 2012-11-21 14:25:20 +09:00
Matthew Gregan 7d59e44ea7 Bug 813399 - Remove workarounds for sync main thread deadlocks caused by audio remoting. r=cpearce 2012-11-20 15:22:42 +13:00
Mike Habicher 6cfb1a6c03 Bug 813190 - Stop media streams from hanging onto the last played media frame indefinitely. r=roc 2012-11-20 20:32:06 -05:00
Seth Fowler cd421a0e5e Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Tanvi Vyas 392c076606 Bug 802905 - Create custom Content Type for CSP Reports. r=sstamm, sr=bz 2012-11-20 20:28:34 -05:00
John Schoenick 4f7272cf9f Bug 788252 - Cleanup frame loader when aborting a recursive load in object/embed tags. r=josh 2012-11-20 17:08:12 -08:00
Erick Dransch 2b007959af Bug 801499 - Move WebGLBuffer to a separate file. r=bjacob 2012-11-20 16:38:20 -05:00
L. David Baron 2d99cbf924 Bug 813373, patch 4: fix printfs that crept in in patch 3. 2012-11-20 13:22:35 -08:00
Mats Palmgren 3c6ed39490 Bug 804784 - Crash with range, normalize. r=smaug 2012-11-20 21:14:15 +01:00
Mats Palmgren e446981985 Bug 803924 - Crash with range, splitText. r=smaug 2012-11-20 21:14:15 +01:00
L. David Baron 43366dc10f Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky 2012-11-20 11:55:14 -08:00
L. David Baron 73f5df73c7 Bug 813373, patch 2: Remove pres context member from ValueWrapper. r=dholbert 2012-11-20 11:55:14 -08:00
L. David Baron f04e40072d Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert 2012-11-20 11:55:14 -08:00
Ralph Giles 89a7b7987c [PATCH] Bug 812847 - Test Opus channel count validation - r=kinetik
From 49f5e33d79df3713bc510e611a5064858bf24e4a Mon Sep 17 00:00:00 2001
These files have specially crafted headers which should be
rejected by the new checks added to resolve this bug. If any
audio output is produced then this bug has re-occured.

The audio data is the phrase "invalid file", in one or six
channels, to make this more obvious.

The new mochitest test_invalid_reject.html tries to load
and play each of the new invalid files and verifies that
an error event is triggered. Since the invalid data is in
the file headers, this should happen after network load
but before metadata is ready, so the test also asserts
errors if loadedmetadata or a number of subsequent events
are triggered.

The test will time out if no error event is fired at all.

Thanks to Matthew Gregan for assistance writing the mochitest.
---
 content/media/test/Makefile.in              |  11 ++++++
 content/media/test/invalid-cmap-s0c0.opus   | Bin 0 -> 6835 bytes
 content/media/test/invalid-cmap-s0c2.opus   | Bin 0 -> 6834 bytes
 content/media/test/invalid-cmap-s1c2.opus   | Bin 0 -> 6848 bytes
 content/media/test/invalid-cmap-short.opus  | Bin 0 -> 6854 bytes
 content/media/test/invalid-m0c0.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m0c3.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m1c0.opus        | Bin 0 -> 6836 bytes
 content/media/test/invalid-m1c9.opus        | Bin 0 -> 6836 bytes
 content/media/test/invalid-m2c0.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m2c1.opus        | Bin 0 -> 2455 bytes
 content/media/test/manifest.js              |  14 ++++++++
 content/media/test/test_invalid_reject.html |  52 ++++++++++++++++++++++++++++
 13 files changed, 77 insertions(+)
 create mode 100644 content/media/test/invalid-cmap-s0c0.opus
 create mode 100644 content/media/test/invalid-cmap-s0c2.opus
 create mode 100644 content/media/test/invalid-cmap-s1c2.opus
 create mode 100644 content/media/test/invalid-cmap-short.opus
 create mode 100644 content/media/test/invalid-m0c0.opus
 create mode 100644 content/media/test/invalid-m0c3.opus
 create mode 100644 content/media/test/invalid-m1c0.opus
 create mode 100644 content/media/test/invalid-m1c9.opus
 create mode 100644 content/media/test/invalid-m2c0.opus
 create mode 100644 content/media/test/invalid-m2c1.opus
 create mode 100644 content/media/test/test_invalid_reject.html
2012-11-19 15:13:43 -08:00
Phil Ringnalda 54e6244801 Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange 2012-11-20 08:44:04 -08:00
Boris Zbarsky 5b51825485 Bug 812789. Remove some dead code for converting jsvals to Matrix objects. r=nrc 2012-11-20 11:36:06 -05:00
Simon Montagu ef21364c12 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv 2012-11-20 06:21:15 -08:00
Simon Montagu 1b752132f2 Changes to existing tests caused by bug 548206 2012-11-20 06:21:13 -08:00
Masayuki Nakano 4144d695ae Bug 812427 part.3 Remove NS_POPUP_EVENT r=roc+smaug 2012-11-20 15:05:56 +09:00
Masayuki Nakano 8aa5135506 Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug 2012-11-20 15:05:56 +09:00
Andrew McCreight 6998222f29 Bug 815454 - Clean up Traverse/Unlink of web audio. r=smaug 2012-11-27 15:08:22 -08:00
Andrew McCreight 34a5c40864 Bug 814752 - Make NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER work for native CC classes. r=smaug,ehsan 2012-11-27 15:08:22 -08:00
Ehsan Akhgari d6d6c3d26a Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Chris Jones c6b42920b1 Bug 811315: Use process-per-mozbrowser by default and make scrolling behavior selectable by content. r=jlebar sr=roc
This is a rollup of the following patches

Bug 811315, part 0.9: Fix pre-existing race condition that allows dying ContentParents to accidentally try to load new TabParents. r=jlebar

Bug 811315, part 0.91: Fix another pre-existing race condition where FirstIdle might run after ContentChild::ActorDestroy(). r=jlebar

Bug 811315, part 1: Make "browser" process limit infinite and unload the processes when all tabs are closed.  Firefox with process-per-tab!  r=jlebar

Bug 811315, part 2: Pass scrolling-behavior hint down into TabParent instead of inferring it from app/browser. r=jlebar

Bug 811315, part 3: Add a mozasyncpanzoom attribute for iframes and honor it when constructing a remote frame. r=jlebar sr=roc
2012-11-27 12:43:52 -08:00
Peter Van der Beken fd08050eaa Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
--HG--
extra : rebase_source : 0cd9bf993ed3981c1f2e37975ca8daf0b8e8ece7
2012-11-19 11:59:13 +01:00
Peter Van der Beken c15e9ce14c Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Peter Van der Beken f805d53dbb Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 2: make WrapNewBindingObject a little faster. r=bz.
--HG--
extra : rebase_source : 81a3891d0f51d98f4230583f816a82906d0ee904
2012-11-27 10:20:04 +01:00
Boris Zbarsky e48fc2d4b3 Bug 767933 part 5. Remove no longer needed FloatValidate calls from canvas code. r=bas 2012-11-27 15:32:05 -05:00
Boris Zbarsky 127a0152d5 Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas 2012-11-27 15:32:05 -05:00
Boris Zbarsky 0ec259a019 Bug 814050. XMLHttpRequest.withCredentials header should throw on main thread too, in some cases. r=peterv 2012-11-27 15:20:40 -05:00
Boris Zbarsky 6c53c87fec Bug 814576. Make XMLHttpRequest really set its progress events as trusted. r=smaug 2012-11-27 15:20:40 -05:00
Matthew Gregan 57a17a2534 Bug 812937 - Remove unused audio remoting code. r=cjones 2012-11-19 13:54:29 +13:00
Justin Lebar 75abf86728 Bug 811466 - Add include guards around some headers which were missing them. r=khuey 2012-11-19 20:05:34 -05:00
Ehsan Akhgari 09c0f1a536 Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.

--HG--
extra : rebase_source : e4b5016e9b947948799f1b8975b23a3dd685a366
2012-11-16 20:31:53 -08:00
Ehsan Akhgari 095dc9e962 Backed out changeset f76720054116 (bug 813209) because of leaks 2012-11-19 18:15:18 -05:00
David Keeler 3fb3263ebe bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
Ehsan Akhgari c30570793b Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.
2012-11-16 20:31:53 -08:00
Ehsan Akhgari 06bad6e030 Bug 813210 - Make the threading related assertions in the media decoder fatal; r=cpearce 2012-11-16 17:37:46 -08:00
Ehsan Akhgari 50dab9a21f Bug 813269 - Use double to represent time in Web Audio; r=bzbarsky 2012-11-19 15:52:29 -05:00
John Schoenick 2b76da943f Bug 800018 - Part 4 - Fix plugin fallback tests for new events. r=josh 2012-11-19 11:38:04 -08:00
John Schoenick d433e2d472 Bug 800018 - Part 1 - Remove binding events from nsObjectLoadingContent. r=josh 2012-11-19 11:38:03 -08:00
John Schoenick afe0548a59 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-11-19 11:38:03 -08:00
John Schoenick f6e278cc71 Bug 810494 - Don't show plugin errors for types we recognize but are not loading for another reason. r=josh 2012-11-19 11:38:03 -08:00
Kyle Huey bf68ec72d2 No bug: s/class/struct/ to shut up MSVC. r=me DONTBUILD 2012-11-19 09:22:27 -08:00
Jeff Gilbert 65163d097a Bug 812121 - Allow drawArrays/Elements without vertex attrib arrays - r=bjacob 2012-11-19 07:49:51 -08:00
Ehsan Akhgari 2389e2ea97 Bug 812032 - Refactor the media reader classes to not access MediaDecoder directly; r=cpearce 2012-11-19 10:11:21 -05:00
Timothy B. Terriberry dd2c82b35d Bug 812847 - Validate Opus channel count, r=kinetik 2012-11-18 05:54:52 -08:00
Ehsan Akhgari f28f78acc8 Bug 812572 follow-up - Remove the extra semi-colon 2012-11-17 11:17:56 -05:00
Ehsan Akhgari b6498296a3 Bug 812572 - Make MediaDecoderReader a non-runnable; r=cpearce 2012-11-16 11:30:34 -08:00
Alexander Surkov 7f808dbc53 Bug 525909 - support ARIA role=rowgroup, r=tbsaunde 2012-11-17 16:59:55 +09:00