Unreviewed, fix lldb webkitpy tests
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Mar 2019 08:41:23 +0000 (08:41 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Mar 2019 08:41:23 +0000 (08:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=194375

Since we changed the value of Is8Bit flag in StringImpl, we change lldb webkitpy tests accordingly.

* lldb/lldb_webkit.py:
(WTFStringImplProvider.is_8bit):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242260 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/lldb/lldb_webkit.py

index a936bdf..6cf708e 100644 (file)
@@ -1,3 +1,13 @@
+2019-03-01  Yusuke Suzuki  <ysuzuki@apple.com>
+
+        Unreviewed, fix lldb webkitpy tests
+        https://bugs.webkit.org/show_bug.cgi?id=194375
+
+        Since we changed the value of Is8Bit flag in StringImpl, we change lldb webkitpy tests accordingly.
+
+        * lldb/lldb_webkit.py:
+        (WTFStringImplProvider.is_8bit):
+
 2019-02-28  David Quesada  <david_quesada@apple.com>
 
         Expose APINavigationAction.shouldPerformDownload() on WKNavigationAction
index 077a094..cfcc619 100644 (file)
@@ -393,7 +393,7 @@ class WTFStringImplProvider:
     def is_8bit(self):
         # FIXME: find a way to access WTF::StringImpl::s_hashFlag8BitBuffer
         return bool(self.valobj.GetChildMemberWithName('m_hashAndFlags').GetValueAsUnsigned(0) \
-            & 1 << 3)
+            & 1 << 2)
 
     def is_initialized(self):
         return self.valobj.GetValueAsUnsigned() != 0