Commit Graph

11511 Commits

Author SHA1 Message Date
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