Commit Graph

24047 Commits

Author SHA1 Message Date
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
Zack Weinberg
9ab9128f73 Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted 2012-11-16 21:53:32 -05:00
Boris Zbarsky
c500ee457d Bug 812086 part 4. Warn when consumers use the moz-prefixed versions of visibility API. r=smaug 2012-11-16 17:39:59 -08:00
Boris Zbarsky
2cd0f8f7b1 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Boris Zbarsky
5f2608a0a4 Bug 812086 part 1. Add unprefixed version of page visibility API. r=smaug 2012-11-16 14:22:55 -08:00
Marco Chen
a5fdca3cb3 Bug 795237 - Web API for setting audio stream type. Part 2. r=kinetik, a=blocking-basecamp
Implementation on path of audio and video element
2012-11-16 11:25:26 +08:00
Ryan VanderMeulen
8a64b526bc Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Tanvi Vyas
7098c08749 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp (r=bz) 2012-11-16 12:40:07 -08:00
Tanvi Vyas
c6ecc20aeb Bug 803225 - Mixed Content Blocker - Check for other secure schemes, in additon to https. (r=bz) 2012-11-16 12:40:07 -08:00
Zack Weinberg
ff35201bdd Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Ehsan Akhgari
a1e96510b2 Bug 812563 - Give nsHostObjectProtocolHandler a virtual destructor; r=bzbarsky 2012-11-16 11:13:35 -08:00
Jeff Muizelaar
102fccacd8 Bug 794957. Use imgLoader instead of imgILoader. r=joe
This makes use of imgLoader instead of imgILoader in more places.

--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Josh Matthews
e0bfa38e3b Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Jim Chen
12af0d1b4a Bug 808287 - Make sure focus and blur IME notifications always match; r=masayuki 2012-11-16 11:43:04 -05:00
Ed Morley
0687c2b3aa Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Josh Matthews
cdf21f169e Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Ryan VanderMeulen
c0421e9621 Backed out changesets 5bdf8bbcd02f and df27137cb7d1 (bug 803225) for mochitest orange. 2012-11-15 22:16:03 -05:00
Ehsan Akhgari
6a81aec2f5 Bug 812390 - Protect against NaN in AudioContext.createDelay; r=bzbarsky 2012-11-15 17:48:04 -08:00
Tanvi Vyas
ff96ae12d7 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp. r=bz, r=smaug 2012-11-15 20:34:56 -05:00
Tanvi Vyas
fdb9a80e4e Bug 803225 - Mixed Content Blocker - Check for other secure schemes, in additon to https. r=bz 2012-11-15 20:34:56 -05:00
Ryan VanderMeulen
b2903dc4ee Merge m-c to inbound. 2012-11-15 20:34:51 -05:00
Ryan VanderMeulen
da33f7f1d2 Merge the last PGO-green inbound changeset to m-c. 2012-11-15 20:21:35 -05:00
Bobby Holley
4376a9b5d5 Bug 811152 - Decxify various DOM methods. r=me 2012-11-15 11:54:34 -08:00
Ed Morley
21aa12ebe9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-15 16:17:36 +00:00
Olli Pettay
27471aa9b8 Bug 656311 - Remove XML Events, r=bz 2012-11-15 14:29:58 +02:00
Olli Pettay
d39a545e92 Bug 749448 - Remove XTF, r=bz 2012-11-15 14:27:13 +02:00
Ryan VanderMeulen
bbe39d52c4 Merge the last PGO-green inbound changeset to m-c. 2012-11-14 21:43:07 -05:00