Commit Graph

11648 Commits

Author SHA1 Message Date
Benjamin Peterson
74a1052eb5 Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04:00
Zoe Bellot
e96e9dacf5 Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug 2012-08-17 11:53:44 +02:00
Vincent Chang
63c4bd58bc Bug 783976 - WiFi list can't displayed after enabling/disabling WiFi repeatedly. r=mrbkap 2012-08-26 22:29:46 -04:00
Shian-Yow Wu
2f0265d0ea Bug 785620 - B2G RIL: datacall.dns is null. r=philikon 2012-08-25 22:29:07 -04:00
Chris Jones
e855ad9af1 Bug 774988: Compress touchmove events across processes. r=bent 2012-08-22 03:54:20 -07:00
Chris Jones
12d54ad0df Bug 782460: Fix hal enum serializers, make wake lock permission checking match the DOM's, and log a message when an app process fails a backstop permission check. r=gal 2012-08-25 15:38:04 -07:00
Justin Lebar
b24d5322df Bug 775009 - Part 1: Fix test broken by part 2. r=bz 2012-08-25 18:23:53 -04:00
Andrew McCreight
fe0f72dfe5 Bug 765527. r=mrbkap 2012-08-25 14:56:45 -07:00
Yury
4d8df099e9 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
David Zbarsky
f7fb883ca8 Bug 785583 - BluetoothReplyRunnable instantiates nsAutoPtr template in the header r=qdot 2012-08-25 12:33:51 -04:00
Michael Comella
5f0b208a77 Bug 784016 - Bug fix for patch in bug 781977 - correct misordered params. r=jimm 2012-08-25 11:04:14 -05:00
Ms2ger
1023162c9c Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00
Chris Jones
d82d1d5e65 Bug 774988: Compress touchmove events across processes. r=bent 2012-08-25 01:25:08 -07:00
Fabrice Desré
201b21a25b Bug 785391 - Activities 'data' content cannot be accessed [r=gwagner] 2012-08-24 21:07:58 -07:00
Eric Chou
bc7ac97330 Bug 785320 - [b2g-bluetooth] Crash after renaming device in Settings/Bluetooth; r=qdot 2012-08-24 20:32:32 -07:00
Peter Van der Beken
b84ab5be48 Bug 753517 part 5. Enable the list IC for new DOM bindings too. r=bz. 2012-08-24 09:32:26 -07:00
Boris Zbarsky
052e7b0c56 Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
Boris Zbarsky
688a8b41eb Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv 2012-08-23 21:08:08 -07:00
Benjamin Smedberg
75b52bafcd Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
David Zbarsky
d050fe5813 Bug 785486 - DomCameraManager redefines DOM_CAMERA_LOG_LEVEL r=mikeh 2012-08-24 16:50:57 -04:00
Ehsan Akhgari
237d29ef3d Bug 785459 follow-up: use the python 2.5 syntax 2012-08-24 16:47:45 -04:00
Ehsan Akhgari
563418e39b Bug 785472 - The Web IDL parser should not allow inheriting from an interface that is only forward declared; r=khuey 2012-08-24 15:23:21 -04:00
Ehsan Akhgari
6bac6b73be Backout changeset 1142882b6c0b (bug 785472) because it breaks the build 2012-08-24 16:22:42 -04:00
Yury
66d7f566fa Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
David Rajchenbach-Teller
4233748869 Bug 761138 - Create/remove directories (constants). r=froydnj 2012-08-24 16:18:15 -04:00
Ryan VanderMeulen
31b5d3335d Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Ehsan Akhgari
25b60c14d6 Bug 785472 - The Web IDL parser should not allow inheriting from an interface that is only forward declared; r=khuey 2012-08-24 15:23:21 -04:00
Ehsan Akhgari
416bb16525 Bug 785459 - Enable the WebIDL parser to be used stand-alone for syntax checking; r=khuey 2012-08-24 14:51:45 -04:00
Olli Pettay
db4a617dfb Bug 785228 - nsGlobalWindow is described twice during traverse, r=mccr8
--HG--
extra : rebase_source : 3ebb0df0d4d20618d03bd9f7be2fedd54d6ef843
2012-08-23 14:15:39 -07:00
Chris Jones
bb75bebb82 No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones
da27f385d7 Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
a99ed8c8de Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Ryan VanderMeulen
9ad8ca8a9d Merge the last PGO-green inbound changeset to m-c. 2012-08-23 22:06:49 -04:00
Matt Brubeck
f0721d083d Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE 2012-08-23 14:08:42 -07:00
Ben Turner
7370f46298 Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Boris Zbarsky
8295d78bfb Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Mounir Lamouri
f12bc57d40 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Mounir Lamouri
0e7ad1ee11 Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar 2012-08-23 11:47:55 -07:00
Mounir Lamouri
713d808e20 Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking 2012-08-23 11:36:28 -07:00
Mounir Lamouri
bfd18940bb Bug 785161 - Stop uninstalling all installed apps in WebApps tests. r=jlebar 2012-08-23 11:46:38 -07:00
Mounir Lamouri
cdb3f274d1 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-23 11:45:01 -07:00
Kyle Machulis
8a2e15d8be Backout of f98bea38e654 due to mochi bustage 2012-08-23 12:01:27 -07:00
Kyle Machulis
76c7b95997 Backout of c129811b87ef due to mochi bustage 2012-08-23 12:00:51 -07:00
Fabrice Desré
b2d52c5754 Bug 784678 - Error when calling postCancel and postSuccess in an activity : followup [r=mrbkap] 2012-08-23 11:56:36 -07:00
Gregor Wagner
51502e4c12 Bug 785147 - Contacts API: fix import contacts from SIM card. r=fabrice 2012-08-23 11:48:33 -07:00
Kyle Machulis
a33056cfaf Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking 2012-08-23 09:52:54 -07:00
Kyle Machulis
1a157c8765 Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking 2012-08-23 09:52:29 -07:00
Peter Van der Beken
c28c5972cd Fix for bug 775543 (Passing a Worker object to console.log() results in a crash). r=bz.
--HG--
extra : rebase_source : 60ee731af1e77c21f466026a04c71eeb96b1ff7d
2012-08-22 18:16:14 -07:00
Justin Lebar
29483a3082 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Fabrice Desré
b0f4923bc6 Bug 784678 - Error when calling postCancel and postSuccess in an activity [r=gwagner] 2012-08-22 18:20:09 -07:00
Kyle Machulis
37e2b5f29a Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
76388120fe Backout 81fc1a3fc920 due to bustage 2012-08-22 18:11:24 -07:00
Kyle Machulis
6402f59383 Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis
79dc311d5f Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking 2012-08-22 18:03:43 -07:00
Kyle Machulis
287a39048a Backing out df43ad6d04c1 due to incorrect commit messages 2012-08-22 18:02:36 -07:00
Kyle Machulis
56b6897dc3 Backing out 542abbd15139 due to incorrect commit messages 2012-08-22 18:00:57 -07:00
Kyle Machulis
8298af775b Bug 783426: Patch 2 - Tests for Async DOMRequest Firing 2012-08-22 17:58:05 -07:00
Kyle Machulis
bc347bb5c8 Bug 783426: Patch 1 - Async DOMRequest Firing 2012-08-22 17:57:50 -07:00
Ehsan Akhgari
002ff646d5 Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-23 11:30:56 -04:00
Rafael Ávila de Espíndola
0d45bdcb77 Bug 784889 - Use nullptr in a function that returns a pointer. r=ms2ger. 2012-08-23 09:56:10 -04:00
Chris Jones
f760acdc5e Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
KO Myung-Hun
e09e2c790e Bug 773958 - Define NP_CALLBACK as NP_LOADDS for a calling convention consistency. r=josh 2012-08-23 06:18:45 -04:00
Ed Morley
900bd7cc06 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Jones
9c75d27a17 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
Cervantes Yu
201d23326e Bug 779358 - Fix mousemove event handled twice in content panning, r=cjones 2012-08-21 20:30:34 +08:00
Gina Yeh
c07731cc1b Bug 783934 - Final Version: Add events onconnected and ondisconnected in BluetoothDevice, r=qdot, sr=mrbkap 2012-08-23 14:14:20 +08:00
Nathan Froyd
e047c3311d Bug 783357 - part 2: convert dom/ to use PARALLEL_DIRS; r=khuey 2012-08-24 16:02:40 -04:00
Nathan Froyd
1a9bf63360 Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Jan Varga
4d3965f026 Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -07:00
Kyle Huey
8443a7a8f1 Bug 783162: Make mapped attributes hold the image alive. r=bz
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary.  This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff.  Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive.  Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request.  The result is that all the references to the request are dropped and the frame is never told it has a background.

