Commit Graph

23210 Commits

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