Changeset 139081 in webkit
- Timestamp:
- Jan 8, 2013 10:54:35 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139080 r139081 1 2013-01-08 Zan Dobersek <zandobersek@gmail.com> 2 3 [GTK] Build failures when building with python 3.3 4 https://bugs.webkit.org/show_bug.cgi?id=106194 5 6 Reviewed by Dirk Pranke. 7 8 Python 3.3 introduced changes to dictionaries which can result in changed 9 iteration order. More about these changes: 10 http://docs.python.org/3.3/whatsnew/3.3.html#pep-412-key-sharing-dictionary 11 http://www.python.org/dev/peps/pep-0412/#cons 12 13 This causes the Source/WebCore/inspector/generate-inspector-protocol-version 14 script to fail the self-testing when using Python 3.3. These changes work 15 around this problem by not checking for expected errors in order but rather 16 for their presence in the error output sequence. The number of actual errors 17 is also checked to be equal to the number of expected errors. 18 19 No new tests - no new functionality. 20 21 * inspector/generate-inspector-protocol-version: 22 (self_test): 23 1 24 2013-01-08 Antoine Quint <graouts@apple.com> 2 25 -
trunk/Source/WebCore/inspector/generate-inspector-protocol-version
r127757 r139081 304 304 "Network.requestWillBeSent: required parameter is missing: documentURL" ] 305 305 for i in range(len(errors)): 306 if errors[i] != golden_errors[i]:306 if errors[i] not in golden_errors: 307 307 return False 308 return True308 return len(errors) is len(golden_errors) 309 309 310 310 def main():
Note: See TracChangeset
for help on using the changeset viewer.