Commit Graph

5236 Commits

Author SHA1 Message Date
Seth Fowler
f5d66e49dc Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe 2012-11-03 23:04:07 -04:00
Randell Jesup
825968012c Bug 807929: Make DataChannel refcounted r=mcmanus 2012-11-02 15:28:13 -04:00
Justin Lebar
11b5c083bd Bug 806243 - Fix blob memory reporter's SHA1s on 32-bit by passing a correct format string to nsPrintfCString. r=njn 2012-11-02 15:06:03 -04:00
Robert O'Callahan
ea96212e03 Bug 796452. Add mozpasspointerevents attribute for IFRAMEs in chrome windows. r=mats 2012-11-02 23:42:59 +13:00
Ben Turner
3fa518de63 Bug 753981 - 'XHR in Web Workers bypasses Offline AppCache'. r=smaug. 2012-11-01 20:37:55 -07:00
Chris Pearce
ebf830de30 Bug 807360 - Missing string rename which should have been in patch for bug 805301. r=jlebar 2012-11-01 11:58:41 +13:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Justin Lebar
77f0ca6ea2 Backed out changeset 86d8067fa9e5 (bug 802366) on a CLOSED TREE 2012-10-30 21:36:32 -04:00
Justin Lebar
c001680f59 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar
f51dafe4d0 Backed out changeset 7fa2f2eff658 (bug 806127) 2012-10-30 21:35:47 -04:00
Justin Lebar
df1f088009 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
b6d3d98908 Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar
509f98271e Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz
--HG--
extra : rebase_source : e6142b0f71f6a6daf7740d694f0d4201cfba7642
2012-10-30 15:55:05 -04:00
Justin Lebar
5dde530864 Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Justin Lebar
a93b48129b Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz
--HG--
extra : rebase_source : 683e1facc5a6356a4cce0546fd2593a701fe69c0
2012-10-30 15:55:05 -04:00
Nathan Froyd
ce157e98f9 Bug 806971 - avoid passing a "null" charset to GetUnicodeDecoder; r=hsivonen 2012-10-29 14:44:24 -04:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Vicamo Yang
b413d22153 Bug 742790 - Part 2/5: DOM implementation, r=mounir 2012-10-30 18:53:24 +08:00
Chris Pearce
bf9284fc79 Bug 803287 - Don't use GStreamer (when enabled) for Ogg/WebM if builtin backends present. r=doublec 2012-10-30 14:38:42 +13:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Chris Pearce
0e375de354 Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13:00
Gabor Krizsanits
6a87d375cf Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz 2012-10-29 12:21:15 +01:00
Robert O'Callahan
1032a0f124 Bug 805730. Convert HasListenerFor(nsAString) callers to HasListenerFor(nsIAtom*), which is more efficient. r=smaug
--HG--
extra : rebase_source : fb0e607b8a1edcbced75b96e0aefcc626a4f436b
2012-10-29 17:33:51 +13:00
Ryan VanderMeulen
ce9be1b16b Bug 799917 - Backout for various regressions. 2012-10-28 08:49:20 -04:00
Aryeh Gregor
b45ac130db Bug 801425 - Make hasFeature() and isSupported() always return true for non-SVG features; r=bz 2012-10-15 13:59:38 +02:00
Ryan VanderMeulen
3f8a3cf348 Merge m-c to inbound. 2012-10-26 16:06:04 -04:00
Jonathan Kew
4a13a3665a bug 805787 - fix for build failure in nsNodeUtils.cpp with Apple clang 4.0 or other not-up-to-date versions. r=dbaron 2012-10-26 15:48:29 +01:00
Bill McCloskey
17ffbf5002 Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Andrea Marchesini
317d788b96 Bug 804395 - Allow app:// protocol and XHR. r=sicking 2012-10-25 21:57:57 -04:00
Andrew Quartey
6eb0ddf707 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Nikhil Marathe
44ce273499 Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8 2012-10-25 16:10:54 -07:00
Nikhil Marathe
5b8c5fd31a Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Nikhil Marathe
814dbc2a57 Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
John Schoenick
84c270d094 Bug 803159 - Guess plugin types from extension prior to falling back to channel loading. r=bz 2012-10-25 11:05:17 -07:00
John Schoenick
acb47b5004 Bug 803159 - Fix type error in plugin code. r=bz 2012-10-25 11:04:52 -07:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Bobby Holley
2c584933ef Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley
461c6572fd Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Justin Lebar
3acf01ecb1 Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn 2012-10-24 22:06:31 -04:00
Justin Lebar
b73791971c Back out 37e8ef1c7353 (bug 803684) due to Windows red.
--HG--
extra : rebase_source : 17a1ad6c967781e46f23c2938633b18c88709910
2012-10-24 13:38:35 -04:00
Justin Lebar
81ba0ba3ab Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn 2012-10-24 12:40:35 -04:00
Honza Bambas
6b99a52009 Bug 654348 - Make XMLHttpRequest prefer explicit credentials (in the URL) over cached credentials, r=cbiesinger 2012-10-24 16:05:13 +02:00
Honza Bambas
8b8008e418 Bug 761479 - XMLHttpRequest with mozAnon=true should still send explicitly passed username + password, r=cbiesinger 2012-10-24 16:05:13 +02:00
Devdatta Akhawe
bcf0534cfb Bug 803765 - Documentation for aRequestPrincipal r=bz 2012-10-23 21:44:11 -07:00
Honza Bambas
80045583a2 Backout of changeset 6f1121e69ee9 2012-10-23 17:37:02 +02:00