Commit Graph

22566 Commits

Author SHA1 Message Date
Ms2ger
1b210ead2b Bug 672814 - Part c: Remove the typeID variable in nsScriptLoader::ProcessScriptElement; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
a5868b4e65 Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
2304ff656b Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz 2012-08-04 09:43:59 +02:00
Mike Hommey
7096160830 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Ed Morley
a86a12d456 Bug 760770 - Mark test_timeupdate_small_files.html's "got unexpected stalled after ended" as todo for seek.webm, for frequent intermittent failures; r=cpearce 2012-08-03 11:28:12 +01:00
Ed Morley
0bd6c4dc3e Bug 620598, Bug 661076 & Bug 687972 - Disable frequently intermittent media tests on Linux; r=cpearce 2012-08-03 11:28:12 +01:00
Ben Turner
05386e72be Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
--HG--
extra : transplant_source : %90%87%047%07BA%97%E0%F1n%1DY%08D%7C%E39%20%0F
2012-08-02 23:25:30 -07:00
Ben Turner
526f8bed87 Backed out changeset 46653198caac 2012-08-02 21:53:03 -07:00
Ben Turner
5515882b39 Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv. 2012-08-02 13:42:30 -07:00
Robert O'Callahan
cc1037deb4 Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce 2012-08-03 15:22:24 +12:00
Ed Morley
99e28f982d Backout 14245bf85a3d (bug 778420), b9f603d3eef4 (bug 778420), e9bc27234022 (bug 72964), d5aa53121d29 (bug 778420), 959cc7ef5f5a (bug 726053) for m1 failures in test_offline_gzip.html 2012-08-03 23:29:10 +01:00
Ben Turner
841001822a Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : %C5m%04S%92%9F%E6%A7%02%0D%7E%CCz%8B%BBW%AA%C5%81%06
2012-08-03 13:37:58 -07:00
Ed Morley
aacca1621e Backout 21d92e8dd85a (bug 780048) for bustage 2012-08-03 21:26:23 +01:00
Bobby Holley
53a8783e02 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher 2012-08-03 22:19:54 +02:00
William Chen
0c29410b5e Bug 778420 - Initial stab at the tests. r=bholley 2012-08-03 22:19:54 +02:00
Gijs Kruitbosch
e9c5e6fdd0 Bug 778420 - Fix test_bug372964. r=bholley 2012-08-03 22:19:54 +02:00
Ben Turner
922819ef2e Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : K%881/0%0DV%D9m%D3%D6%F3O%15%1CX%9E%22%18%DE
2012-08-03 13:10:15 -07:00
Andrew McCreight
0fa400c83e Bug 777806. r=bent 2012-08-03 09:29:53 -07:00
Benoit Jacob
12c020bbe8 Bug 617453 - lose the least-recently-used WebGL context when a certain limit is exceeded - r=vladv
The current limits are:

#ifdef MOZ_GFX_OPTIMIZE_MOBILE
    // some mobile devices can't have more than 8 GL contexts overall
    const size_t kMaxWebGLContextsPerPrincipal = 2;
    const size_t kMaxWebGLContexts             = 4;
#else
    const size_t kMaxWebGLContextsPerPrincipal = 8;
    const size_t kMaxWebGLContexts             = 16;
#endif
2012-08-02 17:28:02 -04:00
Benoit Jacob
fd35324100 Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert 2012-08-02 17:28:02 -04:00
Wes Johnston
3dc27a7f5b Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Ed Morley
6c3e827d24 Merge mozilla-central to mozilla-inbound 2012-08-02 14:20:05 +01:00
Ed Morley
24117e18a9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-02 14:19:18 +01: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
Olli Pettay
111784e570 Bug 772966 - force XBL parameter names to be non-zero, r=sicking 2012-08-02 09:12:34 +03:00
Ben Turner
4893263a15 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07: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
b9a449e923 Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce 2012-08-01 17:58:09 +12:00
Ryan VanderMeulen
368add0e77 Bustage fix for bug 779535 follow-up. 2012-08-01 18:40:24 -04:00
Oleg Romashin
328ae4d1e4 Bug 779535 - readability followup. r=jgilbert 2012-08-01 15:13:49 -07:00
Oleg Romashin
cf0edff8a1 Bug 779535 - defaultNoAlpha preference is not used in case if nsIPropertyBag argument is 0. r=vlad 2012-08-01 11:58:44 -07:00
Nicholas Cameron
afcbca306a Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
Nicholas Cameron
f642f5c9cd Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz 2012-07-26 14:31:26 +12:00
Ed Morley
7f8df4e1b8 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay
99f05d8922 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
420a8918fe Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Eric Faust
62ec8929cd Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:45:20 -07:00
Eric Faust
28008c2879 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
7ff37c6b6d Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:06:35 -07:00
Chris Pearce
3747bd5737 Bug 778105 - Fix an nsOggReader::GetBuffered() return value type mismatch. r=doublec 2012-08-01 13:24:25 +12:00
Matthew Gregan
5160a4d6a5 Bug 768333 - Follow up: remove redundant call to GetPositionInFrames. r=cpearce 2012-07-31 21:11:52 +12:00
Aryeh Gregor
28b3192109 Bug 563659 part 6 - Remove #if 0'd code; r=bz 2012-07-31 18:36:21 +03:00
Aryeh Gregor
26934b00ea Bug 563659 part 5 - Move things from FragmentOrElement to nsGenericElement; r=bz 2012-07-24 11:10:25 +03:00
Aryeh Gregor
2957b1c25e Bug 563659 part 4 - Make nsDocumentFragment stop inheriting from nsGenericElement; r=bz 2012-07-02 16:31:49 +03:00
David Zbarsky
88efdd2ce1 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-31 10:28:22 -07:00
David Zbarsky
bf4f8d3c97 Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-31 10:28:21 -07:00
Boris Zbarsky
88f3d72148 Bug 778128. Make putImageData and createImageData on non-Azure canvas work with Xrays. r=peterv 2012-07-31 11:35:25 -04:00
Andrew McCreight
12f4e9ecc5 Bug 776213 - don't forget about sortedControls. r=smaug 2012-07-31 07:00:13 -07:00
Aryeh Gregor
4ac21a407b Bug 778681 part 5 - Convert nsXULTemplateQueryProcessorRDF::mBindingDependencies from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
123e88c916 Bug 778681 part 3 - Convert nsXULTemplateQueryProcessorRDF::mQueries from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
b6b1141edf Bug 778681 part 2 - Convert nsXULDocument::mUnloadedOverlays from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
95bd12c12c Bug 778681 part 1 - Make some nsHTMLSelectElement methods infallible; r=bz 2012-07-30 16:48:02 +03:00
Nicholas Cameron
8c8cf1fed3 Merge backout, a=bustage fix 2012-07-31 18:17:53 +12:00
Nicholas Cameron
5dd825ba63 Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
883ca8cb74 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Matthew Gregan
7c54dee4c4 Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec 2012-07-16 17:15:24 -04:00
Matthew Gregan
a515ca6a14 Bug 768333 - nsBufferedAudioStream::GetPositionInFrames miscompiled with Win32 PGO. r=cpearce 2012-07-16 17:21:04 -04:00
Aryeh Gregor
ec805a875a Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz 2012-06-27 16:01:55 +03:00
Aryeh Gregor
23180b27f1 Bug 563659 part 2 - Create FragmentOrElement and move all nsGenericElement functionality to it; r=bz
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
2012-06-27 16:01:55 +03:00
Neil Deakin
5ae1b87a02 Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil 2012-07-30 20:43:28 -04:00
Chris Pearce
cd61327986 Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12: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
cc925b4965 Bug 763010 - Add a mochitest for mozGetMetadata(). r=cpearce
Add a few Ogg files which have non-trivial tag metadata in their Vorbis streams, and verify they are returned correctly by the media.mozGetMetadata() extention.

