Commit Graph

11885 Commits

Author SHA1 Message Date
Bill McCloskey
2e75082f62 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
Ehsan Akhgari
312412d741 Bug 793294 follow-up: Hold on to JS objects early in AudioBuffer::InitializeBuffers 2012-09-26 11:52:01 -04:00
Alexandre Dumont
d7aab8168c Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Ed Morley
36027dea2c Backout be95f234ff6e (bug 776832) for various mochitest-1 failures 2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
0154a7b0b8 Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug 2012-09-26 00:41:51 -07:00
Ryan VanderMeulen
dbf93bfaec Backout bug 792215 for suspected Windows m-oth leaks.
CLOSED TREE
2012-09-25 22:40:56 -04:00
Sid Stamm
59b413b8c8 Bug 768029 - Apply CSP Policy to trusted and certified apps. Temporarily using a overly permissive policy for certified apps until Gaia is updated to handle the desired policy. r=sicking Parts by sicking, r=mounir 2012-09-25 16:28:17 -07:00
Fabrice Desré
43f63c647e Backout Bug 768029 because that breaks Gaia (see https://github.com/mozilla-b2g/gaia/issues/5177) 2012-09-25 15:32:20 -07:00
Ehsan Akhgari
697bec41a5 Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug
This is the full implementation of the AudioBuffer object.  There are
two ways to create these objects from an audio context and this patch
implements only one of them.

The construction of the AudioBuffer object is a two step process: the
object should be created with operator new first, and then
InitializeBuffers should be called on it.  InitializeBuffers is
fallible, because it uses the JS API to create the underlying typed
arrays, but that's fine, since the length of the buffers comes from web
content, and we don't want to use infallible allocations for those
anyways.

We hold on to the JS objects from the C++ implementation, and trace
through all of those objects, so that a GC does not kill those object
without us knowing.

The buffer should be possible to manipulate from both C++ and JS, and
the C++ object probably needs to support a set of methods for the C++
callers at some point.
2012-09-25 17:58:50 -04:00
Sid Stamm
e00d2f38e0 bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir. 2012-08-02 12:13:53 -07:00
Antonio Manuel Amaya Calvo
8dfda6c87c Bug 773886: Prevent loading resources from app:// URIs from outside that app. r=sicking 2012-09-25 12:33:01 -07:00
Fernando Rodríguez Sela
475246df32 Bug 744700 - B2G 3G: Notify connection errors in the WebMobileConnection API (part 2), r=philikon 2012-09-25 12:22:38 -07:00
Boris Zbarsky
84dda56591 Bug 792215 part 1. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Tanvi Vyas
9a52450250 Bug 792101 - security.mixed_content.block_active_content causes crash in nsMixedContentBlocker::ShouldLoad (r=smaug) 2012-09-25 10:51:51 -07:00
Honza Bambas
41c12a706a Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Benoit Jacob
2249060a44 Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
d4fa48d92a Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Ed Morley
9f14ce22ba Backout 9d9d8bf66243 (bug 785662) for mochitest-other leaks on Windows 2012-09-25 13:46:25 +01:00
Henri Sivonen
9bc15d1691 Test for bug 750096 - Make sure nsIParserUtils::parseFragment does not dereference <embed src=javascript:...>. r=bzbarsky. 2012-09-25 10:29:23 +03:00
Chris Pearce
76b593e69b Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12:00
Phil Ringnalda
a74c209e3e Back out 8bd13443d0bc (bug 579517) to get a clean backout
--HG--
extra : rebase_source : 63c8087f0a6de5adeddb8762ff9e410b2b818e22
2012-09-24 21:21:10 -07:00
Ryan VanderMeulen
7e1eac7739 Merge m-c to inbound. 2012-09-24 21:50:14 -04:00
Ryan VanderMeulen
84dd5fbb59 Merge the last PGO-green inbound changeset to m-c. 2012-09-24 20:47:13 -04:00
Chris Pearce
d962a54a89 Bug 782729 - Clarify pointer lock pointer-centering logic, and cancel centering mouse moves. r=smaug 2012-09-25 11:44:03 +12:00
Olli Pettay
3373c511d2 Bug 793517 - Make nsDOMEventTargetHelper to unmark listeners during canSkip, r=mccr8 2012-09-24 14:05:30 +03:00
Boris Zbarsky
e755953b68 Bug 793196. Speed up hasAttribute string munging of the attr name. r=sicking 2012-09-22 22:04:54 -04:00
Diogo Golovanevsky Monteiro
4637fae255 Bug 784402 - Pointer Lock must respect iframe sandbox flag. r=smaug 2012-09-22 20:56:55 -04:00
Reuben Morais
8fabfaf96e Bug 793440 - Fix tautological constant out of range check on DOMSVGTransform.cpp. r=longsonr 2012-09-22 20:48:27 -04:00
Jim Mathies
f50c101c4d Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies
efdf204165 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Robert Longson
bbf734f7ef Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Bobby Holley
9f03f90fb7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Cameron McCormack
d32604b3d0 Bug 793612 - Make nsSVGArcConverter robust against zero-sized arc segments. r=longsonr 2012-09-24 22:07:41 +10:00
Robert O'Callahan
ac17ee8de3 Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats 2012-09-24 16:30:33 +12:00
Robert O'Callahan
e1d57ecaf5 Back out bug 791616 due to test failure. 2012-09-24 21:55:16 +12:00
Robert O'Callahan
a9ec9035cd Bug 791616. Part 1: Add nsIScrollableFrame::GetPerceivedScrollingDirections to consolidate logic for whether UI actions should be allowed to scroll in a given direction. r=mats
--HG--
extra : rebase_source : 470acc887036b633f43a30fb7dc6ca24ddc02dc6
2012-09-24 16:30:33 +12:00
Robert O'Callahan
029e4c3706 Bug 792665. Stop allowing HTMLMediaElement.src = mediaStream, and support HTMLMediaElement.mozSrcObject = mediaStream instead. r=cpearce,jesup
--HG--
extra : rebase_source : 1986b88dc293939055b12ec7065c37dae394af8c
2012-09-24 15:47:30 +12:00
Ms2ger
30e928961e Bug 783878 - Followup: s/uint64/uint64_t/. 2012-09-22 18:40:28 +02:00
Robert O'Callahan
e711b93859 Bug 778682. Part 2: Wait for NotifyHasCurrentData(true) callback on the input stream before entering HAVE_CURRENT_DATA for a media element. r=cpearce
--HG--
extra : rebase_source : c6e2fd2f258fbacd767a62751a1d1db3ceea6dd0
2012-09-20 12:47:50 +12:00
Robert O'Callahan
402b08d6f4 Bug 778682. Part 1: Add NotifyHasCurrentData callback on StreamListener. r=jesup
--HG--
extra : rebase_source : a56fe8ba36639da7638eb590bd9a7a7e65efae95
2012-09-20 12:47:51 +12:00
Ralph Giles
23bb918078 Bug 793315 - Test single tag metadata. r=cpearce
Verify that we return metadata tags from streams with only a
single comment by adding a single comment to a file which
previously had none.

This bug went undetected because all our examples had either
multiple tags, or none.
2012-09-21 13:13:41 -07:00
Ralph Giles
8afe2db560 Bug 793315 - Fix mozGetMetadata with single tag streams. r=cpearce
In Bug 785057, the implementation of mozGetMetadata was changed
to propagate a failure to define a new object property through
the return value of the nsDataHashtable interator. It turns out,
EnumerateRead returns the number of items processed, not the
last PLDHashOperator result. The upshot of which is that
the method returned an error if and only if only one tag
was processed.

Instead, carry and error flag in the iterator state, and check
that for failure.
2012-09-21 13:13:41 -07:00
Chris Pearce
842d94b624 Bug 782729 - Ensure pointer lock code always passes screen coords to SynthesizeNativeMouseMove. r=smaug 2012-09-25 11:43:27 +12:00
Ehsan Akhgari
2f19f537bf Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-24 17:55:10 -04:00
Paul Adenot
78d5ebb082 Bug 792274 - Don't setup mediastreams in RecreateDecodedStream() if we did not have a mediastream before. r=roc 2012-09-18 22:23:35 -07:00
Paul Adenot
a67963120d Bug 791344 - Properly log skipped frames in the NSPR log. r=kinetik 2012-09-18 11:27:32 -07:00
Paul Adenot
81434b8034 Bug 791344 - Use the right method to build a timestamp from microseconds and properly convert between units. r=kinetik 2012-09-18 11:23:59 -07:00
Josh Matthews
566e597159 Bug 783878 - Part 1: Make nsXMLHttpRequest aware of the length of uploads. r=sicking 2012-09-19 18:15:32 -04:00
Matt Brubeck
03785bab72 Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron] 2012-09-10 18:53:24 -07:00
Matt Brubeck
8fb68b79fb Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc] 2012-08-22 13:18:10 -07:00
Matt Brubeck
24c6d5e17e Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Ray Cheung
800d34a6c9 Bug 779500 - WebFM, r=jlebar,glandium sr=jonas 2012-09-19 11:23:33 -04:00
Benoit Jacob
98c45d12b5 Bug 790946 - Remove support for the MOZ_ prefixed EXT_texture_filter_anisotropic ext name - r=jgilbert 2012-09-21 16:02:37 -04:00
Benoit Jacob
59762d81d3 Bug 732660 - Efficient drawElements validation on subarray and/or dynamically updated array - r=jgilbert 2012-09-21 13:44:35 -04:00
Benoit Jacob
55b76e399e Bug 777967 - move the InvalidateCachedMinInUseAttribArrayLength calls a bit - r=jgilbert 2012-09-21 13:44:35 -04:00
Benoit Jacob
a887808628 Bug 790138 - raise WebGL context limits on desktop - r=jgilbert 2012-09-21 13:44:35 -04:00
Ehsan Akhgari
0a35cb68cb Bug 792646 - Implement the skeleton of Web Audio source and destination nodes; r=bzbarsky
This is the bare minimum that one needs in order to get those interfaces
implemented.  The work to make the simplest of Web Audio test cases
actually pass will be done in bug 792649.
2012-09-21 11:33:03 -04:00
David Zbarsky
8ecdd78b5f Bug 779085 - Move attribute stuff from FragmentOrElement to nsGenericElement r=bz 2012-09-21 01:33:31 -04:00
Ryan VanderMeulen
f0cedf0da3 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Olli Pettay
d41fbbdb34 bug 787704, better to remember addref/release sContent in IMEStateManager, r=masayuki 2012-09-20 19:13:18 +03:00
Olli Pettay
bea60843d2 Bug 787493, be more strict with refChild handling, r=bz 2012-09-20 19:13:09 +03:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
e973046355 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Ms2ger
14bb88f62a Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
Ms2ger
05d200bad7 Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Boris Zbarsky
b2a0b52a75 Bug 789856. Fire error events on <script> elements which completely fail to start the load. r=sicking 2012-09-18 23:24:27 -04:00
Robert O'Callahan
65d7a8ceec Bug 772726. Part 15: Change check for Azure content drawing to handle cases where Azure is preffed on but isn't being used. r=nrc 2012-09-12 17:30:25 +12:00
Ehsan Akhgari
a17cac3016 Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
Robert O'Callahan
13041e1a84 Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Adam Dane [:hobophobe]
58808c3d56 Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
George Wright
a9e5f0d54e Bug 777614 - It seems we used to pass this test by accident. Now we're in line with all the other Azure backends. r=nrc 2012-09-18 15:41:37 -04:00
Robert O'Callahan
4f7c705c42 Bug 772726. Make nsCanvasRenderingContext2DAzure::DrawWindow use Azure content drawing if that's enabled. r=bas 2012-09-04 16:24:09 +12:00
Chris Peterson
e941f58f6a Bug 785340 - Part 1: Fix crash where uninitialized nsMediaPluginReader::mHasAudio looked true. r=doublec
--HG--
extra : rebase_source : 0a26ec8c3c511f8f57bb4c86969449bc4e8bbc2f
2012-09-18 17:34:36 -07:00
Ms2ger
93d99ce749 Merge m-c to m-i. 2012-09-20 13:25:53 +02:00
Julian Viereck
d3cd6b36b2 Bug 468568. Main patch: support downloading fonts in printing and print preview. r=smaug
--HG--
extra : rebase_source : 2fbaef2896d218e6900449c9510fc867419eac30
2012-09-04 16:29:27 +03:00
Ehsan Akhgari
688e848d30 Bug 791367 - nsDOMFileReader::ReadFileContent opens a channel without associating it with a load group; r=smaug,khuey 2012-09-17 11:24:39 -04:00
Masatoshi Kimura
1535ba892f Bug 791001 - Create an empty dummy builder in OnStopRequest if builder is null. r=smaug 2012-09-17 18:42:36 -04:00
Ralph Giles
f7b40c94e9 Bug 778050 - Support Opus tag metadata. r=derf
Remember parsed comments from the OpusTags header in
an array member variable. Add a method to generate
the nsHTMLMediaElement::MetadataTags hash table from
those entries, performing the same validatation we
do for Vorbis.

