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