Add a file with no comments to test {} output as well.

Verify that mozGetMetadata() throws an InvalidStateError if called immediately, before the loadedmetadata event fires.
2012-07-30 20:14:29 -04: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
Ryan VanderMeulen
b8013885dc Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Mark Finkle
ecceaf8977 Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jonathan Watt
b82eee1846 Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Ted Shroyer
3d7f99baf9 Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Aryeh Gregor
b044181b5e Bug 778104 - NS_IMPL_STRING_ATTR incorrectly uses bool as nsresult; r=bz 2012-07-30 16:48:02 +03: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
Landry Breuil
a195799c2e Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec 2012-07-30 17:57:15 +02:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Masatoshi Kimura
412f59d922 Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Brian Hackett
aa69831ee5 Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Aryeh Gregor
ec8b263a28 Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Robert Longson
386204e06e Tests for Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:50 +01:00
Tim Taubert
007684ca97 Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:46 +01:00
David Zbarsky
def7ad497f Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-27 13:23:45 -07:00
David Zbarsky
93b20c52d3 Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-27 13:23:44 -07: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
Robert Longson
938bb2b0cf Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
Makoto Kato
17d5fc9a84 Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Bugmenot
79907c742a Bug 777166 - Use CFLAGS from pkgconfig for system libvpx, r=derf
From c445b9ab36a0c79aa1be2dfbd91438e994bccb4e Mon Sep 17 00:00:00 2001
---
 config/autoconf.mk.in          | 2 +-
 configure.in                   | 8 +++++---
 content/media/webm/Makefile.in | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)
2012-07-25 19:54:23 +00:00
Benoit Jacob
42023fff9f Bug 777943 - Let WebGL getRenderbufferParameter return the WebGL format rather than re-querying the GL and tweaking - r=jgilbert 2012-07-26 19:58:53 -04:00
Benoit Jacob
467321359c Bug 777883 - Avoid calling glLinkProgram when we know that a bad shader is attached - r=jgilbert 2012-07-26 19:58:52 -04:00
Aryeh Gregor
27da1ba521 Bug 563659 part 1 - Override GetNameSpaceElement in nsDocumentFragment; r=bz 2012-06-15 15:16:20 +03:00
William Chen
64477c69e0 Bug 746855 - Be more careful when checking for a carry during number format evaluation. r=sicking 2012-06-11 13:31:35 -04:00
Nicholas Cameron
952f2e4661 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
3e5d68ecf6 Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas 2012-07-25 12:46:24 +12:00
Nicholas Cameron
0719cba22b Bug 764125; sort out preferred and fallback Azure backends for all platforms (canvas and prefs). r=Bas 2012-07-24 22:18:40 +12:00
Nicholas Cameron
dbc18f6058 Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc 2012-04-26 10:04:36 +12:00
Nicholas Cameron
c4d43283b2 Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron
bd78445cca Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Nicholas Cameron
7bd4512a9b Bug 764125; changes to tests; r=jrmuizel 2012-07-24 22:18:39 +12:00
Nicholas Cameron
702da9ed9b Bug 764125; changes to nsCanvasRenderingContext2DAzure. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
9bcaf104d6 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Nicholas Cameron
3abd6b6d32 Bug 746883; misc bits and pieces for getting Skia/Azure canvases going. r=gw280 2012-04-10 13:18:53 +12:00
Mark Capella
30621de994 Bug 730925 - XHR.getAllResponseHeaders should use CRLF, not LF per spec, r=jst, r=jonas, f=ms2ger 2012-07-26 11:55:23 -04:00