This feature is tested by adding the existing opus
test file to gMetadataTests.

IsValidVorbisTagName is moved to a static method
on nsOggCodecState so it can be shared among the
subclasses and easily called externally.

MetadataTags generation for Vorbis streams is moved
to the same method name on nsVorbisState to allow
sharing of the parsing and validation code as much
as possible, since both formats use the same scheme.

It's arguable whether contrustuction better belongs to
nsOggReader or to the nsCodecState subclasses, since in
theory the various multiplexed streams interact in
determining the canonical tag list, but it is the
per-codec streams which contain the metadata in Ogg.
2012-09-17 18:42:36 -04:00
Koosha Khajeh Moogahi
8d39310f18 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Steve Workman
5d7a8842cc Bug 734546: Changes to nsBuiltinDecoder etc. in prep for nsDASHDecoder etc. r=cpearce 2012-09-17 16:45:38 -04:00
Steve Workman
ac33fb67d7 Bug 782457: Add max offset and cues preloading support to nestegg; r=kinetik 2012-09-17 16:45:38 -04:00
Matt Brubeck
8f85d6a619 Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Matt Brubeck
f4948932bf Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : 906250f6fbe6ad8cf5e173f7f0e7622b2d75c1b3
2012-09-10 18:53:24 -07:00
Matt Brubeck
4b325267f6 Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc]
--HG--
extra : rebase_source : c7c6f09e5232f609c81f7ab418940c146d1b82c6
2012-08-22 13:18:10 -07:00
Matt Brubeck
6d927fa3a5 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Mark Capella
5a5ba0a45c Bug 785091 - Remove nsIEditorObserver, r=ehsan 2012-09-17 11:14:56 -04:00
Peter Van der Beken
71b55b1f68 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken
bc837e12ce Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename nsIDOMHTMLCollection::GetNodeAt to GetElementAt. r=bz.
--HG--
extra : rebase_source : 9bd26842a548580b7ea90a29d2fdba8629a70ef7
2012-09-05 17:42:58 +02:00
Peter Van der Beken
d23d048af0 Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename Length to LengthNoFlush in SVG DOM lists. r=bz.
--HG--
extra : rebase_source : 6db1028fe04d03286561ac13fe7ea818f54245bf
2012-09-05 16:52:57 +02:00
Ms2ger
214123d03d Merge m-c to m-i. 2012-09-17 12:08:58 +02:00
Ms2ger
42dcfce85a Bug 788525 - Remove ErrorResult& arguments to infallible methods in WebGL; r=bjacob 2012-09-17 10:37:20 +02:00
Ms2ger
b58dc128db Bug 782098 - Remove IsArea in nsGenericHTMLElement.cpp; r=mounir 2012-09-17 10:37:20 +02:00
Phil Ringnalda
0a965d14f0 Bug 791509 - Adjust WebGL expected failures and passes for OS X 10.8, r=bjacob 2012-09-16 10:09:54 -07:00
Phil Ringnalda
2fdbc456a3 Bug 639705 - update test_fullscreen-api.html hacks to cover OS X 10.8 too 2012-09-16 01:01:59 -07:00
Aryeh Gregor
141b095414 Bug 791213 - Don't return nsresult from a function that returns bool; r=doublec 2012-09-16 12:19:01 +03:00
Devdatta Akhawe
c773da42f9 Bug 790747 Move CSP code to before principal reset (r=bz) 2012-09-13 20:36:35 -07:00
Makoto Kato
d5c93adaee Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Ralph Giles
68124ab53f Bug 785057 - Return an error after js exceptions. r=bz
Return PL_DHASH_STOP if JS_SetProperty fails, and check
the return code of the enumerator to propagate the failure
back to javascript through the return value of mozGetMetadata.