The solution is to keep the nsCSSValue::Image alive longer.  This patch adds two new types of nsAttrValue.  The first is an nsCSSValue::URL.  A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL.  The second is an nsCSSValue::Image.  nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load.  The result is that image loads are only started when the element is actually visible.  This also mirrors the way background-image works.  This also allows us to fix two longstanding bugs in this code.  Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document.  Now we can grab the principal of the node in ParseBackgroundAttribute.  MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.

nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value.  nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared.  Moving the classes to a namespace solves the problem.

Finally some old inoperative quirks mode code was removed.  This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Benjamin Smedberg
a859c5ef74 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Andrew McCreight
c063a3e54c Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.

This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.

nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over.  See bug 774874.
2012-08-24 09:50:06 -07:00
Andrew McCreight
d0e1cf9ab3 Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug
This argument isn't used, and would have to have its type changed
to support native purple buffer participants, so we just remove it.
2012-08-24 09:50:06 -07:00
Yury
a1e1a451e4 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Ryan VanderMeulen
1c1c169d75 Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Matt Brubeck
cdd4612f38 Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Peter Van der Beken
b77fe91531 Fix for bug 742195 (Implement the extended attributes for null and undefined handling on strings in Paris bindings). r=bz. 2012-07-12 15:55:30 +02:00
Peter Van der Beken
cb66e04e69 Fix for bug 785188 (Make Xrays work with newest DOM list bindings). r=mrbkap. 2012-06-06 21:52:26 +02:00
Boris Zbarsky
59f47be2a6 Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Luke Wagner
ad90af9ca5 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Luke Wagner
9816ab9194 Bug 625199 - kill dummy frames (r=mrbkap)
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Rafael Ávila de Espíndola
4af95e0a58 Bug 784895 - Remove unnecessary token pasting. r=mrbkap. 2012-08-23 19:57:51 -04:00
Ryan VanderMeulen
5fd5fe5bbc Merge m-c to inbound. 2012-08-23 19:50:46 -04:00
Bobby Holley
358de066bc Bug 771354 - Don't special-case principal assignment for chrome windows in nsGlobalWindow.cpp. r=bz 2012-08-23 16:44:53 -07:00
Bobby Holley
be79576daa Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-08-23 16:44:53 -07:00
Bobby Holley
fb072823ff Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-08-23 16:44:53 -07:00
Bobby Holley
38274fd965 Bug 774633 - Remove "is chrome window" condition for inner window reuse. r=jst
WouldReuseInnerWindow also returns true if the new window is same-origin with
the old one about:blank document.

