summaryrefslogtreecommitdiff
path: root/webkitgtk/icu65.patch
blob: e1d7f8a2d68b9368ad5a5a4c0438ec60f77edd63 (plain)
    1 diff -urN webkitgtk-2.26.1.orig/Source/WebCore/dom/Document.cpp webkitgtk-2.26.1/Source/WebCore/dom/Document.cpp
    2 --- webkitgtk-2.26.1.orig/Source/WebCore/dom/Document.cpp	2019-09-02 11:41:47.000000000 +0200
    3 +++ webkitgtk-2.26.1/Source/WebCore/dom/Document.cpp	2019-10-08 16:24:57.649551493 +0200
    4 @@ -4944,12 +4944,12 @@
    5      unsigned i = 0;
    6  
    7      UChar32 c;
    8 -    U16_NEXT(characters, i, length, c)
    9 +    U16_NEXT(characters, i, length, c);
   10      if (!isValidNameStart(c))
   11          return false;
   12  
   13      while (i < length) {
   14 -        U16_NEXT(characters, i, length, c)
   15 +        U16_NEXT(characters, i, length, c);
   16          if (!isValidNamePart(c))
   17              return false;
   18      }
   19 @@ -5009,7 +5009,7 @@
   20  
   21      for (unsigned i = 0; i < length; ) {
   22          UChar32 c;
   23 -        U16_NEXT(qualifiedName, i, length, c)
   24 +        U16_NEXT(qualifiedName, i, length, c);
   25          if (c == ':') {
   26              if (sawColon)
   27                  return Exception { InvalidCharacterError };
   28 diff -urN webkitgtk-2.26.1.orig/Source/WTF/wtf/URLHelpers.cpp webkitgtk-2.26.1/Source/WTF/wtf/URLHelpers.cpp
   29 --- webkitgtk-2.26.1.orig/Source/WTF/wtf/URLHelpers.cpp	2019-08-28 13:46:29.000000000 +0200
   30 +++ webkitgtk-2.26.1/Source/WTF/wtf/URLHelpers.cpp	2019-10-08 16:24:50.619850993 +0200
   31 @@ -301,7 +301,7 @@
   32      Optional<UChar32> previousCodePoint;
   33      while (i < length) {
   34          UChar32 c;
   35 -        U16_NEXT(buffer, i, length, c)
   36 +        U16_NEXT(buffer, i, length, c);
   37          UErrorCode error = U_ZERO_ERROR;
   38          UScriptCode script = uscript_getScript(c, &error);
   39          if (error != U_ZERO_ERROR) {

Generated by cgit