PSON: No process swap on back navigation after URL bar navigation
[WebKit-https.git] / Tools / ChangeLog
1 2018-09-12  Chris Dumez  <cdumez@apple.com>
2
3         PSON: No process swap on back navigation after URL bar navigation
4         https://bugs.webkit.org/show_bug.cgi?id=189557
5         <rdar://problem/44353108>
6
7         Reviewed by Alex Christensen.
8
9         Add API test coverage.
10
11         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
12
13 2018-09-11  Dean Jackson  <dino@apple.com>
14
15         Header parsing for experimental and internal debug features
16         https://bugs.webkit.org/show_bug.cgi?id=189486
17         <rdar://problem/44320618>
18
19         Reviewed by Tim Horton.
20
21         Keep track of experimental and internal debug features in TestOptions, and
22         allow webkit-test-runner headers to toggle them by name.
23
24         * DumpRenderTree/TestOptions.cpp:
25         (TestOptions::TestOptions):
26         * WebKitTestRunner/TestController.cpp:
27         (WTR::TestController::resetPreferencesToConsistentValues):
28         (WTR::updateTestOptionsFromTestHeader):
29         * WebKitTestRunner/TestOptions.h:
30         (WTR::TestOptions::hasSameInitializationOptions const):
31
32 2018-09-12  Fujii Hironori  <Hironori.Fujii@sony.com>
33
34         [Win][Clang][DumpRenderTree] 0 and nullptr can't be implicitly converted to AccessibilityUIElement
35         https://bugs.webkit.org/show_bug.cgi?id=189492
36
37         Reviewed by Alex Christensen.
38
39         0 and nullptr can't be implicitly converted to
40         AccessibilityUIElement because only Windows port typedefs
41         PlatformUIElement as COMPtr<IAccessible> not a pointer.
42
43         Replaced "return 0" and "return nullptr" with "return { nullptr }".
44
45         * DumpRenderTree/AccessibilityUIElement.cpp:
46         (AccessibilityUIElement::horizontalScrollbar const):
47         (AccessibilityUIElement::verticalScrollbar const):
48         (AccessibilityUIElement::uiElementAttributeValue const):
49         (AccessibilityUIElement::accessibilityElementForTextMarker):
50         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
51         (AccessibilityController::elementAtPoint):
52         (AccessibilityController::accessibleElementById):
53         (AccessibilityController::focusedElement):
54         (AccessibilityController::rootElement):
55         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
56         (AccessibilityUIElement::elementAtPoint):
57         (AccessibilityUIElement::linkedUIElementAtIndex):
58         (AccessibilityUIElement::getChildAtIndex):
59         (AccessibilityUIElement::titleUIElement):
60         (AccessibilityUIElement::parentElement):
61         (AccessibilityUIElement::uiElementForSearchPredicate):
62         (AccessibilityUIElement::cellForColumnAndRow):
63         (AccessibilityUIElement::disclosedRowAtIndex):
64         (AccessibilityUIElement::ariaOwnsElementAtIndex):
65         (AccessibilityUIElement::ariaFlowToElementAtIndex):
66         (AccessibilityUIElement::ariaControlsElementAtIndex):
67         (AccessibilityUIElement::selectedRowAtIndex):
68         (AccessibilityUIElement::rowAtIndex):
69         (AccessibilityUIElement::disclosedByRow):
70         (AccessibilityUIElement::selectedChildAtIndex const):
71
72 2018-09-11  Wenson Hsieh  <wenson_hsieh@apple.com>
73
74         FontManagerTests.ChangeFontColorWithColorPanel fails on macOS Sierra
75         https://bugs.webkit.org/show_bug.cgi?id=189382
76
77         Reviewed by Ryosuke Niwa.
78
79         Fix the test by specifying colors in RGB colorspace.
80
81         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
82         (TestWebKitAPI::TEST):
83
84 2018-09-11  Fujii Hironori  <Hironori.Fujii@sony.com>
85
86         [Win][Clang][ImageDiff] Fix compilation error and warning of PlatformImageCairo.cpp
87         https://bugs.webkit.org/show_bug.cgi?id=189496
88
89         Reviewed by Alex Christensen.
90
91         * ImageDiff/cairo/PlatformImageCairo.cpp:
92         (ImageDiff::PlatformImage::createFromStdin): Removed unnecessary ReadContext struct.
93         (ImageDiff::PlatformImage::writeAsPNGToStdout): Use '%lu' format type specifier for unsigned long.
94
95 2018-09-07  Dean Jackson  <dino@apple.com>
96
97         Add and expose Internal features from WebKit
98         https://bugs.webkit.org/show_bug.cgi?id=189442
99         <rdar://problem/44243404>
100
101         Reviewed by Simon Fraser.
102
103         Update MiniBrowser to expose an Internal feature menu.
104
105         * MiniBrowser/mac/AppDelegate.m:
106         (defaultConfiguration):
107         * MiniBrowser/mac/SettingsController.m:
108         (-[SettingsController _populateMenu]):
109         (-[SettingsController validateMenuItem:]):
110         (-[SettingsController toggleExperimentalFeature:]):
111         (-[SettingsController toggleInternalDebugFeature:]):
112
113 2018-09-11  Wenson Hsieh  <wenson_hsieh@apple.com>
114
115         [macOS] [WK2] Support changing foreground colors via color panel
116         https://bugs.webkit.org/show_bug.cgi?id=189382
117         <rdar://problem/44227311>
118
119         Reviewed by Ryosuke Niwa.
120
121         Add an API test that uses NSColorPanel to change the color of selected text, and also apply typing styles when
122         the selection is collapsed. The test also exercises switching between opaque colors (alpha = 1) and transparent
123         colors, as well as making different parts of a word different colors.
124
125         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
126         (-[TestWKWebView collapseToEnd]):
127         (webViewForFontManagerTesting):
128         (TestWebKitAPI::TEST):
129         * TestWebKitAPI/cocoa/TestWKWebView.h:
130
131 == Rolled over to ChangeLog-2018-09-11 ==