This condition exists in order to handle some sloppiness with respect to the
principals on initial about:blank documents. Chrome callers sometimes parent
chrome windows (with XUL document) to content windows. But this parenting causes
us to push the cx of the content window during window creation, meaning that
the subsequent load of chrome://foo.xul blows away the old inner window and any
expandos on it. We can handle this case more precisely by skipping the cx push
for type="chrome" windows.

Furthermore, this was also necessary to prevent the inner window from being
blown away in the call to SetOpenerScriptPrincipal once nsWindowWatcher gets
the window back from the window creator (and after it's already told consumers
about the window via "domwindowcreated"). But we fixed this nastiness in the
previous patches.

So we can remove this case. By doing so, we can prevent inner windows from ever
changing origins, which is very important for compartment security invariants.
2012-08-23 16:44:53 -07:00
Bobby Holley
1a9db39ccc Bug 774633 - Fold SetOpenerScriptPrincipal into SetInitialPrincipalToSubject, and make it indempotent and callable without an existing document. r=jst
There's no reason it has to fail if there's no mDoc, since any document is promptly
blown away with the new about:blank document.

The indempotence is important because we want to be able to call this method
unconditionally in OpenJSWindowInternal (since we may not have gone through
RegisterTopLevelWindow) without worrying about whether we've called it already.
2012-08-23 16:44:52 -07:00
Bobby Holley
248ddad9f4 Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Bobby Holley
133acda80d Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
We can remove the fallback to the principal of aParent because we already push the
cx for aParent (callerContextGuard) whenever we're concerned about using its principal.
2012-08-23 16:44:52 -07:00
Bobby Holley
3bd2492b71 Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
This doesn't change any functionality in the code. Note that the name is currently
a bit of a misnomer, but we change that in the next patch when we rip out the
arguments.
2012-08-23 16:44:52 -07:00
Kyle Machulis
1004044a0d Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner 2012-08-23 16:31:02 -07:00
Peter Van der Beken
ee9eae3141 Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Gregor Wagner
2caf9bfb04 Bug 784746 - Contacts API: optimize debug statements. r=bent 2012-08-22 14:34:57 -07:00
David Rajchenbach-Teller
453c0e9313 Bug 775588 - Do not define a special directory if it doesn't exist. r=khuey
--HG--
extra : rebase_source : 19432a51e503201248a1e402fcdceefe2dfcf7d4
2012-08-22 16:58:09 -04:00
David Rajchenbach-Teller
336d21cc76 Bug 775588 - Expose path to tmpdir, profiledir in OS.Constants and make sure that weird loaders that violate loading order do not segfault. r=khuey
--HG--
extra : rebase_source : 26df2463b84dd60ca50cc9c280f226ee692d2f4e
2012-08-22 16:58:08 -04:00
Blake Kaplan
dba2e7dbfd Bug 777203 - Keep a list of managers that are interested in wifi events and send notifications only to them instead of broadcasting notifications to the world. r=gwagner DONTBUILD
--HG--
extra : rebase_source : c73bb5b00fcbdf74df4efe9f93da6391d32f4f13
2012-08-22 12:37:11 -07:00
Blake Kaplan
ebe791c890 Bug 777203 - Respond to requests by sending our response directly back to the manager instead of broadcasting the response everywhere. r=gwagner
--HG--
extra : rebase_source : 52636b4eaeebbfe331bd8a0a89ca1ce91d6414ba
2012-08-22 11:34:42 -07:00
Masashi Honma
de3319a962 Bug 783742 - Add support for WPS PIN method. r=mrbkap
--HG--
extra : rebase_source : d2c6df164a18eca7c2ad50e0e49458786cf90b20
2012-08-22 12:41:31 -07:00
Chris Jones
bda301f268 Bug 783184: Ensure that child-process pref state always is the same as its parent's. r=bsmedberg 2012-08-22 13:00:21 -07:00
Brian Hackett
f74df62c6b Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 12:28:34 -06:00
Gregor Wagner
ab32c56f22 Bug 784099 - Contacts API is not saving contacts. r=fabrice 2012-08-22 10:56:25 -07:00
Vicamo Yang
14d901a6ff Bug 707659 - Part 2: fix test scripts, r=philikon 2012-08-23 01:30:40 +08:00
Vicamo Yang
f2eab91be3 Bug 707659 - Part 1: DOM implementation, r=jlebar 2012-08-23 01:30:27 +08:00
Ehsan Akhgari
4271b89117 Bug 579517 - Part 8: Automatically convert some more NSPR numeric type usages that were landed on mozilla-inbound; r=bsmedberg 2012-08-22 12:32:21 -04:00
Ehsan Akhgari
2d709c2f52 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Ed Morley
9476c8d8ec Backout d62929fa4325 for talos crashes 2012-08-22 14:53:11 +01:00
Brian Hackett
1ad046b572 Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 06:27:18 -06:00
Eric Chou
c713f87fb5 Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Gene Lian
f1f7459297 Bug 777226 - Alarm API - If an alarm cannot be fired when the device shuts down, it should be fired when powering up. r=vivien 2012-08-16 10:46:40 +08:00
Doug Sherk
242fa304fe Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Doug Sherk
02d6d527d2 Bug 775447: Rip out old checks for DOM touch listeners r=cjones 2012-08-21 21:37:09 -07:00
Doug Sherk
abb9aad31c Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00
Donovan Preston
ea8f619eac Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
Ed Morley
fea574e658 Backout 3c39fdebf386 (bug 733573) for native Android m3 failures in test_tcpsocket_enabled_no_perm.html on a CLOSED TREE 2012-08-21 23:01:09 +01:00
Ed Morley
39d3ca167c Merge mozilla-central to mozilla-inbound 2012-08-21 21:16:49 +01:00
Benjamin Smedberg
bb945839b4 Bug 700583 - Null-check our way out of crashes on both mobile and desktop in pr_FindSymbolInLib caused by plugin code where the plugin fails to load correctly, r=josh 2012-08-21 14:38:51 -04:00
Nick Desaulniers
fcdfa0c9f6 Bug 784245 - change uuid's for webapplicationregistry [r=fabrice] 2012-08-21 10:56:47 -07:00
Eric Chou
54637d3390 Bug 784255 - [b2g-bluetooth] devicefound event does not come up correctly, r=qdot 2012-08-21 14:24:05 +08:00
David Zbarsky
3154e1b535 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Donovan Preston
bb0843a774 Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
Eric Chou
77828a8e5e Bug 783932 - [b2g-bluetooth] Fix wrong textwidth(tw=) value in Mode line, r=qdot 2012-08-21 11:21:24 +08:00
Gina Yeh
6ba33be90b Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Kyle Machulis
085993a2c6 Bug 783431 - Fix js array initialization for bluetooth and telephony; r=mrbkap 2012-08-20 18:26:44 -07:00
Kyle Machulis
cb6603edb2 Bug 784179: Wrong thread assertion in GetPairedDevicePropertiesInternal; r=gwagner 2012-08-20 18:24:48 -07:00
Paul Adenot
106e87bbbc Bug 774581: Send event when starting/stopping audio or video recording; r=anant,mhabicher 2012-08-17 09:10:08 -07:00
Nick Desaulniers
894a2d132c Bug 781379: getNotInstalled should be under mgmt and return apps from all origins; r=felipe 2012-08-20 10:19:56 -07:00
Ryan VanderMeulen
cbe189e0c0 Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
711151788a Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Karl Tomlinson
927f25cc6b b=780059 tidy up API for FindVisualAndDepth r=mattwoodrow
--HG--
extra : rebase_source : c6022bd51aad41b7439531e7c3db1725aabda5e7
2012-08-20 16:20:37 +12:00
Gina Yeh
f5c91080a9 Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   16 ++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 +++
 4 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
