LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2016-2018 Apple Inc. All rights reserved. | 2 * Copyright (C) 2016-2018 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #pragma once | 26 #pragma once |
27 | 27 |
28 #include <string> | 28 #include <string> |
29 | 29 |
30 struct TestOptions { | 30 struct TestOptions { |
31 bool enableAttachmentElement { false }; | 31 bool enableAttachmentElement { false }; |
32 bool enableWebAnimationsCSSIntegration { false }; | 32 bool enableWebAnimationsCSSIntegration { false }; |
33 bool useAcceleratedDrawing { false }; | 33 bool useAcceleratedDrawing { false }; |
34 bool enableIntersectionObserver { false }; | |
35 bool enableMenuItemElement { false }; | 34 bool enableMenuItemElement { false }; |
36 bool enableModernMediaControls { true }; | 35 bool enableModernMediaControls { true }; |
37 bool enablePointerLock { false }; | 36 bool enablePointerLock { false }; |
38 bool enableWebAuthentication { true }; | 37 bool enableWebAuthentication { true }; |
39 bool enableDragDestinationActionLoad { false }; | 38 bool enableDragDestinationActionLoad { false }; |
40 bool layerBackedWebView { false }; | 39 bool layerBackedWebView { false }; |
41 bool enableIsSecureContextAttribute { true }; | 40 bool enableIsSecureContextAttribute { true }; |
42 bool enableInspectorAdditions { false }; | 41 bool enableInspectorAdditions { false }; |
43 bool dumpJSConsoleLogInStdErr { false }; | 42 bool dumpJSConsoleLogInStdErr { false }; |
44 bool allowCrossOriginSubresourcesToAskForCredentials { false }; | 43 bool allowCrossOriginSubresourcesToAskForCredentials { false }; |
45 bool enableColorFilter { false }; | 44 bool enableColorFilter { false }; |
46 std::string jscOptions; | 45 std::string jscOptions; |
47 | 46 |
48 TestOptions(const std::string& pathOrURL, const std::string& absolutePath); | 47 TestOptions(const std::string& pathOrURL, const std::string& absolutePath); |
49 bool webViewIsCompatibleWithOptions(const TestOptions&) const; | 48 bool webViewIsCompatibleWithOptions(const TestOptions&) const; |
50 }; | 49 }; |
LEFT | RIGHT |