Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 222153002: Disallow connecting an insecure WebSocket from a secure page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase, Addressed #2 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 1575 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 ['--enable-fast-text-autosizing']), 1586 ['--enable-fast-text-autosizing']),
1587 VirtualTestSuite('serviceworker', 1587 VirtualTestSuite('serviceworker',
1588 'http/tests/serviceworker', 1588 'http/tests/serviceworker',
1589 ['--enable-service-worker']), 1589 ['--enable-service-worker']),
1590 VirtualTestSuite('targetedstylerecalc', 1590 VirtualTestSuite('targetedstylerecalc',
1591 'fast/css/invalidation', 1591 'fast/css/invalidation',
1592 ['--enable-targeted-style-recalc']), 1592 ['--enable-targeted-style-recalc']),
1593 VirtualTestSuite('stable', 1593 VirtualTestSuite('stable',
1594 'http/tests/websocket', 1594 'http/tests/websocket',
1595 ['--stable-release-mode']), 1595 ['--stable-release-mode']),
1596 VirtualTestSuite('stable',
1597 'http/tests/security/mixedContent/websocket',
1598 ['--stable-release-mode']),
1596 VirtualTestSuite('linux-subpixel', 1599 VirtualTestSuite('linux-subpixel',
1597 'platform/linux/fast/text/subpixel', 1600 'platform/linux/fast/text/subpixel',
1598 ['--enable-webkit-text-subpixel-positioning']), 1601 ['--enable-webkit-text-subpixel-positioning']),
1599 VirtualTestSuite('windows-directwrite', 1602 VirtualTestSuite('windows-directwrite',
1600 'fast/text', 1603 'fast/text',
1601 ['--enable-direct-write', '--enable-font-smoothing' ]), 1604 ['--enable-direct-write', '--enable-font-smoothing' ]),
1602 ] 1605 ]
1603 1606
1604 @memoized 1607 @memoized
1605 def populated_virtual_test_suites(self): 1608 def populated_virtual_test_suites(self):
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 if name.find('/') != -1: 1762 if name.find('/') != -1:
1760 _log.error("Virtual test suites names cannot contain /'s: %s" % name) 1763 _log.error("Virtual test suites names cannot contain /'s: %s" % name)
1761 return 1764 return
1762 self.name = 'virtual/' + name + '/' + base 1765 self.name = 'virtual/' + name + '/' + base
1763 self.base = base 1766 self.base = base
1764 self.args = args 1767 self.args = args
1765 self.tests = tests or set() 1768 self.tests = tests or set()
1766 1769
1767 def __repr__(self): 1770 def __repr__(self):
1768 return "VirtualTestSuite('%s', '%s', %s)" % (self.name, self.base, self. args) 1771 return "VirtualTestSuite('%s', '%s', %s)" % (self.name, self.base, self. args)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698