Vicamo Yang
8d49cc2e10 Bug 782338: fix 'Emulator callback still pending when finish() called', r=philikon,marshall_law 2012-08-20 11:18:25 +08:00
Matt Woodrow
7cf26992d4 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
75542595f3 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Fabrice Desré
3a6a1ec660 Bug 783825 - Fix b2g breakage after bug 553102 - Part 1 : fix mozChromeEvent events and system message manager [r=gal] 2012-08-19 12:00:19 -07:00
Ryan VanderMeulen
5867af3068 Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Kyle Huey
e5307f0a9a Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Ed Morley
5a6cb3b570 Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Masatoshi Kimura
11a5c57afc Bug 783532 - Remove DOMError::CreateForDOMExceptionCode. r=sicking 2012-08-18 08:25:49 -04:00
Bobby Holley
9a7444669f Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap 2012-08-17 23:14:55 -07:00
Doug Turner
8999cd9d44 Bug 782391 - Device Storage - Watch should also go through the permission prompt. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner
3ff1f51432 Bug 782352 - Broadcast local io to onchange listeners. r=sicking 2012-08-17 19:43:00 -07:00
Doug Turner
f27b60d7fb Bug 777101 - DeviceStorage - Add onchange notifications test. r=khuey 2012-08-17 19:43:00 -07:00
Andrea Marchesini
07318d266d Bug 781153 - ArchiveReader doesn't support zip-in-zip archives, r=jst 2012-08-17 18:04:03 -07:00
Gregor Wagner
7085b09655 Bug 782472 - Contacts app doesn't work when OOP. r=fabrice 2012-08-17 16:54:22 -07:00
Justin Lebar
aa6af0b7fa Bug 776129 - Part 2: Test that when a remote <iframe mozbrowser> calls window.open, we get a remote frame, and when an in-process frame calls window.open, we get an in-process frame. r=smaug
--HG--
extra : rebase_source : f58dbae038842c0357fa71b08a215f31ff2cc0db
2012-08-17 17:07:54 -04:00
Justin Lebar
8e0647cfe9 Bug 776129 - Part 1: When an <iframe mozbrowser> calls window.open, the resulting frame must be OOP iff the opener frame is OOP. r=smaug
--HG--
extra : rebase_source : 14db2573db5e9d8ffb72798f3d856f98e49f8a83
2012-08-17 17:07:54 -04:00
Bill McCloskey
7ea7c080cb Bug 783416 - Stop saving the prototype in WindowStateHolder (r=mrbkap) 2012-08-17 10:09:01 -07:00
Bobby Holley
9c0932a591 Bug 783057 - Expose find results via XPCOM. r=gwagner 2012-08-17 09:50:19 -07:00
Bobby Holley
ae072f5464 Bug 783173 - Fix test_ipc implementations to handle mandatory __exposedProps__. r=khuey 2012-08-17 09:21:17 -07:00
Ed Morley
f4221cc429 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Kan-Ru Chen
4e3b4c5d63 Bug 757341 - Camera direct texturing with async video. r=cjones 2012-08-17 18:56:55 +08:00
Eric Chou
03b52423d5 Bug 730992 - Patch 3: Hooking things up to BluetoothAdapter, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothAdapter.cpp       |  204 +++++++++++++++++++++++++++++-
 dom/bluetooth/BluetoothAdapter.h         |    8 ++
 dom/bluetooth/nsIDOMBluetoothAdapter.idl |   16 +++-
 3 files changed, 224 insertions(+), 4 deletions(-)
