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