Commit Graph

8354 Commits

Author SHA1 Message Date
Ryan VanderMeulen
f88b773991 Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Ehsan Akhgari
a285473a01 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
ab612930d9 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
a75ca96a8e 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
bf0b224214 No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones
124a2df024 Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
0ee3bd7919 Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00
Ryan VanderMeulen
e880c79745 Merge the last PGO-green inbound changeset to m-c. 2012-08-23 22:06:49 -04:00
Matt Brubeck
f6e99e646b Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE 2012-08-23 14:08:42 -07:00
Ben Turner
2e0265c8ef 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
0a47f4e83c Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Mounir Lamouri
9963397515 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Mounir Lamouri
49bd52f0f6 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
80c28690ad Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking 2012-08-23 11:36:28 -07:00
Mounir Lamouri
a56f63ad0a Bug 785161 - Stop uninstalling all installed apps in WebApps tests. r=jlebar 2012-08-23 11:46:38 -07:00
Mounir Lamouri
9d6c98efec Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-23 11:45:01 -07:00
Kyle Machulis
8a2582aad8 Backout of f98bea38e654 due to mochi bustage 2012-08-23 12:01:27 -07:00
Kyle Machulis
255406cbe7 Backout of c129811b87ef due to mochi bustage 2012-08-23 12:00:51 -07:00
Fabrice Desré
4c0811ee06 Bug 784678 - Error when calling postCancel and postSuccess in an activity : followup [r=mrbkap] 2012-08-23 11:56:36 -07:00
Gregor Wagner
0f68b8d609 Bug 785147 - Contacts API: fix import contacts from SIM card. r=fabrice 2012-08-23 11:48:33 -07:00
Kyle Machulis
1485cd59c9 Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking 2012-08-23 09:52:54 -07:00
Kyle Machulis
87763f254a Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking 2012-08-23 09:52:29 -07:00
Peter Van der Beken
ec7ce6d4f0 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
44c2b316f2 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Fabrice Desré
0de1c9acd9 Bug 784678 - Error when calling postCancel and postSuccess in an activity [r=gwagner] 2012-08-22 18:20:09 -07:00
Kyle Machulis
7eb2fcd355 Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
854a04a0f2 Backout 81fc1a3fc920 due to bustage 2012-08-22 18:11:24 -07:00
Kyle Machulis
b836bcf93f Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis
5357f4784c Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking 2012-08-22 18:03:43 -07:00
Kyle Machulis
7751fd98d3 Backing out df43ad6d04c1 due to incorrect commit messages 2012-08-22 18:02:36 -07:00
Kyle Machulis
b29f5f6001 Backing out 542abbd15139 due to incorrect commit messages 2012-08-22 18:00:57 -07:00
Kyle Machulis
428ec0171b Bug 783426: Patch 2 - Tests for Async DOMRequest Firing 2012-08-22 17:58:05 -07:00
Kyle Machulis
2b37cadee3 Bug 783426: Patch 1 - Async DOMRequest Firing 2012-08-22 17:57:50 -07:00
Ehsan Akhgari
da56516b3c Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-23 11:30:56 -04:00
Rafael Ávila de Espíndola
e3ab16964a Bug 784889 - Use nullptr in a function that returns a pointer. r=ms2ger. 2012-08-23 09:56:10 -04:00
Chris Jones
93b1805471 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
KO Myung-Hun
51dedabac3 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
87eb600689 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Jones
c9e6d0cefc Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
Cervantes Yu
9791d38ee6 Bug 779358 - Fix mousemove event handled twice in content panning, r=cjones 2012-08-21 20:30:34 +08:00
Gina Yeh
db0d9763f3 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
aa07b02ae2 Bug 783357 - part 2: convert dom/ to use PARALLEL_DIRS; r=khuey 2012-08-24 16:02:40 -04:00
Nathan Froyd
4c779437cc 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
ed76a52681 Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -07:00
Kyle Huey
0cae034974 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
d8f80b82e5 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
0d31841b85 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
8c942e77dd 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
9044c64c6a 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
c09c1aabbe Backout 4bb90f8c6909 (bug 756645) due to Android opt M3 orange on a CLOSED TREE. 2012-08-23 22:54:15 -04:00