Commit Graph

2242 Commits

Author SHA1 Message Date
Patrick McManus
725731c1fa Bug 616733: Disable websockets by default. r=peterv,jst a=beta8
Can be turned on by setting preference
network.websocket.override-security-block.  Websockets can only be used if
override-security-block and network.websocket.enabled are both set to true.

At a future time, with a more secure websocket protocol, the
override-security-block preference can be removed.

This action is based on the security concern over an HTTP cache
poisoning attack as described in
http://www.adambarth.com/experimental/websocket.pdf
2010-12-08 14:12:51 -08:00
timeless@mozdev.org
3abf353848 Bug 615066 potential crash [@ nsPluginHost::HandleBadPlugin] if !aInstance
r=josh, a=josh

--HG--
extra : rebase_source : c9116eca854b56984cbebdf347658a8caa93a274
2010-12-08 12:22:10 +00:00
Mats Palmgren
a1431d3f47 Bug 610601 - re-use the frame only if there is image data. r+a=joe 2010-12-08 03:20:52 +01:00
Steven Michaud
afd3294490 Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Daniel Holbert
e8adc001f2 Bug 614392 patch 2: Update concrete imgIContainer::GetType() implementations with NS_IMETHOD_(). r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:40:28 -08:00
Daniel Holbert
0ade119807 Bug 614392: Use [noscript, notxpcom] instead of "%{C++" for convenience method imgIContainer::GetType. r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:38:21 -08:00
timeless@mozdev.org
79a99ff93e Bug 615569 warning: statement with no effect for each png_warning/png_chunk_warning
r=glennrp

--HG--
extra : rebase_source : 074dd62520f0cc0525ef68175ec8981435ed557a
2010-12-04 11:06:30 +01:00
Vladimir Vukicevic
5aa671acea b=603367, disable ANGLE/WebGL on Linux until build system issues are fixed (bug 559964) 2010-12-03 14:44:01 -08:00
Josh Aas
10f5a0354f Bug 573873: Make sure to propagate redirect notifications whenever we don't kill the redirect for plugins. r=jst sr=bz a=blocking2.0betaN+ 2010-12-03 10:46:10 -05:00
Josh Aas
c04477ac1b Bug 615881: Fix several bugs related to the handling of NPAPI's NPPluginFuncs structure. r=bsmedberg a=blocking2.0final+ 2010-12-03 00:20:59 -05:00
Emmanuel Gil Peyrot
201fbb3800 Bug 606990 - Remove CAIRO_HAS_DDRAW_SURFACE/CAIRO_DDRAW_USE_GL dead code. r=vlad,jmuizelaar a=bsmedberg 2010-11-24 11:11:45 +01:00
Michael Wu
75eedc3cff bug 613603 - Don't check the manifest in the omnijar r=tglek a=blocking-fennec 2010-11-23 21:14:52 -05:00
Joe Drew
ddfb4ec44c Bug 528946 - Move the iframe below the script in test_bug497665.html so we don't get checkFirst is not defined when the iframe's onload races parsing the script, a=test 2009-11-19 13:46:00 -08:00
Alon Zakai
e25f68a8cf Bug 609752 - Remove mChannel from nsProgressNotificationProxy. r=dougt,jduell a=blocking-fennec 2010-11-21 11:21:57 -08:00
Patrick McManus
b46439ff28 Bug 592284 - Accelerate TCP connection retries in HTTP. r=honzab a=blocking2.0
Losing a TCP SYN requires a long painful (typically 3 second) delay
before being retried. This patch creates a second parallel connection
attempt for any nsHttpConnection which has not become writable before
a timeout occurs.

If you assume .5% packet loss, this converts a full 3 second delay
from a 1 in 200 event into a 1 in 40,000 event.

Whichever connection establishes itself first is used. If another one
has been started and it does connect before the one being used is
closed then the extra one is handed to the connection manager for use
by a different transaction - essentially a persistent connection with
0 previous transactions on it. (Another way to think about is
pre-fetching a 3WHS on a high latency connection).

The pref network.http.connection-retry-timeout controls the amount of
time in ms to wait for success on the initial connection before beginning
the second one. Setting it to 0 disables the parallel connection, the
default is 250.
2010-11-21 09:50:36 +01:00
Jonathan Kew
d572b7fa06 bug 603879 - part 2 - update harfbuzz integration to support arabic etc shaping. r=jdaggett a=blocking2.0 2010-11-20 17:49:12 +00:00
Scott Greenlay
2633ddbcf2 Bug 613679 - pluginreg.dat rewritten on plugins list construction, even if there are no changes, r=josh, a=josh 2010-11-19 18:00:52 -08:00
Steven Michaud
2e29bcd78b Bug 611910 - (try again with leak fixed) r=josh a=blocking2.0BetaN+ 2010-11-19 14:58:59 -06:00
Daniel Holbert
9863cb8ff8 Backed out changeset 16c2e141d418 (Bug 611910) due to crashtest leak/orange. a=orange 2010-11-19 11:08:13 -08:00
Steven Michaud
ca1e7b72a9 Bug 611910 - r=josh a=blocking2.0BetaN+ 2010-11-19 12:14:15 -06:00
Daniel Holbert
6f00bf9e8b Bug 612662 patch 4: Prevent reentrant calls to VectorImage::Draw, and prevent scrollbars (even unpainted ones) in SVG-as-an-image helper documents. r=roc a=blocking-final+ 2010-11-19 08:56:06 -08:00
Werner Lemberg
f2351c161e Fix Savannah bug #31310. r=stuart a=blocking-fennec
From 59eb9f8cfe7d1df379a2318316d1f04f80fba54a Mon Sep 17 00:00:00 2001
Date: Tue, 12 Oct 2010 05:49:17 +0000
* src/truetype/ttgxvar.c (ft_var_readpackedpoints): Protect against
invalid `runcnt' values.
---
2010-11-18 16:36:23 -05:00
Werner Lemberg
c9d1db2122 [truetype] Improve error handling of `SHZ' bytecode instruction. r=stuart a=blocking-fennec
From 0edf0986f3be570f5bf90ff245a85c1675f5c9a4 Mon Sep 17 00:00:00 2001
Date: Wed, 06 Oct 2010 09:52:27 +0000
Problem reported by Chris Evans <scarybeasts@gmail.com>.

