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

23311 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot e4e32f4ae6 Bug 791344 - Properly log skipped frames in the NSPR log. r=kinetik 2012-09-18 11:27:32 -07:00
Paul Adenot 211aeea45a 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 e15a71d66a Bug 783878 - Part 1: Make nsXMLHttpRequest aware of the length of uploads. r=sicking 2012-09-19 18:15:32 -04:00
Matt Brubeck 1a0692a2cc Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron] 2012-09-10 18:53:24 -07:00
Matt Brubeck 1ed9c2d3db 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 7cd25b03d4 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Ray Cheung 712265bc79 Bug 779500 - WebFM, r=jlebar,glandium sr=jonas 2012-09-19 11:23:33 -04:00
Benoit Jacob 42f016b264 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 1a9671df92 Bug 732660 - Efficient drawElements validation on subarray and/or dynamically updated array - r=jgilbert 2012-09-21 13:44:35 -04:00
Benoit Jacob 679ebc3321 Bug 777967 - move the InvalidateCachedMinInUseAttribArrayLength calls a bit - r=jgilbert 2012-09-21 13:44:35 -04:00
Benoit Jacob c78ff1d433 Bug 790138 - raise WebGL context limits on desktop - r=jgilbert 2012-09-21 13:44:35 -04:00
Ehsan Akhgari c461ff018e 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 5d2802792e Bug 779085 - Move attribute stuff from FragmentOrElement to nsGenericElement r=bz 2012-09-21 01:33:31 -04:00
Ryan VanderMeulen 4af64dcc49 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Olli Pettay c1f4a109d4 bug 787704, better to remember addref/release sContent in IMEStateManager, r=masayuki 2012-09-20 19:13:18 +03:00
Olli Pettay 6910b3f623 Bug 787493, be more strict with refChild handling, r=bz 2012-09-20 19:13:09 +03:00
Ms2ger abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger 451f5737e1 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Ms2ger 4cf7905fe1 Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
Ms2ger c5d1cae66d Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Boris Zbarsky 33d0bdd5f7 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 66cf5380d9 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 43a4fb885a 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 f745e28a4c 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] b6f4fdb364 Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
George Wright b79b813eb0 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 51edec70b6 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 9075a6d943 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 041bbd6a40 Merge m-c to m-i. 2012-09-20 13:25:53 +02:00
Julian Viereck 5c87bd7c7a 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 caec6b1b48 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 138ba09a8b 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 592158938a 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 dcf81f4fb0 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 8b56efa40a Bug 734546: Changes to nsBuiltinDecoder etc. in prep for nsDASHDecoder etc. r=cpearce 2012-09-17 16:45:38 -04:00
Steve Workman 7a999209d1 Bug 782457: Add max offset and cues preloading support to nestegg; r=kinetik 2012-09-17 16:45:38 -04:00
Matt Brubeck 0e175dfa7d Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Matt Brubeck d0efd91123 Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : 906250f6fbe6ad8cf5e173f7f0e7622b2d75c1b3
2012-09-10 18:53:24 -07:00
Matt Brubeck ce8e20ab91 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 a50face047 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 8dfb2b1858 Bug 785091 - Remove nsIEditorObserver, r=ehsan 2012-09-17 11:14:56 -04:00
Peter Van der Beken 6f38d2708d 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 28cd2bd9a0 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 47679c3042 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 e600b43e79 Merge m-c to m-i. 2012-09-17 12:08:58 +02:00
Ms2ger 3dda1753df Bug 788525 - Remove ErrorResult& arguments to infallible methods in WebGL; r=bjacob 2012-09-17 10:37:20 +02:00
Ms2ger 888dcc8a94 Bug 782098 - Remove IsArea in nsGenericHTMLElement.cpp; r=mounir 2012-09-17 10:37:20 +02:00
Phil Ringnalda b1dab35f6b 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 eec89d69e0 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 69f725c73a Bug 791213 - Don't return nsresult from a function that returns bool; r=doublec 2012-09-16 12:19:01 +03:00
Devdatta Akhawe 733f7c3d56 Bug 790747 Move CSP code to before principal reset (r=bz) 2012-09-13 20:36:35 -07:00
Makoto Kato 6025716d17 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Ralph Giles 7bfebb737a 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 5158da58ec Backout 35c8685ee065 (bug 790133) for B2G compilation failures 2012-09-14 10:13:15 +01:00
Gina Yeh 67c123e2be Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-14 16:54:25 +08:00
Gina Yeh ceb6558fc1 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 14:39:47 +08:00
Eric Chou 83c230f9c3 Backout 5796eacef43c (bug 790133) for B2G compilation failures again 2012-09-17 14:15:12 +08:00
Gina Yeh 15af0d63e0 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 f936b8b283 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 8d096dbc2e 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 fc86463ca4 Bug 62178 - implement mixed content blocker, r=smaug 2012-09-16 20:49:43 -07:00
Phil Ringnalda 5d5a9b4960 Back out 8e4817a15420 (bug 791284) for debug xpcshell failure 2012-09-16 18:03:59 -07:00
Andrea Marchesini 13e87ce3ba Bug 761227 - Support XMLHttpRequestParameters in workers. r=bent 2012-09-16 20:20:16 -04:00
Eric Wong 3b2037ac7e 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 6303e24981 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 922a18d04e Back out 562ba2baa5b3 and 5065dd13b53d (bug 62178) for Android mochitest-1 failure 2012-09-16 15:24:58 -07:00
Tanvi Vyas 0dd607b43f Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr r=smaug 2012-09-16 13:13:25 -07:00
Brandon Sterne d2f0ab516e Bug 62178 - implement mixed content blocker, r=smaug 2012-09-16 13:13:25 -07:00
Jonathan Watt 81a90a8fd3 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 1689c25d0b 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 efcdf81589 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 9526e122c1 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 df3c7deb4f 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 589178c8cd Merge IonMonkey into mozilla-inbound 2012-09-11 16:38:44 -04:00
David Anderson 76ab271ead 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 7cfe3c427e Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-11 01:05:10 -07:00
Chris Jones ec4f0b7652 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 b97e3a8dcd 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 80242795c3 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 2450b079ba Bug 790285 - avoid nullptr -> false conversions. r=ehsan. 2012-09-11 14:00:37 -04:00
Rafael Ávila de Espíndola 6467bb860f Bug 790283 - add newline to the end of two files. r=ehsan. 2012-09-11 13:59:10 -04:00
Steven Lee 5f194e2f32 Bug 714358: Time manager implementation. r=jlebar 2012-09-11 02:05:00 -04:00
Phil Ringnalda 6881ce7451 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 09854d2b71 Merge from mozilla-central. 2012-09-10 12:16:38 -07:00
Daniel Holbert 1dc8cb22b6 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 df73e890dd 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 281bb59626 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 130b34a147 Merge from mozilla-central. 2012-09-07 15:17:11 -07:00
Ed Morley e07607b6f2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-07 15:27:15 +01:00
Boris Zbarsky d91716f0ab Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
L. David Baron 6521fcaca1 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 fe3a180392 Backout 827807082790 (bug 786650) for causing bug 789033 2012-09-06 19:03:22 -07:00
David Anderson f4bf6ff039 Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
Daniel Holbert ca0e68c088 Bug 788862: Initialize 'segType' in SVGPathData::ConstructPath. r=jwatt 2012-09-06 11:33:01 -07:00
Jan Beich 1fcda6a8aa Bug 788108 - Remove FreeBSD workaround for double type wrapper. rs=sicking 2012-09-06 11:32:59 -07:00
David Anderson f6eca6c7f0 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 25cb077cb2 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 a77264d9fb 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 2fb1827749 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 dae032a5cb Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00