Mark Hammond
7fe61d817c
Bug 909218 - add defaultLoadFlags to nsIDocShell. r=bz
2013-09-06 16:33:28 +10:00
Ed Morley
2a2f5c9d13
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Felipe Gomes
5de1caaed5
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
77dc953fd1
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
8d5afdb588
Bug 906276 - Add attribute to nsIDocShell to disable content retargeting. r=jlebar, sr=biesinger
2013-08-24 01:10:50 -07:00
Tom Schuster
26e3a4ac9a
Bug 895957 - Implement a workaround for goDoCommand in e10s. r=neil
2013-08-21 13:24:53 -04:00
Joshua Cranmer
ca4be40ae4
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
176efd0f7c
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Ryan VanderMeulen
0d9d01968b
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
b75e2ac8e6
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
James Kitchener
0d4bb8c90d
Bug 802895 - Docshell related changes for srcdoc iframe r=bz
2013-06-28 23:13:22 -04:00
Ms2ger
89617c7ae8
Bug 880998 - Return void from nsDocShell::MaybeInitTiming(); r=bz
2013-06-23 09:14:21 +02:00
Bob Owen
1f4d023302
Fix for bug 838692 - Navigating named targets from sandboxed iframes (r=smaug)
2013-04-24 18:13:25 +01:00
Matthew Noorenberghe
172c89a430
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
a2966f198d
bug 882079 - merge nsIDocShellHistory into nsIDocShell r=smaug
2013-02-15 11:07:29 -05:00
Tim Taubert
a3515f5036
Bug 453650 - implement reflow observers for docShells; r=bz
2013-06-01 12:00:12 +02:00
Michael Brennan
18d8f09c5b
Bug 829603 - Change charsets to strings in nsIDocShell. r=hsivonen
2013-05-25 16:09:30 +02:00
Matt Brubeck
0a8a5267e1
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
26e4745ac3
Fix for bug 838692 - Navigating named targets from sandboxed iframes. (r=smaug)
2013-04-24 18:13:25 +01:00
David Zbarsky
204a17f3b2
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
David Zbarsky
5de2f27c8a
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger
2013-04-19 18:18:32 -04:00
Honza Bambas
bf6ac747cf
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-15 14:38:48 +02:00
Ryan VanderMeulen
b880048f4e
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
e09acd80df
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-11 18:26:06 +02:00
Boris Zbarsky
9d76e74edd
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
785f24e28f
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
Ms2ger
058b5efdfc
Bug 853814 - Make nsDocShell::mScriptGlobal an nsGlobalWindow; r=bz
2013-04-04 09:02:11 +02:00
Trevor Saunders
ef3a9cb704
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Trevor Saunders
e0ac078217
bug 841436 - make nsIDocShell inherit from nsIDocShellTreeItem r=bz
2013-02-11 20:31:43 -05:00
Tanvi Vyas
312040ed12
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
0a286666d8
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
6b3a78a869
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
d39dd58633
Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me.
2013-01-21 16:22:38 +00:00
Josh Matthews
6fd3b6e328
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
06af3cb460
Bug 761448, be more strict when to allow docshell loads, r=bz, a=akeybl
2013-01-08 19:12:41 +02:00
Tom Schuster
12e54d9bdb
Bug 676619 - Implementation of the download attribute for links. r=smaug
2012-12-02 21:55:52 +01:00
Justin Lebar
8c64b0474c
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
f774dcd8ba
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
19b287d268
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
cbe0e3a4d1
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
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
Masayuki Nakano
501d9048c0
Bug 666901 docshell should use mozilla::Preferences r=bz
2011-06-25 10:55:46 +09:00
Jonas Sicking
e3f6b769a1
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Igor Bazarny
39a01edf21
bug 570341 Initial implementation of web timing specification
...
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Dão Gottwald
9875ff106c
Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2.
2011-06-14 00:02:28 +02:00
Oonishi Atsushi
a32cac7d4c
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
8ce3ec96a2
Bug 551225 - Make pushState use structured clone. r=zpao, sicking
2011-04-24 22:30:54 -04:00
Justin Lebar
f50c4cd27d
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
51864c09d8
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
Peter Van der Beken
4d0735697c
Fix for bug 637116 (Leak documents+windows with replaceState, focus, event handler closure). r=mrbkap.
...
--HG--
extra : rebase_source : 57090db5f6805d70811dc5753e2bc91feb65c0b5
2011-03-03 12:55:55 +01:00
Boris Zbarsky
aae915ec33
Bug 629559. Clone child session history entries on anchor navigation. r=dtownsend,smaug
...
--HG--
rename : dom/tests/mochitest/general/historyframes.html => docshell/test/historyframes.html
rename : dom/tests/mochitest/general/test_framedhistoryframes.html => docshell/test/test_framedhistoryframes.html
rename : dom/tests/mochitest/general/test_windowedhistoryframes.html => docshell/test/test_windowedhistoryframes.html
2011-03-30 13:40:48 -04:00