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