Kyle Huey
e5eb83ac5a
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Mounir Lamouri
2cc12c0525
Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking
2012-09-30 14:47:48 +01:00
Steve Workman
fd6793666f
Bug 734546: Add DASH Decoders and Readers r=cpearce r=ted
2012-09-29 16:29:04 -07:00
Steve Workman
c5ea79ed89
Bug 734546: Add full byte range request ability to ChannelMediaResource r=cpearce
2012-09-29 16:29:04 -07:00
Simon Montagu
a6d148a96d
Add vendor prefix to :dir selector. Bug 562169, r=dbaron
2012-09-29 13:41:10 -07:00
Anthony Jones
74012b7d55
Bug 794463 - Fix nullptr failure in Azure canvas. r=roc
2012-09-29 12:32:57 -04:00
Jonathan Kew
e18b10e5fb
bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc
2012-09-29 12:35:19 +01:00
Robert Longson
eb62e6dca9
Bug 729139 - Accept negative radius arcs in markup. r=jwatt
2012-09-29 11:19:13 +01:00
Phil Ringnalda
8aa24b1c1a
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-09-28 22:06:29 -07:00
Ed Morley
2d7f6e3528
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-09-29 00:08:58 +01:00
Olli Pettay
28eedfbe35
Bug 794694 - Make sure to trace all the gray GCthings, not only wrapper, r=mccr8
2012-09-29 01:29:37 +03:00
Isaac Aggrey
e496b51126
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Olli Pettay
0b22258827
Bug 794623 - Fewer virtual GetTargetForEventTargetChain calls, r=jst
...
--HG--
extra : rebase_source : db5b18e28b2ed362e0761370b21ef74e6231a476
2012-09-28 02:15:29 +03:00
Gene Lian
9491b6633a
Bug 789973 - B2G system time: adjust system clock after receiving NITZ timestamp (part 1). r=jlebar
2012-09-28 14:02:28 +08:00
Philipp von Weitershausen
611ab85c83
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
213e5bb81b
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ce41594120
Merge mozilla-central to mozilla-inbound
2012-09-28 16:01:22 +01:00
foudfou
d72827c0aa
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Matt Woodrow
196332719c
Bug 539356 - Disable test_text.html on android since it crashes on armv6. r=roc
2012-09-29 01:12:39 +12:00
Ed Morley
9afe80f95c
Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE
2012-09-28 14:08:04 +01:00
Benoit Jacob
99e7fd66e3
Bug 785734 - reject certain rare, but legal, texImage2D calls to work around a driver bug - r=jgilbert
2012-09-28 07:41:45 -04:00
Benoit Jacob
6517399659
Bug 790879 - work around Mac bufferData bug - r=jgilbert
2012-09-28 07:41:44 -04:00
Blake Kaplan
7887a1ea48
Bug 787552 - Expose the IP address and MAC address to content. r=vchang f=kaze
2012-09-27 14:14:06 -04:00
Nicolas Silva
b55038bbf2
Bug 794747 - add a pref for the default size of the VideoQueue. r=kinetik
2012-09-28 13:34:03 -04:00
Philipp von Weitershausen
fa0bd2ad31
Bug 795061 - AssertAppProcessPermission: Kill any process that doesn't have the specified permission, not just app processes. r=cjones
2012-09-28 10:29:36 -07:00
Benoit Jacob
c7bf532b7d
Bug 791905 - reject WebGL canvas sizes greater than INT_MAX - r=jgilbert
2012-09-27 10:13:45 -04:00
Benoit Jacob
c31f60b47d
Bug 791521 - return early on resizing WebGLContext where the canvas is null - r=jgilbert
2012-09-27 10:13:44 -04:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
58d3d65ab2
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
0b20201fde
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Woodrow
d7d6503400
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
5a14809d04
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
958ce7d98d
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Masatoshi Kimura
4a9395eb5d
Bug 764234 - Implement StringEncoding API. r=dougt,smontagu
2012-09-28 11:19:18 +01:00
Gene Lian
d3d7062579
Bug 789973 - B2G system time: adjust system clock after receiving NITZ timestamp (part 1). r=jlebar
2012-09-28 14:02:28 +08:00
Makoto Kato
222556a3d5
Bug 786579 - Remove old MSVC (<=2003) support. r=khuey
2012-09-28 16:02:40 +09:00
Philipp von Weitershausen
b2b0343f76
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
ce02d379ee
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Phil Ringnalda
e587aae42c
Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure
2012-09-27 21:24:42 -07:00
Andrea Marchesini
7f0785e84a
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-09-27 23:05:59 -04:00
Aryeh Gregor
becd9525e8
Bug 779809 part 2 - Don't safe-forward [notxpcom] methods; r=khuey,bz
2012-08-09 11:33:38 +03:00
Chris Double
c11aeb6b46
Bug 791912 - Fix crash when using libstagefright during video playback shutdown on B2G - r=cpearce
2012-09-27 16:33:43 +12:00
Edwin Flores
78ee3c2d6c
Bug 759506 - Add support for zero-copy OMX hardware decoding to B2G r=doublec
2012-09-27 16:33:43 +12:00
Paul Adenot
f7164ff403
Bug 730765 - Remove a copy of nsBlobProtocolHandler.h. r=khuey
2012-09-25 16:23:32 -07:00
Benoit Jacob
e3733560bb
Bug 790946 - remove last remnant of MOZ_ prefix: we were still advertising MOZ_EXT_texture_filter_anisotropic even though we don't support the prefixed name anymore - no review, trivial omission
2012-09-26 14:52:38 -04:00
Benoit Jacob
d70759ef7d
Bug 750862 - forgot to add the next WebGL compressed texture extensions to WebGLContextNotSupported - no review, bustage of --disable-webgl build
2012-09-26 14:46:09 -04:00
Terrence Cole
68f1a7379e
Bug 791322 - Move Rooted to js:: namespace; r=billm
...
These should not be part of the public API.
--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Isaac Aggrey
b33410feb2
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
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