Changeset 278671 in webkit
- Timestamp:
- Jun 9, 2021, 2:03:57 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 39 edited
-
ChangeLog (modified) (1 diff)
-
http/tests/appcache/resources/scope1/cookie-protected-manifest.py (modified) (1 diff)
-
http/tests/appcache/resources/scope2/cookie-protected-script.py (modified) (1 diff)
-
http/tests/cache/disk-cache/resources/make-sha1-collision.py (modified) (1 diff)
-
http/tests/cache/resources/load-and-check-referer.py (modified) (1 diff)
-
http/tests/cache/resources/post-image-to-verify.py (modified) (1 diff)
-
http/tests/cookies/multiple-redirect-and-set-cookie.py (modified) (1 diff)
-
http/tests/cookies/same-site/resources/fetch-after-navigating-iframe-in-cross-origin-page.py (modified) (1 diff)
-
http/tests/cookies/same-site/resources/fetch-after-top-level-cross-origin-redirect.py (modified) (1 diff)
-
http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-from-cross-origin-page.py (modified) (1 diff)
-
http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-initiated-from-iframe-in-cross-origin-page.py (modified) (1 diff)
-
http/tests/cookies/same-site/resources/fetch-after-top-level-same-origin-redirect.py (modified) (1 diff)
-
http/tests/cookies/same-site/resources/fetch-in-same-origin-service-worker.py (modified) (1 diff)
-
http/tests/gzip-content-encoding/resources/echo-data-encoding-with-gzip.py (modified) (2 diffs)
-
http/tests/media/resources/serve_video.py (modified) (1 diff)
-
http/tests/misc/resources/404image.py (modified) (1 diff)
-
http/tests/misc/resources/image-checks-for-accept.py (modified) (1 diff)
-
http/tests/misc/resources/protected/protected-image.py (modified) (1 diff)
-
http/tests/multipart/resources/multipart-nodashes.py (modified) (1 diff)
-
http/tests/multipart/resources/multipart.py (modified) (1 diff)
-
http/tests/quicklook/resources/word-document-with-csp-block-frame-ancestors.py (modified) (1 diff)
-
http/tests/referrer-policy/resources/image.py (modified) (1 diff)
-
http/tests/security/contentSecurityPolicy/resources/image-document-default-src-none-iframe.py (modified) (1 diff)
-
http/tests/security/mixedContent/resources/subresource/protected-image.py (modified) (1 diff)
-
http/tests/security/mixedContent/resources/subresource/protected-script.py (modified) (1 diff)
-
http/tests/security/mixedContent/resources/subresource/protected-stylesheet.py (modified) (1 diff)
-
http/tests/security/mixedContent/resources/subresource2/protected-image.py (modified) (1 diff)
-
http/tests/security/resources/abe-allow-credentials.py (modified) (1 diff)
-
http/tests/security/resources/abe-allow-star.py (modified) (1 diff)
-
http/tests/security/resources/allow-if-origin.py (modified) (1 diff)
-
http/tests/security/resources/captions-with-access-control-headers.py (modified) (1 diff)
-
http/tests/security/resources/image-access-control.py (modified) (1 diff)
-
http/tests/security/resources/image-credential-check.py (modified) (1 diff)
-
http/tests/security/resources/loading-subresources.py (modified) (1 diff)
-
http/tests/security/resources/reference-movie-cross-origin-allow.py (modified) (1 diff)
-
http/tests/security/resources/subresource1/protected-image.py (modified) (1 diff)
-
http/tests/security/resources/subresource2/protected-image.py (modified) (1 diff)
-
http/tests/security/resources/xorigincss1-allow-star.py (modified) (1 diff)
-
platform/wincairo/TestExpectations (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r278666 r278671 1 2021-06-09 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 LayoutTests: Use os.path.dirname() instead of split('/') for Windows Python 4 https://bugs.webkit.org/show_bug.cgi?id=226802 5 6 Reviewed by Jonathan Bedard. 7 8 Windows Python uses backlash for path separator. Use 9 os.path.dirname() to get a parent directory. 10 11 * http/tests/appcache/resources/scope1/cookie-protected-manifest.py: 12 * http/tests/appcache/resources/scope2/cookie-protected-script.py: 13 * http/tests/cache/disk-cache/resources/make-sha1-collision.py: 14 * http/tests/cache/resources/load-and-check-referer.py: 15 * http/tests/cache/resources/post-image-to-verify.py: 16 * http/tests/cookies/multiple-redirect-and-set-cookie.py: 17 (redirect_url): 18 * http/tests/cookies/same-site/resources/fetch-after-navigating-iframe-in-cross-origin-page.py: 19 * http/tests/cookies/same-site/resources/fetch-after-top-level-cross-origin-redirect.py: 20 * http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-from-cross-origin-page.py: 21 * http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-initiated-from-iframe-in-cross-origin-page.py: 22 * http/tests/cookies/same-site/resources/fetch-after-top-level-same-origin-redirect.py: 23 * http/tests/cookies/same-site/resources/fetch-in-same-origin-service-worker.py: 24 * http/tests/gzip-content-encoding/resources/echo-data-encoding-with-gzip.py: 25 * http/tests/media/resources/serve_video.py: 26 * http/tests/misc/resources/404image.py: 27 * http/tests/misc/resources/image-checks-for-accept.py: 28 * http/tests/misc/resources/protected/protected-image.py: 29 * http/tests/multipart/resources/multipart-nodashes.py: 30 * http/tests/multipart/resources/multipart.py: 31 * http/tests/quicklook/resources/word-document-with-csp-block-frame-ancestors.py: 32 * http/tests/referrer-policy/resources/image.py: 33 * http/tests/security/contentSecurityPolicy/resources/image-document-default-src-none-iframe.py: 34 * http/tests/security/mixedContent/resources/subresource/protected-image.py: 35 * http/tests/security/mixedContent/resources/subresource/protected-script.py: 36 * http/tests/security/mixedContent/resources/subresource/protected-stylesheet.py: 37 * http/tests/security/mixedContent/resources/subresource2/protected-image.py: 38 * http/tests/security/resources/abe-allow-credentials.py: 39 * http/tests/security/resources/abe-allow-star.py: 40 * http/tests/security/resources/allow-if-origin.py: 41 * http/tests/security/resources/captions-with-access-control-headers.py: 42 * http/tests/security/resources/image-access-control.py: 43 * http/tests/security/resources/image-credential-check.py: 44 * http/tests/security/resources/loading-subresources.py: 45 * http/tests/security/resources/reference-movie-cross-origin-allow.py: 46 * http/tests/security/resources/subresource1/protected-image.py: 47 * http/tests/security/resources/subresource2/protected-image.py: 48 * http/tests/security/resources/xorigincss1-allow-star.py: 49 * platform/wincairo/TestExpectations: 50 1 51 2021-06-09 Truitt Savell <tsavell@apple.com> 2 52 -
trunk/LayoutTests/http/tests/appcache/resources/scope1/cookie-protected-manifest.py
r275332 r278671 5 5 6 6 file = __file__.split(':/cygwin')[-1] 7 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])7 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 8 8 sys.path.insert(0, http_root) 9 9 -
trunk/LayoutTests/http/tests/appcache/resources/scope2/cookie-protected-script.py
r275332 r278671 5 5 6 6 file = __file__.split(':/cygwin')[-1] 7 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])7 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 8 8 sys.path.insert(0, http_root) 9 9 -
trunk/LayoutTests/http/tests/cache/disk-cache/resources/make-sha1-collision.py
r274574 r278671 14 14 15 15 sys.stdout.flush() 16 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), path), 'rb') as file:16 with open(os.path.join(os.path.dirname(__file__), path), 'rb') as file: 17 17 sys.stdout.buffer.write(file.read().replace(b'SVN is the best!', b'SHA-1 is dead!!!')) -
trunk/LayoutTests/http/tests/cache/resources/load-and-check-referer.py
r274574 r278671 42 42 43 43 sys.stdout.flush() 44 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), path), 'rb') as file:44 with open(os.path.join(os.path.dirname(__file__), path), 'rb') as file: 45 45 sys.stdout.buffer.write(file.read()) 46 46 else: -
trunk/LayoutTests/http/tests/cache/resources/post-image-to-verify.py
r274574 r278671 24 24 tmpFile.close() 25 25 26 filePath = os.path.join( '/'.join(__file__.split('/')[0:-1]), 'compass-no-cache.jpg')26 filePath = os.path.join(os.path.dirname(__file__), 'compass-no-cache.jpg') 27 27 stat = os.stat(filePath) 28 28 filemtime = stat.st_mtime -
trunk/LayoutTests/http/tests/cookies/multiple-redirect-and-set-cookie.py
r275762 r278671 24 24 25 25 def redirect_url(step): 26 return 'http://127.0.0.1:8000/cookies/{}?step={}&cookie_name={}'.format( __file__.split('/')[-1], step, cookie_name)26 return 'http://127.0.0.1:8000/cookies/{}?step={}&cookie_name={}'.format(os.path.basename(__file__), step, cookie_name) 27 27 28 28 -
trunk/LayoutTests/http/tests/cookies/same-site/resources/fetch-after-navigating-iframe-in-cross-origin-page.py
r275315 r278671 6 6 7 7 file = __file__.split(':/cygwin')[-1] 8 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])8 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 9 9 sys.path.insert(0, http_root) 10 10 -
trunk/LayoutTests/http/tests/cookies/same-site/resources/fetch-after-top-level-cross-origin-redirect.py
r277534 r278671 6 6 7 7 file = __file__.split(':/cygwin')[-1] 8 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])8 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 9 9 sys.path.insert(0, http_root) 10 10 -
trunk/LayoutTests/http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-from-cross-origin-page.py
r277534 r278671 6 6 7 7 file = __file__.split(':/cygwin')[-1] 8 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])8 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 9 9 sys.path.insert(0, http_root) 10 10 -
trunk/LayoutTests/http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-initiated-from-iframe-in-cross-origin-page.py
r277534 r278671 6 6 7 7 file = __file__.split(':/cygwin')[-1] 8 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])8 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 9 9 sys.path.insert(0, http_root) 10 10 -
trunk/LayoutTests/http/tests/cookies/same-site/resources/fetch-after-top-level-same-origin-redirect.py
r275315 r278671 6 6 7 7 file = __file__.split(':/cygwin')[-1] 8 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])8 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 9 9 sys.path.insert(0, http_root) 10 10 -
trunk/LayoutTests/http/tests/cookies/same-site/resources/fetch-in-same-origin-service-worker.py
r275315 r278671 6 6 7 7 file = __file__.split(':/cygwin')[-1] 8 http_root = '/'.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file)))).split('/')[:-1])8 http_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(file))))) 9 9 sys.path.insert(0, http_root) 10 10 -
trunk/LayoutTests/http/tests/gzip-content-encoding/resources/echo-data-encoding-with-gzip.py
r274743 r278671 19 19 ) 20 20 21 with gzip.open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'content.gz'), 'wb') as file:21 with gzip.open(os.path.join(os.path.dirname(__file__), 'content.gz'), 'wb') as file: 22 22 file.write(bytes(q, 'utf-8')) 23 23 24 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'content.gz'), 'rb') as file:24 with open(os.path.join(os.path.dirname(__file__), 'content.gz'), 'rb') as file: 25 25 content = file.read() 26 26 … … 29 29 sys.stdout.buffer.write(content) 30 30 31 if os.path.isfile(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'content.gz')):32 os.remove(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'content.gz'))31 if os.path.isfile(os.path.join(os.path.dirname(__file__), 'content.gz')): 32 os.remove(os.path.join(os.path.dirname(__file__), 'content.gz')) -
trunk/LayoutTests/http/tests/media/resources/serve_video.py
r277964 r278671 159 159 for play_file in play_files: 160 160 file_index_in_db += 1 161 if file_name.split('/')[-1]== play_file['fileName']:161 if os.path.basename(file_name) == play_file['fileName']: 162 162 file_in_db = True 163 163 break -
trunk/LayoutTests/http/tests/misc/resources/404image.py
r273819 r278671 13 13 sys.stdout.flush() 14 14 15 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'compass.jpg'), 'rb') as file:15 with open(os.path.join(os.path.dirname(__file__), 'compass.jpg'), 'rb') as file: 16 16 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/misc/resources/image-checks-for-accept.py
r273819 r278671 14 14 15 15 sys.stdout.flush() 16 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'compass.jpg'), 'rb') as fn:16 with open(os.path.join(os.path.dirname(__file__), 'compass.jpg'), 'rb') as fn: 17 17 sys.stdout.buffer.write(fn.read()) 18 18 else: -
trunk/LayoutTests/http/tests/misc/resources/protected/protected-image.py
r275427 r278671 19 19 ) 20 20 else: 21 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../../security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file:21 with open(os.path.join(os.path.dirname(__file__), '../../../security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file: 22 22 sys.stdout.buffer.write(file.read()) 23 23 sys.stdout.write('Content-Type: image/png\r\n\r\n') -
trunk/LayoutTests/http/tests/multipart/resources/multipart-nodashes.py
r274803 r278671 15 15 16 16 sys.stdout.flush() 17 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'green-100x100.png'), 'rb') as file:17 with open(os.path.join(os.path.dirname(__file__), 'green-100x100.png'), 'rb') as file: 18 18 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/multipart/resources/multipart.py
r275424 r278671 26 26 break 27 27 28 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), img), 'rb') as file:28 with open(os.path.join(os.path.dirname(__file__), img), 'rb') as file: 29 29 images.append(file.read()) 30 30 i += 1 -
trunk/LayoutTests/http/tests/quicklook/resources/word-document-with-csp-block-frame-ancestors.py
r274489 r278671 10 10 11 11 sys.stdout.flush() 12 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'pass.docx'), 'rb') as file:12 with open(os.path.join(os.path.dirname(__file__), 'pass.docx'), 'rb') as file: 13 13 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/referrer-policy/resources/image.py
r275427 r278671 15 15 16 16 sys.stdout.flush() 17 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file:17 with open(os.path.join(os.path.dirname(__file__), '../../security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file: 18 18 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/image-document-default-src-none-iframe.py
r275917 r278671 4 4 import sys 5 5 6 filename = os.path.join( '/'.join(__file__.split('/')[0:-4]), 'resources', 'square.png')6 filename = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))), 'resources', 'square.png') 7 7 8 8 if not os.path.isfile(filename): -
trunk/LayoutTests/http/tests/security/mixedContent/resources/subresource/protected-image.py
r274244 r278671 26 26 27 27 sys.stdout.flush() 28 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file:28 with open(os.path.join(os.path.dirname(__file__), '../../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file: 29 29 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/mixedContent/resources/subresource/protected-script.py
r274244 r278671 24 24 25 25 sys.stdout.flush() 26 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../../contentSecurityPolicy/resources/alert-fail.js'), 'rb') as file:26 with open(os.path.join(os.path.dirname(__file__), '../../../contentSecurityPolicy/resources/alert-fail.js'), 'rb') as file: 27 27 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/mixedContent/resources/subresource/protected-stylesheet.py
r274244 r278671 25 25 26 26 sys.stdout.flush() 27 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../../contentSecurityPolicy/resources/style-set-red.css'), 'rb') as file:27 with open(os.path.join(os.path.dirname(__file__), '../../../contentSecurityPolicy/resources/style-set-red.css'), 'rb') as file: 28 28 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/mixedContent/resources/subresource2/protected-image.py
r274244 r278671 24 24 25 25 sys.stdout.flush() 26 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file:26 with open(os.path.join(os.path.dirname(__file__), '../../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file: 27 27 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/abe-allow-credentials.py
r274244 r278671 11 11 12 12 sys.stdout.flush() 13 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'abe.png'), 'rb') as file:13 with open(os.path.join(os.path.dirname(__file__), 'abe.png'), 'rb') as file: 14 14 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/abe-allow-star.py
r274244 r278671 15 15 16 16 sys.stdout.flush() 17 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'abe.png'), 'rb') as file:17 with open(os.path.join(os.path.dirname(__file__), 'abe.png'), 'rb') as file: 18 18 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/allow-if-origin.py
r276602 r278671 36 36 sys.stdout.write( 37 37 'Content-Length: {}\r\n' 38 'Content-Type: {}\r\n\r\n'.format(os.path.getsize(os.path.join( '/'.join(__file__.split('/')[0:-1]), name)), contentType)38 'Content-Type: {}\r\n\r\n'.format(os.path.getsize(os.path.join(os.path.dirname(__file__), name)), contentType) 39 39 ) 40 40 sys.stdout.flush() 41 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), name), 'rb') as file:41 with open(os.path.join(os.path.dirname(__file__), name), 'rb') as file: 42 42 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/captions-with-access-control-headers.py
r274244 r278671 16 16 17 17 sys.stdout.flush() 18 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'captions.vtt'), 'rb') as file:18 with open(os.path.join(os.path.dirname(__file__), 'captions.vtt'), 'rb') as file: 19 19 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/image-access-control.py
r274244 r278671 13 13 14 14 sys.stdout.flush() 15 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), query.get('file', [''])[0]), 'rb') as file:15 with open(os.path.join(os.path.dirname(__file__), query.get('file', [''])[0]), 'rb') as file: 16 16 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/image-credential-check.py
r274244 r278671 12 12 sys.stdout.write('Content-Type: image/png\r\n\r\n') 13 13 sys.stdout.flush() 14 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'black-square.png'), 'rb') as file:14 with open(os.path.join(os.path.dirname(__file__), 'black-square.png'), 'rb') as file: 15 15 sys.stdout.buffer.write(file.read()) 16 16 sys.exit(0) -
trunk/LayoutTests/http/tests/security/resources/loading-subresources.py
r274244 r278671 10 10 11 11 sys.stdout.flush() 12 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'loading-subresources.css'), 'rb') as file:12 with open(os.path.join(os.path.dirname(__file__), 'loading-subresources.css'), 'rb') as file: 13 13 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/reference-movie-cross-origin-allow.py
r275917 r278671 17 17 'Cache-Control: max-age=0\r\n' 18 18 'Content-Type: text/html\r\n' 19 'Content-Length: {}\r\n\r\n'.format(os.path.getsize(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../media/resources/reference.mov')))19 'Content-Length: {}\r\n\r\n'.format(os.path.getsize(os.path.join(os.path.dirname(__file__), '../../media/resources/reference.mov'))) 20 20 ) 21 21 22 22 sys.stdout.flush() 23 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../media/resources/reference.mov'), 'rb') as file:23 with open(os.path.join(os.path.dirname(__file__), '../../media/resources/reference.mov'), 'rb') as file: 24 24 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/subresource1/protected-image.py
r274244 r278671 24 24 sys.stdout.write('Content-Type: image/png\r\n\r\n') 25 25 sys.stdout.flush() 26 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file:26 with open(os.path.join(os.path.dirname(__file__), '../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file: 27 27 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/subresource2/protected-image.py
r274244 r278671 22 22 sys.stdout.write('Content-Type: image/png\r\n\r\n') 23 23 sys.stdout.flush() 24 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), '../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file:24 with open(os.path.join(os.path.dirname(__file__), '../../contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file: 25 25 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/http/tests/security/resources/xorigincss1-allow-star.py
r274244 r278671 10 10 11 11 sys.stdout.flush() 12 with open(os.path.join( '/'.join(__file__.split('/')[0:-1]), 'xorigincss1.css'), 'rb') as file:12 with open(os.path.join(os.path.dirname(__file__), 'xorigincss1.css'), 'rb') as file: 13 13 sys.stdout.buffer.write(file.read()) -
trunk/LayoutTests/platform/wincairo/TestExpectations
r278594 r278671 2086 2086 http/tests/cookies/document-cookie-during-iframe-parsing.html [ Timeout ] 2087 2087 http/tests/cookies/document-cookie-multiple-cookies.html [ Failure ] 2088 http/tests/cookies/multiple-redirect-and-set-cookie.py [ Timeout ]2089 2088 http/tests/css/css-image-loading.html [ Pass Failure ] 2090 2089 http/tests/misc/form-post-textplain-cross-site.html [ Failure ]
Note:
See TracChangeset
for help on using the changeset viewer.