In addition, use JS_DefineProperty in mozGetMetadata so
web content can't intercept and alter our creation calls.

JS_SetProperty() will define a new property if it doesn't
exist, but it will also call any existing setters, in
particular those on Object.prototype. This is confusing
for an object that created by a platform object method
from internal data.
2012-09-14 16:04:46 -04:00
Ed Morley
213df01f52 Backout 35c8685ee065 (bug 790133) for B2G compilation failures 2012-09-14 10:13:15 +01:00
Gina Yeh
c7c62d7a8a Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-14 16:54:25 +08:00
Gina Yeh
1e0365d9fa Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 14:39:47 +08:00
Eric Chou
0926fd916a Backout 5796eacef43c (bug 790133) for B2G compilation failures again 2012-09-17 14:15:12 +08:00
Gina Yeh
a0d6e4e4ec Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 13:50:40 +08:00
Robert O'Callahan
8b0aaa3c55 Bug 784410. Fix mousewheel scrolling to avoid scrolling frames that can't be scrolled by at least one device pixel. r=mats 2012-09-13 16:13:19 +12:00
Tanvi Vyas
29c1c82c22 Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr (Disabled on android until ssl is supported), r=smaug 2012-09-16 20:53:01 -07:00
Brandon Sterne
3e532fb70b Bug 62178 - implement mixed content blocker, r=smaug 2012-09-16 20:49:43 -07:00
Phil Ringnalda
ad9d576341 Back out 8e4817a15420 (bug 791284) for debug xpcshell failure 2012-09-16 18:03:59 -07:00
Andrea Marchesini
138320e12d Bug 761227 - Support XMLHttpRequestParameters in workers. r=bent 2012-09-16 20:20:16 -04:00
Eric Wong
d7a4f30b1d Bug 504240 - Remove duplicate header values in Access-Control-Request-Headers for preflight cross-site XMLHttpRequest requests. r=sicking 2012-09-05 22:28:12 -07:00
Sid Stamm
1ab69ec8bf Bug 791284 - Change AboutWeaveLog to use getNoAppCodebasePrincipal instead of getSimpleCodebasePrincipal and add assertion for early warning. (r=sicking) 2012-09-16 17:04:11 -07:00
Phil Ringnalda
ef3b931869 Back out 562ba2baa5b3 and 5065dd13b53d (bug 62178) for Android mochitest-1 failure 2012-09-16 15:24:58 -07:00
Tanvi Vyas
13011a50a1 Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr r=smaug 2012-09-16 13:13:25 -07:00
Brandon Sterne
47f186bcf0 Bug 62178 - implement mixed content blocker, r=smaug 2012-09-16 13:13:25 -07:00
Jonathan Watt
56e844164d Bug 787722 - Prevent out-of-bounds read/writes under nsSVGFELightingElement::Filter. r=roc.
--HG--
extra : rebase_source : 8354ba5e16ca00a09a7b794b2408db63e76ca9df
2012-09-13 12:23:28 +01:00
Chris Pearce
752fec9961 Bug 790521 - Propagate fullscreen state changes across countent boundaries rather than only mozbrowser boundaries. r=jlebar 2012-09-13 09:23:42 +12:00
Ralph Giles
9041e67bc8 Bug 790381 - Remove custom extern "C" on opus_multistream.h. r=derf
Bug 748144 switched our opus decoding to use the
opus_multistream api so we could handle surround
audio files. The version of opus in our tree at
the time didn't include extern "C" {} protection
in the corresponding header, so we had to provide
our own.

