Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r173805 - Web Inspector: fix TypeSet hierarchy in TypeTokenView
https://bugs.webkit.org/show_bug.cgi?id=136982 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: TypeSet was computing the set of type booleans in the Inspector::Protocol::Runtime::TypeSet object incorrectly because it was calling TypeSet::doesTypeConformTo(T) which checks if the type set has only been of type T. It now checks '(m_seenTypes & T) != TypeNothing' to see if type T is in the set of seen types, but not the entire set itself. * runtime/TypeSet.cpp: (JSC::TypeSet::inspectorTypeSet): Source/WebInspectorUI: The protocol object representation of TypeSet was being computed incorrectly in JSC::TypeSet. This patch fixes that problem and also asserts that the type information that the Web Inspector receives is not empty. * UserInterface/Models/TypeSet.js: (WebInspector.TypeSet): * UserInterface/Views/TypeTokenView.js: (WebInspector.TypeTokenView.prototype._displayTypeName): Canonical link: https://commits.webkit.org/154760.88@webkitgtk/2.6 git-svn-id: https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.6@174938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
98c4022
commit 195d408
Showing
5 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters