Imported Upstream version 4.3.2.467

Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
Xamarin Public Jenkins
2016-02-22 11:00:01 -05:00
parent f302175246
commit f3e3aab35a
4097 changed files with 122406 additions and 82300 deletions

View File

@@ -143,6 +143,10 @@ namespace System.Web.Handlers {
response.Cache.SetCacheability(HttpCacheability.NoCache);
response.ContentType = "text/plain";
// DevDiv#961281
// Allow apps to access to the redirect location
context.Items[PageRequestManager.AsyncPostBackRedirectLocationKey] = redirectLocation;
// Preserve redirected state: TFS#882879
response.IsRequestBeingRedirected = true;

View File

@@ -9,4 +9,4 @@
// work properly is the assembly name is different from
// the namespace. The work around is to use a type which is
// outside the root namespace.
internal class EmbeddedResourceFinder { }
internal class EmbeddedResourceFinder { }

View File

@@ -49,6 +49,7 @@ namespace System.Web.UI {
internal const string AsyncPostBackErrorKey = "System.Web.UI.PageRequestManager:AsyncPostBackError";
internal const string AsyncPostBackErrorMessageKey = "System.Web.UI.PageRequestManager:AsyncPostBackErrorMessage";
internal const string AsyncPostBackErrorHttpCodeKey = "System.Web.UI.PageRequestManager:AsyncPostBackErrorHttpCode";
internal const string AsyncPostBackRedirectLocationKey = "System.Web.UI.PageRequestManager:AsyncPostBackRedirectLocation";
private const string PageTitleToken = "pageTitle";
private const string FocusToken = "focus";
private const string AsyncPostFormField = "__ASYNCPOST";