Commit Graph

9399 Commits

Author SHA1 Message Date
Justin Lebar
ed2c71fc9a Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones 2012-10-02 21:19:11 -04:00
Tom Schuster
e1dc8d9cc1 Bug 795442 - Allow nsIChannel.contentDispositionFilename to be writable. r=jduell, sr=biesi 2012-10-02 09:43:00 -07:00
Masatoshi Kimura
6aa99b0162 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
60d335c589 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
22df8be092 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
c3c631380b Bug 797174 - dom.ipc.processPrelauch is misspelled
Corrected spelling to be dom.ipc.processPrelaunch
2012-10-02 17:13:40 -07:00
Justin Lebar
aa5d8bf209 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
c38cbdfaf3 Bug 794102 - checkInstalled should return an app object. r=felipc 2012-10-02 16:38:51 -04:00
Steven Michaud
8650a61e2a Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Justin Lebar
d332c4aac6 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Alexander Surkov
a768a4e2c2 Bug 785047 - force disable oop when JAWS is running, r=joshmoz 2012-10-02 22:24:51 +09:00
Shian-Yow Wu
055a69152c Bug 794767 - B2G RIL: Handle data call error without APN name. r=vicamo 2012-10-02 18:48:00 +08:00
Ed Morley
d078159b72 Merge mozilla-central to mozilla-inbound 2012-10-02 11:19:03 +01:00
Ms2ger
872ef56d79 Bug 793400 - Prepare test_bug370098.html for Node WebIDL binding; r=mounir 2012-10-02 10:24:12 +02:00
Hsin-Yi Tsai
9d648e440d Bug 795255 - B2G RIL: improve error handling mechanism for 'setCallWaiting'. r=vicamo 2012-09-29 17:21:28 +08:00
Steven Lee
a130bb5e9f Bug 783500 - Hook up IdleAPI to permissions manager, r=jlebar 2012-10-02 10:08:02 +01:00
Phil Ringnalda
fb7f683c92 Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes 2012-10-01 23:00:51 -07:00
Gene Lian
e23aa8efbe Bug 795209 - System Message API: Fail to fire 'icc-stkcommand' system messages. r=fabrice 2012-10-02 13:03:59 +08:00
Justin Lebar
b12f4cec24 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 00:11:42 -04:00
Justin Lebar
89936c0932 Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones 2012-10-02 00:11:41 -04:00
Gina Yeh
5d2d89e9b1 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
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
David Chan
a2872c222d Bug 796116 - Fix Webapps:InstallPackage to notify observers [r=fabrice] 2012-10-01 16:45:32 -07:00
Fabrice Desré
bc91d34bfb Bug 782524 - window.navigator instanceof window.Window throws unexpected error [r=bz] 2012-10-01 15:30:44 -07:00
Anant Narayanan
3dcc0204a2 Bug 794668 - Fix error in patch to add fake media stream; r=me 2012-10-01 15:29:21 -07:00
Anant Narayanan
d1b0968bdf Bug 794668 - Add fake media stream functionality to getUserMedia; r=jesup 2012-09-28 15:26:00 -07:00
Gregor Wagner
e191daead8 Bug 793361 - Apps, SystemMessages: free message manager references for killed children. r=fabrice 2012-10-01 13:29:59 -07:00
Ehsan Akhgari
4b71a98ab2 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04:00
Ms2ger
37c3d933eb Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley 2012-10-02 10:24:11 +02:00
Ms2ger
a77a250988 Bug 793314 - Remove PtrBits; r=mounir,roc 2012-10-02 10:24:11 +02:00
Ms2ger
3f22f8d11b Bug 756897 - Don't use XPCStringConvert::ReadableToJSVal directly in nsDOMClassInfo.cpp; r=bz 2012-10-02 10:24:10 +02:00
Ms2ger
db5221a631 Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz 2012-10-02 10:24:08 +02:00
Ms2ger
d19a1ada0a Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz 2012-10-02 10:22:32 +02:00
Ms2ger
ea90d0c98b Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz 2012-10-02 10:07:36 +02:00
Ms2ger
c258b6f47a Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz 2012-10-02 10:07:36 +02:00
Ms2ger
a62cc100d1 Bug 780161 - Part b: Introduce nsGlobalWindow::GetLength(); r=bz 2012-10-02 10:07:35 +02:00
Nathan Froyd
3c013d928f Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Boris Zbarsky
271c035440 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
bd3dc8925b 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
6c9f57284b 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
b5b5988316 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
212ca8e4dc 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
225e9ed8d3 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
0be0dc67c7 Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Kyle Machulis
57d3f019c3 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Kyle Machulis
c5e6656fbb Bug 790739: Patch 2 - BluetoothSocketConnection changes for server sockets; r=cjones 2012-10-01 00:03:28 -07:00
Eric Chou
7676cacec8 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
a306302aee 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
082e5f9f38 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
b3312c8969 Backing out 826ef2970e19 (Bug 790739) due to bustage
--HG--
extra : rebase_source : b9698710f280c343d5aac29441111e9848912dc8
2012-09-30 23:17:21 -07:00
Kyle Machulis
889f44f4a8 Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Patrick Wang
6db52fcc14 Bug 791935 - Part 3: Test case r=philikon 2012-09-25 18:24:10 +08:00
Patrick Wang
68f24e7cea 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
028eb5319d Bug 791935 - Part 1: IDL change r=philikon sr=sicking 2012-09-27 17:07:24 +08:00
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