With the update to the opus 1.0.0 source release
in bug 790381, this oversight is corrected and
we can remove our work-around.
2012-09-12 16:59:05 -04:00
Ralph Giles
9f35ef22bf Bug 789617 - Test vorbis comment validation. r=cpearce
Add a new test file with some invalid comments and verify
they are filtered out of the mozGetMetadata() output.
The new file includes the following valid edge cases:

 - empty tag name
 - empty tag value
 - punctuation in the tag name

and the following invalid cases:

 - non-ascii tag name
 - invalid characters in tag name
 - non-utf-8 tag value
 - no tag=value separator

Also updates the mochitest messages to be less confusing.
2012-09-10 15:39:23 -07:00
Ralph Giles
44ed4e2811 Bug 789617 - Improve vorbis comment validation. r=cpearce
Verify that tag names are ASCII within the valid character
ranges and that values are UTF-8, skipping comments where
these checks fail.

As written, the check in IsValidVorbisTagName() for the
separator character isn't necessary, because we've already
split on the first occurance. However, it's better to run
the extra check in case the function is reused elsewhere.
2012-09-10 13:49:00 -07:00
Ehsan Akhgari
bf95568d0e Merge IonMonkey into mozilla-inbound 2012-09-11 16:38:44 -04:00
David Anderson
7b438ddde2 Merge IonMonkey to mozilla-central. a=arewefastyet
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Bobby Holley
00bcee83e8 Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-11 01:05:10 -07:00
Chris Jones
e01d45f3fa Bug 788943: Allow TabParents to capture event series for faster dispatch to subprocesses. Implements capturing of touch-event series. r=smaug sr=roc 2012-09-11 13:05:52 -07:00
Boris Zbarsky
df94b5400b Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
Nicolas Silva
0857f50b10 Bug 777967 - Cache the computation of WebGLContext::ValidateBuffers for better performances. r=bjacob 2012-09-11 14:54:39 -04:00
Rafael Ávila de Espíndola
3e32891034 Bug 790285 - avoid nullptr -> false conversions. r=ehsan. 2012-09-11 14:00:37 -04:00
Rafael Ávila de Espíndola
86f12cace6 Bug 790283 - add newline to the end of two files. r=ehsan. 2012-09-11 13:59:10 -04:00
Steven Lee
1a3d6cea38 Bug 714358: Time manager implementation. r=jlebar 2012-09-11 02:05:00 -04:00
Phil Ringnalda
e91fd8ea3f Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android 2012-09-10 20:57:31 -07:00
David Anderson
24145fc9a1 Merge from mozilla-central. 2012-09-10 12:16:38 -07:00
Daniel Holbert
f32f6b5f8b Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Mounir Lamouri
44c8365508 Bug 787538 - Make sure the event listener is disconnected if the screen lock is rejected by the backend. r=jlebar 2012-09-11 14:15:43 +01:00
Gabor Krizsanits
5b5c7e6eab Bug 737003 - Offer a way to apply user agent stylesheet on a given document; r=bz 2012-09-11 13:51:10 +02:00
David Anderson
b0a287cfcc Merge from mozilla-central. 2012-09-07 15:17:11 -07:00
Ed Morley
46b3150fec Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-07 15:27:15 +01:00
Boris Zbarsky
06092f65fb Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
L. David Baron
ff3df34b87 Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc 2012-09-06 21:16:09 -07:00
John Schoenick
7d6435590f Backout 827807082790 (bug 786650) for causing bug 789033 2012-09-06 19:03:22 -07:00
David Anderson
6c5722e35b Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
Daniel Holbert
f450bf107a Bug 788862: Initialize 'segType' in SVGPathData::ConstructPath. r=jwatt 2012-09-06 11:33:01 -07:00
Jan Beich
de5b553845 Bug 788108 - Remove FreeBSD workaround for double type wrapper. rs=sicking 2012-09-06 11:32:59 -07:00
David Anderson
043ddae94a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
25c3dd55c0 Merge from mozilla-central.
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Chris Jones
d31b38514b Bug 781725: Refactor TabChild to allow pre-created instances, and then use a pre-created instance to pre-load and compile BrowserElementChild.js. r=smaug
--HG--
extra : rebase_source : f063c672d55da46541fdd1b6f6ff0cf510a6853f
2012-08-29 12:26:18 -03:00
Ehsan Akhgari
531525812e Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00
Siddharth Agarwal
6e3e5ab3cb Merge mozilla-central to mozilla-inbound. 2012-08-29 20:41:03 +05:30
Ed Morley
8a2d0d11e2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-29 14:35:19 +01:00
Olli Pettay
ee0f359210 Bug 784256 - Generate id->event type switch case from nsEventNameList.h, r=bz
--HG--
extra : rebase_source : 469e03023ae333ae0e527927fbe2b3209fa93067
2012-08-29 14:24:41 +03:00
Daniel Holbert
43ad921ae7 Bug 786111: Prevent recursive calls to nsSMILAnimationController::DoSample(). r=birtles sr=roc 2012-08-28 22:32:56 -07:00
Daniel Holbert
f830e7c269 Bug 786503: mark nsSMILInstanceTime::mVisited as mutable. r=birtles 2012-08-28 22:27:53 -07:00
Boris Zbarsky
39660aee15 Bug 567511. Don't consider document.domain when deciding whether to taint a canvas. r=roc 2012-08-29 01:14:47 -04:00
Chris Pearce
ce03c78256 Bug 785909 - Don't init FileMediaResource::mSize on the main thread. r=roc 2012-08-29 15:55:57 +12:00
Matthew Gregan
7f1be93029 Bug 785967 - Reject Wave files with invalid data block size in the format chunk. r=doublec 2012-08-28 18:21:58 +12:00
Matt Brubeck
6cd86ad5d7 Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron] 2012-09-10 18:53:24 -07:00
Olli Pettay
ec8a1d0493 Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +03:00
Ed Morley
2b2533f754 Bug 752796 - Disable test_streams_element_capture{,_reset}.html on Windows for too many timeouts. r=kinetik 2012-08-28 12:59:33 +12:00
Andrea Marchesini
2e3a4473c5 Bug 783562 - blob: protocol wrong Content-Type header. r=sicking 2012-08-27 19:34:30 -04:00
Andrea Marchesini
4924648d1f Bug 782342 - blob: protocol no Content-Length header. r=sicking 2012-08-27 19:34:29 -04:00
Ryan VanderMeulen
93bb5ffbd7 Merge m-c to inbound. 2012-08-28 13:23:42 -04:00
Phil Ames
cd2459e50f Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Josh Matthews
22c30bb0c4 Back out bug 722861. 2012-08-27 15:31:29 -04:00
Jeff Gilbert
0397411c16 Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob 2012-09-06 18:46:43 -07:00
Jeff Gilbert
5602d6cd75 Bug 782860 - Add basic WebGL reftests - r=bjacob 2012-09-06 18:46:39 -07:00
David Anderson
188c88907e Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
Matt Brubeck
e5baabbce5 Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc] 2012-08-22 13:18:10 -07:00
Matt Brubeck
44b556a8be Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Boris Zbarsky
1d5a53d649 Bug 784869. Stop allowing undefined as the second argument to createPattern in the WebIDL 2d context bindings. r=peterv 2012-08-28 13:10:10 -04:00
Boris Zbarsky
ccd4da9732 Bug 732209 part 4. Propagate the CORS state throughout the CSS loading process. r=sicking,dbaron 2012-08-28 13:10:08 -04:00
Boris Zbarsky
927e2bc32d Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen 2012-08-28 13:10:08 -04:00
Boris Zbarsky
41ac1056bf Bug 732209 part 2. Communicate the CORS state of style link loads to the CSS loader. r=sicking 2012-08-28 13:10:07 -04:00
Boris Zbarsky
8f232d40ed Bug 732209 part 1. Clean up nsContentSink methods that used to take an element and now don't. r=sicking 2012-08-28 13:10:07 -04:00
Ben Turner
3ebc67242c Bug 786003 - 'Fix file handle leak in nsDOMFileReader, add tests to IndexedDB'. r=jst.
--HG--
extra : transplant_source : %FB%7Ew%94%1C%9D%29%DD%B9%08%EC%FC%E5N%B7P%3F.1%C9
2012-08-28 07:59:18 -07:00
Rafael Ávila de Espíndola
3ae64f38a4 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
David Anderson
1ef4c57410 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Robert Longson
11234826b0 Back out 92f2cf2f42b2 (bug 754592) for causing regression 2012-09-04 14:53:04 -07:00
Michael Wu
d165dedcc9 Bug 694484 - OpenSL backend for libcubeb, r=kinetik 2012-09-04 17:45:08 -03:00
Brendan Dahl
3f688bb97f Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Kyle Machulis
a516c13139 Bug 764618: Remove IsOnPrefWhitelist and URIIsChromeOrInPref; r=gwagner 2012-09-04 11:53:47 -07:00
Chris Pearce
cdc788f72d Bug 779914 - Remove redundant reset of nsHTMLMediaElement::mAudioStream. r=kinetik. 2012-08-21 17:07:00 +12:00
Chris Pearce
3eaba47273 Bug 779914 - Reset Mozilla Audio Data API in nsHTMLMediaElment::AbortExistingLoads(). r=doublec 2012-08-21 17:06:55 +12:00
Chris Double
90e10cebf3 Bug 783927 - Handle zero length audio reads in stagefright backend to fix audio issues - r=cpeterson 2012-08-21 17:03:21 +12:00
Bobby Holley
da84660fd1 Backed out changeset 61e9eaf9aae2
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
David Zbarsky
fbb04700b6 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Bobby Holley
e4a6e10695 Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-20 21:03:44 -07:00
John Schoenick
07ef6a9ca8 Bug 784185 - object/embed tags without a type shouldn't display plugin error frames. r=josh 2012-08-28 13:34:16 -07:00
L. David Baron
876e60a116 Back out nsXBLPrototypeHandler changes from changeset d09b4e60bb09 to fix bug 776075. 2012-08-20 19:23:32 -07:00
L. David Baron
8861dbb7d3 Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame 2012-08-20 19:23:32 -07:00
David Anderson
565400115a Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
David Anderson
6fe112e8bf Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
Ryan VanderMeulen
f12fa88179 Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7 Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Matthew Gregan
48474f4d83 Bug 783940 - Remove unnecessary nsOggDecoderStateMachine class. r=cpearce 2012-08-20 15:59:25 +12:00
Matthew Gregan
70f8167360 Bug 783179 - Remove unused mCbCrSize and mCbCrBuffer members from nsBuiltinDecoderStateMachine. r=doublec 2012-08-16 18:07:26 +12:00
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Masayuki Nakano
b147137040 Bug 422132 part.3 Disable smooth scroll in the new test due to random orange r=smaug 2012-08-20 11:46:08 +09:00
Masayuki Nakano
f19581794b Bug 422132 part.2 Add new tests r=smaug 2012-08-20 11:46:08 +09:00
Matthew Gregan
a1936af774 Bug 780490 - Re-enable test_seek, test_seek_out_of_range, and test_timeupdate_small_files on Linux. (Also bug 780491 and bug 780492). Test only. 2012-08-20 12:10:05 +12:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Phil Ringnalda
00e466bc6f Merge mozilla-central to mozilla-inbound 2012-08-19 11:20:45 -07:00
Phil Ringnalda
1b1d28cb1f Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-08-19 11:17:28 -07:00
Masayuki Nakano
3a537dd0d1 Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-20 01:46:21 +09:00
Kyle Huey
806819677e Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Bobby Holley
4a569927e2 Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap 2012-08-17 23:14:55 -07:00
Bobby Holley
88955fb8ce Bug 553102 - Remove unnecessary SpecialPowers wrap in test_canvas.html. r=me
I put this in in bug 778420, but it looks like it wasn't necessary, since the
tests seem to pass without it. It's on the critical path for this longish-running
test, and it also breaks stuff with respect to __exposedProps__. Let's kill it.
2012-08-17 23:14:55 -07:00
Ed Morley
966fee8835 Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981 2012-08-15 18:10:55 +01:00
Ed Morley
42369890c2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-15 16:17:53 +01:00
Kyle Huey
fa127e8648 Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Olli Pettay
aeda425867 Bug 780199 - better mutationobserver handling when attribute value doesn't change, r=sicking 2012-08-15 13:06:01 +03:00
Gregor Wagner
fc14a541a1 Bug 781331 - Hook up systemXHR to permissions manager. r=sicking 2012-08-17 17:42:00 -07:00
Sid Stamm
8b2cf899c7 Bug 783497 - Fix CSPSource expression intersection to resolve "self" data. (r=jst) 2012-08-17 15:03:24 -07:00
John Schoenick
6328e14f3f Bug 781126 - Part 2 - nsObjectLoadingContent should call shouldLoad and shouldProcess sanely. r=jst 2012-08-17 14:45:04 -07:00
David Keeler
02cf2b5342 Bug 767636 - Expose plugin fallback type to extensions. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
938f9eee42 Bug 783351 - Remove unused variable. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
9b1ae05e71 Bug 782707 - Move waiting-on-channel bailout to after we potentially close it in nsObjectLoadingContent. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
1b88c21ec0 Bug 782703 - Ensure object tags get reloaded when unbound/rebound to the tree. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
24f0735a86 Bug 767639 - nsObjectLoadingContent - Remove activeX stubs and simpify classid/java handling. r=josh 2012-08-17 14:23:59 -07:00
Justin Lebar
c9bb43d3c4 Bug 776129 - Part 1: When an <iframe mozbrowser> calls window.open, the resulting frame must be OOP iff the opener frame is OOP. r=smaug
--HG--
extra : rebase_source : 14db2573db5e9d8ffb72798f3d856f98e49f8a83
2012-08-17 17:07:54 -04:00
Paul Adenot
80b3876f46 Bug 762282 - Don't notify the HTMLMediaElement if we reach the end of the media while seeking for metadata. r=chris.double 2012-08-17 10:01:08 -07:00
Brian R. Bondy
703b837984 Bug 731307 - Use async filepicker from /content. r=mounir 2012-08-17 11:35:01 -04:00
David Anderson
a31e5baded Merge from mozilla-central. 2012-08-14 12:20:09 -07:00
Kyle Huey
30cef0f1d5 Merge m-c to b-s. 2012-08-14 11:14:40 -07:00
Kyle Huey
725de5f1f9 Bug 683290: Followup to placate nsObjectLoadingContent. r=johns 2012-08-14 10:15:45 -07:00
Kyle Huey
aac95c6560 Bug 683290: Followup to placate nsObjectLoadingContent. 2012-08-14 10:04:39 -07:00
Ehsan Akhgari
805b10b6d6 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Ed Morley
7a68f05d39 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Zoe Bellot
ccf0a0450d Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-17 12:02:18 +02:00
Zoe Bellot
db5a881e7f Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug 2012-08-17 11:53:44 +02:00
Kyle Huey
4dcafaedea Bug 697230: Part 3 - Make style images block onload. r=bz 2012-08-13 16:04:17 -07:00
Kyle Huey
2fc3f31d0c Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-08-13 15:58:53 -07:00
Kyle Huey
0cc1c18795 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-08-13 15:04:19 -07:00
Kyle Huey
e3dadea704 Bug 683290: Discard images that are not in the DOM. r=bz 2012-08-13 15:11:50 -07:00
David Anderson
7ef28ac5ac Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Kyle Huey
adc77cb365 Bug 685516: Instead of decoding small images synchronously and large images asynchronously, always decode synchronously for some time, and post the remainder to the event loop if necessary. r=joe 2012-08-13 11:12:15 -07:00
Mark Capella
7e0b8d3bac Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Masayuki Nakano
933a9ad01b Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug 2012-08-13 21:11:20 +09:00
Mounir Lamouri
1077929b19 Bug 782227 - Add a todo() when there is no invalid form submission observer (content/ tests). r=Ms2ger 2012-08-13 12:14:34 +02:00
Matt Woodrow
41a9a1a13c Bug 539356 - Part 31 - Call Azure canvas DidTransactionCallback even when painting from DrawWindow(). r=roc 2012-08-13 22:10:57 +12:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Chris Pearce
e847557147 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Alexander Boldyrev
45a38ebb0b Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Ryan VanderMeulen
902d64ba8e Merge m-c to inbound. 2012-08-11 23:34:26 -04:00
Masayuki Nakano
539ddd3a14 Bug 719320 fix bustage r=no 2012-08-12 12:32:30 +09:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
dc168c0fe1 Bug 719320 part.18 Clean up legacy mouse scroll event r=smaug 2012-08-12 10:42:37 +09:00
Masayuki Nakano
fef53e910a Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
054c5d328e Bug 719320 part.10 Add new tests and remove tests for old ESM's legacy mouse scroll event handler r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
d3e3af5edb Bug 719320 part.8-11 Cancel applying delta multipliers from overflowDelta r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
53c900db7e Bug 719320 part.8-9 Handle WheelEvent.deltaZ in ESM r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
737ff36abf Bug 719320 part.8-8 widget should be able to speicify the scroll type r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
3cdce54608 Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
aa2205d526 Bug 719320 part.8-6 Init lineOrPageDeltaX and lineOrPageDeltaY from accumulated delta values if the wheel event is caused by pixel scroll only device or the delta values have been modified with prefs r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
cee821b532 Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
e828866df7 Bug 719320 part.8-3 Redesign nsMouseWheelTransaction for D3E WheelEvent r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
1bc02406f9 Bug 719320 part.8-2 GetScrollAmount() should return both width and height for oblique wheel event r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
92d1e07e69 Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
a2e667b6b9 Bug 719320 part.7 Drop NS_QUERY_SCROLL_TARGET_INFO handler from ESM r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
a418ba8a35 Bug 719320 part.6 Separate pixel delta value accumulation code r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
1818fe2fb2 Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
d26b327f14 Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
785b73e21d Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
06c7f1baf6 Bug 719320 part.2 Separate code for deciding scroll target from nsEventStateManager::DoScrollText() r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
David Anderson
efd9a9feee Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
David Zbarsky
b462ec011a Bug 773842 - Fix build warnings under content/ r=mounir 2012-08-10 14:01:16 -04:00
Alexandros Chronopoulos
b42d0e9db4 Bug 748144 - Support multichannel Opus files. r=rillian
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.