2012-08-17 18:35:59 +08:00
Eric Chou
2dc14ca1d9 Bug 730992 - Patch 2: The machinery in Bluetooth*Service, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothCommon.h              |    8 +
 dom/bluetooth/BluetoothService.h             |   17 +
 dom/bluetooth/linux/BluetoothDBusService.cpp |  561 ++++++++++++++++++++++++-
 dom/bluetooth/linux/BluetoothDBusService.h   |   23 +
 4 files changed, 586 insertions(+), 23 deletions(-)
2012-08-17 18:35:59 +08:00
Eric Chou
1353638291 Bug 730992 - Patch 1: The DOM boilerplate for BluetoothPairingEvent, r=qdot, sr=mrbkap
---
 dom/base/nsDOMClassInfo.cpp                   |    9 +++
 dom/base/nsDOMClassInfoClasses.h              |    1 +
 dom/bluetooth/BluetoothPairingEvent.cpp       |   78 +++++++++++++++++++++++++
 dom/bluetooth/BluetoothPairingEvent.h         |   70 ++++++++++++++++++++++
 dom/bluetooth/Makefile.in                     |    2 +
 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl |   15 +++++
 6 files changed, 175 insertions(+), 0 deletions(-)
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.cpp
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.h
 create mode 100644 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl
