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