run-benchmark should support Chrome Canary and Firefox Nightly
[WebKit-https.git] / Tools / ChangeLog
1 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
2
3         run-benchmark should support Chrome Canary and Firefox Nightly
4         https://bugs.webkit.org/show_bug.cgi?id=144850
5
6         Reviewed by Darin Adler.
7
8         Added the support for Chrome Canary, Firefox (release), and Firefox Nightly.
9
10         This patch also extracts OSXBrowserDriver to launch and terminate processes on OS X.
11
12         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json:
13         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py: Added.
14         (OSXBrowserDriver):
15         (OSXBrowserDriver.prepareEnv): Extracted from ChromeBrowserDriver.prepareEnv.
16         (OSXBrowserDriver.closeBrowsers): Ditto.
17         (OSXBrowserDriver.launchProcess): Ditto.
18         (OSXBrowserDriver.terminateProcesses): Ditto.
19         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
20         (OSXChromeDriver): Removed the unused self.chromePreferences.
21         (OSXChromeDriver.prepareEnv): Moved to OSXBrowserDriver.
22         (OSXChromeDriver.closeBrowsers): Ditto.
23         (OSXChromeDriver.launchUrl):
24         (OSXChromeCanaryDriver): Added.
25         (OSXChromeCanaryDriver.launchUrl):
26         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py: Added.
27         (OSXFirefoxDriver): Added.
28         (OSXFirefoxDriver.launchUrl):
29         (OSXFirefoxNightlyDriver): Added.
30         (OSXFirefoxNightlyDriver.launchUrl):
31         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
32         (OSXSafariDriver):
33         (OSXSafariDriver.closeBrowsers):
34
35 2015-05-11  Tim Horton  <timothy_horton@apple.com>
36
37         Page overlay action context override should indicate the source of the request
38         https://bugs.webkit.org/show_bug.cgi?id=144832
39         <rdar://problem/20562594>
40
41         Reviewed by Darin Adler.
42
43         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenusBundle.mm:
44         (TestWebKitAPI::ActionMenuTest::actionContextForResultAtPoint):
45
46 2015-05-10  Martin Robinson  <mrobinson@igalia.com>
47
48         [GTK] fast/events/page-visibility-transition-test.html is timing out
49         https://bugs.webkit.org/show_bug.cgi?id=114789
50
51         Reviewed by Darin Adler.
52
53         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
54         (WTR::TestController::setHidden): Map and unmap the WebView when the harness
55         requests visibility changes.
56
57 2015-05-10  Csaba Osztrogonác  <ossy@webkit.org>
58
59         [EFL] Fix install-dependencies on Ubuntu 14.10/15.04
60         https://bugs.webkit.org/show_bug.cgi?id=144798
61
62         Reviewed by Darin Adler.
63
64         * efl/install-dependencies:
65
66 2015-05-09  Ryosuke Niwa  <rniwa@webkit.org>
67
68         Make arguments of run-benchmark more user friendly
69         https://bugs.webkit.org/show_bug.cgi?id=144835
70
71         Reviewed by Darin Adler.
72
73         Made --build-directory optional since I don't expect a typical WebKit developer to have a local build
74         of Chrome and Firefox. Also made --plan accept just a filename so that we can just say "speedometer"
75         instead of "Tools/Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan". Finally, removed
76         default values from --platform and --browser as they are required arguments.
77
78         * Scripts/run-benchmark:
79         (main): Made --build-directory optional, and removed default values from --platform and --browser.
80         Also added help text for --build-directory and --plan. In addition, the list of platforms and browsers
81         are not dynamically obtained via BrowserDriverFactory.
82         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
83         (BenchmarkRunner.__init__): Raise when we can't find the plan file or the plan file is not a valid JSON
84         file instead of suppressing the error here and blowing up later mysteriously since we won't be able to
85         run any benchmark in that case.
86         (BenchmarkRunner._findPlanFile): Added. Look for the plan in webkitpy/benchmark_runner/data/plans if
87         the specified file isn't a valid relative or an absolute path.
88         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
89         (BrowserDriverFactory.available_platforms): Added. Used in main to provide the list of valid platforms
90         and browsers.
91         (BrowserDriverFactory.available_browsers): Ditto.
92         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
93         (OSXChromeDriver.launchUrl): browserBuildPath is never optional since BenchmarkRunner.execute always
94         calls launchUrl with this argument so removed the default value. Also added a fallback path for when
95         browserBuildPath was None.
96         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
97         (OSXSafariDriver.launchUrl): Ditto. We also fallback when the build directory doesn't contain Safari
98         so that we can use locally built WebKit to launch Safari.
99
100 2015-05-09  Yoav Weiss  <yoav@yoav.ws>
101
102         Remove the PICTURE_SIZES build flag
103         https://bugs.webkit.org/show_bug.cgi?id=144679
104
105         Reviewed by Benjamin Poulain.
106
107         Removed the PICTURE_SIZES build time flag.
108
109         * Scripts/webkitperl/FeatureList.pm:
110
111 2015-05-09  David Kilzer  <ddkilzer@apple.com>
112
113         Layout tests broke due to unexpected simctl output
114
115         * Scripts/webkitpy/xcode/simulator.py:
116         (Simulator._parse_devices): Handle new Device Pairs header.
117         * Scripts/webkitpy/xcode/simulator_unittest.py:
118         (test_device_pairs): Add unit test for Device Pairs header.
119
120 2015-05-08  Myles C. Maxfield  <mmaxfield@apple.com>
121
122         Remove convenience constructors for TextRun
123         https://bugs.webkit.org/show_bug.cgi?id=144752
124
125         Reviewed by Anders Carlsson.
126
127         Test the StringView which takes a StringImpl*.
128
129         * TestWebKitAPI/Tests/WTF/StringView.cpp:
130         (StringView8Bit): Testing is8Bit() on StringView
131
132 2015-05-07  Sam Weinig  <sam@webkit.org>
133
134         [Content Extensions] Add simple tester that takes an extension and compiles it
135         https://bugs.webkit.org/show_bug.cgi?id=144781
136
137         Reviewed by Dan Bates.
138
139         * ContentExtensionTester: Added.
140         * ContentExtensionTester/Configurations: Added.
141         * ContentExtensionTester/Configurations/Base.xcconfig: Copied from Source/bmalloc/Configurations/Base.xcconfig.
142         * ContentExtensionTester/Configurations/ContentExtensionTester.xcconfig: Copied from Source/bmalloc/Configurations/bmalloc.xcconfig.
143         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: Copied from Source/bmalloc/Configurations/DebugRelease.xcconfig.
144         * ContentExtensionTester/ContentExtensionTester.xcodeproj: Added.
145         * ContentExtensionTester/ContentExtensionTester.xcodeproj/project.pbxproj: Added.
146         * ContentExtensionTester/Makefile: Copied from Tools/TestWebKitAPI/Makefile.
147         * ContentExtensionTester/main.m: Added.
148         * Scripts/run-content-extension-tester: Copied from Tools/Scripts/run-webkit-tests.
149
150 2015-05-08  Alexey Proskuryakov  <ap@apple.com>
151
152         Build fix.
153
154         Reviewed by Dan Bernstein.
155
156         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
157         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
158         (-[DumpRenderTreeDraggingInfo springLoadingHighlight]):
159         (-[DumpRenderTreeDraggingInfo resetSpringLoading]):
160         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
161         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
162         (-[WebKitTestRunnerDraggingInfo springLoadingHighlight]):
163         (-[WebKitTestRunnerDraggingInfo resetSpringLoading]):
164
165 2015-05-08  Martin Robinson  <mrobinson@igalia.com>
166
167         [GTK] Some tests fail because they do not assume the popup menu captures click events
168         https://bugs.webkit.org/show_bug.cgi?id=40601
169
170         Reviewed by Carlos Garcia Campos.
171
172         Popdown all attached menus when moving between tests and between each new
173         event sent to the WebView. This prevents context and popup menus from eating
174         events.
175
176         * WebKitTestRunner/PlatformWebView.h: Added a helper method to do menu popdown.
177         * WebKitTestRunner/TestController.cpp: Add a specialization of these methods for GTK+.
178         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
179         (WTR::dispatchEvent): Popdown all menus between dispatching events.
180         (WTR::EventSenderProxy::replaySavedEvents): Pass the view when dispatching events.
181         (WTR::EventSenderProxy::sendOrQueueEvent): Pass the view when dispatching events.
182         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
183         (WTR::PlatformWebView::hideAllPopupMenus): Added this helper.
184         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
185         (WTR::TestController::platformConfigureViewForTest): Added this stub, which is no
186         longer in the platform-independent file.
187         (WTR::TestController::platformResetPreferencesToConsistentValues): Popdown menus.
188
189 015-05-08  Michael Catanzaro  <mcatanzaro@igalia.com>, Martin Robinson <mrobinson@igalia.com>
190
191         [GTK] Checks for DEVELOPMENT_BUILD are all wrong
192         https://bugs.webkit.org/show_bug.cgi?id=144746
193
194         Reviewed by Carlos Garcia Campos.
195
196         Use ENABLE_DEVELOPER_MODE rather than DEVELOPMENT_BUILD.
197
198         * MiniBrowser/gtk/main.c:
199         (main):
200
201 2015-05-08  Commit Queue  <commit-queue@webkit.org>
202
203         Unreviewed, rolling out r183996.
204         https://bugs.webkit.org/show_bug.cgi?id=144806
205
206         ASan detected use-after free (Requested by ap on #webkit).
207
208         Reverted changeset:
209
210         "Remove convenience constructors for TextRun"
211         https://bugs.webkit.org/show_bug.cgi?id=144752
212         http://trac.webkit.org/changeset/183996
213
214 2015-05-08  Myles C. Maxfield  <mmaxfield@apple.com>
215
216         Remove convenience constructors for TextRun
217         https://bugs.webkit.org/show_bug.cgi?id=144752
218
219         Reviewed by Anders Carlsson.
220
221         Test the StringView which takes a StringImpl*.
222
223         * TestWebKitAPI/Tests/WTF/StringView.cpp:
224         (StringView8Bit): Testing is8Bit() on StringView
225
226 2015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
227
228         [GTK] WTR doesn't correctly handle the Escape key
229         https://bugs.webkit.org/show_bug.cgi?id=144788
230
231         Reviewed by Martin Robinson.
232
233         Correctly handle 0x001B character code in GTK+ event sender to be
234         recognized as Escape key, because gdk_unicode_to_keyval() doesn't
235         handle it. This fixes layout tests using keyDown(String.fromCharCode(0x001B), null);
236         to dismiss popup menus.
237
238         Fixes editing/selection/5354455-1.html.
239
240         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
241         (WTR::getGDKKeySymForKeyRef):
242
243 2015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
244
245         [GTK] Expose allowFileAccessFromFileURLs setting to WebKit2 GTK+ API
246         https://bugs.webkit.org/show_bug.cgi?id=144748
247
248         Reviewed by Sergio Villar Senin.
249
250         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
251         (testWebKitSettings): Check the new setting is correctly
252         initialized and updated.
253         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
254         (testWebContextSecurityFileXHR): Check XHR to local files is
255         allowed from file URLs after changing the setting.
256         (beforeAll): Add new test.
257
258 2015-05-08  Commit Queue  <commit-queue@webkit.org>
259
260         Unreviewed, rolling out r183945.
261         https://bugs.webkit.org/show_bug.cgi?id=144789
262
263         "It broke all the GTK+ tests" (Requested by KaL on #webkit).
264
265         Reverted changeset:
266
267         "[GTK] Checks for DEVELOPMENT_BUILD are all wrong"
268         https://bugs.webkit.org/show_bug.cgi?id=144746
269         http://trac.webkit.org/changeset/183945
270
271 2015-05-07  Anders Carlsson  <andersca@apple.com>
272
273         Build fixes.
274
275         * TestWebKitAPI/Tests/mac/HTMLCollectionNamedItem.mm:
276         (TestWebKitAPI::TEST):
277         * TestWebKitAPI/Tests/mac/HTMLFormCollectionNamedItem.mm:
278         (TestWebKitAPI::TEST):
279         Add casts.
280
281 2015-05-07  Filip Pizlo  <fpizlo@apple.com>
282
283         GC has trouble with pathologically large array allocations
284         https://bugs.webkit.org/show_bug.cgi?id=144609
285
286         Reviewed by Geoffrey Garen.
287         
288         Add a --filter option that restricts the set of tests we run. I needed it to fix this bug
289         and it's a frequently requested feature.
290         
291         Also add the ability to run a test pretending that your system has a particular RAM size.
292         This is useful for GC tests, and the new GC test that I added uses this.
293
294         * Scripts/run-javascriptcore-tests:
295         (runJSCStressTests):
296         * Scripts/run-jsc-stress-tests:
297
298 2015-05-07  Csaba Osztrogonác  <ossy@webkit.org>
299
300         [EFL] Bump EFL version to 1.14.0
301         https://bugs.webkit.org/show_bug.cgi?id=144743
302
303         Reviewed by Darin Adler.
304
305         Bump EFL and elementary version to 1.14.0 and removed
306         md5sum, because it isn't used at all if hash is present.
307
308         * efl/jhbuild.modules:
309
310 2015-05-07  Saam Barati  <saambarati1@gmail.com>
311
312         exceptionFuzz tests should explicitly initialize the exceptionFuzz boolean in JavaScript code through a function in jsc.cpp
313         https://bugs.webkit.org/show_bug.cgi?id=144753
314
315         Reviewed by Mark Lam.
316
317         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
318
319 2015-05-07  Beth Dakin  <bdakin@apple.com>
320
321         New force-related DOM events should fire in WK1 views
322         https://bugs.webkit.org/show_bug.cgi?id=144663
323         -and corresponding-
324         rdar://problem/20281886
325
326         Reviewed by Sam Weinig.
327
328         PlatformEventFactory::createPlatformMouseEvent() takes the last pressure event 
329         now. Just send nil. 
330         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
331         (TestWebKitAPI::buildAndPerformTest):
332
333 2015-05-07  Michael Catanzaro  <mcatanzaro@igalia.com>
334
335         [GTK] Checks for DEVELOPMENT_BUILD are all wrong
336         https://bugs.webkit.org/show_bug.cgi?id=144746
337
338         Reviewed by Martin Robinson.
339
340         Use DEVELOPER_MODE rather than DEVELOPMENT_BUILD.
341
342         * MiniBrowser/gtk/main.c:
343         (main):
344
345 2015-05-05  Myles C. Maxfield  <mmaxfield@apple.com>
346
347         Revert "Introducing the Platform Abstraction Layer (PAL)"
348         https://bugs.webkit.org/show_bug.cgi?id=144751
349
350         Unreviewed.
351
352         PAL should be a new target inside WebCore, rather than a top-level folder.
353
354         * Scripts/build-webkit: Add it to build-webkit.
355
356 2015-05-07  Ada Chan  <adachan@apple.com>
357
358         Add a test for WKPageCopySessionState() with filtering.
359         https://bugs.webkit.org/show_bug.cgi?id=144666
360
361         Reviewed by Darin Adler.
362
363         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
364         * TestWebKitAPI/Tests/WebKit2/WKPageCopySessionStateWithFiltering.cpp: Added.
365         (TestWebKitAPI::didFinishLoadForFrame):
366         (TestWebKitAPI::setPageLoaderClient):
367         (TestWebKitAPI::filterFirstItemCallback):
368         (TestWebKitAPI::filterAllItemsCallback):
369         (TestWebKitAPI::createSessionStates):
370         (TestWebKitAPI::TEST):
371
372 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
373
374         iOS build fix attempt
375
376         Link WebKitTestRunnerApp to WebKit, now that we don't have WebKit2.
377
378         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
379
380 2015-05-06  Matt Baker  <mattbaker@apple.com>
381
382         Unreviewed, updated my list of email addresses.
383
384         * Scripts/webkitpy/common/config/contributors.json:
385
386 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
387
388         Do not link tools to WebKit2.framework
389         https://bugs.webkit.org/show_bug.cgi?id=144699
390
391         Unreviewed build fix.
392
393         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
394         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
395         These linked to WebKit2 in two ways, eliminating the other one.
396
397 2015-05-05  Myles C. Maxfield  <mmaxfield@apple.com>
398
399         Introducing the Platform Abstraction Layer (PAL)
400         https://bugs.webkit.org/show_bug.cgi?id=143358
401
402         Reviewed by Simon Fraser.
403
404         * Scripts/build-webkit: Add it to build-webkit.
405
406 2015-05-06  Alex Christensen  <achristensen@webkit.org>
407
408         Fix api tests after r183877.
409
410         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
411         (TestWebKitAPI::TEST_F):
412         Generate all DFAs before compiling them.
413
414 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
415
416         Do not link tools to WebKit2.framework
417         https://bugs.webkit.org/show_bug.cgi?id=144699
418
419         Reviewed by Tim Horton.
420
421         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
422         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
423         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
424
425 2015-05-06  Alex Christensen  <achristensen@webkit.org>
426
427         [Content Extensions] Test splitting NFAs by max NFA size.
428         https://bugs.webkit.org/show_bug.cgi?id=144659
429
430         Reviewed by Darin Adler.
431
432         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
433         (TestWebKitAPI::createNFAs):
434         (TestWebKitAPI::TEST_F):
435         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
436         (TestWebKitAPI::createNFAs):
437
438 2015-05-05  daegyu lee  <daegyu.lee@navercorp.com>
439
440         Remove the remaining vestiges of SVG feature define
441         https://bugs.webkit.org/show_bug.cgi?id=144655
442
443         Reviewed by Alexey Proskuryakov.
444
445         * Scripts/webkitperl/FeatureList.pm:
446
447 2015-05-05  Timothy Horton  <timothy_horton@apple.com>
448
449         Add a layout mode for computing fixed layout size from a minimum size
450         https://bugs.webkit.org/show_bug.cgi?id=144610
451         <rdar://problem/19790341>
452
453         Reviewed by Simon Fraser.
454
455         * MiniBrowser/mac/BrowserWindow.xib:
456         * MiniBrowser/mac/BrowserWindowController.h:
457         * MiniBrowser/mac/WK1BrowserWindowController.m:
458         (-[WK1BrowserWindowController toggleUseMinimumViewSize:]):
459         * MiniBrowser/mac/WK2BrowserWindowController.m:
460         (-[WK2BrowserWindowController toggleUseMinimumViewSize:]):
461         Add a optional toolbar item to toggle a minimum view size of 1024x0.
462
463 2015-05-05  Alex Christensen  <achristensen@webkit.org>
464
465         [Content Extensions] Release input NSString when finished copying it.
466         https://bugs.webkit.org/show_bug.cgi?id=144642
467
468         Reviewed by Brian Weinstein.
469
470         * WebKitTestRunner/mac/TestControllerMac.mm:
471         (WTR::TestController::platformConfigureViewForTest):
472         Use alloc and initWithContentsOfURL to prevent over-releasing an autoreleased object.
473
474 2015-05-05  Brent Fulgham  <bfulgham@apple.com>
475
476         Unreviewed test fix after r183798.
477
478         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
479         (convertToDRTLabel): Mimic behavior of Mac accessibility output
480         so we can share results.
481
482 2015-05-05  Alex Christensen  <achristensen@webkit.org>
483
484         [Content Extensions] Use less memory to store the json input.
485         https://bugs.webkit.org/show_bug.cgi?id=144604
486
487         Reviewed by Benjamin Poulain.
488
489         * MiniBrowser/mac/ExtensionManagerWindowController.m:
490         (-[ExtensionManagerWindowController add:]):
491         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
492         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
493         * WebKitTestRunner/mac/TestControllerMac.mm:
494         (WTR::TestController::platformConfigureViewForTest):
495
496 2015-05-05  Yusuke Suzuki  <utatane.tea@gmail.com>
497
498         Unreviewed. Make myself a WebKit reviewer.
499
500         * Scripts/webkitpy/common/config/contributors.json:
501
502 2015-05-05  Joanmarie Diggs  <jdiggs@igalia.com>
503
504         [GTK] r183783 breaks build
505         https://bugs.webkit.org/show_bug.cgi?id=144632
506
507         Reviewed by Martin Robinson.
508
509         Return false rather than nullptr for unimplemented AccessibilityUIElement::setSelectedVisibleTextRange
510
511         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
512         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
513
514 2015-05-05  Alex Christensen  <achristensen@webkit.org>
515
516         [Content Extensions] Combine NFAs properly and free memory as we compile.
517         https://bugs.webkit.org/show_bug.cgi?id=144485
518
519         Reviewed by Benjamin Poulain.
520
521         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
522         (TestWebKitAPI::TEST_F):
523         Added tests for correctly splitting up NFAs with unquantified terms after quantified terms.
524         Added tests for deep NFAs.
525
526 2015-05-04  Alex Christensen  <achristensen@webkit.org>
527
528         [Content Extensions] Use less memory when writing byte code to file
529         https://bugs.webkit.org/show_bug.cgi?id=144602
530
531         Reviewed by Darin Adler.
532
533         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
534
535 2015-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>
536
537         [GTK] Async operations running in the WorkQueue thread should schedule their sources to the WorkQueue main lopp
538         https://bugs.webkit.org/show_bug.cgi?id=144541
539
540         Reviewed by Žan Doberšek.
541
542         Add a test case to WorkQueue unit test, to check that sources of
543         asynchronous IO operations running in the WorkQueue thread are
544         dispatched by the WorkQueue main loop.
545
546         * TestWebKitAPI/PlatformGTK.cmake:
547         * TestWebKitAPI/Tests/WTF/gtk/WorkQueueGtk.cpp: Added.
548         (TestWebKitAPI::TEST):
549
550 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
551
552         Correct '--show-webview' option for Tiled Drawing tests
553         https://bugs.webkit.org/show_bug.cgi?id=144621
554
555         Reviewed by Simon Fraser.
556
557         The scrolling thread/tiled drawing tests recreate the standard test runner web view. My earlier patch did not make
558         sure that the state of the '--show-webview' option was propagated to this additional view creation routine.
559
560         * WebKitTestRunner/mac/TestControllerMac.mm:
561         (WTR::TestController::platformConfigureViewForTest): Include the value of the 'shouldShowWebView' state in the
562         WKMutableDictionary passed to the 'ensureViewSupportsOptions' method.
563
564 2015-05-04  Filip Pizlo  <fpizlo@apple.com>
565
566         Large array shouldn't be slow
567         https://bugs.webkit.org/show_bug.cgi?id=144617
568
569         Reviewed by Geoffrey Garen.
570         
571         Add the hash-map benchmark to LongSpider. LongSpider was already not a perfect match of
572         SunSpider. It's not an official benchmark. It contains benchmarks that are relatively
573         long-running. So, hash-map sort of belongs here.
574
575         * Scripts/run-jsc-benchmarks:
576
577 2015-05-04  Doug Russell  <d_russell@apple.com>
578
579         AX: setting focus via accessibility object needs to set isSynchronizing in resulting selection intent
580         https://bugs.webkit.org/show_bug.cgi?id=144489
581
582         Reviewed by Chris Fleizach.
583
584         Resolves infinite looping when navigating rapidly between controls with the search API and then focusing
585         on the returned control.
586         Remove isSynchronizing flag from AXTextStateChangeIntent and put it on AXObjectCache.
587         Move AXTextStateChangeIntent logic in AccessibilityRenderObject into a helper method.
588         Call new AXTextStateChangeIntent helper from AccessibilityRenderObject::setFocus().
589         Add support for setSelectedVisibleTextRange() in accessibility tests.
590
591         * DumpRenderTree/AccessibilityUIElement.cpp:
592         (setSelectedVisibleTextRangeCallback):
593         (AccessibilityUIElement::setSelectedVisibleTextRange):
594         (AccessibilityUIElement::getJSClass):
595         (AccessibilityUIElement::textMarkerForIndex): Deleted.
596         * DumpRenderTree/AccessibilityUIElement.h:
597         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
598         (AccessibilityUIElement::setSelectedVisibleTextRange):
599         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
600         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
601         (WTR::AccessibilityUIElement::setSelectedTextRange): Deleted.
602         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
603         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
604         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
605         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
606         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
607         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
608         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
609         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
610
611 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
612
613         [Win] Implement the "--show-webview" option for Windows
614         https://bugs.webkit.org/show_bug.cgi?id=144589
615
616         Reviewed by Alex Christensen.
617
618         Add another runtime flag (--show-webview) that causes DumpRenderTree
619         to draw its view on-screen, rather than the standard offscreen mode.
620
621         * DumpRenderTree/win/DumpRenderTree.cpp:
622         (createWebViewAndOffscreenWindow): Honor the 'showWebView' flag.
623         (initializeGlobalsFromCommandLineOptions): Recognize the new
624         command-line argument, and set the global 'showWebView' state if
625         appropriate.
626
627 2015-05-04  Csaba Osztrogonác  <ossy@webkit.org>
628
629         Remove dead code from TestInvocationCairo.cpp
630         https://bugs.webkit.org/show_bug.cgi?id=144564
631
632         Reviewed by Gyuyoung Kim.
633
634         Only EFL and GTK port use TestInvocationCairo.cpp, there isn't other platform.
635
636         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
637         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
638
639 2015-05-04  Joonghun Park  <jh718.park@samsung.com>
640
641         [GTK] Add libnotify in gtk install-dependencies
642         https://bugs.webkit.org/show_bug.cgi?id=144379
643
644         Reviewed by Csaba Osztrogonác.
645
646         * gtk/install-dependencies:
647
648 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
649
650         check-webkit-style fails due to system pylint
651         https://bugs.webkit.org/show_bug.cgi?id=144360
652
653         Reviewed by Darin Adler.
654
655         Make sure that the directory containing third party autoinstalled modules
656         is at the beginning of the search path, to avoid conflicts with other
657         versions of the same modules installed in the system (e.g. pylint).
658
659         * Scripts/webkitpy/thirdparty/__init__.py: Prepend the autoinstalled
660         modules directory to sys.path, instead of appending it.
661
662 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
663
664         Unreviewed, updated my list of email addresses.
665
666         * Scripts/webkitpy/common/config/contributors.json: Updated.
667
668 2015-05-01  Martin Robinson  <mrobinson@igalia.com>
669
670         USE(...) macro should expect unprefixed variables
671         https://bugs.webkit.org/show_bug.cgi?id=144454
672
673         Reviewed by Daniel Bates.
674
675         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Replace all occurrences WTF_USE with USE.
676         * DumpRenderTree/config.h: Ditto.
677         * TestWebKitAPI/config.h: Ditto.
678
679 2015-05-01  Basile Clement  <basile_clement@apple.com>
680
681         Unreviewed. Add myself as a commiter in contributors.json.
682
683         * Scripts/webkitpy/common/config/contributors.json:
684
685 2015-05-01  Dewei Zhu  <dewei_zhu@apple.com>
686
687         Update speedometer patch to provide better UI, fix merge result bug and add "Score" metric to speedometer benchmark.
688         https://bugs.webkit.org/show_bug.cgi?id=144487
689
690         Reviewed by Ryosuke Niwa.
691
692         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
693         (BenchmarkRunner.merge): Fix bug.
694         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Update appearance and add "Score" metric.
695
696 2015-05-01  Brady Eidson  <beidson@apple.com>
697
698         Add API to disable meta refreshes.
699         <rdar://problem/20333198> and https://bugs.webkit.org/show_bug.cgi?id=144269
700
701         Reviewed by Alexey Proskuryakov.
702
703         * DumpRenderTree/mac/DumpRenderTree.mm:
704         (resetWebPreferencesToConsistentValues): Reset the meta refresh pref between tests.
705
706 2015-05-01  Brent Fulgham  <bfulgham@apple.com>
707
708         Provide a runtime flag to run-webkit-tests that shows the test view
709         https://bugs.webkit.org/show_bug.cgi?id=144079.
710
711         Unreviewed correction to r183651.
712
713         * WebKitTestRunner/TestController.cpp:
714         (WTR::TestController::initialize): Make sure the state of the '--show-webview'
715         flag is included in the options dictionary passed to the PlatformWebView.
716
717 2015-05-01  Antti Koivisto  <antti@apple.com>
718
719         Remove network process load serialization code
720         https://bugs.webkit.org/show_bug.cgi?id=144448
721
722         Reviewed by Alexey Proskuryakov.
723
724         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
725         (WTR::InjectedBundle::beginTesting):
726         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
727         (WTR::TestRunner::setSerializeHTTPLoads):
728         (WTR::TestRunner::dispatchPendingLoadRequests):
729
730 2015-05-01  Xabier Rodriguez Calvar  <calvaris@igalia.com>
731
732         [GTK] Add libhyphen-dev to the build dependencies
733         https://bugs.webkit.org/show_bug.cgi?id=144452
734
735         Reviewed by Martin Robinson.
736
737         * gtk/install-dependencies: Added hyphen as Fedora and Arch
738         dependencies.
739
740 2015-04-30  Brent Fulgham  <bfulgham@apple.com>
741
742         Provide a runtime flag to run-webkit-tests that shows the test view
743         https://bugs.webkit.org/show_bug.cgi?id=144079.
744
745         Reviewed by Dean Jackson.
746
747         Add a new flag (--show-webview) that causes DumpRenderTree and WebKitTestRunner to display
748         their WebViews on-screen. This can be used when running tests via the "--additional-drt-flag"
749         option:
750         
751         --additional-drt-flag="--show-webview"
752
753         * DumpRenderTree/mac/DumpRenderTree.mm:
754         (createWebViewAndOffscreenWindow): Use an on-screen window rect if the user passed the
755         '--show-webview' flag.
756         (initializeGlobalsFromCommandLineOptions): Recognize the "--show-webview" option.
757         * WebKitTestRunner/Options.cpp:
758         (WTR::Options::Options):
759         (WTR::handleOptionShowWebView):
760         (WTR::OptionsHandler::OptionsHandler): Recognize the new "--show-webview" option.
761         * WebKitTestRunner/Options.h:
762         * WebKitTestRunner/TestController.cpp:
763         (WTR::TestController::TestController):
764         (WTR::TestController::initialize): Use value of 'shouldShowWebView' from the Options bundle.
765         * WebKitTestRunner/TestController.h:
766         (WTR::TestController::shouldShowWebView):
767         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
768         (WTR::PlatformWebView::PlatformWebView): Retrieve the value of the 'ShouldShowWebView' key from the
769         options dictionary. If it is true, display the web view while running the test.
770
771 2015-04-30  Alexey Proskuryakov  <ap@apple.com>
772
773         r183355 didn't trigger Mac tests
774         https://bugs.webkit.org/show_bug.cgi?id=144464
775
776         Reviewed by Simon Fraser.
777
778         Update badly neglected filters and unit tests.
779
780         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
781         (_should_file_trigger_build):
782         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
783         (ShouldBuildTest):
784         (ShouldBuildTest.test_should_build):
785
786 2015-04-30  Xabier Rodriguez Calvar  <calvaris@igalia.com>
787
788         [GTK] Add libhyphen-dev to the build dependencies
789         https://bugs.webkit.org/show_bug.cgi?id=144452
790
791         Reviewed by Martin Robinson.
792
793         * gtk/install-dependencies: Added libhyphen-dev to the WebKitGTK+
794         build dependencies.
795
796 2015-04-30  Martin Robinson  <mrobinson@igalia.com>
797
798         [GTK] Testing dictionaries are not installed automatically
799         https://bugs.webkit.org/show_bug.cgi?id=144460
800
801         Reviewed by Carlos Garcia Campos.
802
803         * gtk/jhbuild.modules: Add the testing dictionaries to the main moduleset.
804
805 2015-04-30  Dewei Zhu  <dewei_zhu@apple.com>
806
807         Fix return code issue, check return code of safari process and dump results to log
808         https://bugs.webkit.org/show_bug.cgi?id=144436
809
810         Reviewed by Ryosuke Niwa.
811
812         * Scripts/run-benchmark:
813         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
814         (BenchmarkRunner.dump): Correct typo.
815         (BenchmarkRunner.wrap): Add results to console.
816         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Check return code to detect Safari crashes.
817         (OSXSafariDriver.prepareEnv):
818         (OSXSafariDriver.launchUrl):
819         (OSXSafariDriver.closeBrowsers):
820
821 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
822
823         Should no longer need to worry about very old versions of Xcode
824         https://bugs.webkit.org/show_bug.cgi?id=144437
825
826         Reviewed by Dan Bernstein.
827
828         * Scripts/check-for-exit-time-destructors:
829         * Scripts/check-for-global-initializers:
830         * Scripts/check-for-weak-vtables-and-externals:
831
832 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
833
834         REGRESSION(183583): [Mac] make without SDKROOT has issues
835         https://bugs.webkit.org/show_bug.cgi?id=144431
836
837         Reviewed by Dan Bernstein.
838
839         * Makefile:
840         * WebKitTestRunner/Makefile:
841         Assume an empty SDKROOT means an macosx variant, so only
842         enable settings if the SDKROOT is not empty and does not
843         contain "macosx".
844
845 2015-04-29  Brent Fulgham  <bfulgham@apple.com>
846
847         Expand test infrastructure to support scrolling tests
848         https://bugs.webkit.org/show_bug.cgi?id=143684
849         <rdar://problem/20375516>
850
851         Reviewed by Simon Fraser.
852
853         * DumpRenderTree/mac/DumpRenderTree.mm:
854         (resetWebViewToConsistentStateBeforeTesting): Make sure the WheelEventTestTrigger state is
855         reset before the next test run.
856         * WebKitTestRunner/TestController.cpp:
857         (WTR::TestController::resetStateToConsistentValues): Ditto."
858
859 2015-04-29  Alex Christensen  <achristensen@webkit.org>
860
861         Run javascriptcore tests on Windows without cygwin
862         https://bugs.webkit.org/show_bug.cgi?id=144419
863
864         Reviewed by Brent Fulgham.
865
866         * Scripts/run-javascriptcore-tests:
867         (runJSCStressTests):
868         Just call ruby, not /usr/bin/env ruby.
869
870 2015-04-29  Yusuke Suzuki  <utatane.tea@gmail.com>
871
872         [GTK] Add --enable-shared option to LLVM to build mesa
873         https://bugs.webkit.org/show_bug.cgi?id=144393
874
875         Reviewed by Martin Robinson.
876
877         The updated mesa requires the shared LLVM libraries.
878         To build mesa with LLVM in FTL build, this patch added `--enable-shared` option
879         to LLVM configure script. It will provide shared libraries in addition to static libraries.
880
881         * gtk/jhbuild-optional.modules:
882
883 2015-04-29  Martin Robinson  <mrobinson@igalia.com>
884
885         [GTK] Add support for automatic hyphenation
886         https://bugs.webkit.org/show_bug.cgi?id=44478
887
888         Reviewed by Carlos Garcia Campos.
889
890         * gtk/jhbuild.modules: Add a module for testing dictionaries, so that
891         all systems will use the same dictionaries for testing purposes.
892
893 2015-04-29  Jake Nielsen  <jacob_nielsen@apple.com>
894
895         Failure when building WebKit for appletvsimulator.
896         https://bugs.webkit.org/show_bug.cgi?id=144356
897
898         Reviewed by Alexey Proskuryakov.
899
900         Changes Makefile logic to check for "not OS X" rather than "is iOS" to
901         make TVOS and WatchOS behave correctly.
902
903         * Makefile:
904         * WebKitTestRunner/Makefile:
905
906 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
907
908         Use-after-free when invalidating WKPageForceRepaint callback
909         https://bugs.webkit.org/show_bug.cgi?id=144401
910         rdar://problem/20741111
911
912         Reviewed by Tim Horton.
913
914         * WebKitTestRunner/TestController.h: (WTR::TestController::isCurrentInvocation): Added.
915
916         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::forceRepaintDoneCallback):
917         Don't do anything on error, because the context may be a stale pointer now.
918
919 2015-04-29  David Kilzer  <ddkilzer@apple.com>
920
921         check-webkit-style: Don't complain about returning value from Objective-C method call in header
922         <http://webkit.org/b/144395>
923
924         Reviewed by Andy Estes.
925
926         * Scripts/webkitpy/style/checkers/cpp.py:
927         (check_spacing): Update regex so 'return' is ignored if it
928         precedes the whitespace and bracket.  Change category name to
929         'whitespace/brackets'.  Add period to error message.
930         (CppChecker): Add 'whitespace/brackets' as a category.
931         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
932         (ErrorCollector.__call__): Replace 'STYLE_CATEGORIES' with
933         'CppChecker.categories' since that's where the list lives now.
934         (CppStyleTest.test_spacing_before_brackets): Add tests for
935         'whitespace/brackets' issues and non-issues.
936
937 2015-04-29  Alex Christensen  <achristensen@webkit.org>
938
939         Fix WinCairo bot.
940
941         * Scripts/webkitdirs.pm:
942         (determinePassedConfiguration):
943         WinCairo bot doesn't use cygwin, but it needs Release_WinCairo for its configuration.
944
945 2015-04-29  Myles C. Maxfield  <mmaxfield@apple.com>
946
947         [OS X] Use CTFontCreateForCSS instead of doing font search ourselves
948         https://bugs.webkit.org/show_bug.cgi?id=132159
949
950         Reviewed by Darin Adler.
951
952         Make DumpRenderTree and WebKitTestRunner use the new font whitelist instead of
953         swizzling NSFontManager methods. This is predicated on ENABLE(PLATFORM_FONT_LOOKUP).
954
955         * DumpRenderTree/mac/DumpRenderTree.mm:
956         (fontWhitelist):
957         (adjustFonts):
958         (createWebViewAndOffscreenWindow):
959         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
960         (WTR::activateFonts):
961         * WebKitTestRunner/mac/TestControllerMac.mm:
962         (WTR::allowedFontFamilySet):
963         (WTR::systemHiddenFontFamilySet):
964         (WTR::generateWhitelist):
965         (WTR::TestController::platformInitializeContext):
966
967 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
968
969         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
970         https://bugs.webkit.org/show_bug.cgi?id=144155
971
972         Reviewed by Andreas Kling.
973
974         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues):
975         Make sure that test window is "visible" before each test. While there is no concrete
976         evidence that this is the problem indeed, the behavior is consistent with what would
977         happen for an invisible window. Also, WKTR obviously needs to do this to protect
978         against potential buggy tests that hide the window and don't show it.
979
980 2015-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>
981
982         Unreviewed. Fix /webkit2/WebKitWebInspectorServer/test-open-debugging-session.
983
984         Latest changes in the inspector UI made this test fail. We were
985         relying that the sidebar was always visible and the first 'li'
986         element of the inspector was the one containing the title. This is
987         no longer true, so better use document title that is not likely
988         to change.
989
990         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
991         (openRemoteDebuggingSession):
992
993 2015-04-29  Andres Gomez  <agomez@igalia.com>
994
995         Unreviewed. Re-sorted my contributor's mails to help bugzilla on showing the proper one.
996
997         * Scripts/webkitpy/common/config/contributors.json:
998
999 2015-04-29  Andres Gomez  <agomez@igalia.com>
1000
1001         Unreviewed. Created a new watchlist for changes in WebInspectorUI images and added myself to it.
1002
1003         * Scripts/webkitpy/common/config/watchlist:
1004
1005 2015-04-29  Hunseop Jeong  <hs85.jeong@samsung.com>
1006
1007         [EFL] Allow to run the tests on the native X display
1008         https://bugs.webkit.org/show_bug.cgi?id=144247
1009
1010         Reviewed by Gyuyoung Kim.
1011
1012         Added the USE_NATIVE_XDISPLAY option for the WTR.
1013         We can select the Xorg driver if environment variable is set up before running the tests.
1014
1015         * Scripts/webkitpy/port/efl.py:
1016         (EflPort._driver_class):
1017
1018 2015-04-29  Joonghun Park  <jh718.park@samsung.com>
1019
1020         [GTK] Add libnotify-dev in gtk install-dependencies
1021         https://bugs.webkit.org/show_bug.cgi?id=144379
1022
1023         Reviewed by Žan Doberšek.
1024
1025         * gtk/install-dependencies:
1026
1027 2015-04-28  Ryuan Choi  <ryuan.choi@navercorp.com>
1028
1029         [CoordinatedGraphics] Merge TILED_BACKING_STORE guard with COORDINATED_GRAPHICS
1030         https://bugs.webkit.org/show_bug.cgi?id=143001
1031
1032         Reviewed by Gyuyoung Kim.
1033
1034         * WebKitTestRunner/TestController.cpp:
1035         (WTR::shouldUseFixedLayout):
1036
1037 2015-04-28  Dewei Zhu  <dewei_zhu@apple.com>
1038
1039         Increase stablility of run-benchmark script
1040         https://bugs.webkit.org/show_bug.cgi?id=144361
1041
1042         Reviewed by Ryosuke Niwa.
1043
1044         * Scripts/run-benchmark:
1045         (main):
1046         * Scripts/webkitpy/benchmark_runner/README.md: Update readme due to changes.
1047         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
1048         (GenericBenchmarkBuilder.clean):
1049         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Improve error handling and remove an unnecessary loop.
1050         (BenchmarkRunner.__init__):
1051         (BenchmarkRunner.execute):
1052         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1053         (OSXSafariDriver.prepareEnv): Remove saved sessions of Safari.
1054         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Upload 'results' rather than 'time'.
1055         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Update formate.
1056         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Update formate.
1057         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: 
1058         (ServerControl.render_POST): Flush the buffer to make sure we can pass the result to stdout.
1059         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
1060         (HTTPServerDriver.fetchResult):
1061         (HTTPServerDriver):
1062         (HTTPServerDriver.killServer): Add kill server interface.
1063         (HTTPServerDriver.getReturnCode): Add get return code interface.
1064         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Adjust to support new interfaces.
1065         (SimpleHTTPServerDriver.serve):
1066         (SimpleHTTPServerDriver.fetchResult):
1067         (SimpleHTTPServerDriver):
1068         (SimpleHTTPServerDriver.killServer):
1069         (SimpleHTTPServerDriver.getReturnCode):
1070         * Scripts/webkitpy/benchmark_runner/utils.py:
1071         (forceRemove): Provide python version of 'rm -rf'.
1072
1073 2015-04-28  Sam Weinig  <sam@webkit.org>
1074
1075         [Content Extensions] Process NFAs individually to avoid having all NFAs live at the same time
1076         https://bugs.webkit.org/show_bug.cgi?id=144363
1077
1078         Reviewed by Alex Christensen.
1079
1080         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1081         (TestWebKitAPI::createNFAs):
1082         (TestWebKitAPI::TEST_F):
1083         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1084         (TestWebKitAPI::countLiveNodes):
1085         (TestWebKitAPI::createNFAs):
1086         (TestWebKitAPI::buildDFAFromPatterns):
1087         Update tests to use a hand rolled createNFAs function on top of CombinedURLFilters::processNFAs.
1088
1089 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1090
1091         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
1092         https://bugs.webkit.org/show_bug.cgi?id=144304
1093
1094         Reviewed by Geoffrey Garen.
1095
1096         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Always explicitly
1097         set the value of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
1098         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
1099
1100 2015-04-28  Commit Queue  <commit-queue@webkit.org>
1101
1102         Unreviewed, rolling out r183514.
1103         https://bugs.webkit.org/show_bug.cgi?id=144359
1104
1105         It broke cloop test bots (Requested by mcatanzaro on #webkit).
1106
1107         Reverted changeset:
1108
1109         "Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT"
1110         https://bugs.webkit.org/show_bug.cgi?id=144304
1111         http://trac.webkit.org/changeset/183514
1112
1113 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1114
1115         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
1116         https://bugs.webkit.org/show_bug.cgi?id=144304
1117
1118         Reviewed by Geoffrey Garen.
1119
1120         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Perform sanity-
1121         checking to ensure --cloop and --ftl-jit cannot be combined. Always explicitly set the value
1122         of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
1123         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
1124
1125 2015-04-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1126
1127         [CMake] Remove unnecessary include paths in TestWebKitAPI cmake files
1128         https://bugs.webkit.org/show_bug.cgi?id=144319
1129
1130         Reviewed by Csaba Osztrogonác.
1131
1132         * TestWebKitAPI/CMakeLists.txt:
1133         * TestWebKitAPI/PlatformEfl.cmake:
1134
1135 2015-04-28  Joseph Pecoraro  <pecoraro@apple.com>
1136
1137         Fix common typo "targetting" => "targeting"
1138         https://bugs.webkit.org/show_bug.cgi?id=144349
1139
1140         Reviewed by Daniel Bates.
1141
1142         * Scripts/webkitdirs.pm:
1143         (execMacWebKitAppForDebugging):
1144
1145 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
1146
1147         [GTK][jhbuild] Mesa build failure with llvm 3.6
1148         https://bugs.webkit.org/show_bug.cgi?id=144250
1149
1150         Reviewed by Žan Doberšek.
1151
1152         Bump the version of Mesa to 10.5.4
1153
1154         * gtk/jhbuild.modules:
1155
1156 2015-04-28  Alexey Proskuryakov  <ap@apple.com>
1157
1158         Disable App Nap in WebKitTestRunner UI process
1159         https://bugs.webkit.org/show_bug.cgi?id=144308
1160
1161         Reviewed by Daniel Bates.
1162
1163         * WebKitTestRunner/mac/main.mm:
1164         (disableAppNapInUIProcess):
1165         (main):
1166
1167 2015-04-28  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
1168
1169         [GTK] Update JHBuild Mesa download directory
1170         https://bugs.webkit.org/show_bug.cgi?id=144318
1171
1172         Update the download directory of Mesa module since the previous one
1173         doesn't exist any more.
1174
1175         Reviewed by Žan Doberšek.
1176
1177         * gtk/jhbuild.modules:
1178
1179 2015-04-28  Commit Queue  <commit-queue@webkit.org>
1180
1181         Unreviewed, rolling out r183477.
1182         https://bugs.webkit.org/show_bug.cgi?id=144334
1183
1184         Roll back the Mesa dependency bump in fear of uncaught
1185         regressions while the testing bots are no-op. (Requested by
1186         zdobersek on #webkit).
1187
1188         Reverted changeset:
1189
1190         "[GTK][jhbuild] Mesa build failure with llvm 3.6"
1191         https://bugs.webkit.org/show_bug.cgi?id=144250
1192         http://trac.webkit.org/changeset/183477
1193
1194 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
1195
1196         [GTK][jhbuild] Mesa build failure with llvm 3.6
1197         https://bugs.webkit.org/show_bug.cgi?id=144250
1198
1199         Reviewed by Žan Doberšek.
1200
1201         Bump the version of Mesa to 10.5.4
1202
1203         * gtk/jhbuild.modules:
1204
1205 2015-04-27  Dewei Zhu  <dewei_zhu@apple.com>
1206
1207         Add '__init__.py' and fix known bug in benchmark runner.
1208         https://bugs.webkit.org/show_bug.cgi?id=144296
1209
1210         Reviewed by Ryosuke Niwa
1211
1212         * Scripts/webkitpy/benchmark_runner/__init__.py: Make python to recognize this module.
1213         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Make python to recognize this module.
1214         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1215         (BenchmarkRunner.__init__):
1216         (BenchmarkRunner.execute): Fix logic bug that '--output-file' option doesn't work, and empty output file bug.
1217         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Make python to recognize this module.
1218         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Make python to recognize this module.
1219
1220 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1221
1222         More build fix.
1223
1224         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1225         (-[AccessibilityNotificationHandler _notificationReceived:]):
1226         Use -objectForKey:, not array subscript.
1227
1228 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1229
1230         Catch unexpected exits in DumpRenderTree
1231         https://bugs.webkit.org/show_bug.cgi?id=144288
1232
1233         Reviewed by Tim Horton.
1234
1235         * DumpRenderTree/mac/DumpRenderTree.mm:
1236         (atexitFunction):
1237         (DumpRenderTreeMain):
1238
1239 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1240
1241         Build fix
1242
1243         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1244         (-[AccessibilityNotificationHandler _notificationReceived:]):
1245         Use -objectForKey:, not array subscript.
1246
1247 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1248
1249         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
1250         https://bugs.webkit.org/show_bug.cgi?id=144155
1251
1252         Reviewed by Tim Horton.
1253
1254         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues):
1255         Disable App Nap. I don't have positive evidence that it's the culprit, but it could be,
1256         and we clearly don't want App Nap while testing.
1257
1258 2015-04-22  Martin Robinson  <mrobinson@igalia.com>
1259
1260         [CMake] Autogenerate cmakeconfig.h.cmake
1261         https://bugs.webkit.org/show_bug.cgi?id=143997
1262
1263         Reviewed by Csaba Osztrogonác.
1264
1265         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Add XP_UNIX to the command-line
1266         definitions since TestNetscapePlugIn does not use cmakeconfig.h.
1267
1268 2015-04-27  Brent Fulgham  <bfulgham@apple.com>
1269
1270         REGRESSION(r182879): Images and video can no longer be downloaded
1271         https://bugs.webkit.org/show_bug.cgi?id=144267
1272         <rdar://problem/20702844>
1273
1274         Reviewed by Simon Fraser.
1275
1276         Revise tests to check for proper download menu state.
1277         1. Downloading a loal image should be disabled.
1278         2. Downloading a local media file should be disabled.
1279         3. Downloading non-downloadable media should be disabled.
1280
1281         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1282         (TestWebKitAPI::TEST):
1283
1284 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
1285
1286         Merge run-launcher into run-minibrowser
1287         https://bugs.webkit.org/show_bug.cgi?id=141928
1288
1289         Reviewed by Darin Adler.
1290
1291         * Scripts/run-iexploder-tests:
1292         (runSafariWithIExploder):
1293         * Scripts/run-launcher: Removed.
1294         * Scripts/run-minibrowser:
1295         * Scripts/webkitdirs.pm:
1296         (launcherPath):
1297         * Scripts/webkitpy/port/efl.py:
1298         (EflPort.show_results_html_file):
1299         * Scripts/webkitpy/port/efl_unittest.py:
1300         (EflPortTest.test_show_results_html_file):
1301         * Scripts/webkitpy/port/gtk.py:
1302         (GtkPort.print_leaks_summary):
1303         (GtkPort.show_results_html_file):
1304         (GtkPort): Deleted.
1305         * Scripts/webkitpy/port/gtk_unittest.py:
1306         (GtkPortTest.test_show_results_html_file):
1307
1308 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
1309
1310         [buildbot] Fix the output of perf-test buildstep on timeout
1311         https://bugs.webkit.org/show_bug.cgi?id=144097
1312
1313         Reviewed by Ryosuke Niwa.
1314
1315         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1316         (RunAndUploadPerfTests.getText2):
1317         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1318         (RunAndUploadPerfTestsTest.test_buildbot_timeout):
1319         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
1320
1321 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
1322
1323         [EFL] TestWebKitAPI's forwarding header generator should depend on WebKit2's generator
1324         https://bugs.webkit.org/show_bug.cgi?id=143874
1325
1326         Reviewed by Gyuyoung Kim.
1327
1328         * TestWebKitAPI/PlatformEfl.cmake: Add the new dependency.
1329
1330 2015-04-24  Philippe Normand  <pnormand@igalia.com>
1331
1332         [JHBuild] Move to upstream OpenWebRTC
1333         https://bugs.webkit.org/show_bug.cgi?id=144145
1334
1335         Reviewed by Carlos Garcia Campos.
1336
1337         * efl/jhbuild.modules: Switch to upstream OpenWebRTC repository
1338         and add a new simple patch to gst-plugins-base, required for
1339         OpenWebRTC build.
1340         * efl/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
1341         * gtk/jhbuild.modules: Ditto.
1342         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
1343
1344 2015-04-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1345
1346         [ES6] Implement ES6 template literals
1347         https://bugs.webkit.org/show_bug.cgi?id=142691
1348
1349         Reviewed by Darin Adler.
1350
1351         Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
1352
1353         * Scripts/webkitperl/FeatureList.pm:
1354
1355 2015-04-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1356
1357         [CMake][EFL] Remove unnecessary include, library path in WebKitTestRunner/PlatformEfl.cmake 
1358         https://bugs.webkit.org/show_bug.cgi?id=144217
1359
1360         Reviewed by Darin Adler.
1361
1362         * WebKitTestRunner/PlatformEfl.cmake:
1363
1364 2015-04-26  Doug Russell  <d_russell@apple.com>
1365
1366         AX: richer text change notifications (142719)
1367         https://bugs.webkit.org/show_bug.cgi?id=142719
1368
1369         Reviewed by Darin Adler.
1370
1371         Richer accessibility value change notifications. Introduce AXTextEditType,
1372         postTextStateChangeNotification and postTextReplacementNotification to give assistive
1373         tech apps more reliable context for responding to changes in web content. Also implement
1374         a mechanism to post value changes in password form fields in coalesced ticks to thwart
1375         analyzing the cadence of changes.
1376
1377         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
1378         and an overload of postTextReplacementNotification to give assistive tech apps more
1379         reliable context for responding to changes in web content selection. Also block posting
1380         selection changes on password fields.
1381
1382         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
1383         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1384         (-[AccessibilityNotificationHandler stopObserving]):
1385         (-[AccessibilityNotificationHandler _notificationReceived:]):
1386         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1387         (AccessibilityUIElement::removeNotificationListener):
1388         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1389         (-[AccessibilityNotificationHandler _notificationReceived:]):
1390         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1391         (WTR::AccessibilityUIElement::removeNotificationListener):
1392
1393 2015-04-25  Sungmann Cho  <sungmann.cho@navercorp.com>
1394
1395         Add myself to contributors.json
1396         https://bugs.webkit.org/show_bug.cgi?id=144204
1397
1398         Reviewed by Darin Adler.
1399
1400         * Scripts/webkitpy/common/config/contributors.json:
1401
1402 2015-04-25  Martin Robinson  <mrobinson@igalia.com>
1403
1404         Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
1405         https://bugs.webkit.org/show_bug.cgi?id=144182
1406
1407         Reviewed by Simon Fraser.
1408
1409         * DumpRenderTree/win/DumpRenderTree.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
1410
1411 2015-04-25  Dewei Zhu  <dewei_zhu@apple.com>
1412
1413         https://bugs.webkit.org/show_bug.cgi?id=144038
1414
1415         Reviewed by Ryosuke Niwa
1416
1417         Add a script to run Speedometer and JetStream on a browser.
1418
1419         * Scripts/run-benchmark: Wrapper script to run benchmark.
1420         (main):
1421         * Scripts/webkitpy/benchmark_runner/README.md: Introduction of this script.
1422         * Scripts/webkitpy/benchmark_runner/__init__.py: Added.
1423         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Added.
1424         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Added.
1425         (BenchmarkBuilderFactory):
1426         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added.
1427         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Added.
1428         (GenericBenchmarkBuilder):
1429         (GenericBenchmarkBuilder.prepare):
1430         (GenericBenchmarkBuilder._copyBenchmarkToTempDir):
1431         (GenericBenchmarkBuilder._applyPatch):
1432         (GenericBenchmarkBuilder.clean):
1433         * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Added.
1434         (JetStreamBenchmarkBuilder):
1435         (JetStreamBenchmarkBuilder.prepare):
1436         (JetStreamBenchmarkBuilder._runCreateScript):
1437         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Main module that masters all the processes of benchmark running.
1438         (BenchmarkRunner):
1439         (BenchmarkRunner.__init__):
1440         (BenchmarkRunner.execute):
1441         (BenchmarkRunner.dump):
1442         (BenchmarkRunner.wrap):
1443         (BenchmarkRunner.merge):
1444         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Added.
1445         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: Added.
1446         (BrowserDriver):
1447         (BrowserDriver.prepareEnv):
1448         (BrowserDriver.launchUrl):
1449         (BrowserDriver.closeBrowser):
1450         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py: Added.
1451         (BrowserDriverFactory):
1452         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json: Added.
1453         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py: Added.
1454         (OSXChromeDriver):
1455         (OSXChromeDriver.prepareEnv):
1456         (OSXChromeDriver.launchUrl):
1457         (OSXChromeDriver.closeBrowsers):
1458         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Added.
1459         (OSXSafariDriver):
1460         (OSXSafariDriver.prepareEnv):
1461         (OSXSafariDriver.launchUrl):
1462         (OSXSafariDriver.closeBrowsers):
1463         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Patch that makes JetStream compatible with this script.
1464         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Patch that makes Speedometer compatible with this scritp.
1465         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Added.
1466         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Added.
1467         * Scripts/webkitpy/benchmark_runner/generic_factory.py: Factory for generic purpose.
1468         (GenericFactory):
1469         (GenericFactory.iterateGetItem):
1470         (GenericFactory.create):
1471         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Added.
1472         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: Added.
1473         (ServerControl):
1474         (ServerControl.render_GET):
1475         (ServerControl.render_POST):
1476         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py: Added.
1477         (HTTPServerDriver):
1478         (HTTPServerDriver.serve):
1479         (HTTPServerDriver.fetchResult):
1480         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py: Added.
1481         (HTTPServerDriverFactory):
1482         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_drivers.json: Added.
1483         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Added.
1484         (SimpleHTTPServerDriver):
1485         (SimpleHTTPServerDriver.depends):
1486         (SimpleHTTPServerDriver.__init__):
1487         (SimpleHTTPServerDriver.serve):
1488         (SimpleHTTPServerDriver.baseUrl):
1489         (SimpleHTTPServerDriver.fetchResult):
1490         * Scripts/webkitpy/benchmark_runner/utils.py: Utility module.
1491         (ModuleNotFoundError):
1492         (loadModule):
1493         (getPathFromProjectRoot):
1494         (loadJSONFromFile):
1495         (TimeoutError):
1496         (timeout):
1497         (timeout.__init__):
1498         (timeout.handle_timeout):
1499         (timeout.__enter__):
1500         (timeout.__exit__):
1501
1502 2015-04-24  Commit Queue  <commit-queue@webkit.org>
1503
1504         Unreviewed, rolling out r183303.
1505         https://bugs.webkit.org/show_bug.cgi?id=144181
1506
1507         Change was incorrect, broke builds (Requested by smfr on
1508         #webkit).
1509
1510         Reverted changeset:
1511
1512         "Fix the build."
1513         http://trac.webkit.org/changeset/183303
1514
1515 2015-04-24  Simon Fraser  <simon.fraser@apple.com>
1516
1517         Fix the build.
1518
1519         * MiniBrowser/mac/WK2BrowserWindowController.m:
1520         (-[WK2BrowserWindowController initWithConfiguration:]):
1521
1522 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1523
1524         Disable ActionMenusPDFTest due to timeout on test bot
1525
1526         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1527         (TestWebKitAPI::TEST):
1528
1529 2015-04-24  Commit Queue  <commit-queue@webkit.org>
1530
1531         Unreviewed, rolling out r183266.
1532         https://bugs.webkit.org/show_bug.cgi?id=144164
1533
1534         Broke 32-bit build and a test. (Requested by ap on #webkit).
1535
1536         Reverted changeset:
1537
1538         "AX: richer text change notifications (142719)"
1539         https://bugs.webkit.org/show_bug.cgi?id=142719
1540         http://trac.webkit.org/changeset/183266
1541
1542 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1543
1544         REGRESSION: WebKit2.ActionMenusTest API test fails
1545         https://bugs.webkit.org/show_bug.cgi?id=144149
1546         <rdar://problem/20677770>
1547
1548         Reviewed by Tim Horton.
1549
1550         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Revise to use the same test PDF
1551         as the 'ActionMenusPDFTest'.
1552         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1553         (TestWebKitAPI::TEST): Unskip the PDF portion of ActionMenusTest, and revise its expected output
1554         to match the hit test on the 'action-menu-target.pdf' test file.
1555
1556 2015-04-24  Daniel Bates  <dabates@apple.com>
1557
1558         Cleanup: Use @memoized for property IOSSimulator.testing_device
1559         https://bugs.webkit.org/show_bug.cgi?id=141715
1560
1561         Reviewed by Darin Adler.
1562
1563         Simplify the caching of the result of IOSSimulator.testing_device
1564         and make the code more readable by making use of the @memoized declarator
1565         instead of explicitly managing a private instance variable,
1566         IOSSimulator._testing_device, for the cached result.
1567
1568         * Scripts/webkitpy/port/ios.py:
1569         (IOSPort.determine_full_port_name):
1570         (IOSSimulatorPort.__init__): Delete instance variable IOSSimulatorPort._testing_device.
1571         (IOSSimulatorPort):
1572         (IOSSimulatorPort.testing_device): No need to cache the created device object in
1573         IOSSimulatorPort._testing_device since we are marking this function @memoized.
1574         (IOSSimulatorPort.reset_preferences): Code style fix; inline self.testing_device.path instead
1575         of caching in local variable since we only make use of this value exactly once in this function.
1576         (IOSPort.__init__): Deleted; The instance variable IOSPort._testing_device has never
1577         been used since being added in r178622. So, we can remove this constructor since
1578         it's the trivial constructor once we remove the instance variable IOSPort._testing_device.
1579
1580 2015-04-24  Anders Carlsson  <andersca@apple.com>
1581
1582         Rename -[WKWebsiteDataStore isNonPersistent] to -[WKWebsiteDataStore isPersistent]
1583         https://bugs.webkit.org/show_bug.cgi?id=144158
1584
1585         Reviewed by Beth Dakin.
1586
1587         * MiniBrowser/mac/WK2BrowserWindowController.m:
1588         (-[WK2BrowserWindowController initWithConfiguration:]):
1589
1590 2015-04-24  Doug Russell  <d_russell@apple.com>
1591
1592         AX: richer text change notifications (142719)
1593         https://bugs.webkit.org/show_bug.cgi?id=142719
1594
1595         Reviewed by Darin Adler.
1596
1597         Richer accessibility value change notifications. Introduce AXTextEditType, postTextStateChangeNotification and postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content. Also implement a mechanism to post value changes in password form fields in coalesced ticks to thwart analyzing the cadence of changes.
1598
1599         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent, and an overload of postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content selection. Also block posting selection changes on password fields.
1600
1601         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
1602         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1603         (-[AccessibilityNotificationHandler stopObserving]):
1604         (-[AccessibilityNotificationHandler _notificationReceived:]):
1605         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1606         (AccessibilityUIElement::removeNotificationListener):
1607         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1608         (-[AccessibilityNotificationHandler _notificationReceived:]):
1609         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1610         (WTR::AccessibilityUIElement::removeNotificationListener):
1611
1612 2015-04-24  Darin Adler  <darin@apple.com>
1613
1614         Convert OwnPtr and PassOwnPtr uses to std::unique_ptr
1615         https://bugs.webkit.org/show_bug.cgi?id=128007
1616
1617         Reviewed by Anders Carlsson.
1618
1619         * DumpRenderTree/win/HistoryDelegate.h: Removed unneeded include.
1620         * DumpRenderTree/win/UIDelegate.h: Ditto.
1621
1622         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Removed OwnPtr-specific test cases.
1623         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
1624
1625         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Removed unneeded include.
1626
1627         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Use unique_ptr.
1628         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::SetUp): Use make_unique.
1629         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Ditto.
1630         (TestWebKitAPI::WebKit2WillLoadTest::SetUp): Ditto.
1631         * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp:
1632         (WebKitDOMDOMWindowTest::create): Ditto.
1633         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1634         (documentLoadedCallback): Use a queue of DelayedSignal objects instead
1635         of smart pointers to DelayedSIgnal objects.
1636         (uriChangedCallback): Ditto.
1637
1638 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1639
1640         [Mac] Unreviewed test fix.
1641         https://bugs.webkit.org/show_bug.cgi?id=144149
1642
1643         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1644         (TestWebKitAPI::TEST): Temporarily skip the PDF <embed>
1645         test.
1646
1647 2015-04-23  Darin Adler  <darin@apple.com>
1648
1649         Another round of removing use of OwnPtr, PassOwnPtr, and deleteOwnedPtr
1650         https://bugs.webkit.org/show_bug.cgi?id=144090
1651
1652         Reviewed by Anders Carlsson.
1653
1654         * DumpRenderTree/mac/DumpRenderTree.mm: Removed unneeded include.
1655
1656 2015-04-23  Michael Saboff  <msaboff@apple.com>
1657
1658         lldb macro btjs sometimes can't get a frame description
1659         https://bugs.webkit.org/show_bug.cgi?id=144130
1660
1661         Reviewed by Filip Pizlo.
1662
1663         We look to execute ExecState::describeFrame().  It appears that in some contexts the
1664         debugger can't find ExecState.  In those cases, CallFrame works as it is a typedef of
1665         ExecState.  Therefore we can fallback to using CallFrame::describeFrame().
1666
1667         * lldb/lldb_webkit.py:
1668         (btjs):
1669
1670 2015-04-23  Alex Christensen  <achristensen@webkit.org>
1671
1672         Use less memory when compiling content extensions.
1673         https://bugs.webkit.org/show_bug.cgi?id=144051
1674
1675         Reviewed by Darin Adler and Benjamin Poulain.
1676
1677         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1678         (TestWebKitAPI::TEST_F):
1679         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1680         (TestWebKitAPI::countLiveNodes):
1681
1682 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
1683
1684         [CMake] Clean up JSC JIT options
1685         https://bugs.webkit.org/show_bug.cgi?id=143998
1686
1687         Reviewed by Filip Pizlo.
1688
1689         * Scripts/build-jsc: Do not use -ENABLE_LLINT_C_LOOP on CMake ports.
1690         * Scripts/webkitperl/FeatureList.pm: Remove ENABLE_LLINT_C_LOOP.
1691
1692 2015-04-21  Brent Fulgham  <bfulgham@apple.com>
1693
1694         [Mac] Extend action menus to support PDF
1695         https://bugs.webkit.org/show_bug.cgi?id=143895
1696         <rdar://problem/19003333>
1697
1698         Reviewed by Tim Horton.
1699
1700         Reactivate the action menu tests, and add a new PDF-based test to make sure that selection
1701         of PDF content works.
1702
1703         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new 'test.pdf' resource to bundle.
1704         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Update with a new PDF pane.
1705         * TestWebKitAPI/Tests/WebKit2/test.pdf: Added.
1706         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1707         (-[ActionMenusTestWKView _actionMenuItemsForHitTestResult:withType:defaultActionMenuItems:userData:]):
1708         Update to support PDF tests.
1709         (TestWebKitAPI::windowPointForTarget): Add new target for PDF test.
1710         (TestWebKitAPI::waitForPDFToLoad): New helper function to avoid starting test before the PDF is available.
1711
1712 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1713
1714         Unreviewed. Do not run GTK+ user media unit tests when ENABLE_MEDIA_STREAM is disabled.
1715
1716         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1717         (beforeAll):
1718         (testWebViewAudioOnlyUserMediaPermissionRequests):
1719
1720 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
1721
1722         Add myself to watchlist
1723         https://bugs.webkit.org/show_bug.cgi?id=144041
1724
1725         Reviewed by Alex Christensen.
1726
1727         Add myself watching CMake, GtkWebKit2PublicAPI, SoupNetwork, and WebKitGTKTranslations.
1728
1729         * Scripts/webkitpy/common/config/watchlist:
1730
1731 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1732
1733         [GTK] MiniBrowser should use NetworkProcess by default
1734         https://bugs.webkit.org/show_bug.cgi?id=143948
1735
1736         Reviewed by Sergio Villar Senin.
1737
1738         Use WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES by default
1739         unless MINIBROWSER_SINGLEPROCESS environment variable is present.
1740
1741         * MiniBrowser/gtk/main.c:
1742         (main):
1743
1744 2015-04-21  Matthew Hanson  <matthew_hanson@apple.com>
1745
1746         Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.
1747
1748         Unreviewed build fix.
1749
1750         * Scripts/prepare-ChangeLog:
1751         (get_function_line_ranges_for_cpp):
1752         Use grep instead of any to determine if a string is an element of an array.
1753
1754 2015-04-21  Anders Carlsson  <andersca@apple.com>
1755
1756         Fix block signatures
1757         https://bugs.webkit.org/show_bug.cgi?id=144002
1758
1759         Reviewed by Andreas Kling.
1760
1761         * MiniBrowser/mac/WK2BrowserWindowController.m:
1762         (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
1763
1764 2015-04-21  Philippe Normand  <pnormand@igalia.com>
1765
1766         [GTK] jhbuild should not use a branch for openwebrtc
1767         https://bugs.webkit.org/show_bug.cgi?id=143981
1768
1769         Reviewed by Carlos Garcia Campos.
1770
1771         * gtk/jhbuild.modules:
1772
1773 2015-04-20  Matthew Hanson  <matthew_hanson@apple.com>
1774
1775         Fix compilation error for prepare-ChangeLog running with Perl version < v5.18.2.
1776
1777         Unreviewed build fix.
1778
1779         The any function was added to List::Utils between Perl v5.16.2 and Perl v5.18.2.
1780         However, it has been exposed by List::MoreUtils since its inception. This patch uses
1781         the any function exposed by List::MoreUtils for greater compatibility.
1782
1783         * Scripts/prepare-ChangeLog:
1784         Use any from List::MoreUtils instead of List::Utils, as List::MoreUtils exposes
1785         the any function in all of versions of Perl used by our infrastructure.
1786
1787 2015-04-20  Alex Christensen  <achristensen@webkit.org>
1788
1789         Remove unnecessary logs when resetting tests.
1790
1791         * WebKitTestRunner/mac/TestControllerMac.mm:
1792         (WTR::TestController::platformResetPreferencesToConsistentValues):
1793         In r183020 I added some logs when compiling or removing content extensions fails.
1794         We often try to remove a content extension that does not exist, and that is not a problem.
1795
1796 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
1797
1798         prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
1799         https://bugs.webkit.org/show_bug.cgi?id=143897
1800
1801         Reviewed by David Kilzer.
1802
1803         This is a speculative fix that addresses two issues:
1804
1805         1. An off-by-one error which allowed ending lines to be less than starting lines when a hunk was a pure delete.
1806         We were determining ending lines from combined diffs using the logic: End = Start + Offset - 1.
1807
1808         So for a hunk like "@@ -723,10 +721,0 @@ bool foobar", we were generating the following starting/ending line pairs:
1809         Before: (723, 729)
1810         After: (721, 720)
1811
1812         Before is correct, but After should be (721, 721), since it represents the beginning and ending lines for the hunk.
1813         Whether there are zero lines or one line in the hunk, the starting and ending line are the same.
1814
1815         This error was causing bad behavior on purely additive and purely subtractive hunks, but since we only refer
1816         to After when generating ChangeLog output, the extractLineRangeBeforeChange had no visible effect on program output.
1817
1818         The fix is to set End to the max of Start + Offset - 1 and Start, rather than always using the former.
1819
1820         2. Creating git diffs from HEAD and not origin/master by default.
1821
1822         Hard-coding origin/master into the originalFile command has the disadvantage of causing the diff to fail entirely
1823         when origin/master does not exist, and to do the wrong thing when determining deleted functions/methods.
1824
1825         * Scripts/prepare-ChangeLog:
1826         (originalFile):
1827         Use HEAD instead of origin/master in default Git case.
1828
1829         (generateFunctionLists):
1830         Ensure that the end line is not less than the start line.
1831
1832         (extractLineRangeAfterChange):
1833         Set the end line to the start line if the end line is less than the start line.
1834
1835         (extractLineRangeBeforeChange):
1836         Ditto.
1837
1838 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
1839
1840         Suppress warning in prepare-ChangeLog.
1841         https://bugs.webkit.org/show_bug.cgi?id=143882
1842
1843         Reviewed by David Kilzer.
1844
1845         Prune noisy prepare-ChangeLog output by using the List::Util::any function
1846         instead of the deprecated smartmatch operator.
1847
1848         * Scripts/prepare-ChangeLog:
1849         Import the List::Util::any function.
1850
1851         (get_function_line_ranges_for_cpp):
1852         Use the any function instead of smartmatch.
1853
1854 2015-04-20  Anders Carlsson  <andersca@apple.com>
1855
1856         Modify the WKWebsiteDataStore API to take a NSSet of types instead of a bitmask
1857         https://bugs.webkit.org/show_bug.cgi?id=143966
1858
1859         Reviewed by Dan Bernstein.
1860
1861         * MiniBrowser/mac/WK2BrowserWindowController.m:
1862         (dataTypes):
1863         (-[WK2BrowserWindowController fetchWebsiteData:]):
1864         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
1865         (-[WK2BrowserWindowController clearWebsiteData:]):
1866
1867 2015-04-20  Alex Christensen  <achristensen@webkit.org>
1868
1869         Fix content extension test flakiness.
1870         https://bugs.webkit.org/show_bug.cgi?id=143950
1871
1872         Reviewed by Brady Eidson.
1873
1874         * WebKitTestRunner/mac/TestControllerMac.mm:
1875         (WTR::TestController::platformResetPreferencesToConsistentValues):
1876         Remove the TestContentExtensions if it exists.
1877         (WTR::TestController::platformConfigureViewForTest):
1878         Log errors in case there are any.
1879
1880 2015-04-20  Alex Christensen  <achristensen@webkit.org>
1881
1882         Properly report errors from _WKUserContentExtensionStore.
1883         https://bugs.webkit.org/show_bug.cgi?id=143808
1884
1885         Reviewed by Darin Adler.
1886
1887         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
1888         (TEST_F):
1889
1890 2015-04-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1891
1892         Add a rule for NetworkCache to watchlist file
1893         https://bugs.webkit.org/show_bug.cgi?id=143945
1894
1895         Reviewed by Sergio Villar Senin.
1896
1897         And add myself to the list of watchers.
1898
1899         * Scripts/webkitpy/common/config/watchlist:
1900
1901 2015-04-19  Darin Adler  <darin@apple.com>
1902
1903         Update RefPtr documentation and deprecation
1904         https://bugs.webkit.org/show_bug.cgi?id=143936
1905
1906         Reviewed by Andreas Kling.
1907
1908         * Scripts/do-webcore-rename: Put in some DeprecatedPassRefPtr renames.
1909
1910 2015-04-19  Yusuke Suzuki  <utatane.tea@gmail.com>
1911
1912         Introduce bytecode intrinsics
1913         https://bugs.webkit.org/show_bug.cgi?id=143926
1914
1915         Reviewed by Filip Pizlo.
1916
1917         Change cpplint to accept emit_intrinsic_XXX.
1918
1919         * Scripts/webkitpy/style/checkers/cpp.py:
1920         (check_identifier_name_in_declaration):
1921
1922 2015-04-18  Simon Fraser  <simon.fraser@apple.com>
1923
1924         Fix lldb_webkit.py to show StringImpls correctly
1925         https://bugs.webkit.org/show_bug.cgi?id=143920
1926
1927         Reviewed by Andreas Kling.
1928         
1929         Update WTFStringImplProvider's is_8bit to use the correct bitmask.
1930
1931         * lldb/lldb_webkit.py:
1932         (WTFStringImplProvider.is_8bit):
1933
1934 2015-04-17  Daniel Bates  <dabates@apple.com>
1935
1936         Not able to build WebKit against iOS Simulator 8.3 SDK
1937         https://bugs.webkit.org/show_bug.cgi?id=143883
1938
1939         Reviewed by David Kilzer.
1940
1941         Copy libraries libWebKitSystemInterfaceIOS{Device, Simulator}8.3.a to the built product directory
1942         so that Xcode uses them.
1943
1944         * Scripts/copy-webkitlibraries-to-product-directory:
1945
1946 2015-04-17  Beth Dakin  <bdakin@apple.com>
1947
1948         Force mouse events should go through normal mouse event handling code paths
1949         https://bugs.webkit.org/show_bug.cgi?id=143749
1950         -and corresponding-
1951         rdar://problem/20472895
1952
1953         Reviewed by Dean Jackson.
1954
1955         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
1956         Since there is not a way to create an NSEventTypePressure from scratch, we 
1957         subclass NSEvent and override all of the critical methods.
1958
1959         * WebKitTestRunner/EventSenderProxy.h:
1960         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1961         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1962         (WTR::EventSendingController::mouseForceDown):
1963         (WTR::EventSendingController::mouseForceUp):
1964         (WTR::EventSendingController::mouseForceChanged):
1965         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1966         * WebKitTestRunner/TestController.cpp:
1967         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
1968         * WebKitTestRunner/mac/EventSenderProxy.mm:
1969         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
1970         (-[EventSenderPressureEvent timestamp]):
1971         (-[EventSenderPressureEvent type]):
1972         (-[EventSenderPressureEvent locationInWindow]):
1973         (-[EventSenderPressureEvent location]):
1974         (-[EventSenderPressureEvent stage]):
1975         (-[EventSenderPressureEvent pressure]):
1976         (-[EventSenderPressureEvent phase]):
1977         (-[EventSenderPressureEvent eventNumber]):
1978         (WTR::EventSenderProxy::mouseForceDown):
1979         (WTR::EventSenderProxy::mouseForceUp):
1980         (WTR::EventSenderProxy::mouseForceChanged):
1981
1982 2015-04-17  Alexey Proskuryakov  <ap@apple.com>
1983
1984         build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes
1985         https://bugs.webkit.org/show_bug.cgi?id=143885
1986
1987         Reviewed by Tim Horton.
1988
1989         Fixed a case where we have two builds with the same revision(s). An in order build
1990         is one for which the revision is strictly higher.
1991
1992         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1993         (BuildbotQueue.prototype._checkForInOrderResult):
1994         (BuildbotQueue.prototype.compareIterationsByRevisions):
1995
1996 2015-04-17  Commit Queue  <commit-queue@webkit.org>
1997
1998         Unreviewed, rolling out r182912 and r182920.
1999         https://bugs.webkit.org/show_bug.cgi?id=143881
2000
2001         Build breakage in some configurations (Requested by ap on
2002         #webkit).
2003
2004         Reverted changesets:
2005
2006         "Force mouse events should go through normal mouse event
2007         handling code paths"
2008         https://bugs.webkit.org/show_bug.cgi?id=143749
2009         http://trac.webkit.org/changeset/182912
2010
2011         http://trac.webkit.org/changeset/182920
2012
2013 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
2014
2015         [GTK] One more unreviewed fix after r182882.
2016
2017         * TestWebKitAPI/PlatformGTK.cmake: Added back the WebKit2's forwarding header generator dependency.
2018
2019 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
2020
2021         [GTK] Unreviewed speculative clean build fix after r182882.
2022
2023         TestWebKitAPI's forwarding header generator depended on WeKit2's
2024         which generated SOUP related forwarding headers too.
2025
2026         This dependency isn't necessary and was removed by r182882 to make
2027         forwarding header generators parallelizable. But in this case
2028         TestWebKitAPI's and WebKitTestRunner's forwarding header generator
2029         should generate SOUP related forwarding headers too similar to EFL.
2030
2031         * TestWebKitAPI/PlatformGTK.cmake:
2032         * WebKitTestRunner/PlatformGTK.cmake:
2033
2034 2015-04-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2035
2036         [SOUP] Redirect to non HTTP destination is broken
2037         https://bugs.webkit.org/show_bug.cgi?id=143866
2038
2039         Reviewed by Sergio Villar Senin.
2040
2041         Add a unit test to check that redirect to a data URI works.
2042
2043         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
2044         (testRedirectToDataURI):
2045         (serverCallback):
2046         (beforeAll):
2047
2048 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
2049
2050         Changes method of quitting iOS Simulator to be more correct.
2051         https://bugs.webkit.org/show_bug.cgi?id=143847
2052         <rdar://problem/20530344>
2053
2054         Reviewed by Darin Adler.
2055
2056         Fixes by addressing the app by ID rather than by name.
2057
2058         * Scripts/webkitdirs.pm:
2059         (quitIOSSimulator):
2060         * Scripts/webkitpy/port/ios.py:
2061         (IOSSimulatorPort.check_sys_deps):
2062
2063 2015-04-16  Anders Carlsson  <andersca@apple.com>
2064
2065         Deprecate _WKWebsiteDataStore in favor of WKWebsiteDataStore
2066         https://bugs.webkit.org/show_bug.cgi?id=143844
2067
2068         Reviewed by Dan Bernstein.
2069
2070         * MiniBrowser/mac/AppDelegate.m:
2071         (-[BrowserAppDelegate newPrivateWindow:]):
2072         * MiniBrowser/mac/WK2BrowserWindowController.m:
2073         (-[WK2BrowserWindowController initWithConfiguration:]):
2074         (-[WK2BrowserWindowController fetchWebsiteData:]):
2075         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
2076         (-[WK2BrowserWindowController clearWebsiteData:]):
2077
2078 2015-04-16  Alex Christensen  <achristensen@webkit.org>
2079
2080         32-bit build fix.
2081
2082         * WebKitTestRunner/mac/TestControllerMac.mm:
2083         (WTR::TestController::platformResetPreferencesToConsistentValues):
2084         (WTR::TestController::platformConfigureViewForTest):
2085         Added WK_API_ENABLED.
2086
2087 2015-04-16  Alex Christensen  <achristensen@webkit.org>
2088
2089         Removed unused WKUserContentFilterRef.
2090         https://bugs.webkit.org/show_bug.cgi?id=143852
2091
2092         Reviewed by Sam Weinig.
2093
2094         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
2095         * WebKitTestRunner/mac/TestControllerMac.mm:
2096         (WTR::TestController::platformResetPreferencesToConsistentValues):
2097         (WTR::TestController::platformConfigureViewForTest):
2098
2099 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
2100
2101         Unreviewed. Adding myself as a commiter in contributers.json.
2102
2103         * Scripts/webkitpy/common/config/contributors.json:
2104
2105 2015-04-16  Alexey Proskuryakov  <ap@apple.com>
2106
2107         It is very hard to attach a debugger to WebProcess to debug tests
2108         https://bugs.webkit.org/show_bug.cgi?id=143837
2109
2110         Reviewed by Chris Dumez.
2111
2112         --no-timeout used to only affect waitUntilDone timeout, but not IPC timeout in
2113         WebKitTestRunner, and not pipe reading timeout in run-webkit-tests.
2114
2115         Now it disables all timeouts in tools, as is best for debugging tests.
2116
2117         * Scripts/webkitpy/port/driver.py: (Driver.run_test): Respect --no-timeout, so
2118         that the script doesn't terminate DRT/WKTR when there is no output for a long time.
2119
2120         * WebKitTestRunner/Options.cpp: Removed --no-timeout-at-all, as --no-timeout
2121         now has the same functionality.
2122
2123 2015-04-16  Beth Dakin  <bdakin@apple.com>
2124
2125         Force mouse events should go through normal mouse event handling code paths
2126         https://bugs.webkit.org/show_bug.cgi?id=143749
2127         -and corresponding-
2128         rdar://problem/20472895
2129
2130         Reviewed by Dean Jackson.
2131
2132         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
2133         Since there is not a way to create an NSEventTypePressure from scratch, we 
2134         subclass NSEvent and override all of the critical methods.
2135
2136         * WebKitTestRunner/EventSenderProxy.h:
2137         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2138         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2139         (WTR::EventSendingController::mouseForceDown):
2140         (WTR::EventSendingController::mouseForceUp):
2141         (WTR::EventSendingController::mouseForceChanged):
2142         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2143         * WebKitTestRunner/TestController.cpp:
2144         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
2145         * WebKitTestRunner/mac/EventSenderProxy.mm:
2146         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
2147         (-[EventSenderPressureEvent timestamp]):
2148         (-[EventSenderPressureEvent type]):
2149         (-[EventSenderPressureEvent locationInWindow]):
2150         (-[EventSenderPressureEvent location]):
2151         (-[EventSenderPressureEvent stage]):
2152         (-[EventSenderPressureEvent pressure]):
2153         (-[EventSenderPressureEvent phase]):
2154         (-[EventSenderPressureEvent eventNumber]):
2155         (WTR::EventSenderProxy::mouseForceDown):
2156         (WTR::EventSenderProxy::mouseForceUp):
2157         (WTR::EventSenderProxy::mouseForceChanged):
2158
2159 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
2160
2161         [EFL] Bump LLVM to version 3.6.0 on X86_64
2162         https://bugs.webkit.org/show_bug.cgi?id=143604
2163
2164         Reviewed by Gyuyoung Kim.
2165
2166         * efl/jhbuild.modules:
2167         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Added the necessary part of llvm-elf-add-stackmaps.patch.
2168         * efl/patches/llvm-elf-add-stackmaps.patch: Removed, it is included in LLVM 3.6.0 release.
2169         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range.patch: Removed, it is included in LLVM 3.6.0 release.
2170         * efl/patches/llvm-version-arm64.patch: Added. Set PACKAGE_VERSION to "3.5.0ftl" to be able to ensure we use patched LLVM on AArch64.
2171
2172 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
2173
2174         [EFL] Remove an unnecessary workaround from jhbuildrc
2175         https://bugs.webkit.org/show_bug.cgi?id=143823
2176
2177         Reviewed by Gyuyoung Kim.
2178
2179         * efl/jhbuildrc:
2180
2181 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
2182
2183         [GTK] Run forwarding headers generator unconditionally
2184         https://bugs.webkit.org/show_bug.cgi?id=143819
2185
2186         Reviewed by Carlos Garcia Campos.
2187
2188         * TestWebKitAPI/PlatformGTK.cmake:
2189         * WebKitTestRunner/PlatformGTK.cmake:
2190
2191 2015-04-15  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2192
2193         [EFL] Add gnutls to jhbuild.module
2194         https://bugs.webkit.org/show_bug.cgi?id=143777
2195
2196         Reviewed by Csaba Osztrogonác.
2197
2198         EFL port has required at least 3.0.0 version of gnutls since r176712.
2199         However some old linux distributions don't support 3.0.0 version. Besides
2200         other projects sometimes need to use lower version of gnutls.
2201
2202         This patch supports to download gnutls through jhbuild, and use it.
2203
2204         * efl/install-dependencies: Add nettle-dev dependency and remove libgnutls28-dev. 
2205         * efl/jhbuild.modules: Download 3.3 version because 3.3 version is stable version.
2206
2207 2015-04-15  Mark Lam  <mark.lam@apple.com>
2208
2209         Remove obsolete VMInspector debugging tool.
2210         https://bugs.webkit.org/show_bug.cgi?id=143798
2211
2212         Reviewed by Michael Saboff.
2213
2214         * TestWebKitAPI/CMakeLists.txt:
2215         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2216         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
2217         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2218         * TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp: Removed.
2219
2220 2015-04-15  Jer Noble  <jer.noble@apple.com>
2221
2222         Unreviewed gardening; Make the previous commit apply only _post_ Yosemite.
2223
2224         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
2225
2226 2015-04-15  Jer Noble  <jer.noble@apple.com>
2227
2228         Unreviewed gardening; disable FullscreenZoomInitialFrame.WebKit2 API test post-Yosemite.
2229
2230         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
2231         (TestWebKitAPI::TEST_F):
2232
2233 2015-04-15  Chris Dumez  <cdumez@apple.com>
2234
2235         [Win] DRT does not seem to reset the 'UsesPageCache' setting between tests
2236         https://bugs.webkit.org/show_bug.cgi?id=143779
2237
2238         Reviewed by Brent Fulgham.
2239
2240         Reset the 'UsesPageCache' setting to FALSE between tests on Windows,
2241         similarly to what is done on Mac / WK1. Without this, PageCache could
2242         stay enabled after page cache tests and cause weird behaviors.
2243
2244         * DumpRenderTree/win/DumpRenderTree.cpp:
2245         (resetWebPreferencesToConsistentValues):
2246
2247 2015-04-14  Simon Fraser  <simon.fraser@apple.com>
2248
2249         Re-enable custom dilation for antialiased fonts
2250         https://bugs.webkit.org/show_bug.cgi?id=143738
2251
2252         Reviewed by Tim Horton.
2253         
2254         Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
2255         but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
2256         a private WebKit pref. This pref defaults to YES, enabling the feature by default
2257         in WK1 as we do for WK2.
2258
2259         * DumpRenderTree/mac/DumpRenderTree.mm:
2260         (resetWebPreferencesToConsistentValues):
2261         * WebKitTestRunner/TestController.cpp:
2262         (WTR::TestController::resetPreferencesToConsistentValues):
2263
2264 2015-04-14  Brent Fulgham  <bfulgham@apple.com>
2265
2266         Correct layering violation in DumpRenderTree Build
2267         https://bugs.webkit.org/show_bug.cgi?id=143732
2268
2269         Reviewed by Simon Fraser.
2270
2271         Correct a layering violation in DumpRenderTree by calling functions on the
2272         WebCoreTestSupport library, rather than attempting to work with WebCore
2273         types directly.
2274
2275         * DumpRenderTree/mac/EventSendingController.mm:
2276         (-[EventSendingController monitorWheelEvents]): Call methods on WebCoreTestSupport, rather
2277         than WebCore itself.,
2278         (-[EventSendingController callAfterScrollingCompletes:]): Ditto.
2279
2280 2015-04-14  Benjamin Poulain  <benjamin@webkit.org>
2281
2282         Add a conservative DFA minimizer for the content extension matcher
2283         https://bugs.webkit.org/show_bug.cgi?id=143501
2284
2285         Reviewed by Alex Christensen.
2286
2287         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2288         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
2289
2290 2015-04-14  Daniel Bates  <dabates@apple.com>
2291
2292         Skip failing test Tests/WebKit2Cocoa/FixedLayoutSize.mm on iOS
2293         https://bugs.webkit.org/show_bug.cgi?id=143693
2294         <rdar://problem/20530316>
2295
2296         Reviewed by Tim Horton.
2297
2298         Skip the test Tests/WebKit2Cocoa/FixedLayoutSize.mm as we do not plan
2299         to use the fixed layout code on iOS at this time.
2300
2301         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Add !PLATFORM(IOS)-guard.
2302
2303 2015-04-14  Dominik Röttsches  <dominik.rottsches@intel.com>
2304
2305         Remove myself from watchlist, remove empty Cairo and HarfBuzz watchlists
2306         https://bugs.webkit.org/show_bug.cgi?id=143705
2307
2308         Unreviewed change to watchlist file.
2309
2310         * Scripts/webkitpy/common/config/watchlist:
2311
2312 2015-04-14  KwangHyuk Kim  <hyuki.kim@samsung.com>
2313
2314         [EFL] favicon wasn't updated for google.com sometimes.
2315         https://bugs.webkit.org/show_bug.cgi?id=141940
2316
2317         Reviewed by Gyuyoung Kim.
2318
2319         As elm_entry_utf8_to_markup can include additional characters, parameter for the
2320         on_icon_changed_cb was just set by using url string retrieved by ewk_view_url_get().
2321
2322         * MiniBrowser/efl/main.c:
2323         (on_url_changed):
2324
2325 2015-04-13  Tim Horton  <timothy_horton@apple.com>
2326
2327         Add a persistent, fixed scale factor to make it easy to scale down WK(Web)Views
2328         https://bugs.webkit.org/show_bug.cgi?id=143560
2329         <rdar://problem/16302047>
2330
2331         Reviewed by Darin Adler.
2332
2333         * MiniBrowser/mac/BrowserWindowController.h:
2334         * MiniBrowser/mac/MainMenu.xib:
2335         * MiniBrowser/mac/WK1BrowserWindowController.m:
2336         (-[WK1BrowserWindowController setScale:]):
2337         * MiniBrowser/mac/WK2BrowserWindowController.m:
2338         (viewScaleForMenuItemTag):
2339         (-[WK2BrowserWindowController setScale:]):
2340         (-[WK2BrowserWindowController validateMenuItem:]):
2341         Add a submenu with four view scale options: 100%, 75%, 50%, and 25%.
2342         When in use, we resize the window so that the view fits correctly, and
2343         use automaticallyComputesFixedlayoutSizeFromViewScale so that the page's
2344         layout size will not change when scaling down (but will update appropriately
2345         when the view is resized).
2346
2347 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
2348
2349         build.webkit.org/dashboard shows obsolete results when builds are substantially out of order
2350         https://bugs.webkit.org/show_bug.cgi?id=138630
2351
2352         Reviewed by Tim Horton.
2353
2354         Make sure that we always load at least one in order productive iteration.
2355
2356         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2357         (BuildbotQueue): Added _hasLoadedIterationForInOrderResult to track whether the queue
2358         is done loading at least one iteration that wasn't an out of order build.
2359         (BuildbotQueue.prototype.loadMoreHistoricalIterations): Listen for iteration load
2360         when that's needed to check for out of order builds.
2361         (BuildbotQueue.prototype.update): Ditto.
2362         (BuildbotQueue.prototype._checkForInOrderResult): Check if the queue has an in order
2363         result, and if it does not, load more iterations.
2364         (BuildbotQueue.prototype.loadAll): We have everything loaded, so we certainly have
2365         an in order iteration loaded too.
2366         (BuildbotQueue.prototype.compareIterations): Extracted from sortIterations(), and
2367         corrected to always sort loaded iterations before unloaded ones.
2368
2369 2015-04-10  Brent Fulgham  <bfulgham@apple.com>
2370
2371         Expand test infrastructure to support scrolling tests
2372         https://bugs.webkit.org/show_bug.cgi?id=143286
2373         <rdar://problem/20375516>
2374
2375         Reviewed by Simon Fraser.
2376
2377         Extend the WK1 and WK2 test programs to support two new EventSender commands:
2378         (1) monitorWheelEvents: Tells DRT and WKTR to track the wheel event and animation state, so that we can
2379         block executing tests until WebKit has completed any rubberband, scroll, or scroll-snap animations.
2380         (2) callAfterScrollingCompletes: Provide a callback method to be executed when WebKit determines that
2381         relevant rubberband, scroll, and scroll-snap animations are finished.
2382
2383         * DumpRenderTree/mac/EventSendingController.mm:
2384         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize 'callAfterScrollingCompletes:'
2385         and 'monitorWheelEvents'.
2386         (+[EventSendingController webScriptNameForSelector:]): Ditto.
2387         (-[EventSendingController mouseScrollByX:andY:continuously:]): Add some stderr logging to help when
2388         debugging test failures.
2389         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Ditto.
2390         (-[EventSendingController callAfterScrollingCompletes:]): Added. Protects the JSObject representing the callback
2391         function, then passes it to WebCore to be called once the test deferrals have been cleared.
2392         (-[EventSendingController monitorWheelEvents:]): Added. Activates the wheel event tracking used by the
2393         'callAfterScrollingCompletes' method.
2394         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Added signatures for 'callAfterScrollingCompletes'
2395         and 'monitorWheelEvents'.
2396         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2397         (WTR::EventSendingController::callAfterScrollingCompletes): Added. Protects the JSObject representing the
2398         callback function, then passes it to WebCore to be called once the test deferrals have been cleared
2399         (WTR::EventSendingController::monitorWheelEvents): Added. Activates the wheel event tracking used by the
2400         'callAfterScrollingComplates' method.
2401         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2402
2403 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
2404
2405         build.webkit.org/dashboard: Crash-only queues should show failure when testing fails to start
2406         https://bugs.webkit.org/show_bug.cgi?id=143656
2407
2408         Reviewed by Darin Adler.
2409
2410         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2411         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2412
2413 2015-04-13  Sergio Villar Senin  <svillar@igalia.com>
2414
2415         REGRESSION(r181134): [GTK] Test /webkit2/WebKitWebView/insecure-content is failing after r181134
2416         https://bugs.webkit.org/show_bug.cgi?id=142387
2417
2418         Reviewed by Carlos Garcia Campos.
2419
2420         Running mixed content is blocked by default since r181134. Updated
2421         the test case to reflect the new default settings.
2422
2423         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
2424         (testInsecureContent):
2425
2426 2015-04-13  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2427
2428         Fix wrong value variable in ENABLE_NAVIGATOR_HWCONCURRENCY
2429         https://bugs.webkit.org/show_bug.cgi?id=143667
2430
2431         Reviewed by Csaba Osztrogonác.
2432
2433         ENABLE_NAVIGATOR_HWCONCURRENCY has used $registerProtocolHandlerSupport value variable
2434         since r169017. Added $hardwareConcurrencySupport for it.
2435
2436         Additionally networkInfoSupport is removed because this feature was removed due to spec out.
2437
2438         * Scripts/webkitperl/FeatureList.pm:
2439
2440 2015-04-13  Csaba Osztrogonác  <ossy@webkit.org>
2441
2442         [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
2443         https://bugs.webkit.org/show_bug.cgi?id=143664
2444
2445         Reviewed by Gyuyoung Kim.
2446
2447         * Scripts/webkitperl/FeatureList.pm:
2448
2449 2015-04-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2450
2451         [EFL] Enable Media Source
2452         https://bugs.webkit.org/show_bug.cgi?id=143635
2453
2454         Reviewed by Csaba Osztrogonác.
2455
2456         * Scripts/webkitperl/FeatureList.pm: Enable media source on efl port.
2457
2458 2015-04-12  Alexey Proskuryakov  <ap@apple.com>
2459
2460         build.webkit.org/dashboard: Crash-only queues should show failure when failure limit is exceeded
2461         https://bugs.webkit.org/show_bug.cgi?id=143646
2462
2463         Reviewed by David Kilzer.
2464
2465         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2466         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2467
2468 2015-04-11  Alexey Proskuryakov  <ap@apple.com>
2469
2470         Use en_US spell checker for tests on Mac instead of Multilingual
2471         https://bugs.webkit.org/show_bug.cgi?id=143641
2472
2473         Reviewed by Dan Bernstein.
2474
2475         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
2476         While at it, override NSUserDictionaryReplacementItems, so that user replacements
2477         cannot affect tests.
2478
2479         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):
2480         Made this more like WebKit1 version.
2481
2482 2015-04-10  Tim Horton  <timothy_horton@apple.com>
2483
2484         Replace setFixedLayoutSizeEnabled: with an enum of layout modes
2485         https://bugs.webkit.org/show_bug.cgi?id=143576
2486
2487         Reviewed by Simon Fraser.
2488
2489         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
2490         (TEST):
2491         Adopt.
2492
2493 2015-04-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2494
2495         Update my email address and expertise.
2496         https://bugs.webkit.org/show_bug.cgi?id=143586
2497
2498         Unreviewed, just update my info.
2499
2500         * Scripts/webkitpy/common/config/contributors.json:
2501
2502 2015-04-09  Joseph Pecoraro  <pecoraro@apple.com>
2503
2504         Flakiness Dashboard not loading insecure content if loaded with https URL
2505         https://bugs.webkit.org/show_bug.cgi?id=143570
2506
2507         Reviewed by Alexey Proskuryakov.
2508
2509         * TestResultServer/app.yaml:
2510         * TestResultServer/static-dashboards/loader.js:
2511         Switch to https scheme.
2512
2513 2015-04-09  Csaba Osztrogonác  <ossy@webkit.org>
2514
2515         [EFL][GTK] WebKit2's generate-forwarding-headers.pl runs too many times
2516         https://bugs.webkit.org/show_bug.cgi?id=142907
2517
2518         Reviewed by Carlos Garcia Campos.
2519
2520         * TestWebKitAPI/PlatformEfl.cmake:
2521         * TestWebKitAPI/PlatformGTK.cmake:
2522         * WebKitTestRunner/PlatformEfl.cmake:
2523         * WebKitTestRunner/PlatformGTK.cmake:
2524
2525 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2526
2527         [Mac] Unreviewed test fix after r182584
2528         https://bugs.webkit.org/show_bug.cgi?id=143452
2529
2530         Put both of these tests back to their original state now that the underlying
2531         problem is fixed.
2532
2533         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
2534         (TestWebKitAPI::TEST):
2535         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2536         (TestWebKitAPI::TEST):
2537
2538 2015-04-08  Filip Pizlo  <fpizlo@apple.com>
2539
2540         run-jsc-benchmarks geomean of preferred means shouldn't print the VMs header twice
2541         https://bugs.webkit.org/show_bug.cgi?id=143553
2542
2543         Reviewed by Ryosuke Niwa.
2544         
2545         Remove the spurious printVMs left over from an earlier change.
2546
2547         * Scripts/run-jsc-benchmarks:
2548
2549 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2550
2551         [Mac] Unreviewed test fix after r182581
2552
2553         The behavior of control-left-click is controlled by a system preference.
2554         Our test bots have this turned off.
2555
2556         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
2557         (TestWebKitAPI::TEST):
2558         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2559         (TestWebKitAPI::TEST):
2560
2561 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2562
2563         [Mac] WebKit is not honoring OS preferences for secondary click behaviors
2564         https://bugs.webkit.org/show_bug.cgi?id=143452
2565         <rdar://problem/20437483>
2566
2567         Reviewed by Tim Horton.
2568
2569         Add a new API test to confirm that Cocoa mouse button press events are properly
2570         tagged with the desired menu behavior (i.e., 'None', 'Context', or 'Action'.)
2571
2572         The WK2 test dispatches mouse down events to a PlatformWebView, and checks with
2573         some registered event handlers that the expected button press and context menu
2574         events are received.
2575
2576         The WK1 unit test creates an NSEvent with the desired button press state, and then
2577         uses WebCore::PlatformEventFactory::createPlatformMouseEvent to create a WebCore event.
2578         We check the resulting PlatformMouseEvent for proper state.
2579
2580         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test files.
2581         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Added.
2582         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
2583         * TestWebKitAPI/Tests/WebKit2/mouse-button-listener.html: Added.
2584         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm: Added.
2585         (TestWebKitAPI::canCallMenuTypeForEvent): Helper function.
2586         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
2587         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
2588         (TestWebKitAPI::PlatformWebView::simulateButtonClick): Added method to support firing
2589         mouse down events.
2590         * TestWebKitAPI/mac/PlatformWebViewMac.h:
2591
2592 2015-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
2593
2594         [GTK] Add pango to jhbuild-optional.modules
2595         https://bugs.webkit.org/show_bug.cgi?id=143537
2596
2597         Reviewed by Martin Robinson.
2598
2599         * gtk/jhbuild-optional.modules: Add pango.
2600
2601 2015-04-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2602
2603         [XvfbDriver] Regular expression used to match running X servers fails on Fedora 22.
2604         https://bugs.webkit.org/show_bug.cgi?id=143530
2605
2606         Reviewed by Žan Doberšek.
2607
2608         Assume that the default value for display (:0) is reserved and start checking on :1
2609         Adjust webkitpy test and include two new test cases for this bug (display number not specified)
2610         and for X server named Xorg.bin (previous bug 1376599)
2611
2612         * Scripts/webkitpy/port/xvfbdriver.py:
2613         (XvfbDriver._next_free_display)
2614         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
2615         (XvfbDriverTest.test_start_no_pixel_tests):
2616         (XvfbDriverTest.test_start_pixel_tests):
2617         (XvfbDriverTest.test_start_arbitrary_worker_number):
2618         (XvfbDriverTest.test_next_free_display):
2619         (XvfbDriverTest.test_start_next_worker):
2620 2015-04-08  Alex Christensen  <achristensen@webkit.org>
2621
2622         Block popups from content extensions.
2623         https://bugs.webkit.org/show_bug.cgi?id=143497
2624
2625         Reviewed by Brady Eidson.
2626
2627         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2628         (TestWebKitAPI::TEST_F):
2629         Added popup test.
2630
2631 2015-04-08  Alex Christensen  <achristensen@webkit.org> and Patrick Gansterer  <paroga@webkit.org>
2632
2633         Add CMake build system for WinCairo port.
2634         https://bugs.webkit.org/show_bug.cgi?id=115944
2635
2636         Reviewed by Chris Dumez.
2637
2638         * CMakeLists.txt:
2639         * WinLauncher/CMakeLists.txt: Added.
2640
2641 2015-04-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2642
2643         [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user
2644         https://bugs.webkit.org/show_bug.cgi?id=143521
2645
2646         Reviewed by Martin Robinson.
2647
2648         Add a way to detect unexpected web process crashes to WebViewTest,
2649         and a test case to testDOMCache to trigger the crash.
2650
2651         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2652         (WebKitDOMNodeTest::testDOMCache):
2653         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2654         (testWebKitWebViewProcessCrashed):
2655         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2656         (WebViewTest::WebViewTest):
2657         (WebViewTest::webProcessCrashed):
2658         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
2659
2660 2015-04-07  Alexey Proskuryakov  <ap@apple.com>
2661
2662         PageVisibilityStateWithWindowChanges should only be enabled on Yosemite
2663         rdar://problem/20461342
2664
2665         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
2666
2667 2015-04-07  Commit Queue  <commit-queue@webkit.org>
2668
2669         Unreviewed, rolling out r182511.
2670         https://bugs.webkit.org/show_bug.cgi?id=143507
2671
2672         caused debug test failures (Requested by alexchristensen on
2673         #webkit).
2674
2675         Reverted changeset:
2676
2677         "Block popups from content extensions."
2678         https://bugs.webkit.org/show_bug.cgi?id=143497
2679         http://trac.webkit.org/changeset/182511
2680
2681 2015-04-07  Alex Christensen  <achristensen@webkit.org>
2682
2683         Block popups from content extensions.
2684         https://bugs.webkit.org/show_bug.cgi?id=143497
2685
2686         Reviewed by Brady Eidson.
2687
2688         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2689         (TestWebKitAPI::TEST_F):
2690         Added popup test.
2691
2692 2015-04-07  Benjamin Poulain  <benjamin@webkit.org>
2693
2694         Get the features.json files ready for open contributions
2695         https://bugs.webkit.org/show_bug.cgi?id=143436
2696
2697         Reviewed by Darin Adler.
2698
2699         * Scripts/webkitpy/style/checkers/jsonchecker.py:
2700         (JSONFeaturesChecker.check):
2701         Extend the syntax checking a bit, but leave everything non-mandatory
2702         very loose until we figure what fields are important.
2703
2704 2015-04-07  Tim Horton  <timothy_horton@apple.com>
2705
2706         Expose and test fixedLayoutSize via modern WebKit SPI
2707         https://bugs.webkit.org/show_bug.cgi?id=143500
2708
2709         Reviewed by Simon Fraser.
2710
2711         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2712         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Added.
2713         (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]):
2714         (TEST):
2715         Add a test that verifies that fixedLayoutSize works at all, that
2716         it persists through a navigation, and that turning it back off reverts to
2717         laying out at the size of the view.
2718
2719 2015-04-07  Michael Catanzaro  <mcatanzaro@igalia.com>
2720
2721         Unreviewed. Add myself as a committer.
2722
2723         * Scripts/webkitpy/common/config/contributors.json:
2724
2725 2015-04-07  Brent Fulgham  <bfulgham@apple.com>
2726
2727         [Win] Bots complain about missing /etc/catalog
2728         https://bugs.webkit.org/show_bug.cgi?id=143484
2729
2730         Reviewed by Chris Dumez.
2731
2732         The libxml2 build on Mac, iOS, and Windows does not provide the set
2733         of default catalog files. We do not actually need these for our
2734         purposes, but we get warnings and some bot flakiness because they
2735         are not present.
2736
2737         We can avoid both problems the same way the Mac and iOS ports do,
2738         by setting the XML_CATALOG_FILES environment variable to 'empty string',
2739         which avoid the warnings and bot problems.
2740
2741         * Scripts/webkitpy/port/win.py:
2742         (WinPort.setup_environ_for_server): Added.
2743
2744 2015-04-06  Sam Weinig  <sam@webkit.org>
2745
2746         Use content extensions in MiniBrowser.
2747         https://bugs.webkit.org/show_bug.cgi?id=143446
2748
2749         Reviewed by Alex Christensen.
2750
2751         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
2752         * MiniBrowser/mac/AppDelegate.h:
2753         * MiniBrowser/mac/AppDelegate.m:
2754         (-[BrowserAppDelegate init]):
2755         (-[BrowserAppDelegate showExtensionsManager:]):
2756         (-[BrowserAppDelegate userContentContoller]):
2757         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
2758         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
2759         (-[ExtensionManagerWindowController init]):
2760         (-[ExtensionManagerWindowController windowDidLoad]):
2761         (-[ExtensionManagerWindowController add:]):
2762         (-[ExtensionManagerWindowController remove:]):
2763         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
2764         * MiniBrowser/mac/MainMenu.xib:
2765
2766 2015-04-07  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2767
2768         web-platform-tests server should retrieve the modules file relatively to its docroot path
2769         https://bugs.webkit.org/show_bug.cgi?id=142742
2770
2771         Reviewed by Darin Adler.
2772
2773         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2774         (WebPlatformTestServer._install_modules): Compute the modules description file path according wpt server doc root path.
2775
2776 2015-04-06  Commit Queue  <commit-queue@webkit.org>
2777
2778         Unreviewed, rolling out r182445.
2779         https://bugs.webkit.org/show_bug.cgi?id=143459
2780
2781         broke 32 bit build (Requested by alexchristensen on #webkit).
2782
2783         Reverted changeset:
2784
2785         "Use content extensions in MiniBrowser."
2786         https://bugs.webkit.org/show_bug.cgi?id=143446
2787         http://trac.webkit.org/changeset/182445
2788
2789 2015-04-06  Sam Weinig  <sam@webkit.org>
2790
2791         Use content extensions in MiniBrowser.
2792         https://bugs.webkit.org/show_bug.cgi?id=143446
2793
2794         Reviewed by Alex Christensen.
2795
2796         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
2797         * MiniBrowser/mac/AppDelegate.h:
2798         * MiniBrowser/mac/AppDelegate.m:
2799         (-[BrowserAppDelegate init]):
2800         (-[BrowserAppDelegate showExtensionsManager:]):
2801         (-[BrowserAppDelegate userContentContoller]):
2802         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
2803         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
2804         (-[ExtensionManagerWindowController init]):
2805         (-[ExtensionManagerWindowController windowDidLoad]):
2806         (-[ExtensionManagerWindowController add:]):
2807         (-[ExtensionManagerWindowController remove:]):
2808         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
2809         * MiniBrowser/mac/MainMenu.xib:
2810
2811 2015-04-06  Michael Catanzaro  <mcatanzaro@gnome.org>
2812
2813         [GTK] install-dependencies should prefer dnf to yum
2814         https://bugs.webkit.org/show_bug.cgi?id=143441
2815
2816         Reviewed by Martin Robinson.
2817
2818         Test for the existance of dnf before yum, and only try to use yum if dnf does not exist.
2819
2820         * gtk/install-dependencies:
2821
2822 2015-04-06  Andy Estes  <aestes@apple.com>
2823
2824         [iOS] 'make clean' fails in Tools/WebKitTestRunner
2825         https://bugs.webkit.org/show_bug.cgi?id=143455
2826
2827         Reviewed by Dan Bernstein.
2828
2829         This Makefile adds '-target WebKitTestRunnerApp' to OTHER_OPTIONS during iOS builds, but the top-level
2830         Makefile.shared adds '-alltargets' for clean builds, and xcodebuild does not allow both -target and -alltargets.
2831
2832         * WebKitTestRunner/Makefile: Don't add '-target WebKitTestRunerApp' to OTHER_OPTIONS on clean builds.
2833
2834 2015-04-06  Alexey Proskuryakov  <ap@apple.com>
2835
2836         WebKit1.SetAndUpdateCacheModelPreferencesChangeMix fails on some machines
2837         https://bugs.webkit.org/show_bug.cgi?id=143450
2838
2839         Reviewed by Anders Carlsson.
2840
2841         * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: (TestWebKitAPI::TEST):
2842         Make sure that the view is actually closed, regardless of anything else that happens beneath.
2843         Also, removed unnecessary get() calls.
2844
2845 2015-04-03  Alexey Proskuryakov  <ap@apple.com>
2846
2847         Reduce the dependency on Flash in regression tests
2848         https://bugs.webkit.org/show_bug.cgi?id=143391
2849
2850         Reviewed by Anders Carlsson.
2851
2852         * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad):
2853         Only allow QuickTime and the test plug-in.
2854
2855 2015-04-06  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2856
2857         W3C test importer should generate the modules installed dynamically to run wpt tests
2858         https://bugs.webkit.org/show_bug.cgi?id=142738
2859
2860         Reviewed by Ryosuke Niwa.
2861
2862         The test importer can now generate the submodules description file based on information extracted from the corresponding git repository.
2863         The implementation is done within TestDownloader and it is activated for the WPT repository.
2864         LayoutTests/imported/w3c/resources/WPTModules is renamed as LayoutTests/imported/w3c/resources/web-platform-tests-modules.json for that reason.
2865
2866         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2867         (WebPlatformTestServer._install_modules): Updated to cope with path as array.
2868         * Scripts/webkitpy/w3c/test_downloader.py:
2869         (TestDownloader._git_submodules_status): Added so that it can be overriden for unit tests.
2870         (TestDownloader):
2871         (TestDownloader._git_submodules_description): Computes submodule description.
2872         (TestDownloader.generate_git_submodules_description): Write submodule description in a file.
2873         * Scripts/webkitpy/w3c/test_importer.py:
2874         (TestImporter.do_import): Added the possibility to post process the tests.
2875         (TestImporter):
2876         (TestImporter.generate_git_submodules_description_for_all_repositories): Enable generating module description file.
2877         (TestImporter.should_convert_test_harness_links): Updated according new options format.
2878         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2879         (TestImporterTest.import_downloaded_tests): Making use of TestDownloaderMock. 
2880         (TestImporterTest.import_downloaded_tests.TestDownloaderMock): Added to override submodule status gathering.
2881         (TestImporterTest.import_downloaded_tests.TestDownloaderMock.__init__):
2882         (TestImporterTest.import_downloaded_tests.TestDownloaderMock._git_submodules_status):
2883         (TestImporterTest.test_submodules_generation): Added to check that modules description files works.
2884
2885 2015-04-05  Antti Koivisto  <antti@apple.com>
2886
2887         Bloom filter should support longer hashes
2888         https://bugs.webkit.org/show_bug.cgi?id=143419
2889
2890         Reviewed by Dan Bernstein.
2891
2892         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp:
2893         (TestWebKitAPI::generateRandomDigests):
2894         (TestWebKitAPI::TEST):
2895
2896 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
2897
2898         run-jsc-stress-tests --remote should add libllvmForJSC.so to the bundle on Linux
2899         https://bugs.webkit.org/show_bug.cgi?id=143372
2900
2901         Reviewed by Darin Adler.
2902
2903         * Scripts/run-jsc-stress-tests:
2904
2905 2015-04-03  Antti Koivisto  <antti@apple.com>
2906
2907         Add non-counting bloom filter class
2908         https://bugs.webkit.org/show_bug.cgi?id=143366
2909
2910         Reviewed by Sam Weinig.
2911
2912         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2913         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp: Added.
2914         (TestWebKitAPI::generateRandomHashes):
2915         (TestWebKitAPI::TEST):
2916
2917 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
2918
2919         FTL JIT tests should fail if LLVM library isn't available
2920         https://bugs.webkit.org/show_bug.cgi?id=143374
2921
2922         Reviewed by Mark Lam.
2923
2924         * Scripts/run-jsc-stress-tests:
2925
2926 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
2927
2928         [EFL] Speedup jhbuild with disable running autogen.sh
2929         https://bugs.webkit.org/show_bug.cgi?id=143369
2930
2931         Reviewed by Gyuyoung Kim.
2932
2933         * efl/jhbuild.modules:
2934
2935 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
2936
2937         filter-webkit-build should filter out "created by an unsupported XCDependencyGraph build" lines
2938         https://bugs.webkit.org/show_bug.cgi?id=143282
2939
2940         Reviewed by Daniel Bates.
2941
2942         * Scripts/filter-build-webkit: (shouldIgnoreLine): Do it.
2943
2944 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
2945
2946         When LayoutTestHelper fails to start, we continue to run the tests, ending up with mysterious failures
2947         https://bugs.webkit.org/show_bug.cgi?id=143240
2948         rdar://problem/19990425
2949
2950         Reviewed by Tim Horton.
2951
2952         * DumpRenderTree/mac/LayoutTestHelper.m:
2953         (colorProfileURLForDisplay):
2954         (saveDisplayColorProfiles):
2955         Gracefully handle it when the current profile cannot be retrieved, fixing at
2956         least one case when LayoutTestHelper couldn't start.
2957
2958         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2959         (Manager._set_up_run):
2960         (Manager._force_pixel_tests_if_needed):
2961         * Scripts/webkitpy/port/base.py: (Port.to.start_helper):
2962         * Scripts/webkitpy/port/mac.py: (MacPort.start_helper):
2963         Return and check an error from start_helper().
2964
2965 2015-04-01  Brent Fulgham  <bfulgham@apple.com>
2966
2967         [Win] Run test-webkitpy as part of EWS (just like we do on other platforms)
2968         https://bugs.webkit.org/show_bug.cgi?id=143321
2969
2970         Reviewed by Alexey Proskuryakov.
2971
2972         * EWSTools/start-queue-win.sh: Add commands to run 'test-webkitpy' during processing loop.
2973
2974 2015-04-01  Enrica Casucci  <enrica@apple.com>
2975
2976         Injected bundle messages should be at the page level.
2977         https://bugs.webkit.org/show_bug.cgi?id=143283
2978
2979         Reviewed by Alexey Proskuryakov.
2980
2981         Updating WebKitTestRunner to use the new page level messaging.
2982         The author of this patch is Tim Horton, I just finished it.
2983
2984         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2985         (WTR::EventSendingController::mouseDown):
2986         (WTR::EventSendingController::mouseUp):
2987         (WTR::EventSendingController::mouseMoveTo):
2988         (WTR::EventSendingController::leapForward):
2989         (WTR::EventSendingController::scheduleAsynchronousClick):
2990         (WTR::EventSendingController::keyDown):
2991         (WTR::EventSendingController::scheduleAsynchronousKeyDown):
2992         (WTR::EventSendingController::mouseScrollBy):
2993         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
2994         (WTR::EventSendingController::continuousMouseScrollBy):
2995         (WTR::EventSendingController::addTouchPoint):
2996         (WTR::EventSendingController::updateTouchPoint):
2997         (WTR::EventSendingController::setTouchModifier):
2998         (WTR::EventSendingController::setTouchPointRadius):
2999         (WTR::EventSendingController::touchStart):
3000         (WTR::EventSendingController::touchMove):
3001         (WTR::EventSendingController::touchEnd):
3002         (WTR::EventSendingController::touchCancel):
3003         (WTR::EventSendingController::clearTouchPoints):
3004         (WTR::EventSendingController::releaseTouchPoint):
3005         (WTR::EventSendingController::cancelTouchPoint):
3006         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3007         (WTR::InjectedBundle::didReceiveMessage):
3008         (WTR::InjectedBundle::didReceiveMessageToPage):
3009         (WTR::InjectedBundle::done):
3010         (WTR::InjectedBundle::outputText):
3011         (WTR::InjectedBundle::postNewBeforeUnloadReturnValue):
3012         (WTR::InjectedBundle::postAddChromeInputField):
3013         (WTR::InjectedBundle::postRemoveChromeInputField):
3014         (WTR::InjectedBundle::postFocusWebView):
3015         (WTR::InjectedBundle::postSetBackingScaleFactor):
3016         (WTR::InjectedBundle::postSetWindowIsKey):
3017         (WTR::InjectedBundle::postSimulateWebNotificationClick):
3018         (WTR::InjectedBundle::postSetAddsVisitedLinks):
3019         (WTR::InjectedBundle::setGeolocationPermission):
3020         (WTR::InjectedBundle::setMockGeolocationPosition):
3021         (WTR::InjectedBundle::setMockGeolocationPositionUnavailableError):
3022         (WTR::InjectedBundle::setUserMediaPermission):
3023         (WTR::InjectedBundle::setCustomPolicyDelegate):
3024         (WTR::InjectedBundle::setHidden):
3025         (WTR::InjectedBundle::setCacheModel):
3026         (WTR::InjectedBundle::shouldProcessWorkQueue):
3027         (WTR::InjectedBundle::processWorkQueue):
3028         (WTR::InjectedBundle::queueBackNavigation):
3029         (WTR::InjectedBundle::queueForwardNavigation):
3030         (WTR::InjectedBundle::queueLoad):
3031         (WTR::InjectedBundle::queueLoadHTMLString):
3032         (WTR::InjectedBundle::queueReload):
3033         (WTR::InjectedBundle::queueLoadingScript):
3034         (WTR::InjectedBundle::queueNonLoadingScript):
3035         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3036         (WTR::TestRunner::setHandlesAuthenticationChallenges):
3037         (WTR::TestRunner::setAuthenticationUsername):
3038         (WTR::TestRunner::setAuthenticationPassword):
3039         (WTR::TestRunner::secureEventInputIsEnabled):
3040         (WTR::TestRunner::setBlockAllPlugins):
3041         * WebKitTestRunner/TestController.cpp:
3042         (WTR::TestController::createWebViewWithOptions):
3043         (WTR::TestController::resetStateToConsistentValues):
3044         (WTR::TestController::didReceivePageMessageFromInjectedBundle):
3045         (WTR::TestController::didReceiveSynchronousPageMessageFromInjectedBundle):
3046         * WebKitTestRunner/TestController.h:
3047         * WebKitTestRunner/TestInvocation.cpp:
3048         (WTR::TestInvocation::invoke):
3049         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3050
3051 2015-04-01  Commit Queue  <commit-queue@webkit.org>
3052
3053         Unreviewed, rolling out r182174 and r182177.
3054         https://bugs.webkit.org/show_bug.cgi?id=143314
3055
3056         Try to correct EWS failures (Requested by bfulgham on
3057         #webkit).
3058
3059         Reverted changesets:
3060
3061         "Python SCM should be able to retrieve untracked files"
3062         https://bugs.webkit.org/show_bug.cgi?id=143135
3063         http://trac.webkit.org/changeset/182174
3064
3065         "[buildbot] clean-build script should remove untracked files
3066         and revert local changes too"
3067         https://bugs.webkit.org/show_bug.cgi?id=142400
3068         http://trac.webkit.org/changeset/182177
3069
3070 2015-04-01  Alex Christensen  <achristensen@webkit.org>
3071
3072         [Content Extensions] Properly handle regexes that match everything.
3073         https://bugs.webkit.org/show_bug.cgi?id=143281
3074
3075         Reviewed by Benjamin Poulain.
3076
3077         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3078         (TestWebKitAPI::testRequest):
3079         (TestWebKitAPI::makeBackend):
3080         (TestWebKitAPI::TEST_F):
3081         Removed duplicate code and added test.
3082
3083 2015-03-31  Benjamin Poulain  <bpoulain@apple.com>
3084
3085         Content Extensions: split the state machines to minimize prefix states
3086         https://bugs.webkit.org/show_bug.cgi?id=143253
3087
3088         Reviewed by Alex Christensen.
3089
3090         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3091         (TestWebKitAPI::TEST_F):
3092         (TestWebKitAPI::testPatternStatus):
3093
3094 2015-03-31  Yusuke Suzuki  <utatane.tea@gmail.com>
3095
3096         Clean up Identifier factories to clarify the meaning of StringImpl*
3097         https://bugs.webkit.org/show_bug.cgi?id=143146
3098
3099         Reviewed by Filip Pizlo.
3100
3101         Simple API tests for StringImpl are added.
3102
3103         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3104         (TestWebKitAPI::TEST):
3105
3106 2015-03-31  Csaba Osztrogonác  <ossy@webkit.org>
3107
3108         [EFL] Add AArch64 builder and tester bot to build.webkit.org
3109         https://bugs.webkit.org/show_bug.cgi?id=143092
3110
3111         Reviewed by Gyuyoung Kim.
3112
3113         * BuildSlaveSupport/build.webkit.org-config/config.json:
3114         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3115         (Factory.__init__):
3116         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3117
3118 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3119
3120         [buildbot] clean-build script should remove untracked files and revert local changes too
3121         https://bugs.webkit.org/show_bug.cgi?id=142400
3122
3123         Reviewed by Ryosuke Niwa.
3124
3125         This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
3126         A helper routine SCM.discard_untracked_files is added for that purpose.
3127
3128         * BuildSlaveSupport/clean-build:
3129         (main): Making call to Scripts/clean-webkit
3130         * Scripts/clean-webkit: Added.
3131         (main): Revert changes and delete untracked files.
3132         * Scripts/webkitpy/common/checkout/scm/scm.py:
3133         (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
3134         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
3135         (SCMTest._shared_test_discard_untracked_files):
3136         (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
3137
3138 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3139
3140         Python SCM should be able to retrieve untracked files
3141         https://bugs.webkit.org/show_bug.cgi?id=143135
3142
3143         Reviewed by Ryosuke Niwa.
3144
3145         This patch introduces SCM.untracked_files to retrieve a list of untracked files.
3146         Ignored files may be included or not in this list according boolean passed to the function.
3147
3148         * Scripts/webkitpy/common/checkout/scm/git.py:
3149         (Git.untracked_files):
3150         * Scripts/webkitpy/common/checkout/scm/scm.py:
3151         (SCM.untracked_files):
3152         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
3153         (SCMTest._shared_test_untracked_files):
3154         (test_untracked_files):
3155         (GitSVNTest.test_untracked_files):
3156         * Scripts/webkitpy/common/checkout/scm/svn.py:
3157         (SVN.untracked_files):
3158
3159 2015-03-30  Alex Christensen  <achristensen@webkit.org>
3160
3161         [Content Extensions] Correctly handle regular expressions matching everything
3162         https://bugs.webkit.org/show_bug.cgi?id=143235
3163
3164         Reviewed by Benjamin Poulain.
3165
3166         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3167         (TestWebKitAPI::checkCompilerError):
3168         (TestWebKitAPI::TEST_F):
3169         Test ContentExtensionErrors.
3170
3171 2015-03-30  Alexey Proskuryakov  <ap@apple.com>
3172
3173         DumpRenderTree should set NSWindowDisplayWithRunLoopObserver
3174         https://bugs.webkit.org/show_bug.cgi?id=143241
3175         rdar://problem/20351297
3176
3177         Reviewed by Mark Lam.
3178
3179         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
3180
3181 2015-03-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3182
3183         [CMake][EFL] Remove redundant library link and include path
3184         https://bugs.webkit.org/show_bug.cgi?id=143221
3185
3186         Reviewed by Csaba Osztrogonác.
3187
3188         * ImageDiff/PlatformEfl.cmake: Remove unnecessary library link and include path.
3189
3190 2015-03-30  Sam Weinig  <sam@webkit.org>
3191
3192         [Content Extensions] Flesh out the UserContentExtensionStore
3193         https://bugs.webkit.org/show_bug.cgi?id=143123
3194
3195         Reviewed by Benjamin Poulain.
3196
3197         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3198         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Added.
3199         Add tests for _WKUserContentExtensionStore.
3200
3201 2015-03-30  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
3202
3203         Update install-dependencies Fedora packages after r181624
3204         https://bugs.webkit.org/show_bug.cgi?id=143215
3205
3206         Add json-glib, libv4l, openssl and pulseaudio development packages to
3207         the Fedora list providing we need them to build WebKit dependencies
3208         for this distribution.
3209
3210         Reviewed by Philippe Normand.
3211
3212         * gtk/install-dependencies:
3213
3214 2015-03-30  Commit Queue  <commit-queue@webkit.org>
3215
3216         Unreviewed, rolling out r182119.
3217         https://bugs.webkit.org/show_bug.cgi?id=143196
3218
3219         problem with syntax (Requested by youenn on #webkit).
3220
3221         Reverted changeset:
3222
3223         "[buildbot] clean-build script should remove untracked files
3224         and revert local changes too"
3225         https://bugs.webkit.org/show_bug.cgi?id=142400
3226         http://trac.webkit.org/changeset/182119
3227
3228 2015-03-30  Benjamin Poulain  <benjamin@webkit.org>
3229
3230         Start the features.json files
3231         https://bugs.webkit.org/show_bug.cgi?id=143207
3232
3233         Reviewed by Darin Adler.
3234
3235         I kept the style checking light. We'll have to figure
3236         what is the best format for each field.
3237
3238         * Scripts/webkitpy/style/checker.py:
3239         (CheckerDispatcher._create_checker):
3240         * Scripts/webkitpy/style/checkers/jsonchecker.py:
3241         (JSONContributorsChecker.check):
3242         (JSONFeaturesChecker):
3243         (JSONFeaturesChecker.check):
3244
3245 2015-03-29  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3246
3247         [buildbot] clean-build script should remove untracked files and revert local changes too
3248         https://bugs.webkit.org/show_bug.cgi?id=142400
3249
3250         Reviewed by Ryosuke Niwa.
3251
3252         This patch cleans the WebKit folder by deleting SCM untracked files and reverting changes for tracked files.
3253
3254         * BuildSlaveSupport/clean-build:
3255         (main): Adding call to Tools/Scripts/clean-webkit.
3256         * Scripts/clean-webkit: Added.
3257         (main): Removes untracked and changed files.
3258         * Scripts/webkitpy/common/checkout/scm/git.py:
3259         (Git.untracked_files): Retrieves GIT untracked files.
3260         * Scripts/webkitpy/common/checkout/scm/scm.py:
3261         (SCM.untracked_files): Retrieves SVN untracked files.
3262         (SCM):
3263         (SCM.discard_untracked_files): Deletes untracked files/folders.
3264         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
3265         (SCMTest._shared_test_untracked_files): Unit testing for untracked files.
3266         (test_untracked_files):
3267         (GitSVNTest.test_untracked_files):
3268         * Scripts/webkitpy/common/checkout/scm/svn.py:
3269         (SVN.untracked_files):
3270
3271 2015-03-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3272
3273         [CMake] Remove unnecessary INCLUDE_IF_EXISTS macro 
3274         https://bugs.webkit.org/show_bug.cgi?id=143138
3275
3276         Reviewed by Csaba Osztrogonác.
3277
3278         INCLUDE_IF_EXISTS isn't used except for 2 places. However those uses can
3279         be replaced with WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS.
3280
3281         * ImageDiff/CMakeLists.txt:
3282         Use WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() instead of INCLUDE_IF_EXISTS.
3283         * WebKitTestRunner/CMakeLists.txt: ditto.
3284
3285 2015-03-27  Myles C. Maxfield  <mmaxfield@apple.com>
3286
3287         Support building WTF on Windows without Cygwin
3288         https://bugs.webkit.org/show_bug.cgi?id=143084
3289
3290         Reviewed by Brent Fulgham.
3291
3292         Windows without Cygwin doesn't have curl, unzip, or grep. Luckily, Perl does all of these things.
3293         This patch also migrates to using File::Spec->catfile() for directory separators.
3294
3295         * Scripts/update-webkit-dependency:
3296         (wanted):
3297         * Scripts/update-webkit-support-libs:
3298         (wanted):
3299         (downloadExpectedVersionNumber):
3300         (zipFileVersion):
3301         (toUnixPath): Deleted.
3302         * Scripts/webkitdirs.pm:
3303         (determineSourceDir):
3304         (windowsSourceSourceDir):
3305         (windowsLibrariesDir):
3306         (windowsOutputDir):
3307         (checkInstalledTools):
3308         (buildVisualStudioProject):
3309
3310 2015-03-27  Alex Christensen  <achristensen@webkit.org>
3311
3312         Fix WinCairo bot.
3313         https://bugs.webkit.org/show_bug.cgi?id=143086
3314
3315         Reviewed by Brent Fulgham.
3316
3317         * Scripts/webkitdirs.pm:
3318         (buildVisualStudioProject):
3319         (runSvnUpdateAndResolveChangeLogs):
3320         Use ActivePerl-friendly perl.
3321
3322 2015-03-27  Csaba Osztrogonác  <ossy@webkit.org>
3323
3324         URTBF after r182059 to fix the EFL build.
3325
3326         * TestWebKitAPI/CMakeLists.txt:
3327
3328 2015-03-26  Alexey Proskuryakov  <ap@apple.com>
3329
3330         Layout test results URL loads in WK1 but not WK2 minibrowser
3331         https://bugs.webkit.org/show_bug.cgi?id=143117
3332
3333         Reviewed by Tim Horton.
3334
3335         * MiniBrowser/mac/WK2BrowserWindowController.m:
3336         (-[WK2BrowserWindowController fetch:]): Fix this, international domain names, and
3337         everything.
3338         (-[WK2BrowserWindowController updateTextFieldFromURL:]): Ditto.
3339
3340 2015-03-26  Jer Noble  <jer.noble@apple.com>
3341
3342         Add --allowed-host support to run-webkit-tests
3343         https://bugs.webkit.org/show_bug.cgi?id=142938
3344
3345         Reviewed by Brent Fulgham.
3346
3347         Accept --allowed-host arguments from run-webkit-tests and pass them through to
3348         DumpRenderTree and WebKitTestRunner.
3349
3350         Drive-by fix: Depending on the value of the --layout-test-dir parameter, layout test results
3351         are placed in the wrong location. The argument is compared with each tests's path, and if a
3352         relative path or a path with '..' was used, results are placed alongside the test. Take the
3353         absolute path of the --layout-test-dir argument, collapsing path components like '..'.
3354
3355         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3356         (parse_args):
3357         * Scripts/webkitpy/port/base.py:
3358         (Port.__init__):
3359         (Port.allowed_hosts):
3360         * Scripts/webkitpy/port/driver.py:
3361         (Driver.cmd_line):
3362
3363 2015-03-26  Jer Noble  <jer.noble@apple.com>
3364
3365         [Mac] Add an --allowed-host argument to DRT and WKTR to allow tests to connect to non-localhost servers
3366         https://bugs.webkit.org/show_bug.cgi?id=142931
3367
3368         Reviewed by Brent Fulgham.
3369
3370         Currently, both DRT and WKTR will refuse to allow network connections to non-localhost servers
3371         over HTTP/HTTPS. For certain testing scenarios, however, it would be useful if both DRT and
3372         WKTR could be allowed to make HTTP/HTTPS connections to certain, specific servers defined at
3373         runtime.
3374
3375         To allow this, add an optional argument to DRT and WKTR, --allowed-host, which will add the specified
3376         hostname to a whitelist; requests to these hosts will allowed to proceed normally.
3377
3378         Drive-by fix: in InjectedBundlePage::willSendRequestForFrame, we get the top loading frame from the
3379         injected bundle. But after the main resource load completes, the bundle nulls out it's pointer to the
3380         top loading frame, which causes a subsequent crash when further resources are requested. Instead, get
3381         the top loading frame from the page, as we do elsewhere in this class.
3382
3383         * DumpRenderTree/TestRunner.h:
3384         (TestRunner::allowedHosts):
3385         (TestRunner::setAllowedHosts):
3386         * DumpRenderTree/mac/DumpRenderTree.mm:
3387         (initializeGlobalsFromCommandLineOptions):
3388         (runTest):
3389         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3390         (isAllowedHost):
3391         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3392         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3393         (WTR::InjectedBundle::didReceiveMessage):
3394         (WTR::InjectedBundle::isAllowedHost):
3395         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3396         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3397         (WTR::isAllowedHost):
3398         (WTR::InjectedBundlePage::willSendRequestForFrame):
3399         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3400         * WebKitTestRunner/Options.cpp:
3401         (WTR::handleOptionAllowedHost):
3402         (WTR::OptionsHandler::OptionsHandler):
3403         * WebKitTestRunner/Options.h:
3404         * WebKitTestRunner/TestController.cpp:
3405         (WTR::TestController::initialize):
3406         (WTR::TestController::resetStateToConsistentValues):
3407         * WebKitTestRunner/TestController.h:
3408
3409 2015-03-26  Brady Eidson  <beidson@apple.com>
3410
3411         Apply ContentExtension actions after redirects.
3412         <rdar://problem/20062613> and https://bugs.webkit.org/show_bug.cgi?id=143055
3413
3414         Reviewed by Alex Christensen.
3415
3416         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3417         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): Dump the fact that the load error is kWKErrorCodeCannotShowURL
3418           which is specifically interesting to a new test.
3419
3420 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
3421
3422         [EFL] Disable building libseccomp on AArch64
3423         https://bugs.webkit.org/show_bug.cgi?id=143094
3424
3425         Reviewed by Gyuyoung Kim.
3426
3427         * efl/jhbuildrc:
3428
3429 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
3430
3431         [jhbuild] git should use only 1 thread for cloning jhbuild
3432         https://bugs.webkit.org/show_bug.cgi?id=143095
3433
3434         Reviewed by Gyuyoung Kim.
3435
3436         * jhbuild/jhbuild-wrapper:
3437         (clone_jhbuild):
3438
3439 2015-03-25  Joseph Pecoraro  <pecoraro@apple.com>
3440
3441         Update prepare-ChangeLog to work with ES6 Class syntax
3442         https://bugs.webkit.org/show_bug.cgi?id=143069
3443
3444         Reviewed by Timothy Hatcher.
3445
3446         * Scripts/prepare-ChangeLog:
3447         (get_function_line_ranges_for_javascript):
3448         Better handle ES6 Class syntax.
3449
3450         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
3451         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
3452         (BaseClass):
3453         (DerivedClass):
3454         (DerivedClass.staticMethod):
3455         (DerivedClass.prototype.method.nestedFunctionInsideMethod):
3456         (DerivedClass.prototype.method):
3457         (DerivedClass.prototype.get getter):
3458         (namespace.MyClass):
3459         (namespace.MyClass.staticMethod):
3460         (namespace.MyClass.prototype.method.nestedFunctionInsideMethod):
3461         (namespace.MyClass.prototype.method):
3462         (namespace.MyClass.prototype.get getter):
3463         Proof!
3464
3465 2015-03-25  Filip Pizlo  <fpizlo@apple.com>
3466
3467         Use JITCompilationCanFail in more places, and make the fail path of JITCompilationMustSucceed a crash instead of attempting GC
3468         https://bugs.webkit.org/show_bug.cgi?id=142993
3469
3470         Reviewed by Mark Lam.
3471         
3472         Bunch of support for testing executable allocation failure.
3473
3474         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz: Added.
3475         (fail):
3476         * Scripts/run-javascriptcore-tests:
3477         (runJSCStressTests):
3478         * Scripts/run-jsc-stress-tests:
3479
3480 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
3481
3482         Fix Windows build from r181977.
3483
3484         Unreviewed.
3485
3486         * Scripts/update-webkit-dependency:
3487
3488 2015-03-25  Sam Weinig  <sam@webkit.org>
3489
3490         Address additional review feedback from https://bugs.webkit.org/show_bug.cgi?id=143059.
3491
3492         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3493         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
3494
3495 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
3496
3497         Migrate update-webkit for Windows to not require Cygwin
3498         https://bugs.webkit.org/show_bug.cgi?id=143040
3499
3500         Reviewed by Brent Fulgham.
3501
3502         * Scripts/update-webkit-dependency:
3503         (wanted):
3504         (toUnixPath): Deleted.
3505         * Scripts/webkitdirs.pm:
3506         (fontExists):
3507         (checkInstalledTools):
3508         (setupAppleWinEnv):
3509
3510 2015-03-25  Sam Weinig  <sam@webkit.org>
3511
3512         [Content Extensions] Convert content extension compiling to return error codes and write its output using a client
3513         https://bugs.webkit.org/show_bug.cgi?id=143059
3514
3515         Reviewed by Alex Christensen.
3516
3517         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3518         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
3519         Update for new interface of compileRuleList().
3520
3521 2015-03-25  Alex Christensen  <achristensen@webkit.org>
3522
3523         [Content Extensions] Add multi-DFA compiling and interpreting.
3524         https://bugs.webkit.org/show_bug.cgi?id=143010
3525
3526         Reviewed by Benjamin Poulain.
3527
3528         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3529         (TestWebKitAPI::testRequest):
3530         (TestWebKitAPI::TEST_F):
3531         Add some tests for ignore-previous-rules and large rulesets.
3532
3533 2015-03-25  Alexey Proskuryakov  <ap@apple.com>
3534
3535         Mavericks WK1 still runs JSC tests
3536         https://bugs.webkit.org/show_bug.cgi?id=143035
3537
3538         Reviewed by Csaba Osztrogonác.
3539
3540         * BuildSlaveSupport/build.webkit.org-config/config.json: Bring Mavericks WK1 in line
3541         with other bots.
3542
3543         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated the tests
3544         accordingly.
3545
3546 2015-03-25  Commit Queue  <commit-queue@webkit.org>
3547
3548         Unreviewed, rolling out r181932.
3549         https://bugs.webkit.org/show_bug.cgi?id=143041
3550
3551         The test fails most of the time on bots (Requested by ap on
3552         #webkit).
3553
3554         Reverted changeset:
3555
3556         "[Content Extensions] Add multi-DFA compiling and
3557         interpreting."
3558         https://bugs.webkit.org/show_bug.cgi?id=143010
3559         http://trac.webkit.org/changeset/181932
3560
3561 2015-03-24  Alex Christensen  <achristensen@webkit.org>
3562
3563         [Content Extensions] Add multi-DFA compiling and interpreting.
3564         https://bugs.webkit.org/show_bug.cgi?id=143010
3565
3566         Reviewed by Benjamin Poulain.
3567
3568         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3569         (TestWebKitAPI::testRequest):
3570         (TestWebKitAPI::TEST_F):
3571         Add some tests for ignore-previous-rules and large rulesets.
3572
3573 2015-03-24  Benjamin Poulain  <bpoulain@apple.com>
3574
3575         Make URL filter patterns matching consistent and add a simple canonicalization step
3576         https://bugs.webkit.org/show_bug.cgi?id=142998
3577
3578         Reviewed by Alex Christensen.
3579
3580         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3581
3582 2015-03-24  Csaba Osztrogonác  <ossy@webkit.org>
3583
3584         [EFL] Add OpenWebRTC in jhbuild
3585         https://bugs.webkit.org/show_bug.cgi?id=142778
3586
3587         Reviewed by Gyuyoung Kim.
3588
3589         Original patch by Philippe Normand <pnormand@igalia.com>
3590
3591         * efl/install-dependencies: Dependencies for OpenWebRTC.
3592         * efl/jhbuild.modules: build OpenWebRTC, libusrsctp, libnice and
3593         the openwebrtc gst plugins.
3594
3595 2015-03-23  Brent Fulgham  <bfulgham@apple.com>
3596
3597         Regression(r181257): WTF_WorkQueue.Simple is flaky
3598         https://bugs.webkit.org/show_bug.cgi?id=142560
3599
3600         Remove the check that the refCount has returned to one after the
3601         individual tasks have completed. It's too nondeterministic when
3602         the reference count will be reduced.
3603
3604         Reviewed by Alexey Proskuryakov
3605
3606         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3607         (TestWebKitAPI::TEST): Remove test that refCount is back to 1.
3608
3609 2015-03-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3610
3611         [CMake][EFL] Put failure API test excutables into failure directory
3612         https://bugs.webkit.org/show_bug.cgi?id=142965
3613
3614         Reviewed by Csaba Osztrogonác.
3615
3616         Move failing WK2 API test executables to *bin/TestWebKitAPI/WebKit2/failure* directory.
3617
3618         * TestWebKitAPI/CMakeLists.txt: Fix a typo. Change *testBaseName* with *testName*.
3619         * TestWebKitAPI/PlatformEfl.cmake: Additionally remove unnecessary SHARED_CORE and comment for SeccompFilters test.
3620
3621 2015-03-22  Benjamin Poulain  <benjamin@webkit.org>
3622
3623         CSS Selectors: fix attribute case-insensitive matching of Contain and List
3624         https://bugs.webkit.org/show_bug.cgi?id=142932
3625
3626         Reviewed by Darin Adler.
3627
3628         Add tests for the new features and fix some existing tests using the 
3629         stringFromUTF8() utility recently added by Dhi.
3630
3631         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3632         (TestWebKitAPI::stringFromUTF8):
3633         * TestWebKitAPI/Tests/WTF/StringView.cpp:
3634
3635 2015-03-22  Michael Catanzaro  <mcatanzaro@igalia.com>
3636
3637         [GTK] install-dependencies should install orc
3638         https://bugs.webkit.org/show_bug.cgi?id=142955
3639
3640         Reviewed by Martin Robinson.
3641
3642         Install orc, needed by openwebrtc
3643
3644         * gtk/install-dependencies:
3645
3646 2015-03-22  Benjamin Poulain  <bpoulain@apple.com>
3647
3648         Detect when url filter pattern with groups match the empty string
3649         https://bugs.webkit.org/show_bug.cgi?id=142930
3650
3651         Reviewed by Sam Weinig.
3652
3653         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3654
3655 2015-03-22  Anders Carlsson  <andersca@apple.com>
3656
3657         _WKWebsiteDataStore should clear WebSQL databases
3658         https://bugs.webkit.org/show_bug.cgi?id=142947
3659
3660         Reviewed by Sam Weinig.
3661
3662         Add a variable that keeps track of the types of data we want to operate on, for easier debugging.
3663
3664         * MiniBrowser/mac/WK2BrowserWindowController.m:
3665         (-[WK2BrowserWindowController fetchWebsiteData:]):
3666         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
3667         (-[WK2BrowserWindowController clearWebsiteData:]):
3668
3669 2015-03-20  Mark Hahnenberg  <mhahnenb@gmail.com>
3670
3671         GCTimer should know keep track of nested GC phases
3672         https://bugs.webkit.org/show_bug.cgi?id=142675
3673
3674         Reviewed by Darin Adler.
3675
3676         Adds a tool to aid in parsing the GC phase timing output into a
3677         tree-like structure based on the parent-child relationships
3678         of nested GC phases.
3679
3680         * Scripts/parse-gc-phase-timings: Added.
3681