2012-08-17 18:35:59 +08:00
Zoe Bellot
f5aa016a9c Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-17 12:02:18 +02:00
Zoe Bellot
5cd1fff7f7 Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug 2012-08-17 11:53:44 +02:00
Aryeh Gregor
bd3d27831a Bug 783863 - ArchiveInputStream::Tell incorrectly uses mStatus as an nsresult; r=baku 2012-08-21 14:56:39 +03:00
Georg Fritzsche
d1e89b6b8a Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-09 12:36:30 +02:00
Georg Fritzsche
19a75c84b2 Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-09 11:04:27 +02:00
Paul Adenot
ee3a886b03 Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik 2012-08-16 18:10:36 -07:00
Ehsan Akhgari
845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Matt Woodrow
d8c503fb71 Bug 778036 - Only notify the parent of the first TabChild paint. r=cjones 2012-08-07 15:00:41 +12:00
Hsin-Yi Tsai
83c20968d0 Bug 777202 - RadioInterfaceLayer broadcasts request responses to all content processes. r=philikon 2012-08-17 11:46:34 +08:00
Matthew Gregan
64d46a81b1 Bug 770945 - Back out unnecessary change. r=backout 2012-08-17 16:52:08 +12:00
Doug Turner
4c3388ad0a Bug 782351 - Device Storage - Expose sdcard/volume state flag on stat result followup. If fetching the available disk space fails (due to a path not existing), return zero bytes available. r=khuey
--HG--
extra : rebase_source : 687739cb4fa8071fd9430b350aae3d07ffa41f48
2012-08-16 16:14:38 -07:00
Doug Turner
9e8de0ccbc Bug 783086 - DeviceStorage - in OOP apps, the enumerate() method ignores the since argument. r=dhylands
--HG--
extra : rebase_source : d74df06f0641f662f0b258ed832e1698894d7e4e
2012-08-16 16:14:37 -07:00
Doug Turner
34af10e36c Bug 782676 - Enable test_stat.html on mac and windows. r=khuey
--HG--
extra : rebase_source : fc7025df9a48d2b942054b511694440a59c241bb
2012-08-16 16:14:37 -07:00
Doug Turner
6866ddaadb Bug 783398 - DeviceStorage makes calls to nsVolumeService from the IOThread. r=dhylands
--HG--
extra : rebase_source : 8f3fef5b349f5810e256f8f5f4b6217854a03518
2012-08-16 16:03:06 -07:00
Chris Pearce
f15f8516e4 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
faa4304b5c Bug 778640 - Final version: Firing devicedisappeared event, create nsIDOMBluetoothDeviceAddressEvent by event generator, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   17 +++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 ++-
 4 files changed, 40 insertions(+), 2 deletions(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-17 12:02:52 +08:00
Karl Tomlinson
10083eff12 b=782185 use extend_pad when compositing image layers even for Quartz and X11 r=roc
--HG--
extra : transplant_source : %F7%24N%7E%E0y%C4%2C%D4%9B%DB%83B_Ai6%A1%7E%91
2012-08-14 23:47:49 +12:00
Matthew Gregan
7659ff2cc9 Bug 770945 - Simple media events shouldn't be cancelable. r=roc 2012-08-14 15:26:43 +12:00
Gina Yeh
141b9509a5 Bug 777671 - Final version: add function getPairedDevices() in nsIDOMBluetoothAdapter, r=qdot, sr=mrbkap
---
 dom/bluetooth/BluetoothAdapter.cpp           |   97 +++++++++++++++++++++++++-
 dom/bluetooth/BluetoothAdapter.h             |    2 +-
 dom/bluetooth/BluetoothPropertyContainer.cpp |   32 +--------
 dom/bluetooth/BluetoothPropertyContainer.h   |   26 +------
 dom/bluetooth/BluetoothService.h             |   11 ++-
 dom/bluetooth/BluetoothUtils.cpp             |   48 ++++++++++++-
 dom/bluetooth/BluetoothUtils.h               |    9 ++-
 dom/bluetooth/linux/BluetoothDBusService.cpp |   93 +++++++++++++++++++++++-
 dom/bluetooth/linux/BluetoothDBusService.h   |    4 +-
 dom/bluetooth/nsIDOMBluetoothAdapter.idl     |    3 +-
 10 files changed, 261 insertions(+), 64 deletions(-)
2012-08-17 10:53:45 +08:00
Hsin-Yi Tsai
fe068832d1 Bug 782778 - [WebAPI] WebTelephony: Receive 'connected' call event twice for the same call. r=philikon 2012-08-15 16:10:09 +08:00
Vicamo Yang
47f2f8109d Bug 760199: fix test failure due to SMSC timestamp truncation, r=philikon 2012-08-17 10:01:40 +08:00
Ryan VanderMeulen
ad0c7a9dde Merge m-c to inbound. 2012-08-16 20:51:32 -04:00
Ryan VanderMeulen
45acb52a4f Merge the last PGO-green inbound changeset to m-c. 2012-08-16 20:50:16 -04:00
Gregor Wagner
0684d004cb Bug 779379 - B2G MobileConnection: Hook up to permissions manager. r=jlebar 2012-08-16 17:42:26 -07:00
Masashi Honma
512f24a886 Bug 780465 - Add support for Wi-Fi Protected Setup functionality (WPS). r=mrbkap DONTBUILD 2012-08-16 15:19:51 -07:00
Georg Fritzsche
f90c630c44 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
Chris Jones
1b2d3cc211 Bug 776835: Check process capabilities in hal. r=blassey,jlebar 2012-08-16 12:34:53 -07:00
Chris Jones
241a9adf47 Bug 776664: Check "sms" capability for PSms. r=mounir 2012-08-16 12:34:53 -07:00
James Willcox
23fcf9afac Bug 776334 - Don't double free shared texture handles for Flash on Android r=blassey 2012-08-16 12:48:35 -04:00
James Willcox
79a29e5a6d Bug 781542 - Don't require a layer invalidation for Flash video on Android r=blassey 2012-08-16 12:47:22 -04:00
Aryeh Gregor
0722990c72 Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Aryeh Gregor
b27b105f8d Bug 782606 - Use NS_FAILED instead of boolean test (dom/indexedDB/, dom/workers/); r=khuey 2012-08-14 12:10:41 +03:00
Ben Turner
4b09919a18 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Yoshi Huang
5ba1b43b1b Bug 783150 - B2G RIL: Fetch ICC Record only when SIM_READY. r=vicamo 2012-08-10 14:55:08 +08:00
Eric Chou
b2f1558be8 Bug 782905 - [b2g-bluetooth] Calling setEnabled(false) twice in a very short period may crash, r=qdot 2012-08-16 10:47:39 +08:00
Chris Jones
ae7d6c1ee3 Bug 782006: Prefetch the "built-in" stylesheet cache in content processes. r=roc 2012-08-15 18:46:03 -07:00
Chris Jones
00822f833d Bug 781742: Try to keep a process pre-launched for app content, if the pref says to. r=jlebar 2012-08-15 18:46:03 -07:00
Vicamo Yang
d69e25c816 Bug 780558 - B2G RIL: expose cell LAC/CID - Part 4: add to global interfaces list, r=me 2012-08-16 09:37:15 +08:00
Vicamo Yang
ddc6875003 Bug 780558 - B2G RIL: expose cell LAC/CID - Part 3: marionette test, r=philikon 2012-08-16 09:37:05 +08:00
Vicamo Yang
60d23fbea0 Bug 780558 - B2G RIL: expose cell LAC/CID - Part 2: RIL implementation, r=philikon 2012-08-16 09:36:56 +08:00
Vicamo Yang
80d63b8be6 Bug 780558 - B2G RIL: expose cell LAC/CID - Part 1: IDL change 2012-08-16 09:36:43 +08:00
Steven Lee
b81f1fb70b Bug 779149 - [Dialer] Audio does not go through headset. r=mwu 2012-08-15 21:00:50 -04:00
Gregor Wagner
43fcde48eb Bug 782136 - add carrier field and ContactField interface to Contacts API. Review Comments. r=fabrice 2012-08-15 17:49:47 -07:00