Bob Owen
858efdc803
Bug 766282 - Implement allow-popups directive for iframe sandbox. r=smaug
2013-03-21 18:44:58 +00:00
David Christiandy
f47321f71c
Bug 906282 - Replace pref observer with var cache and remove nsIObserver inheritance. r=bz
2013-10-06 15:30:19 -04:00
Mark Hammond
94e78bfd55
Bug 909218 - add defaultLoadFlags to nsIDocShell. r=bz
2013-09-06 16:33:28 +10:00
Ed Morley
3d679673b4
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Felipe Gomes
cf77c1b0f9
Bug 899348 - Dispatch an event when an out-of-process browser crashes and display an error page when that occurs. r=bz
2013-09-03 19:11:22 -03:00
Ehsan Akhgari
1bbecd33dc
Bug 912129 - Minimize the #includes in docshell/base; r=bzbarsky
...
--HG--
extra : rebase_source : b0c00f4b1c1f0c3c0754ff9fa8cb9bd28b78b1fd
2013-09-03 16:17:26 -04:00
Drew Willcoxon
b7e11dbae6
Bug 906276 - Add attribute to nsIDocShell to disable content retargeting. r=jlebar, sr=biesinger
2013-08-24 01:10:50 -07:00
Tom Schuster
c24d950ecf
Bug 895957 - Implement a workaround for goDoCommand in e10s. r=neil
2013-08-21 13:24:53 -04:00
Joshua Cranmer
a7b443c4d3
Bug 884061 - Part 3e: Use NS_DECL_THREADSAFE_ISUPPORTS in docshell/, r=bz
...
--HG--
extra : rebase_source : dbc05e56fa9eb1ef273f40bd3278ccdea818df9a
2013-07-18 21:21:19 -05:00
Masatoshi Kimura
1a9e38cc24
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Ryan VanderMeulen
1d99822149
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
c9b73ddb89
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
James Kitchener
c67faac389
Bug 802895 - Docshell related changes for srcdoc iframe r=bz
2013-06-28 23:13:22 -04:00
Ms2ger
8812649490
Bug 880998 - Return void from nsDocShell::MaybeInitTiming(); r=bz
2013-06-23 09:14:21 +02:00
Bob Owen
710edc3621
Fix for bug 838692 - Navigating named targets from sandboxed iframes (r=smaug)
2013-04-24 18:13:25 +01:00
Matthew Noorenberghe
8df8466d7d
Bug 759964 - Part 1 - Add allowMedia attribute to nsIDocShell to disable HTML5 media elements. r=bz
2013-03-29 14:52:59 -07:00
Trevor Saunders
e8101d7095
bug 882079 - merge nsIDocShellHistory into nsIDocShell r=smaug
2013-02-15 11:07:29 -05:00
Tim Taubert
bf97ac300c
Bug 453650 - implement reflow observers for docShells; r=bz
2013-06-01 12:00:12 +02:00
Michael Brennan
7e2180cd93
Bug 829603 - Change charsets to strings in nsIDocShell. r=hsivonen
2013-05-25 16:09:30 +02:00
Matt Brubeck
0c06887eb0
Backed out changeset a5b13623631c:0200fd49efc3 (bug 838692) for frequent Linux debug test_iframe_sandbox_navigation.html timeouts
...
CLOSED TREE
2013-05-08 16:14:03 -07:00
Bob Owen
f05f5ed9f9
Fix for bug 838692 - Navigating named targets from sandboxed iframes. (r=smaug)
2013-04-24 18:13:25 +01:00
David Zbarsky
9e176d3804
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
David Zbarsky
dd6ace641b
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger
2013-04-19 18:18:32 -04:00
Honza Bambas
f29df2e52f
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-15 14:38:48 +02:00
Ryan VanderMeulen
60dbee1a3e
Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE.
2013-04-11 17:00:28 -04:00
Honza Bambas
26d97547b7
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-11 18:26:06 +02:00
Boris Zbarsky
50d1b6f474
Bug 765780 part 2. Simplify the docshell code that was trying to enable script in subframes of designMode documents. r=ehsan
...
I'm leaving the editing session APIs for enabling/disabling script and finding out whether the editing session has done that, in case someone else is using it.
2013-04-08 17:04:20 -04:00
David Zbarsky
3febe3b914
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
Ms2ger
5df9b240a6
Bug 853814 - Make nsDocShell::mScriptGlobal an nsGlobalWindow; r=bz
2013-04-04 09:02:11 +02:00
Trevor Saunders
fda9efaa98
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Trevor Saunders
de6a629cdc
bug 841436 - make nsIDocShell inherit from nsIDocShellTreeItem r=bz
2013-02-11 20:31:43 -05:00
Tanvi Vyas
6591455ded
Bug 822367 - Since document.open() creates a new channel, set nsDocShell:mMixedContentChannel to the newly created channel if the user has decided to allow mixed content on the page. r=smaug
2013-01-30 00:04:34 -08:00
Tanvi Vyas
c3eedfc7b5
Bug 822367 - Plumbing needed to show user Mixed Content Blocker Doorhanger when Mixed Active Content is Blocked and allow user an option to load the inseucre content anyway. r=smaug
2013-01-30 00:04:31 -08:00
Josh Matthews
1c26029ced
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-22 18:06:30 +00:00
Josh Matthews
9f8c41d2ca
Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me.
2013-01-21 16:22:38 +00:00
Josh Matthews
775c1bf54a
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-21 14:42:16 +00:00
Olli Pettay
2a01a34912
Bug 761448, be more strict when to allow docshell loads, r=bz, a=akeybl
2013-01-08 19:12:41 +02:00
Tom Schuster
9271842e43
Bug 676619 - Implementation of the download attribute for links. r=smaug
2012-12-02 21:55:52 +01:00
Justin Lebar
a9e6d9a0c8
Bug 802366 - 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.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
3eff16d324
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
785d3c9b2f
Bug 802366 - 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.
2012-11-09 16:37:39 -08:00
Ehsan Akhgari
f4956f5734
Bug 800193 - Print a warning when setting nsILoadContext.usePrivateBrowsing in per-window private browsing builds; r=bzbarsky
2012-10-31 00:15:24 -04:00
Justin Lebar
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
7b38d49f83
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
818638f210
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
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
Chris Pearce
046c7a9a82
Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar
2012-10-30 11:02:24 +13:00
Jason Duell
a5b93cbcd8
Bug 802885 - Disable offline cache entries for private channels under e10s r=jdm
2012-10-17 22:00:16 -07:00
Andrew Quartey
00edc52f9c
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
ea5e17dc9c
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Chris Pearce
685bd32cd6
Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar
2012-10-08 10:12:50 +13:00
Andrew Quartey
58aa97ec8b
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Patrick Wang
8eaaa66b5d
Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
...
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08: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
Ian Melven
4f3defdd1a
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jason Duell
8c13f6d202
Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking
2012-08-07 22:09:28 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jason Duell
f599864772
Bug 776140 - Add GetExtendedOrigin method to nsILoadContext. r=jlebar, sr=sicking
2012-07-23 11:09:26 -07:00
Jason Duell
8a81637544
Bug 775860 - copy appId and isInBrowserElement from nsIDocShell to nsILoadContext. r=jlebar, sr=sicking
2012-07-20 11:38:43 -07:00
Mounir Lamouri
b92335b98c
Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking
2012-07-19 10:32:49 -07:00
Mounir Lamouri
18f18cdf14
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
39d63b1649
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
be6f447b39
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
a065999925
Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking
2012-07-19 10:32:49 -07:00
Mounir Lamouri
2cd38a0937
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
c2d155cb67
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
a0f97b8567
Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking
2012-07-18 22:28:05 -07:00
Mounir Lamouri
42117c2ed2
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
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Oonishi Atsushi
7b218c3f48
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
8de78a56c1
Bug 757376. r=bz
...
--HG--
extra : rebase_source : 5de9b8594742c470381f1e36c3629d393c264c6e
2012-06-05 12:55:59 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Eric Wong
2974faa0ea
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
a83b61e9e2
Bug 729162 - Add per-docshell privacy mode transition observers. r=bz
2012-04-19 23:19:54 -04:00
Marco Bonardo
431906e35b
Bug 738762 - Pass redirect and error information to global history.
...
r=bz
2012-03-29 15:07:09 +02:00
Justin Lebar
cad9c02c19
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
9f02b38aaf
Bug 737307 - Part 2: Fix. r=bz
2012-03-21 09:53:40 -04:00
Justin Lebar
bb3946786d
Back out 4d69dc0ec681 (bug 737307) due to orange.
2012-03-21 08:57:14 -04:00
Justin Lebar
99cfe4f774
Fix bug 737307. r=bz
2012-03-21 07:38:01 -04:00
Justin Lebar
fd4cfccc63
Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz
2012-03-04 11:02:00 -05:00
Josh Matthews
713e1bf3c6
Bug 722840 - Add private browsing attribute to docshells. r=bz
2012-02-02 14:03:46 -05:00
Simon Montagu
01326f327c
Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck
2012-01-24 11:52:05 +02:00
Oonishi Atsushi
8f0353652d
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
92064e6d3f
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
d2b70213ac
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
70b13b1eaf
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
73cb28130e
Bug 444641 part 1. Factor out IsAboutBlank into nsNetUtil.h. r=jduell,jst
2011-09-20 17:00:41 -04:00
Henri Sivonen
2d0e422226
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
e5f1a50b21
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
1887d020e9
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
Masayuki Nakano
d3e078cfbc
Bug 666901 docshell should use mozilla::Preferences r=bz
2011-06-25 10:55:46 +09:00
Jonas Sicking
07c1f0b90f
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Igor Bazarny
3885bce98f
bug 570341 Initial implementation of web timing specification
...
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Dão Gottwald
dea1dade04
Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2.
2011-06-14 00:02:28 +02:00
Oonishi Atsushi
5fc1479298
Bug 311007 - Add onLocationChange2 which distinguishes between same-document and different-document location changes to web progress listeners. r=smaug, sr=bzbarsky
2011-06-04 05:31:07 +09:00
Justin Lebar
a8ba1048dc
Bug 551225 - Make pushState use structured clone. r=zpao, sicking
2011-04-24 22:30:54 -04:00
Justin Lebar
0f22799642
Bug 640387 - onhashchange should be fired when navigating between history entries created via history.pushState if the entries' URIs differ only in their hashes. r=smaug
...
--HG--
extra : rebase_source : de3b3389e1ed402362f46b4b17f7cd386aca8361
2011-03-31 12:35:04 -04:00
Zack Weinberg
8648dcc368
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00