Andrea Marchesini
51dcc840f9
Bug 795867 - XHR getResponseHeader() should inflate the value. r=bz
2012-10-02 16:38:51 -04:00
Josh Matthews
acc53b7b30
Bug 792542 - Make CSP report channel respect the privacy status of the original request. r=sstamm
2012-10-02 15:12:51 -04:00
Matthew Gregan
ef15388358
Bug 795892 - Fix CORS listener refcnt in ChannelMediaResource::OpenChannel. r=roc
2012-10-02 18:03:24 +13:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Ms2ger
a6a4232a36
Bug 793314 - Followup: Remove PtrBits from nsAttrValueInlines.h.
2012-10-02 10:57:57 +02:00
Peter Van der Beken
5a60bdb3d3
Bug 795610 - Part a: Outparamdel GetBoolAttr/GetIntAttr; r=mounir
2012-10-02 10:24:12 +02:00
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
David Keeler
0403eeeff8
Bug 795397 - Click-to-play blocklisting: respect the "plugins" permission. r=josh, r=jaws
2012-10-01 09:46:05 -07:00
Cameron McCormack
0dc074a5c3
Bug 795802 - Define content flags like frame state bits. r=bz
...
--HG--
extra : rebase_source : 4d67320ada060e29644ab6c070a1d5154b304d96
2012-10-02 10:52:06 +10:00
Anant Narayanan
f7e7e69c9c
Bug 794668 - Add fake media stream functionality to getUserMedia; r=jesup
2012-09-28 15:26:00 -07:00
Vladimir Vukicevic
1fe483b0ba
b=796156; fix test_bug574663 to drive scrolling directly; r=ehsan
2012-10-01 17:52:32 -04:00
Ehsan Akhgari
7de021df15
Bug 579517 follow-up: Remove NSPR types that crept in
2012-10-01 16:04:09 -04:00
Peter Van der Beken
5d0ed87cc3
Bug 794582 - Rename nsINode::GetSlots() to nsINode::Slots() and remove null-checks; r=mounir
2012-08-11 00:27:28 +02:00
Ms2ger
ddc2dbbc65
Bug 793116 - Remove nsISupports argument to xpc_CreateGlobalObject; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
ea6699a96d
Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
8c3cbade76
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Timothy Nikkel
95c3e37053
Bug 784591. Add an optional argument to the unlock image api on documents so that we can request that the image be discarded only in some situations. r=khuey
2012-10-01 12:53:57 -05:00
Nathan Froyd
7e263a0b6f
Bug 795964 - pack nsListenerStruct better on 64-bit platforms; r=smaug
2012-10-01 13:06:13 -04:00
Nathan Froyd
27b9179800
Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug
2012-09-27 16:11:31 -04:00
Mounir Lamouri
d3dea5667a
Bug 795328 - Refactor some code in nsEventListenerManager by using GetTargetAsInnerWindow(). r=smaug
2012-10-01 10:43:53 +01:00
Mark Goodwin
344f390f55
Bug 770099 - Send CSP policy and report information to Web Console (Part 1); r=dveditz,msucan,jwalker
2012-10-01 10:10:29 +01:00
Peter Van der Beken
2561b4b1e6
Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Chris Pearce
f8eef7102f
Bug 794725 - Don't report pointer movement when we re-enter application window. r=smaug
2012-10-01 09:15:29 +13:00
Kyle Huey
9de7b7f765
Bug 795128: Add memory reporting for attribute maps and nodes. r=smaug
2012-09-30 09:43:47 -07:00
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