Commit Graph

289047 Commits

Author SHA1 Message Date
Justin Lebar
af7297481d 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
3393b3aed4 Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz
--HG--
extra : rebase_source : 9a3fd090299ff312050eb82ff3c515615df7b17b
2012-10-30 15:55:05 -04:00
Justin Lebar
e81c256481 Bug 802366 - Prelude, part 4: Use and simplify nsScriptSecurityManager::GetDocShellCodebasePrincipal. r=bz
--HG--
extra : rebase_source : 9987bd127ffbfdc6b34302dd05bfac1d6e481a33
2012-10-30 15:55:05 -04:00
Justin Lebar
f0cecd2f62 Bug 802366 - Prelude, part 3: Make some methods on nsIPrincipal infallible, and improve documentation on other methods. r=bz
--HG--
extra : rebase_source : fecd856eee53b99a2a306b4005f2bb3b84c1cfb3
2012-10-30 15:55:05 -04:00
Justin Lebar
f2b7635866 Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.

--HG--
extra : rebase_source : fdf13259e0b0cc3b0f5d1760f5ced512dee2c28b
2012-10-30 15:55:05 -04:00
Justin Lebar
0a5c71f499 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
49fa59a6bc Bug 806971 - avoid passing a "null" charset to GetUnicodeDecoder; r=hsivonen 2012-10-29 14:44:24 -04:00
Neil Deakin
e0e633faae Bug 806781, null-check the document when updating menu items, r=neil 2012-10-30 15:55:03 -04:00
Neil Deakin
13b4a84a1e Bug 793157, address extra review comments, r=neil 2012-10-30 15:55:00 -04:00
Rafael Ávila de Espíndola
1fdb43dea5 Bug 806538 - Update double-conversion and document the version we are at. r=Waldo.
--HG--
extra : rebase_source : 5394aab0cb622ad3723ca01a91712ce7cc9ae145
2012-10-30 15:30:08 -04:00
David Rajchenbach-Teller
b308603424 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
8f44b62329 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Jonathan Kew
e623b31a10 bug 806059 - make gfxQuartzNativeDrawing aware of backing scale factor when rendering native widgets. r=smichaud 2012-10-29 09:22:30 +00:00
Randell Jesup
59cd59057f Bug 805279: make sure we pass values for formatted log messages r=derf 2012-10-30 15:31:09 -04:00
Kyle Huey
9a3674d80a 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
b0a5453bf1 Backout fdb7c9649a07 (bug 805967), 72003517a631 (bug 806538), 354250ed1e72 (bug 770538), ea6edd3749ce (bug 770538) for bustage on a CLOSED TREE 2012-10-30 17:56:20 +00:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
2d587fe010 Bug 798491: Followup bustage fix. 2012-10-30 09:10:08 -07:00
Geoff Brown
2554d5a4dc Bug 781745 - Robocop: wait for list update in testBookmarksTab; r=jmaher 2012-10-30 10:04:40 -06:00
Fabrice Desré
5def479303 Bug 805967 - [OTA update] much of my user data blown away in today's update [r=sicking]
--HG--
extra : rebase_source : 102151f13a1176c8afa9eaf73123c383c82bcefc
2012-10-30 00:11:17 -07:00
Rafael Ávila de Espíndola
6df39e5636 Bug 806538 - Update double-conversion and document the version we are at. r=Waldo.
--HG--
extra : rebase_source : 7e7ec80943329342c2305370dd0fe6bde46433a4
2012-10-30 11:48:56 -04:00
Karl Tomlinson
2314cc4954 Bug 707623 - gtk_grab_add(mShell) instead of (mContainer) to avoid double key event dispatch r=roc, feedback=mconley. 2012-10-30 11:49:10 -04:00
Kyle Huey
c52440cc57 Bug 798491: Followup bustage fix. 2012-10-30 08:42:47 -07:00
Patrick Wang
b8c849c3b5 Bug 801540 - Use setupDataCallByType to build data connection. r=dougt 2012-10-23 15:18:11 +08:00
Steven Lee
6a541743ec Bug 792290 - Rename TimeSetting.cpp/TimeSetting.h to TimeZoneSettingObserver.cpp/TimeZoneSettingObserver.h. r=jlebar
--HG--
rename : dom/system/gonk/TimeSetting.cpp => dom/system/gonk/TimeZoneSettingObserver.cpp
rename : dom/system/gonk/TimeSetting.h => dom/system/gonk/TimeZoneSettingObserver.h
2012-10-30 11:34:50 -04:00
Steven Lee
9860793521 Bug 792290 - Change TimeSetting to TimeZoneSettingObserver. r=jlebar 2012-10-30 11:34:49 -04:00
David Rajchenbach-Teller
ec00829162 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Mitesh Pathak
4edd47e296 Bug 770538 - Call Unix C function |dirfd| from JavaScript. r=dteller 2012-10-12 00:19:17 +05:30
Ryan VanderMeulen
07b3932eca Merge m-c to inbound. 2012-10-30 11:34:44 -04:00
Kyle Huey
50b5d3f681 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
Ryan VanderMeulen
498dad2875 Merge the last PGO-green inbound changest to m-c. 2012-10-30 10:48:44 -04:00
Chris AtLee
5732687fc4 Bug 804090: Remove official branding from l10n mozconfigs. r=bhearsum DONTBUILD 2012-10-30 10:11:29 -04:00
Josh Matthews
55785543f7 Bug 804653 - Make destroying a private docshell update the global count of private docshells instead of waiting an indefinite amount of time for the destructor. r=bz 2012-10-30 09:21:52 -04:00
Ryan VanderMeulen
42bf588452 Backout f5de2f1dd9d7 (bug 804653) due to leaks. 2012-10-30 10:13:08 -04:00
Ed Morley
36dbee070f Merge mozilla-central to mozilla-inbound 2012-10-30 10:50:27 +00:00
Dão Gottwald
2adaf14ee9 merge backout 2012-10-30 11:39:17 +01:00
Dão Gottwald
9de9a8d7c0 Backed out changeset 36603a91c06f 2012-10-30 11:38:56 +01:00
Nick Thomas
7bc18da2ee Bug 800364, unagi dep build support, r=catlee,mwu 2012-10-30 15:55:51 +13:00
Nathan Froyd
4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Josh Matthews
9593cebee0 Bug 804653 - Make destroying a private docshell update the global count of private docshells instead of waiting an indefinite amount of time for the destructor. r=bz 2012-10-30 09:21:52 -04:00
Ed Morley
33a9c3c7a1 Backout 95752d95cf73, 190933b35023, 6834d09f8f09, 53e3e62c2b3d & f39ba5076599 (bug 797277) for xpcshell failures 2012-10-30 12:15:07 +00:00
Vicamo Yang
3f935f12b2 Bug 797277 - Part 5/5: test cases, r=marshall_law 2012-10-30 18:55:48 +08:00
Vicamo Yang
e9136f2a7b Bug 797277 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:55:44 +08:00
Vicamo Yang
bd1fc11feb Bug 797277 - Part 3/5: RIL implementation, r=philikon 2012-10-30 18:55:41 +08:00
Vicamo Yang
2206bbacce Bug 797277 - Part 2/5: dom implementation, r=mounir 2012-10-30 18:55:37 +08:00
Vicamo Yang
5c17caaa1e Bug 797277 - Part 1/5: add messageClass attribute in nsIDOMSmsMessag, sr=sicking 2012-10-30 18:55:34 +08:00
Vicamo Yang
55b96815d6 Bug 742790 - Part 5/5: test cases, r=marshall_law 2012-10-30 18:53:35 +08:00
Vicamo Yang
3363ab5f81 Bug 742790 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:53:31 +08:00
Vicamo Yang
717212cd83 Bug 742790 - Part 3/5: B2G RIL implementation, r=philikon,marshall_law 2012-10-30 18:53:27 +08:00
Vicamo Yang
f560f5c605 Bug 742790 - Part 2/5: DOM implementation, r=mounir 2012-10-30 18:53:24 +08:00