Commit Graph

9494 Commits

Author SHA1 Message Date
Mihai Sucan
f94b1e8aa4 Bug 768096 - Web Console remote debugging protocol support - Part 4.5: global actor; r=past 2012-10-06 13:29:57 +03:00
Hsin-Yi Tsai
cf19cf34c5 Bug 783525 - part 2 - RIL impl. r=marshall_law 2012-10-03 14:51:53 +08:00
Hsin-Yi Tsai
81d7a61b89 Bug 783525 - part 1 - idl and DOM impl for ICCCardLockErrorEvent. r=smaug, sr=sicking 2012-10-03 14:29:07 +08:00
Girish Sharma
895309c770 Bug 797066 - Make javascript.options.mem.log only log the GC/CC details in the Console. r=terrence 2012-10-03 00:57:31 +05:30
Andrea Marchesini
a25544f89f Bug 720083 - postMessage doesn't need the targetOrigin. r=bent 2012-10-03 18:19:22 -04:00
Andrea Marchesini
2cfa5a3d14 Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent 2012-10-03 18:19:22 -04:00
Benoit Jacob
3a142c6980 Bug 779611 - part 3 - port WebGL extensions to WebIDL bindings, refactor them - r=bz,jgilbert 2012-10-03 17:13:05 -04:00
Benoit Jacob
9470b7d5d2 Bug 779611 - part 2 - drop old bindings for WebGLUniformLocation - r=bz 2012-10-03 17:13:05 -04:00
Benoit Jacob
8a7f727099 Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz 2012-10-03 17:13:05 -04:00
Kyle Huey
b2feb19cf4 Bug 780778: Make sure we already release stuff on the right thread. r=bent
--HG--
extra : rebase_source : 554edc65d83af084a26679d046a90d38f499e142
2012-10-03 12:05:20 -07:00
Blake Kaplan
11123581a0 Bug 791911 - Listen for our child message managers dying and remove them from our list of managers to 'broadcast' to. r=gwagner
--HG--
extra : rebase_source : 407eb90d797c410db1a80a59ca2e52b42b68af87
2012-10-02 17:24:53 -04:00
Bonnie Surender
10d25ef888 Bug 792952, B2G wifi scanning js. r=mrbkap
--HG--
extra : rebase_source : e05fffbf5344ad59cafe2293dd463ee963f90580
2012-10-01 17:40:19 -07:00
Blake Kaplan
0b1c3e3f7b Bug 784766 - Verify that we only talk to processes that have permission to talk to us. r=cjones
--HG--
extra : rebase_source : 57b07df019b33cef1c8a9ebf4f3bf481741497ef
2012-10-02 11:18:17 -04:00
Eric Faust
3a77484d2d Bug 795150 - Add DOMCallbacks to worker thread JSRuntimes. (r=bz) 2012-10-03 12:32:06 -04:00
Patrick Wang
253d71a38a Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Andrew Quartey
106c5d6f24 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
6745ad3f2c Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Andrew Quartey
79f41a48bd Bug 792581 - part 2: Replace LL_EQ macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Andrew Quartey
9eed719a44 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Mounir Lamouri
49a645b656 Bug 796911 - Attempt to fix Intermittent test_clear_browser_data.html. r=jwatt 2012-10-03 13:46:21 +01:00
Bobby Holley
02d3f31738 Bug 795275 - Warn about content access to |Components|. r=mrbkap 2012-10-03 11:44:18 +02:00
Bobby Holley
b9afeeb542 Bug 795275 - Introduce an explicit mechanism for determining if a script is from XBL. r=mrbkap
We want this right now so that we can avoid the scary warning when content Components
access happens in XBL (which we're allowing going forward). This patch would be overkill
just for that, but I also have plans to introduce a SOW-like protection of the Components
wrapper filtering policy. I can't just do the filename hack for that though, because real-
world XBL filenames might be all over the place. So let's just be safe here.
2012-10-03 11:44:18 +02:00
Mounir Lamouri
d145d82982 Bug 795725 - Remove booleans that prevents calling RemoveObserver() twice. r=smaug 2012-10-03 10:39:23 +01:00
Mounir Lamouri
12ac8bdc34 Bug 795703 - Do not assert when calling do_GetWeakReference() on a nsISupport not capable of that. r=smaug,dougt 2012-10-03 10:38:46 +01:00
Vicamo Yang
1e37b06c3c Bug 790192 - Part 2/2: test cases, r=marshall_law 2012-10-03 16:37:29 +08:00
Vicamo Yang
7e078e6674 Bug 790192 - Part 1/2: support strict GSM SMS 7-Bit encoding, r=marshall_law 2012-10-03 16:37:19 +08:00
Hsin-Yi Tsai
3924a76801 Bug 795235 - B2G RIL: Use system message to notify a 'dialling' call. r=vicamo 2012-10-02 16:39:09 +08:00
Nicholas Nethercote
71e4702d8c Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
2012-09-20 21:41:49 -07:00
Anant Narayanan
b9965a1838 Bug 798966: Create a preference to bypass gUM permission; r=jesup 2012-10-07 17:31:45 -07:00
Chris Pearce
223b7d2f32 Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar 2012-10-08 10:12:50 +13:00
Anant Narayanan
0e8bef661b Bug 798825: Add DataChannel DOM interfaces to RTCPeerConnection; r=smaug 2012-10-07 01:34:30 -04:00
Anant Narayanan
552e23146d Bug 694807: Implement PeerConnection DOM interface; r=jst 2012-10-07 01:34:30 -04:00
Anant Narayanan
785ec1a331 Bug 694807: Implement PeerConnection C++ module; r=jst,jesup,ekr 2012-10-07 01:34:30 -04:00
Anant Narayanan
92ad319945 Bug 792188: Add hints to MediaStreams to help with generating signaling r=jesup 2012-10-07 01:34:30 -04:00
Eric Chou
8f9fed01f1 Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Gina Yeh
2bb01f2f8e Bug 796827 - Final version: Destroy BluetoothHfpManager instance while in shutdown, r=qdot 2012-10-03 13:53:39 +08:00
Fabrice Desré
dc099939c4 Bug 796217 - Refactor Webapps.jsm and related files - Part 2: refactor PermissionTable.jsm [r=ddhal]
--HG--
rename : dom/apps/src/PermissionsTable.jsm => dom/apps/src/PermissionsInstaller.jsm
2012-10-02 22:38:06 -07:00
Fabrice Desré
576ec27252 Bug 796217 - Refactor Webapps.jsm and related files - Part 1: move DOMApplicationManifest outside of Webapps.jsm [r=gwagner] 2012-10-02 22:38:03 -07:00
Gina Yeh
3f0fb916d1 Bug 796829 - Final version: Destroy BluetoothScoManager instance while in shutdown, r=qdot 2012-10-03 11:27:36 +08:00
Ehsan Akhgari
482a4e003a Bug 797150 - Rename AudioBufferSourceNode's noteOn and noteOff to start/stop; r=bzbarsky 2012-10-02 18:15:33 -04:00
Ehsan Akhgari
707fdff5de Bug 792649 - Make the simplest of Web Audio tests work without audio playback for now; r=bzbarsky 2012-09-24 23:31:58 -04:00
Gina Yeh
349708da74 Bug 796300 - Final version: Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket, r=qdot 2012-10-03 10:55:28 +08:00
Josh Aas
747ae561cc Bug 797100: Replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner. r=jst 2012-10-02 22:43:18 -04:00
Kyle Huey
ecf8a9c7b5 Bug 785248: Clear the worker's queue when terminating, even if we never ran any script. r=bent
--HG--
extra : rebase_source : 22d58a0845298b35c79805ec256cc56e6c3ce1fc
2012-10-02 19:03:28 -07:00
Justin Lebar
585808893d Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 21:19:11 -04:00
Justin Lebar
55dd3bf5ba Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones 2012-10-02 21:19:11 -04:00
Tom Schuster
68bf2735b6 Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi 2012-10-02 09:43:00 -07:00
Masatoshi Kimura
adbc1a4a51 Bug 795544 - Test updates. r=bz
--HG--
rename : dom/encoding/test/test-big5.js => dom/encoding/test/unit/test_big5.js
rename : dom/encoding/test/test-euc-jp.js => dom/encoding/test/unit/test_euc-jp.js
rename : dom/encoding/test/test-euc-kr.js => dom/encoding/test/unit/test_euc-kr.js
rename : dom/encoding/test/test-gbk.js => dom/encoding/test/unit/test_gbk.js
rename : dom/encoding/test/test-hz-gb-2312.js => dom/encoding/test/unit/test_hz-gb-2312.js
rename : dom/encoding/test/test-iso-2022-jp.js => dom/encoding/test/unit/test_iso-2022-jp.js
rename : dom/encoding/test/test-iso-2022-kr.js => dom/encoding/test/unit/test_iso-2022-kr.js
rename : dom/encoding/test/test-shift_jis.js => dom/encoding/test/unit/test_shift_jis.js
rename : dom/encoding/test/tests.js => dom/encoding/test/unit/test_singlebytes.js
2012-10-01 21:49:12 +09:00
Gene Lian
597e68014f Bug 793970 - Reuse nsAppStartup's watchdog to compulsively power-off/reboot/quit Gecko if profile synchronizing hangs. r=cjones 2012-10-02 15:26:32 +08:00
vliu
4d96e1fbb8 Bug 793073 - B2G RIL: Quickly tapping Airplane Mode causes phone keeping in Emergency Calls Only. r=philikon 2012-09-28 10:53:29 +08:00
Dave Hylands
07e7ab4c35 Bug 797174 - dom.ipc.processPrelauch is misspelled
Corrected spelling to be dom.ipc.processPrelaunch
2012-10-02 17:13:40 -07:00
Justin Lebar
0763b41739 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
Andrea Marchesini
930c405ed4 Bug 794102 - checkInstalled should return an app object. r=felipc 2012-10-02 16:38:51 -04:00
Steven Michaud
c109a6325b Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Justin Lebar
774351fff4 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Alexander Surkov
ff53cbaba5 Bug 785047 - force disable oop when JAWS is running, r=joshmoz 2012-10-02 22:24:51 +09:00
Shian-Yow Wu
d613ab3419 Bug 794767 - B2G RIL: Handle data call error without APN name. r=vicamo 2012-10-02 18:48:00 +08:00
Ed Morley
3d3703a920 Merge mozilla-central to mozilla-inbound 2012-10-02 11:19:03 +01:00
Ms2ger
b1a63e46b5 Bug 793400 - Prepare test_bug370098.html for Node WebIDL binding; r=mounir 2012-10-02 10:24:12 +02:00
Hsin-Yi Tsai
454cb4ede9 Bug 795255 - B2G RIL: improve error handling mechanism for 'setCallWaiting'. r=vicamo 2012-09-29 17:21:28 +08:00
Steven Lee
1f252a9430 Bug 783500 - Hook up IdleAPI to permissions manager, r=jlebar 2012-10-02 10:08:02 +01:00
Phil Ringnalda
e6a8ebd563 Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes 2012-10-01 23:00:51 -07:00
Gene Lian
cc430c7ee3 Bug 795209 - System Message API: Fail to fire 'icc-stkcommand' system messages. r=fabrice 2012-10-02 13:03:59 +08:00
Justin Lebar
3d882b3cc9 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 00:11:42 -04:00
Justin Lebar
769bb48b3d Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones 2012-10-02 00:11:41 -04:00
Gina Yeh
3945435967 Bug 795850 - Final version: BluetoothHfpManager failed to be added as observer of mozsettings-changed, r=qdot 2012-10-02 11:00:33 +08:00
Benoit Girard
c8f1bc0779 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
David Chan
fdd78274c8 Bug 796116 - Fix Webapps:InstallPackage to notify observers [r=fabrice] 2012-10-01 16:45:32 -07:00
Fabrice Desré
46b1ee38a6 Bug 782524 - window.navigator instanceof window.Window throws unexpected error [r=bz] 2012-10-01 15:30:44 -07:00
Anant Narayanan
0ef26fa806 Bug 794668 - Fix error in patch to add fake media stream; r=me 2012-10-01 15:29:21 -07:00
Anant Narayanan
f7e7e69c9c Bug 794668 - Add fake media stream functionality to getUserMedia; r=jesup 2012-09-28 15:26:00 -07:00
Gregor Wagner
ae65e313ce Bug 793361 - Apps, SystemMessages: free message manager references for killed children. r=fabrice 2012-10-01 13:29:59 -07:00
Ehsan Akhgari
7de021df15 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04: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
Ms2ger
4f2bf30d93 Bug 756897 - Don't use XPCStringConvert::ReadableToJSVal directly in nsDOMClassInfo.cpp; r=bz 2012-10-02 10:24:10 +02:00
Ms2ger
82dca59cca Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz 2012-10-02 10:24:08 +02:00
Ms2ger
4bde9a8fcd Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz 2012-10-02 10:22:32 +02:00
Ms2ger
052582276b Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz 2012-10-02 10:07:36 +02:00
Ms2ger
cad7911805 Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz 2012-10-02 10:07:36 +02:00
Ms2ger
70cfc7071d Bug 780161 - Part b: Introduce nsGlobalWindow::GetLength(); r=bz 2012-10-02 10:07:35 +02:00
Nathan Froyd
27b9179800 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Boris Zbarsky
bc0118a179 Bug 792980. Don't force consumers to list descriptors for interfaces that are using all teh defaults. r=peterv
The new setup is:

* Consequential interfaces with no explicit descriptor are still skipped.
* If no information is provided about an interface, an empty descriptor is
  assumed.
* If a list is provided and the only entry is a worker descriptor, an empty
  main-thread descriptor is assumed.
2012-10-01 08:56:31 -04:00
Boris Zbarsky
0c92627751 Bug 795751. Make CSS2Properties stuff work even with pref names that are not identifiers. r=dholbert 2012-10-01 08:45:12 -04:00
Boris Zbarsky
2279ce8914 Bug 793528. Worker bindings should default to looking for headers in mozilla/dom/workers/bindings/. r=khuey 2012-10-01 08:45:11 -04: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
Peter Van der Beken
dadc1f518a Fix for bug 794959 (Use the right cast in GetAs* functions of union types in new DOM bindings). r=bz.
--HG--
extra : rebase_source : 051181aa319edd386679119846fd61c574957b54
2012-09-26 16:17:46 +02:00
Peter Van der Beken
931a931c83 Fix for bug 791347 (Support non-nsISupports refcounted natives and non-refcounted natives in new DOM bindings). r=bz/smaug.
--HG--
extra : rebase_source : cd6d98461d7fa3a07fa1361b4d840448122b6655
2012-09-19 15:02:37 +02:00
Gina Yeh
e98a47c01b Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Kyle Machulis
348f07e1d1 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Kyle Machulis
53cd0a1c12 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-10-01 00:03:28 -07:00
Eric Chou
53ea233ce5 Bug 795410 - patch 3: Get file content and send, r=qdot
From 01ff8209cc5242bdf6c89432899ab4658e71e58a Mon Sep 17 00:00:00 2001
2012-09-28 20:03:36 +08:00
Eric Chou
c10fa5f9db Bug 795410 - patch 2: Complete call flow, r=qdot
From 9fb76c07818c989ec8edc26b54ba84e1e6ec41ed Mon Sep 17 00:00:00 2001
2012-09-28 19:42:04 +08:00
Eric Chou
6c110db3b7 Bug 795410 - patch 1: Basic function prototype, r=qdot
From 2231ac9d0fb159edabb891f8b89afc176fb15c2b Mon Sep 17 00:00:00 2001
2012-09-28 18:59:12 +08:00
Kyle Machulis
ff94d6c921 Backing out 826ef2970e19 (Bug 790739) due to bustage
--HG--
extra : rebase_source : b9698710f280c343d5aac29441111e9848912dc8
2012-09-30 23:17:21 -07:00
Kyle Machulis
fbe3ed43ff Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Patrick Wang
b61f668958 Bug 791935 - Part 3: Test case r=philikon 2012-09-25 18:24:10 +08:00
Patrick Wang
f09a2e7947 Bug 791935 - Part 2: Send MT Call, Call Connected and Call Disconnected envelope commands r=philikon 2012-09-27 17:12:10 +08:00
Patrick Wang
66e3ba5fdb Bug 791935 - Part 1: IDL change r=philikon sr=sicking 2012-09-27 17:07:24 +08:00
Kyle Machulis
de09ce7cbc Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Kyle Machulis
8bcd4826b8 Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-09-30 22:54:53 -07:00
Patrick McManus
f6050df8f3 bug 769764 - followup fix error check and whitespace r=josh 2012-09-30 21:29:42 -04:00
Mike Habicher
aa7b948dff 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
dad6d6bcf9 Merge m-c to inbound. 2012-09-30 18:32:28 -04:00
Ms2ger
2c5bfaf79d 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
ebe616f9e1 Merge m-i inm-c. 2012-09-30 13:19:15 +01:00
Ms2ger
116ad8ce50 No bug - Remove some dead code from importTestsuite.py. (NPOTB, DONTBUILD) 2012-09-30 09:53:39 +02:00
Ms2ger
6780a3fb8c 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
eee9bbbf40 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é
0992143e97 Bug 772364 - Implement update mechanism for packaged apps [r=gwagner] 2012-09-29 10:57:18 -07:00
Etienne Segonzac
4785fb6428 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
ca05059818 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
a1e8ffc491 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
d9c430ff0e Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff 2012-09-29 12:32:56 -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
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
53c4718504 Bug 795136 - 3/2 - Disabling tests until bug 795711 is fixed. r=me 2012-09-30 16:07:51 +01:00
Mounir Lamouri
d862c3f266 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
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
Eric Chou
9c95154f0c Bug 794514 - patch 3: added requests and completed call flow, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou
0a7b0f9afb Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou
e009fa404c Bug 794514 - patch 1: Update DOM API, r=qdot, sr=mrbkap 2012-09-29 18:26:46 +08:00
Gina Yeh
88282bd920 Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Phil Ringnalda
bb75747da7 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)
796bda9b42 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
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
David Dahl
bea0055f87 Bug 758269 - Install permissions from manifest to Permission Manager r=fabrice 2012-09-28 17:16:29 -05:00
Ben Turner
fdc00e0ba2 Bug 794563 - 'Make app uninstall trigger new clear private data notifications'. r=mounir+sicking. 2012-09-28 09:24:45 -07:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Phil Ringnalda
3bf447ccd6 Back out 95d3bf1b070b (bug 789392) for mochitest failure on a CLOSED TREE 2012-09-27 21:26:59 -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
Hubert Figuière
41748dd3d4 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
51fb4a1f1a Bug 795161 - Make systemlibs.js importable. r=philikon
--HG--
extra : rebase_source : e3cc46461c3923feb10c3c803bba394cd56dc922
2012-09-27 16:43:54 -07:00
Yoshi Huang
7f8572ddf8 Bug 784646 - B2G: Cannot import SIM contacts. r=gwagner 2012-09-28 01:37:39 +08:00
Vicamo Yang
8132e57cde 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
302bd01189 Bug 787420 - Part 1/2: support set/get preferred network type, r=philikon 2012-09-28 11:45:06 +08:00
Ryan VanderMeulen
507ee1f330 Backout 93b39d0f7d17 for build bustage. 2012-09-27 23:25:13 -04:00
Alexandre Lissy
dfd92053d1 Bug 794424 - Send the headphone status at boot time. r=philipp 2012-09-27 23:06:01 -04:00
Justin Lebar
7032cf24b5 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
5e5b4c3299 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
bf0e5c8fad Bug 794469 - patch 1: OBEX related constants, data structures and basic functions, r=qdot 2012-09-28 23:09:29 +08:00
Gene Lian
762057d12b 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
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
46e59c19a0 Bug 776663 - Assert permissions for WebTelephony and MobileConnection access. r=cjones 2012-09-27 22:43:35 -07: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
0bcc20ff01 Bug 677841 - Disable test_resize_move_windows.html on Linux for too many intermittent failures 2012-09-28 15:45:29 +01:00