Matt Woodrow
19bae1ea39
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
2019-10-11 02:27:03 +00:00
Brindusan Cristian
170d6fb93f
Backed out 11 changesets (bug 1578624) for build bustages. CLOSED TREE
...
Backed out changeset b22733eb880f (bug 1578624)
Backed out changeset cb5e15489635 (bug 1578624)
Backed out changeset f1746b2f9dec (bug 1578624)
Backed out changeset d08a099a22ff (bug 1578624)
Backed out changeset 8ebd563c72a8 (bug 1578624)
Backed out changeset d8bfec2dc9b6 (bug 1578624)
Backed out changeset 591664928bce (bug 1578624)
Backed out changeset 63f5a619b9ef (bug 1578624)
Backed out changeset ff67cc13cdf3 (bug 1578624)
Backed out changeset 43556c937a09 (bug 1578624)
Backed out changeset 49065a55694d (bug 1578624)
2019-10-09 11:50:37 +03:00
Matt Woodrow
b1f978110c
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
2019-10-09 06:37:50 +00:00
Narcis Beleuzu
eab5ec4098
Backed out 11 changesets (bug 1578624) for bustages on WindowGlobalChild.h . CLOSED TREE
...
Backed out changeset 478897956ee0 (bug 1578624)
Backed out changeset ab9c09164df0 (bug 1578624)
Backed out changeset f461f10efa46 (bug 1578624)
Backed out changeset 9b958693a003 (bug 1578624)
Backed out changeset 3b8220a15051 (bug 1578624)
Backed out changeset 180407dc57a8 (bug 1578624)
Backed out changeset bb11892e2171 (bug 1578624)
Backed out changeset 4f5c28244290 (bug 1578624)
Backed out changeset 6c02bbe5c1c5 (bug 1578624)
Backed out changeset 1d762fdce921 (bug 1578624)
Backed out changeset 818bc6e20c7d (bug 1578624)
2019-10-09 08:52:25 +03:00
Matt Woodrow
c168ffe7c0
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
2019-10-09 04:53:39 +00:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Kyle Machulis
05a190dd1a
Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState; r=bz, nika
...
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).
Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.
2018-10-29 17:13:29 -07:00
Kyle Machulis
e37f01f866
Backed out changeset fa8487b94a38 due to a=BUSTAGE on comm-central
2018-10-29 12:28:02 -07:00
Kyle Machulis
8416fded30
Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState r=bzbarsky,nika
...
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).
Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.
Differential Revision: https://phabricator.services.mozilla.com/D6944
2018-10-26 03:50:37 +00:00
Narcis Beleuzu
28f99c035d
Backed out changeset 8dd09fad1f35 (bug 1492648) for bc failures on browser_auto_close_window.js
2018-10-19 10:11:33 +03:00
Kyle Machulis
dc2a795ff8
Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState r=bzbarsky,nika
...
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).
Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.
Differential Revision: https://phabricator.services.mozilla.com/D6944
2018-10-18 22:14:54 +00:00
Kyle Machulis
712963e80a
Bug 1472087 - Remove nsDocShellLoadInfo::LoadTypes; r=nika
...
We have 2 different LoadType enums with two different values, which
have to be converted between depending on whether we're going to/from
LoadInfo/nsISHEntry/etc. We should be able to just use the same enum
everywhere and not have to deal with conversion, especially since we
don't have any type safety around the enum.
MozReview-Commit-ID: 2t9vVGLpOte
2018-07-11 20:19:18 -07:00
Kyle Machulis
a8efea862f
Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika
...
Change all references from nsIDocShellLoadInfo to nsDocShellLoadInfo
MozReview-Commit-ID: AyKlZUtSEDD
2018-07-11 20:19:14 -07:00
Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Samael Wang
932a15881e
Bug 1406161 - Part 5: Move LoadType convertion functions to nsDocShellLoadTypes.h. r=smaug
...
MozReview-Commit-ID: Ccw7cDE20m3
2017-12-19 15:13:02 +08:00
Honza Bambas
7b96a70c76
Bug 1381702 - Bypass cache when (Ctrl-)F5 refreshing a page that reloads because of charset definition late in the markup. r=bz
...
This adds two new load types: LOAD_RELOAD_CHARSET_CHANGE_BYPASS_PROXY_AND_CACHE, LOAD_RELOAD_CHARSET_CHANGE_BYPASS_CACHE which are used when charset reaload is invoked and the original load was a cache-bypassing load.
2017-07-21 06:15:00 -04:00
Brendan Dahl
4fc9ae45d4
Bug 1202895 - Fix shift-reload check for setting up service worker. r=bkelly
2015-09-16 15:28:45 -07:00
Birunthan Mohanathas
97a3d5cc75
Bug 1129795 - Convert rest of docshell/ to Gecko style. r=mccr8
2015-05-06 10:57:23 -07:00
Birunthan Mohanathas
e9f6010617
Bug 1129795 - Make modelines consistent in docshell/base/. r=mccr8
2015-02-13 21:36:47 +02:00
Birunthan Mohanathas
9a04e80e2c
Bug 1129795 - Convert docshell/base/ to Gecko style. r=mccr8,smaug
2015-02-13 21:36:37 +02:00
Christoph Kerschbaumer
e564105344
Bug 906190 - Persist 'disable protection' option for Mixed Content Blocker in child tabs. r=smaug
2013-08-22 15:13:16 -07:00
Tanvi Vyas
a3ffccd05b
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
db95f610e2
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
Ehsan Akhgari
243c878d26
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
Brian Nicholson
71ede29ee2
Bug 766757 - Add LOAD_REPLACE_BYPASS_CACHE load type. r=bz
2012-06-21 10:31:07 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ehsan Akhgari
478ad1a412
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
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Justin Lebar
a1288e078a
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Daniel Holbert
4169db85ee
Backed out changeset dc7a04be6904 on suspicion of causing bug 543034.
2010-01-29 18:50:46 -08:00
Justin Lebar
3bf83e55ef
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Boris Zbarsky
a3930dd775
Fixing comments and assertion text. Bug 466681
2008-11-26 13:48:36 -05:00
Boris Zbarsky
e7671880ee
Bug 466681. Undo the weirdness in the webnavigation flags. r+sr=jst
2008-11-25 20:48:03 -05:00
fae6ba617c
Bug 413938: Add an nsIWebNavigation flag to let clients bypass malware/phishing detection. r=bz, sr=biesi, a1.9=damons
2008-01-29 15:49:20 -08:00
b55f96db41
Bug 382383 - nsDocShell::LoadURI discards LOAD_FLAGS_FIRST_LOAD. r=bzbarsky, sr=cbiesinger
2007-06-10 16:28:27 -07:00
[email protected]
bf8816f3d2
Bug 351777: domain fixup/guessing broken, r=biesi, sr=bzbarsky
2006-09-24 02:45:23 +00:00
[email protected]
7b35b71713
Bug 349419: add nsIDocShellLoadInfo type for fixup, to silence an assertion that occurs any time a URI is fixed up, r=biesi, sr=bzbarsky
2006-09-01 15:58:18 +00:00
[email protected]
3f2e04b2c6
Bug 341112: LOAD_FLAGS_BYPASS_CACHE flag of nsIWebNavigation::loadURI doesn't work, patch by Nickolay Ponomarev <[email protected] >, r=biesi, sr=darin
2006-07-08 21:25:08 +00:00
[email protected]
5fbad83631
Move the load type constants into nsDocShellLoadTypes.h, for easier reuse outside of docshell. Bug 326706, r+sr=bzbarsky.
2006-02-11 00:17:36 +00:00