Justin Lebar
d75eb03310
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
7e748f5b3a
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
6bd563b2ee
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
c936f604ec
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
Chris Pearce
818603ae1d
Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar
2012-10-30 11:02:24 +13:00
Jason Duell
d8a4aa9db2
Bug 802885 - Disable offline cache entries for private channels under e10s r=jdm
2012-10-17 22:00:16 -07:00
Andrew Quartey
0e23b26077
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
790ec84feb
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Chris Pearce
223b7d2f32
Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar
2012-10-08 10:12:50 +13:00
Andrew Quartey
e0477b23d8
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Patrick Wang
de66d7d2ca
Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
...
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08:00
Ehsan Akhgari
0fd9123eac
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
Ian Melven
46a3add818
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jason Duell
148b915638
Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking
2012-08-07 22:09:28 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jason Duell
3aa13aaf05
Bug 776140 - Add GetExtendedOrigin method to nsILoadContext. r=jlebar, sr=sicking
2012-07-23 11:09:26 -07:00
Jason Duell
f688e8acca
Bug 775860 - copy appId and isInBrowserElement from nsIDocShell to nsILoadContext. r=jlebar, sr=sicking
2012-07-20 11:38:43 -07:00
Mounir Lamouri
ed3e904642
Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking
2012-07-19 10:32:49 -07:00
Mounir Lamouri
397bc64735
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Steve Fink
3b5b986d0b
Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out
2012-07-19 15:45:27 -07:00
Steve Fink
29dc82d8e8
Backed out changeset c2ffcbf39231 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out
2012-07-19 15:45:19 -07:00
Mounir Lamouri
e0678a58f5
Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking
2012-07-19 10:32:49 -07:00
Mounir Lamouri
d6d9b5f0b7
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Ed Morley
80af77da9d
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
6efeb5b2d6
Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking
2012-07-18 22:28:05 -07:00
Mounir Lamouri
8cfd0a9baa
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Oonishi Atsushi
2af905ca06
Bug 606286 - Block javascript redirection when "accessibility.blockjsredirection" is set true and the user is browsing back/forward history. r=bz
2012-06-09 17:07:17 -04:00
Justin Lebar
7b0e8c519b
Bug 757376. r=bz
...
--HG--
extra : rebase_source : 5de9b8594742c470381f1e36c3629d393c264c6e
2012-06-05 12:55:59 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Eric Wong
ce47dc155c
Bug 724841 - Retain case when sending location bar text to search engine service r=bz
2012-04-28 18:39:14 -07:00
Josh Matthews
fb756f895a
Bug 729162 - Add per-docshell privacy mode transition observers. r=bz
2012-04-19 23:19:54 -04:00
Marco Bonardo
7bf2e7218c
Bug 738762 - Pass redirect and error information to global history.
...
r=bz
2012-03-29 15:07:09 +02:00
Justin Lebar
76f85b36c5
Back out changesets 6a2c57fa8edf, 34526f45d863 (bug 737307) due to web-facing regressions (e.g. bug 739478). r=bz
...
--HG--
extra : rebase_source : 4b595ee4ef7ab60a1d831bf50f1c973161e3187c
2012-03-26 17:10:07 -07:00
Justin Lebar
7fbfb4bae3
Bug 737307 - Part 2: Fix. r=bz
2012-03-21 09:53:40 -04:00
Justin Lebar
d64a9f844b
Back out 4d69dc0ec681 (bug 737307) due to orange.
2012-03-21 08:57:14 -04:00
Justin Lebar
6dc75a3ff2
Fix bug 737307. r=bz
2012-03-21 07:38:01 -04:00
Justin Lebar
d77dae5390
Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz
2012-03-04 11:02:00 -05:00
Josh Matthews
7c3ef60c66
Bug 722840 - Add private browsing attribute to docshells. r=bz
2012-02-02 14:03:46 -05:00
Simon Montagu
4feaa1e8f3
Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck
2012-01-24 11:52:05 +02:00
Oonishi Atsushi
ebc58fb880
Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky
2011-11-10 15:01:11 +01:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Boris Zbarsky
cace3f9b5b
Bug 444641 part 2. Factor out the channel owner setting from docshell so other consumers can use it too. r=jst,dveditz
2011-09-20 17:00:42 -04:00
Boris Zbarsky
a1f21e752a
Bug 444641 part 1. Factor out IsAboutBlank into nsNetUtil.h. r=jduell,jst
2011-09-20 17:00:41 -04:00
Henri Sivonen
53f1ae7717
Bug 684695 - Document the effect of non-null mLSHE on how subframe loads behave for session history purposes. r=bzbarsky.
2011-09-08 17:31:27 +03:00
Olli Pettay
209c56c874
Bug 666604 - Allow untrusted events to trigger a link, r=bz
...
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Jan Varga
9ed93f386e
Bug 635673 - Content inside xul:iframe with type=content is always able to resize top chrome window. r=bz
2011-06-25 13:42:41 +02:00