Justin Lebar
c867b89b40
Backed out changeset e710acd6ef11 (bug 802366)
2012-10-30 21:36:32 -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
Justin Lebar
8eb0aa0ed6
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
Josh Matthews
4c14ae57a3
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
ca6e4050b8
Backout f5de2f1dd9d7 (bug 804653) due to leaks.
2012-10-30 10:13:08 -04:00
Josh Matthews
0aa28bf88a
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
Chris Pearce
818603ae1d
Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar
2012-10-30 11:02:24 +13:00
Bobby Holley
cbd9a55d15
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Neil Deakin
3afd861719
Bug 621944, find and replace doesn't wrap in mail compose, use the correct focused frame, r=neil
2012-10-18 09:18:30 -04: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
Jonathan Kew
d0245b58c2
bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud
2012-10-16 20:41:20 +01:00
Jonathan Kew
4cd793896e
bug 794038 pt 0.9 - provide an unscaledDevicePixelsPerCSSPixel attribute on nsIBaseWindow to expose the default device-pix/css-pix ratio. r=roc
2012-10-16 20:41:19 +01:00
David Zbarsky
1ad98d51b4
Fix some && within || warnings, no bug
2012-10-15 21:00:21 -04:00
Oonishi Atsushi
f0d30acf35
Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug, r=bz
2012-10-13 13:20:55 -04:00
Josh Matthews
ae1754a188
Bug 795556 - Part 2: Move privacy status propagation for new windows into the platform. r=bz
2012-10-10 11:28:42 -04:00
Chris Pearce
223b7d2f32
Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar
2012-10-08 10:12:50 +13:00
Olli Pettay
7df6ef521b
Bug 797909, null principal for initial about:blank, r=bz
2012-10-05 02:01:34 +03:00
Ehsan Akhgari
9e27c6bbb7
Bug 795015 - Set the initial state of the per-docshell private browsing flag based on the state of the global PB service; r=jdm,bzbarsky
2012-09-30 21:55:42 -04:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ryan VanderMeulen
f0cedf0da3
Merge the last PGO-green inbound changeset to m-c.
2012-09-20 21:23:35 -04:00
Dave Camp
bdb0bca41e
Merge fx-team to m-c
2012-09-20 15:52:35 -07:00
Tim Taubert
3f54a0205a
Bug 422543 - part 1 - make session history support multiple listeners; r=smaug
2012-09-20 16:41:18 +02:00
Justin Lebar
7aae90acd0
Bug 791011 - When doing a hash navigation, cancel any outstanding document loads, but don't cancel other network activity. r=bz
2012-09-20 15:16:54 -04:00
Ehsan Akhgari
43f06e8050
Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak
2012-09-06 00:34:50 -04:00
Ehsan Akhgari
b5c39afb4e
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -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
Ms2ger
3e7ee5753d
Bug 785642 - Return failure from nsDocShell::CaptureState if SaveWindowState returns null; r=mrbkap
2012-09-06 09:25:05 +02:00
Ms2ger
da816a754b
Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap
2012-09-06 09:20:26 +02:00
Makoto Kato
c28c020a8f
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Bobby Holley
517b3a2ec0
Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
...
This value is initialized to null and never set, so we can get rid of it.
2012-09-05 11:32:06 -07:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Philipp von Weitershausen
5801c8b2ab
Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Justin Lebar
e98a5d9b7e
Bug 775009 - Part 2: Fix. r=bz
2012-08-25 18:23:53 -04:00
Matt Brubeck
5e47d4412f
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley
dc08b52980
Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
...
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Justin Lebar
7649f5cc25
Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz
2012-08-22 18:27:04 -07:00
Justin Lebar
9e3313408d
Bug 784436 - Part 1: Make some nsIDocShell attributes infallible. r=bz
2012-08-22 18:27:04 -07: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
06019be17e
Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst
2012-08-20 11:34:33 -07:00
Ian Melven
46a3add818
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Chris Pearce
15356aaacb
Bug 725770. r=bz
2012-08-15 13:51:19 +12:00
Justin Lebar
8a615581c4
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
2012-08-14 10:58:00 -04:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Justin Lebar
ccbc337560
Bug 780351 - Don't let code in different apps access each others' windows. r=smaug
2012-08-13 15:19:09 -04:00
Boris Zbarsky
1dc8dd0dba
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Chris Jones
c75af6c281
Revert e3e9040a6eb9 for M2 failures
2012-08-08 21:58:23 -07:00
Boris Zbarsky
6d358255e3
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Jason Duell
148b915638
Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking
2012-08-07 22:09:28 -07:00
Ms2ger
f46bb755c8
Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz
2012-08-04 09:44:01 +02:00
Ed Morley
bba173e66e
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
797519767d
Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz
2012-08-04 09:44:01 +02:00
Devdatta Akhawe
a7f111cd79
Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend
2012-08-02 18:51:17 -07:00
Aryeh Gregor
6e414481b2
Bug 779123 - Return NS_ERROR_FAILURE instead of false from nsDocShell::GetExtendedOrigin; r=jlebar
2012-08-01 18:46:48 +03:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
b6511c4a18
Bug 777292 - Add default cases to switches on nsresult; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
bcce1c96d2
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Matt Brubeck
ccfa10cbd2
Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts
2012-07-27 17:03:23 -07:00
Oonishi Atsushi
ebed433bef
Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug
2012-07-27 17:51:52 -04:00
Henri Sivonen
b43c71a1be
Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky.
2012-07-27 16:35:09 +03:00
foudfou
09a2090991
Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc
2012-07-24 21:35:32 -04:00
Matt Brubeck
769c2e9252
Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts
2012-07-23 20:30:12 -07:00
Justin Lebar
eb80d0fb04
Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
...
--HG--
extra : rebase_source : 916b8181478cda654b8936f7bfab79e72f7c8422
2012-07-23 15:59:37 -04:00
Justin Lebar
c9febe2419
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
...
--HG--
extra : rebase_source : cc6f8b85ddea42cf47a382a3edb1ca6d1b5fdbc9
2012-07-23 15:59:37 -04:00
Justin Lebar
65e1654abd
Backed out changeset cac4e8a16532 (bug 771273)
2012-07-23 15:39:03 -04:00
Justin Lebar
2ed2d5f6bb
Backed out changeset 97b356893365 (bug 762939)
2012-07-23 15:38:55 -04:00
Jason Duell
3aa13aaf05
Bug 776140 - Add GetExtendedOrigin method to nsILoadContext. r=jlebar, sr=sicking
2012-07-23 11:09:26 -07:00
Justin Lebar
dca7732008
Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
2012-07-23 13:47:34 -04:00
Justin Lebar
bd1f475f02
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
2012-07-23 13:47:33 -04:00
Justin Lebar
d7ac31176f
Backed out changeset 0b4c68d39a61 (bug 771273) on a CLOSED TREE
2012-07-23 11:44:55 -04:00
Justin Lebar
8bef8e4cda
Backed out changeset e15addefe3a2 (bug 762939)
2012-07-23 11:43:33 -04:00
Justin Lebar
f962c0704f
Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
2012-07-23 11:26:36 -04:00
Justin Lebar
f019d8710c
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
2012-07-23 11:24:14 -04:00
Justin Lebar
d54159c32c
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
...
--HG--
extra : rebase_source : 96a53a1a8b34f41bfe59f00141d598c5394cb0c1
2012-07-23 10:44:13 -04:00
Mounir Lamouri
5f6437da3b
Follow-up from bug 775408: fix comment. r=me
2012-07-22 17:42:15 -07:00
Mounir Lamouri
7935452e46
Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar
2012-07-21 17:39:41 -07:00
Jonas Sicking
68ce0e34aa
Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir
2012-07-21 00:29:40 -07:00
Jonas Sicking
78ce127429
Bug 774585: Fix session storage to take app principals into account. r=mounir
2012-07-21 00:29:40 -07:00
Chris Jones
ef35aa58e9
Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
...
This is a rollup of three separate patches
- Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
- Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
- Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc
--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -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
Mounir Lamouri
96545b3886
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -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
Mounir Lamouri
8a2133a405
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Ehsan Akhgari
c7dd4ebaab
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (docshell parts); r=bzbarsky
2012-07-10 23:59:52 -04:00
Ehsan Akhgari
2407172a43
Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky
2012-07-16 22:44:22 -04:00
Tim Taubert
aa3440397a
Bug 724239 - Loading a page in a new tab enables the back button; r=gavin,bz
2012-07-10 17:54:41 +02:00
Tim Taubert
f5427b077d
Bug 669603 - Part 2 - Add sessionStorage helpers to nsIDocShell; r=smaug,mayhemer
2012-07-05 12:12:55 +02:00
Devdatta Akhawe
7a3e5d2a07
Bug 767134 - Stuff the source principal into nsIContentPolicy (r=bz, sr=jst)
2012-07-02 16:16:11 -07:00
Justin Lebar
88ca4ab69b
Bug 767957 - Remove dead null-check for shistory in {push,replace}State. r=bz
...
--HG--
extra : rebase_source : 29940d3fe6ee905d2f32777c7caf05a846081277
2012-06-26 17:18:10 +02:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ed Morley
0ba9aa86c4
Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures
2012-06-22 11:04:47 +01:00
Justin Lebar
471d7dec38
Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz
2012-06-21 21:17:52 -04:00
Brian Nicholson
ae0d3aaabc
Bug 766757 - Add LOAD_REPLACE_BYPASS_CACHE load type. r=bz
2012-06-21 10:31:07 -07:00
Ed Morley
40934fb818
Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures
2012-06-21 18:18:40 +01:00
Justin Lebar
5773d8495d
Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz
2012-06-21 11:58:49 -04:00
David Zbarsky
0bfb22bda4
Bug 766341 - Fix debug warnings in nsDocShell.cpp r=smaug
2012-06-19 17:10:14 -07:00
Justin Lebar
cc43cd9859
Bug 742944 - Part 1: Always set nsDocShell::isBrowserFrame to true, for in- and out-of-process iframes. r=bz
...
--HG--
extra : rebase_source : ab7e051cf7c2038ec362376277a1d97c69c5717c
2012-06-12 18:01:24 -04:00
Gabor Krizsanits
63752270f6
Bug 763496 - Use nsIPrincipal::Subsumes instead of nsIPrincipal::Equals in nsDocShell. r=bz
2012-06-12 17:06:37 -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
Olli Pettay
95b7529009
Bug 758401 - Add a way to get message manager from docshell, r=jst
2012-05-28 12:27:25 +03:00
Kyle Huey
daec3cf6f2
Merge m-c to b-s.
2012-05-27 22:31:06 -07:00
Kyle Huey
9c34c902d6
Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst
2012-05-25 12:00:32 -07:00
Josh Matthews
f799ef06a1
Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer
2012-05-26 09:37:58 +01:00
Ed Morley
05ff81b305
Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html
2012-05-25 12:51:32 +01:00
Josh Matthews
11cd0538f9
Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer
2012-05-25 12:20:31 +01:00
Josh Matthews
9e27223a3d
Bug 722845 - Part 5: Disable offline cache entries for private channels. r=mayhemer
2012-05-24 16:31:54 +01:00
Boris Zbarsky
514dfeebbb
Bug 748276. Don't record a navigationStart for javascript: URI loads that don't produce a document. r=smaug
2012-05-23 12:44:48 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Oonishi Atsushi
5bbbd85991
Bug 745530 - Check that the decoded and unescaped ref is not empty. r=smaug
2012-05-08 18:49:14 -04:00
Oonishi Atsushi
5cfaf515a1
Bug 750145 - iframe should not inherit LOAD_ERROR_PAGE. r=smaug
2012-05-03 06:22:33 -04:00
Oonishi Atsushi
13f066d77c
Bug 478927 - Add a new flag LOCATION_CHANGE_ERROR_PAGE for onLocationChangeBug. r=smaug, sr=bzbarsky
2012-05-03 06:22:32 -04: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
Oonishi Atsushi
2db63a757f
Bug 673752 - Every error page fires onLocationChange twice. r=smaug
2012-04-24 19:49:58 -04:00
Matt Brubeck
2993d5d45a
Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs
2012-04-24 20:47:13 -07:00
Ehsan Akhgari
a992263c77
Merge mozilla-central into mozilla-inbound
2012-04-24 21:29:44 -04:00
Josh Matthews
fb756f895a
Bug 729162 - Add per-docshell privacy mode transition observers. r=bz
2012-04-19 23:19:54 -04:00
Josh Matthews
6b9a8a5fe2
Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz
2012-04-19 20:13:20 -04:00
Justin Lebar
354aaee162
Bug 745502 - Fix a null-pointer exception in pushState. r=smaug
2012-04-16 19:54:08 +10:00
Ms2ger
17ded04bad
Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz
2012-04-14 15:03:16 +02:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
3cce5883de
Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz
2012-04-14 15:03:16 +02:00
Oonishi Atsushi
d68ee01d3a
Bug 673752 - Every error page fires onLocationChange twice. r=smaug
2012-04-24 19:49:58 -04:00
Paolo Amadini
f59a485dfb
Bug 737133 - getFaviconURLForPage and getFaviconDataForPage should invoke nsIFaviconDataCallback even if the favicon is not available. r=mak sr=gavin
...
--HG--
extra : rebase_source : 70f0139a7b87b4a3f4de785a7c29f3f36e2055a9
2012-04-12 12:27:14 +02:00
Josh Matthews
2cc5f8574f
Bug 725210 - Add observer notification for last PB docshell going away. r=bz
2012-02-21 12:32:17 -05:00
Justin Lebar
ee4d74361d
Bug 737307 - Don't clobber mLoadType in short-circuited loads. r=bz
...
--HG--
extra : rebase_source : 9ae25aa8144136f202251b61050adb6b05fe08af
2012-03-29 11:27:13 -07:00
Marco Bonardo
7bf2e7218c
Bug 738762 - Pass redirect and error information to global history.
...
r=bz
2012-03-29 15:07:09 +02:00
Oonishi Atsushi
2d0c83212c
Bug 680727 - Part 2: docshell should pass a reloaded page to global history. r=smaug
2012-03-28 21:51:01 +02:00
Justin Lebar
8dd521e600
Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
...
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07: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
Mark Capella
1e7fdd17b2
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01: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
Tim Taubert
9d1d0d49a3
Bug 683953 - Part 2 - Add a docShell's history ID to the debug output; r=jlebar
2012-02-25 12:48:06 +01:00
Honza Bambas
e9c33fe76e
Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary
2012-02-23 18:41:25 +01:00
Justin Lebar
d7c3e50635
Bug 728939 - Part 1: Changing a URI's hash should update document.URL. r=bz
...
--HG--
extra : rebase_source : a41d88a9375d60a05ed61a6214003762119b7370
2012-02-22 16:53:58 +01:00
Oonishi Atsushi
c249205cdc
Bug 382702 - Create a blank URL for session history when an invalid protocol is used. r=biesi
2011-12-15 08:03:00 -05:00
O. Atsushi
e866554637
Bug 312680 - Unknown protocol error should cause an error page instead of a dialog. r=biesi
2012-02-15 23:28:19 +01:00
Josh Matthews
9114a9d0a4
Backing out bug 725210, changeset 01259925085c r=orange
2012-02-08 02:34:00 -05:00
Josh Matthews
fafb3fc1de
Bug 725210 - Add observer notification for last PB docshell going away. r=bz
2012-02-08 01:52:39 -05:00
Josh Matthews
7c3ef60c66
Bug 722840 - Add private browsing attribute to docshells. r=bz
2012-02-02 14:03:46 -05:00
Gavin Sharp
94d37b8e6a
Bug 723808: don't allow loads in type=content docshells to inherit the system principal, r=bz
...
--HG--
extra : transplant_source : %E6%25%A7%C1.%DA%02%CC%BF%DA%ED%BEZ%E8%FB%CD%28%0A%FE8
2012-01-30 18:29:44 -08:00
Simon Montagu
6d25747926
Remove unused forcedDetector property. Bug 713825, r=bz
2012-01-24 11:52:05 +02: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
Mike Hommey
176d9e4f6b
Bug 718737 - Add a startup timeline event on the first nsDocShell::LoadURI for non about:blank content. r=bz,r=tglek
2012-01-19 08:40:18 +01:00
Markus Stange
76504f5eaa
Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
cb70f28632
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Bobby Holley
9fb9ba7af0
Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz
2011-12-30 09:35:39 -08:00
Phil Ringnalda
3f8c5b26b0
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
fc0530b684
Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc
2011-12-23 22:52:25 -05:00
Markus Stange
4ef3f032b5
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Nathan Froyd
40b05d36da
Bug 709205 - use GetObserverService in dom,docshell; r=bz
2011-12-09 14:35:37 -05:00
Igor Bazarny
6832a953c0
Bug 694612. Hook up the performance timing APIs even inside an <object>. r=bzbarsky
2011-11-17 10:24:03 +13: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
Igor Bazarny
8b10d6b949
Bug 691547. Don't record a navigationStart for a docshell when one of its descendants navigates. r=bzbarsky
2011-11-08 11:51:20 -05:00
Masatoshi Kimura
4f145e7333
Bug 461304 - Part 1: Add UTF-8 flag to nsDocShell::LoadURI; r=bz
2011-11-05 15:48:28 +00:00
Timothy Nikkel
09778341dc
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Justin Lebar
fbe51410e2
Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug
2011-10-21 11:26:34 -04:00
Marco Bonardo
96f6fdb983
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-19 11:47:57 +02:00
Olli Pettay
e5b7e8ee46
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
...
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Justin Lebar
e7ce3fbda2
Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange.
2011-10-17 21:09:17 -04:00
Justin Lebar
5629c0bfc8
Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug
2011-10-12 20:15:28 -04:00
Justin Lebar
e295b19833
Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug
2011-10-12 20:15:28 -04: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
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ed Morley
091dcad0ea
Merge last green changeset of mozilla-inbound to mozilla-central
2011-10-15 12:19:29 +01:00
Ms2ger
cd715d9c9b
Bug 540433 - Remove nsIDocumentViewer; r=smaug
2011-10-15 09:33:26 +02:00
Neil Rashbrook
324fe5c73a
Bug 451250 When navigating session history, use an error page instead of the
...
POSTDATA prompt r=bz ui-r=faaborg
2011-10-12 18:31:47 +01:00
Neil Deakin
a613d39bb5
Bug 694227 nsIBaseWindow::blurSuppression is unusued, r-bsmedbeg,sr=bz
2011-10-14 14:11:22 -04:00
Nathan Froyd
4e884da89b
Bug 682869 - update places to use Telemetry::AccumulateTimeDelta. r=tglek,khuey,jduell
...
--HG--
extra : rebase_source : 2b691d94f8352efb13e92294e22844e6473fd458
2011-10-10 13:05:47 -04:00
Boris Zbarsky
31d91ff3a9
Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
...
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events. For docshell active state changes, we
fire the event asynchronously. In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Boris Zbarsky
9898ca94b9
Bug 685782. SetHistoryEntry should start syncing at the root of the docshell tree, not at its parent docshell. r=smaug
2011-10-03 15:13:35 -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
124041edc0
Bug 677643 part 1. Clone the URI argument in OnLinkClickSync to work around content policies mutating the URI which is shared with some random caller. r=smaug
2011-09-26 18:03:14 -04: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
Daniel Holbert
753da40861
Bug 570341 followup: Fix nsDocShell init list ordering to address GCC warning. r=gavin r=biesi
2011-08-23 15:17:30 -07:00
Justin Lebar
7e582ce643
Bug 680257 - Always call nsDocShell::ScrollToAnchor on short-circuited loads, so as to make sure the target pseudo-class is updated correctly. r=bz
2011-08-22 22:39:37 -04:00
Matheus Kerschbaum
e7cc82ef30
Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz
2011-08-18 12:07:43 +02:00
Ms2ger
5067dcabc0
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
...
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
c046ca0ed7
Backout bug 675075 for bustage
2011-08-14 20:05:20 +02:00
Ms2ger
d6c9f62e8c
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:52:28 +02:00
Ms2ger
3980c93ae7
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
2011-08-14 19:22:29 +02:00
Justin Lebar
aa17ad67fe
Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug
...
--HG--
extra : rebase_source : 431dafff170f2e6c8aa3429d5ec0f444efc53a10
2011-05-13 15:42:36 -04:00
Justin Lebar
8e5777e1a0
Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
...
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00
Justin Lebar
8198e6e37b
Bug 673252 - Allow +++DOCSHELL and +++DOMWINDOW printfs to be silenced via MOZ_QUIET environment variable. r=bz
2011-08-04 11:43:50 -04:00