Modified: branches/safari-603-branch/LayoutTests/ChangeLog (210062 => 210063)
--- branches/safari-603-branch/LayoutTests/ChangeLog 2016-12-21 18:52:28 UTC (rev 210062)
+++ branches/safari-603-branch/LayoutTests/ChangeLog 2016-12-21 18:56:31 UTC (rev 210063)
@@ -1,3 +1,7 @@
+2016-12-21 Babak Shafiei <[email protected]>
+
+ Roll out r209510.
+
2016-12-18 Wenson Hsieh <[email protected]>
Changing text direction fires input events with null inputTypes and no data
Modified: branches/safari-603-branch/LayoutTests/http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html (210062 => 210063)
--- branches/safari-603-branch/LayoutTests/http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html 2016-12-21 18:52:28 UTC (rev 210062)
+++ branches/safari-603-branch/LayoutTests/http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html 2016-12-21 18:56:31 UTC (rev 210063)
@@ -34,12 +34,12 @@
}
var abnormalSimpleCorsHeaderValue = "() { :;};"
- var allAllowedNonAlphanumericCharactersForAcceptHeader = " *,./;="
- var allAllowedNonAlphanumericCharactersForAcceptAndContentLanguageHeader = " *,-.;="
+ var allAllowedNonAlphanumericCharactersForAcceptHeader = " *./;="
+ var allAllowedNonAlphanumericCharactersForAcceptAndContentLanguageHeader = " *-.;="
var testCases = [
// Positive test cases with normal headers
{
- headersToAdd: [{ name : "Accept", value: "application/json,text/*,*/*" }],
+ headersToAdd: [{ name : "Accept", value: "text/*" }],
explicitlyAllowHeaders: false,
shouldCausePreflight: false,
description: "Accept header with normal value SHOULD NOT cause a preflight"
@@ -51,7 +51,7 @@
description: "Accept header value with all allowed non-alphanumeric characters SHOULD NOT cause a preflight"
}
,{
- headersToAdd: [{ name : "Accept-Language", value: "en-US,en;q=0.8" }],
+ headersToAdd: [{ name : "Accept-Language", value: "en" }],
explicitlyAllowHeaders: false,
shouldCausePreflight: false,
description: "Accept-Language header with normal value SHOULD NOT cause a preflight"
Modified: branches/safari-603-branch/Source/WebCore/ChangeLog (210062 => 210063)
--- branches/safari-603-branch/Source/WebCore/ChangeLog 2016-12-21 18:52:28 UTC (rev 210062)
+++ branches/safari-603-branch/Source/WebCore/ChangeLog 2016-12-21 18:56:31 UTC (rev 210063)
@@ -1,3 +1,7 @@
+2016-12-21 Babak Shafiei <[email protected]>
+
+ Roll out r209510.
+
2016-12-19 Dean Jackson <[email protected]>
Merge another patch for rdar://problem/29466493.
Modified: branches/safari-603-branch/Source/WebCore/platform/network/HTTPParsers.cpp (210062 => 210063)
--- branches/safari-603-branch/Source/WebCore/platform/network/HTTPParsers.cpp 2016-12-21 18:52:28 UTC (rev 210062)
+++ branches/safari-603-branch/Source/WebCore/platform/network/HTTPParsers.cpp 2016-12-21 18:56:31 UTC (rev 210063)
@@ -132,7 +132,7 @@
{
for (unsigned i = 0; i < value.length(); ++i) {
UChar c = value[i];
- if (isASCIIAlphanumeric(c) || c == ' ' || c == '*' || c == ',' || c == '.' || c == '/' || c == ';' || c == '=')
+ if (isASCIIAlphanumeric(c) || c == ' ' || c == '*' || c == '.' || c == '/' || c == ';' || c == '=')
continue;
return false;
}
@@ -145,7 +145,7 @@
{
for (unsigned i = 0; i < value.length(); ++i) {
UChar c = value[i];
- if (isASCIIAlphanumeric(c) || c == ' ' || c == '*' || c == ',' || c == '-' || c == '.' || c == ';' || c == '=')
+ if (isASCIIAlphanumeric(c) || c == ' ' || c == '*' || c == '-' || c == '.' || c == ';' || c == '=')
continue;
return false;
}