Commit Graph

9229 Commits

Author SHA1 Message Date
Kyle Machulis
6d143f7d47 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Kyle Machulis
1e4ed26c2f Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-09-30 22:54:53 -07:00
Patrick McManus
291d14faf0 bug 769764 - followup fix error check and whitespace r=josh 2012-09-30 21:29:42 -04:00
Mike Habicher
3e1aa22ba1 Bug 779145 - Add support for unsoliciated onShutter and onClosed callbacks, handle OnNavigation to clean-up. r=jst 2012-09-30 20:37:47 -04:00
Ryan VanderMeulen
28079b8951 Merge m-c to inbound. 2012-09-30 18:32:28 -04:00
Ms2ger
25d9fb725b No bug - Fix stupid bug because I don't know Python; hat-tip=tbsaunde (NPOTB, DONTBUILD) 2012-09-30 21:24:25 +02:00
Mounir Lamouri
a103215fb8 Merge m-i inm-c. 2012-09-30 13:19:15 +01:00
Ms2ger
38f9926cde No bug - Remove some dead code from importTestsuite.py. (NPOTB, DONTBUILD) 2012-09-30 09:53:39 +02:00
Ms2ger
8ebabf48bc Bug 794891 - Format known-failures JSON files according to local conventions for now. (NPOTB, DONTBUILD) 2012-09-30 09:52:06 +02:00
Phil Ringnalda
3380c23d86 Back out eae519534b01 (bug 772364), 4935822abf87 (bug 795164) and ddee22deae16 (bug 793082) for orange on a CLOSED TREE 2012-09-29 13:20:09 -07:00
Fabrice Desré
a5780cbbfe Bug 772364 - Implement update mechanism for packaged apps [r=gwagner] 2012-09-29 10:57:18 -07:00
Etienne Segonzac
45258ec07f Bug 795164 - Preventing DOMApplicationRegistry from broadcasting the same message to the same message manager multiple times. [r=fabrice] 2012-09-29 10:57:18 -07:00
Mounir Lamouri
4dab400e01 Bug 795134 - Remove localStorage when clear private data API is used. r=bent
--HG--
rename : dom/tests/mochitest/localstorage/test_app_uninstall.html => dom/tests/mochitest/localstorage/test_clear_browser_data.html
2012-09-29 18:31:33 +01:00
Marco Chen
e6c987855d Bug 794881 - Phone state to dialing or connected will clear ForceForUse to None. r=philikon
During phone state of dialing or connected and speakerEnabled not set, the
AudioManager.ForceForUse(NONE) can't be called or will overrite existing
value Ex: BT_SCO during communication mode.
2012-09-28 14:03:43 +08:00
James Kitchener
ec00d0cbc3 Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff 2012-09-29 12:32:56 -04:00
Jonathan Kew
a85e67486b 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
Kyle Huey
1ccfbe810b 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
f13826bcd0 Bug 795136 - 3/2 - Disabling tests until bug 795711 is fixed. r=me 2012-09-30 16:07:51 +01:00
Mounir Lamouri
e00ceb10bd Bug 795136 - 2/2 - Add 'network-events' permission to access network-{upload,download} events. r=sicking 2012-09-30 14:48:40 +01:00
Mounir Lamouri
990268d0ba 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
Eric Chou
0321ad5184 Bug 794514 - patch 3: added requests and completed call flow, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou
394898a96a Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou
7e2d4d9ea5 Bug 794514 - patch 1: Update DOM API, r=qdot, sr=mrbkap 2012-09-29 18:26:46 +08:00
Gina Yeh
323709cc8c Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Phil Ringnalda
7c24bbe9a8 Merge m-c to m-i 2012-09-29 00:03:32 -07:00
Inder Kumar ext:(%20and%20Mike%20Habicher%20%3Cmhabicher%40mozilla.com%3E)
d8f8957970 Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
Phil Ringnalda
72a97ced78 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Ed Morley
bb53ce0424 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-29 00:08:58 +01:00
Olli Pettay
fe6fc67766 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
a53c93b026 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
David Dahl
c9b984fdb4 Bug 758269 - Install permissions from manifest to Permission Manager r=fabrice 2012-09-28 17:16:29 -05:00
Ben Turner
e335816c2f Bug 794563 - 'Make app uninstall trigger new clear private data notifications'. r=mounir+sicking. 2012-09-28 09:24:45 -07:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Phil Ringnalda
dc2b0d6620 Back out 95d3bf1b070b (bug 789392) for mochitest failure on a CLOSED TREE 2012-09-27 21:26:59 -07:00
Phil Ringnalda
4201311ebf Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure 2012-09-27 21:24:42 -07:00
Hubert Figuière
a25e8cfa45 Bug 795162 - Use systemlibs.js for WifiWorker. r=philikon
--HG--
extra : rebase_source : 86730fbdfaa58cb1c41a9035917f2126bdcb4aea
2012-09-27 16:44:08 -07:00
Hubert Figuière
48af7828ba Bug 795161 - Make systemlibs.js importable. r=philikon
--HG--
extra : rebase_source : e3cc46461c3923feb10c3c803bba394cd56dc922
2012-09-27 16:43:54 -07:00
Yoshi Huang
f96ded8984 Bug 784646 - B2G: Cannot import SIM contacts. r=gwagner 2012-09-28 01:37:39 +08:00
Vicamo Yang
c6d0c89c91 Bug 787420 - Part 2/2: add test case for rolling back on error, r=philikon 2012-09-28 11:45:10 +08:00
Vicamo Yang
5796fbec09 Bug 787420 - Part 1/2: support set/get preferred network type, r=philikon 2012-09-28 11:45:06 +08:00
Ryan VanderMeulen
31282751fb Backout 93b39d0f7d17 for build bustage. 2012-09-27 23:25:13 -04:00
Alexandre Lissy
c185f04347 Bug 794424 - Send the headphone status at boot time. r=philipp 2012-09-27 23:06:01 -04:00
Justin Lebar
1b67e4785c Bug 789392 - window.close() failed to trigger mozbrowserclose event on the parent frame if the child frame is not created with window.open. r=bz 2012-09-27 23:06:01 -04:00
Eric Chou
e1be457e78 Bug 794469 - patch 2: Implement sending "Connect" request, r=qdot
From 4de16db95fc67e644868347b0107f76751efb9cf Mon Sep 17 00:00:00 2001
2012-09-27 22:59:27 +08:00
Eric Chou
711fce45f4 Bug 794469 - patch 1: OBEX related constants, data structures and basic functions, r=qdot 2012-09-28 23:09:29 +08:00
Gene Lian
9a3cf0f2fc Bug 789973 - B2G system time: adjust system clock after receiving NITZ timestamp (part 2). r=philikon 2012-09-28 14:02:57 +08:00
Gene Lian
cd68b13f76 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
ca81965de9 Bug 776663 - Assert permissions for WebTelephony and MobileConnection access. r=cjones 2012-09-27 22:43:35 -07:00
Philipp von Weitershausen
44fec9de95 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
ffc72e3d22 Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00