* src/truetype/ttinterp.c (Ins_SHZ): Check `last_point'.
---
2010-11-18 16:36:22 -05:00
Benjamin Smedberg
3930901751 Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Daniel Holbert
7d7735705e Bug 611797 part 2: Shift shared code from VectorImage/RasterImage to Image superclass, and add impl for VectorImage::ShouldAnimate. r+a=joe 2010-11-17 12:39:23 -08:00
Daniel Holbert
d54a0c55a5 Bug 611797 part 1: Expand NS_DECL_IMGICONTAINER in RasterImage & VectorImage. r+a=joe 2010-11-17 12:37:08 -08:00
Josh Aas
6094c78eb9 Bug 573873: Fix bug in HTTP handling for plugins. r=jst a=blocking2.0 2010-11-17 14:25:48 -05:00
Daniel Holbert
cca5a43b65 Bug 610796 followup: Fix non-libxul build issue from main patch, by using a virtual function call to a helper method. (Revert this changeset once we drop support for non-libxul builds). r=roc a=blocking-final+ 2010-11-16 15:19:21 -08:00
Daniel Holbert
d55cd7386a Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
c8a54bc253 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert
ff2dff48de Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
3a7978ffc3 Bug 610491: Preemptively stop SVG animations in SVG-as-an-image in OnStartRequest. r=roc a=roc 2010-11-16 10:35:59 -08:00
Ryan VanderMeulen
b3c91154cb Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Mounir Lamouri
829dd41312 Bug 595062 - Trying to fix intermittent mochitest-ipcplugins failureas in test_cocoa_focus.html. r=jst a=tests 2010-11-15 23:56:55 +01:00
Scott Greenlay
40ed798210 Bug 611197 - Force pluginreg.dat refresh to propagate fix for Quicktime pdf display bug, r=josh, a=beta8+ 2010-11-15 14:21:50 -08:00
Scott Greenlay
9bf5461ab4 Bug 611136 - Support WebPluginTypeEnabled key in com.apple.quicktime.plugin.preferences.plist, r=josh, a=betaN+ 2010-11-15 14:21:18 -08:00
Steven Michaud
a1ca2869fa Bug 601182 - Mochitest for this bug. r=josh a=test 2010-11-15 15:23:51 -06:00
Benjamin Smedberg
217e5c109d Disable test_positioning.html from bug 611206 because even though it passes locally, something about the test setup is different on tinderbox: perhaps the outer mochitest window is moving, causing the coordinates to be incorrect. a=bustage 2010-11-15 13:06:11 -05:00
Benjamin Smedberg
738a37d48b Bustage fix from typo in merge fixup from bug 611652, revision fc492fc14c67 a=bustage 2010-11-15 09:56:38 -05:00
Benjamin Smedberg
542fdd7b82 Bug 611652 - NPN_Construct doesn't work on JS functions, only on plugin-provided objects. Fix this by using JS_New to set up the construction class and prototype correctly, r=jst 2010-11-15 09:41:19 -05:00
Benjamin Smedberg
a95396d2ef Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -05:00
Karl Tomlinson
e378df1b89 Bug 610646 - Fix typo that caused 100% CPU hang running crashtest 598862.html in non-OOPP builds. a=test 2010-11-14 19:26:36 +01:00
Simon Montagu
b3b2d6b236 Make the 'More Encodings' submenus non-localizable. Bug 610638, r=emk, a=bsmedberg 2010-11-14 16:41:43 +02:00
Brad Lassey
e3016420db bug 608896 - update in-tree freetype from 2.4.1 to 2.4.3 r=stuart a=blocking-fennec 2010-11-11 17:30:52 -05:00
Brad Lassey
6ba1c57f92 bug 609114 - use freetype's configure script configure its build rather than hard coding the makefile r=ted a=blocking-fennec 2010-11-03 08:50:53 -04:00
Ehsan Akhgari
eda812475f Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Matt Woodrow
0a67be7b51 Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Taras Glek
94cfa6f633 Bug 595924: API change to go with Bug 598416 to fix crash r=mwu a=blocking2.0-betaN 2010-11-11 12:13:57 -08:00
Taras Glek
d614df95fd Bug 598416: add try/catch in places in nsZipReader.cpp that access mmaped memory directly r=bsmedberg a=blocking2.0-betaN 2010-11-11 12:13:48 -08:00
Phil Ringnalda
4b5b8b75af Bug 608657 - Remove misplaced and unused "network.hosts.(pop|smtp)_server" prefs, r=bienvenu, a=bsmedberg 2010-10-31 17:56:16 -07:00