To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
David Anderson
b620fb6c5c Merge from mozilla-central. 2012-08-09 13:41:13 -07:00
Ed Morley
61bd42dc2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
eb0692aef8 Bug 727547 - Add test. 2012-08-09 09:10:43 +02:00
Ms2ger
e2573fe71e Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz 2012-08-09 09:10:21 +02:00
Ms2ger
26217245c9 Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg 2012-08-09 09:10:13 +02:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Justin Lebar
1994f4ebb3 Bug 780761 - Fix race condition in initialization of message manager for popups from <iframe mozbrowser>. r=smaug
Calling show() causes EnsureMessageManager() to SetCallbackData() on the message manager.  If we don't do this, then the message manager will throw when we try to send a message.
2012-08-13 15:19:09 -04:00
Justin Lebar
0d4822afe2 Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Masayuki Nakano
b88a7758de Bug 659071 DoScrollZoom() should check if the event target is under XUL document rather than checking if it's XUL element r=smaug 2012-08-13 23:20:13 +09:00
David Anderson
c9ca5124db Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
5b76a146bc Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
John Schoenick
74460aef8f Bug 782644 - Prevent against nsObjectLoadingContent re-entry from content policy. r=josh 2012-08-21 16:42:48 -07:00
John Schoenick
871b82e6f9 Bug 781482 - Fix rebase error in nsObjectLoadingContent. r=josh 2012-08-21 16:42:48 -07:00
Jeff Gilbert
d394179aac Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob 2012-08-21 16:13:26 -07:00
Paul Adenot
15058d402d Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-21 16:00:23 -07:00
Ehsan Akhgari
7a743fcc5b Bug 784536 - Use the name of the enum value directly as opposed to access it from the enum's scope; r=dzbarsky 2012-08-21 19:06:50 -04:00
Ryan VanderMeulen
351d01c8ff Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail 2012-08-21 18:45:54 -04:00
Paul Adenot
7751daec1e Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-15 10:36:12 -07:00
David Keeler
8c1cb54acb Bug 767636 - expose plugin fallback type to extensions. r=jaws 2012-08-21 12:40:07 -07:00
Bobby Holley
625511572e Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-21 10:27:08 -07:00
Paul Adenot
9670c86dc2 Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik 2012-08-16 18:10:36 -07:00
Kan-Ru Chen (陳侃如)
cd9d182e06 Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 18:22:58 +08:00
Kan-Ru Chen (陳侃如)
f5e3f3d680 Bug 767480 - PlanarYCbCrImage Refactoring. r=roc 2012-08-21 18:18:20 +08:00
Kan-Ru Chen (陳侃如)
22db9a8e93 Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage 2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如)
2225b447e6 Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 14:59:42 +08:00
Kan-Ru Chen (陳侃如)
4787af5685 Bug 767480 - PlanarYCbCrImage refactoring. r=roc 2012-08-21 17:31:36 +08:00
Ed Morley
969a047a7e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-08 17:18:26 +01:00
David Anderson
3ffd33a2cb Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
Kyle Huey
ed6c22b7cd Bug 754759: Unannotate tests now that Bug 774770 is fixed. 2012-08-07 13:54:46 -07:00
Ed Morley
2d0ee22719 Backout 2b5b8baa5816 (bug 767636) for causing bug 783836 2012-08-19 02:08:13 +01:00