2c79c01ed65f502898d505264e7ca40110ca7bad
[WebKit-https.git] / Tools / ChangeLog
1 2014-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         Unreviewed. Fix /webkit2/WebKitWebExtension/isolated-world after r163797.
4
5         Use a global variable for the script result.
6
7         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
8         (scriptDialogCallback):
9         (testWebExtensionIsolatedWorld):
10
11 2014-02-10  Filip Pizlo  <fpizlo@apple.com>
12
13         Make it possible to run tests with --llvmSimpleOpt=false
14         https://bugs.webkit.org/show_bug.cgi?id=128571
15
16         Reviewed by Mark Lam.
17         
18         This also makes it so all run functions for the FTL are safe to call with FTL disabled,
19         because they do their own $enableFTL check.
20
21         * Scripts/run-jsc-stress-tests:
22
23 2014-02-10  Gavin Barraclough  <barraclough@apple.com>
24
25         Remove WKPageSetVisibilityState
26         https://bugs.webkit.org/show_bug.cgi?id=128551
27
28         Reviewed by Anders Carlsson.
29
30         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
31         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView):
32         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::runTest):
33             - visibilityState of offs-creen WKView is automatically prerender.
34         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
35         (WTR::InjectedBundle::setHidden):
36         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
37         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
38         (WTR::TestRunner::setPageVisibility):
39         (WTR::TestRunner::resetPageVisibility):
40         * WebKitTestRunner/TestController.cpp:
41         * WebKitTestRunner/TestController.h:
42         * WebKitTestRunner/TestInvocation.cpp:
43         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
44             - removed calls to WKPageSetVisibilityState.
45
46 2014-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
47
48         [GLIB] Add GUniqueOutPtr and use it instead of GOwnPtr
49         https://bugs.webkit.org/show_bug.cgi?id=127554
50
51         Reviewed by Gustavo Noronha Silva.
52
53         Use GUniqueOutPtr instead of GOwnPtr.
54
55         * DumpRenderTree/gtk/DumpRenderTree.cpp:
56         * DumpRenderTree/gtk/EventSender.cpp:
57         (createKeyPressEvent):
58         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp:
59         (TestWebKitAPI::returnOutChar):
60         (TestWebKitAPI::TEST):
61         * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp:
62         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
63         (testInspectorServerPageList):
64         (openRemoteDebuggingSession):
65         (sendIncompleteRequest):
66         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
67         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
68         (testWebExtensionWindowObjectCleared):
69         (testWebExtensionIsolatedWorld):
70         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
71         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
72         (testWebViewRunJavaScript):
73         (testWebViewSave):
74         (testWebViewPageVisibility):
75         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
76         (isStyleSheetInjectedForURLAtPath):
77         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
78         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
79         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
80         * TestWebKitAPI/Tests/gtk/InputMethodFilter.cpp:
81         (TestWebKitAPI::TestInputMethodFilter::sendKeyEventToFilter):
82         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
83         (TestWebKitAPI::doKeyStroke):
84         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
85         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
86         (WebKitTestBus::run):
87         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
88         (resourceGetDataCallback):
89         (WebViewTest::keyStroke):
90         (onSnapshotReady):
91         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
92         (WTR::EventSenderProxy::keyDown):
93
94 2014-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
95
96         [GTK] Add API to create a webview related to another one
97         https://bugs.webkit.org/show_bug.cgi?id=128498
98
99         Reviewed by Gustavo Noronha Silva.
100
101         * MiniBrowser/gtk/BrowserWindow.c:
102         (webViewCreate): Use webkit_web_view_new_with_related_view() when
103         creating a new web view for window.open().
104         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
105         (testMultiprocessWebViewCreateReadyClose): Add test case to check
106         that window.open() works when creating the new WebView related to
107         the existing one, and that no new web process is spawned when
108         using webkit_web_view_new_with_related_view().
109         (beforeAll):
110
111 2014-02-10  Eva Balazsfalvi  <balazsfalvi.eva@stud.u-szeged.hu>
112
113         If not running on Mac, build-webkit should not print Safari related output
114         https://bugs.webkit.org/show_bug.cgi?id=127169
115
116         Reviewed by Darin Adler.
117
118         * Scripts/build-webkit:
119         (writeCongrats):
120         * Scripts/webkitdirs.pm:
121         (isAppleWebKit):
122         (isAppleMacWebKit):
123         (isAppleWinWebKit):
124         (launcherName):
125
126 2014-02-10  Diego Pino Garcia  <dpino@igalia.com>
127
128         [GTK] Minibrowser: During text search, make navigation through list of matched words circular
129         https://bugs.webkit.org/show_bug.cgi?id=128463
130
131         Reviewed by Carlos Garcia Campos.
132
133         Initialize search options to WEBKIT_FIND_OPTIONS_WRAP_AROUND to make navigation
134         circular.
135
136         * MiniBrowser/gtk/BrowserSearchBar.c:
137         (doSearch):
138
139 2014-02-10  Tamas Gergely  <tgergely.u-szeged@partner.samsung.com>
140
141         Code cleanup: Remove BUILDING_ON / TARGETING definitions.
142         https://bugs.webkit.org/show_bug.cgi?id=128242
143
144         Reviewed by Brent Fulgham.
145
146         The BUILDING_ON_* and TARGETING_* macros have not been used for a while.
147         According to the FIXME: they are removed.
148
149         * DumpRenderTree/config.h:
150
151 2014-02-10  Zan Dobersek  <zdobersek@igalia.com>
152
153         Fix a few mistakes that landed with r163749.
154
155         Rubber-stamped by Carlos Garcia Campos.
156
157         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
158         (WTR::EventSenderProxy::addTouchPoint): Avoid using the GUniquePtr<GdkEvent> after it's been moved
159         into the event vector since moving it invalidates the variable.
160
161 2014-02-09  Carlos Garnacho  <carlosg@gnome.org>
162
163         [GTK] Fix modifiers on EventSenderProxy::keyDown
164         https://bugs.webkit.org/show_bug.cgi?id=128496
165
166         Reviewed by Carlos Garcia Campos.
167
168         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
169         (WTR::EventSenderProxy::keyDown): do not attempt to doubly transform modifiers
170         into GTK+ ones.
171
172 2014-02-09  Carlos Garnacho  <carlosg@gnome.org>
173
174         [GTK] Enable touch features
175         https://bugs.webkit.org/show_bug.cgi?id=98931
176
177         Reviewed by Carlos Garcia Campos.
178
179         * WebKitTestRunner/EventSenderProxy.h:
180         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
181         (WTR::updateEventCoordinates):
182         (WTR::EventSenderProxy::createTouchEvent):
183         (WTR::EventSenderProxy::addTouchPoint):
184         (WTR::EventSenderProxy::updateTouchPoint):
185         (WTR::EventSenderProxy::sendUpdatedTouchEvents):
186         (WTR::EventSenderProxy::setTouchPointRadius):
187         (WTR::EventSenderProxy::setTouchModifier): Implement touch event proxying.
188
189 2014-02-08  Andreas Kling  <akling@apple.com>
190
191         Let Instruments time profiler run until tests finish.
192         <https://webkit.org/b/128488>
193
194         Pass "-T 0" to iprofiler to ensure that we get a time profile of the
195         entire performance test run instead of just the first 10 seconds.
196
197         Reviewed by Brady Eidson.
198
199         * Scripts/webkitpy/common/system/profiler.py:
200         (IProfiler.attach_to_pid):
201
202 2014-02-08  Rajaram Gaunker  <zimbabao@gmail.com>
203
204         [GTK] Add stdlib include file to fix ImageDiff build with libc++
205         https://bugs.webkit.org/show_bug.cgi?id=128454
206
207         Reviewed by Darin Adler.
208
209         * ImageDiff/gtk/ImageDiff.cpp:
210
211 2014-02-08  Diego Pino Garcia  <dpino@igalia.com>
212
213         [GTK] Minibrowser: Matched words of a searched text are not highlighted after reopening search bar
214         https://bugs.webkit.org/show_bug.cgi?id=128380
215
216         Reviewed by Carlos Garcia Campos.
217
218         When open the search bar, perform last search if there is any.
219
220         * MiniBrowser/gtk/BrowserSearchBar.c:
221         (browser_search_bar_open):
222
223 2014-02-08  Adrian Perez de Castro  <aperez@igalia.com>
224
225         [GTK] Make process model names properly meaningful
226         https://bugs.webkit.org/show_bug.cgi?id=128389
227
228         Reviewed by Carlos Garcia Campos.
229
230         The name WEBKIT_PROCESS_MODEL_ONE_SECONDARY_PROCESS_PER_WEB_VIEW
231         is misleading because there are situations in which web views may
232         share the same web process even when multi-process mode is enabled;
233         for example when opening a related view and both interact using JS.
234
235         * MiniBrowser/gtk/main.c:
236         (main):
237         Update usage of WebKitProcessModel enum values.
238         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
239         (beforeAll):
240         Ditto.
241
242 2014-02-08  Diego Pino Garcia  <dpino@igalia.com>
243
244         [GTK] build-webkit script always generate-gtk-doc even if '--disable-gtk-doc' param is passed
245         https://bugs.webkit.org/show_bug.cgi?id=128376
246
247         Reviewed by Carlos Garcia Campos.
248
249         * Scripts/webkitdirs.pm:
250         (buildAutotoolsProject):
251
252 2014-02-06  Filip Pizlo  <fpizlo@apple.com>
253
254         More FTL build scaffolding
255         https://bugs.webkit.org/show_bug.cgi?id=128330
256
257         Reviewed by Geoffrey Garen.
258
259         * Scripts/copy-webkitlibraries-to-product-directory:
260
261 2014-02-07  Tim Horton  <timothy_horton@apple.com>
262
263         Touch Minibrowser for a hopeful build fix.
264
265         * MiniBrowser/mac/WK2BrowserWindowController.m:
266
267 2014-02-07  Krzysztof Czech  <k.czech@samsung.com>
268
269         Build fix after r163632
270
271         Unreviewed EFL build fix
272
273         Added empty stub to WKTR to not break EFL build.
274
275         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
276         (WTR::AccessibilityUIElement::selectTextWithCriteria):
277
278 2014-02-07  Samuel White  <samuel_white@apple.com>
279
280         AX: Find and select text with respect to insertion point using accessibility API.
281         https://bugs.webkit.org/show_bug.cgi?id=128026
282
283         Reviewed by Chris Fleizach.
284
285         Added method to AccessibilityUIElement to enable testing of accessibility text selection.
286
287         * DumpRenderTree/AccessibilityUIElement.cpp:
288         (selectTextWithCriteriaCallback):
289         (AccessibilityUIElement::getJSClass):
290         * DumpRenderTree/AccessibilityUIElement.h:
291         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
292         (AccessibilityUIElement::selectTextWithCriteria):
293         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
294         (AccessibilityUIElement::selectTextWithCriteria):
295         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
296         (selectTextParameterizedAttributeForCriteria):
297         (AccessibilityUIElement::selectTextWithCriteria):
298         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
299         (AccessibilityUIElement::selectTextWithCriteria):
300         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
301         (WTR::AccessibilityUIElement::selectTextWithCriteria):
302         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
303         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
304         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
305         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
306         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
307         (WTR::AccessibilityUIElement::selectTextWithCriteria):
308         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
309         (WTR::selectTextParameterizedAttributeForCriteria):
310         (WTR::AccessibilityUIElement::selectTextWithCriteria):
311
312 2014-02-07  Manuel Rego Casasnovas  <rego@igalia.com>
313
314         [GTK] Disable gtk-doc in EWS
315         https://bugs.webkit.org/show_bug.cgi?id=128370
316
317         Reviewed by Carlos Garcia Campos.
318
319         Disable gtk-doc generation in EWS due to http://webkit.org/b/128369.
320
321         * Scripts/webkitpy/common/config/ports.py:
322         (GtkPort.build_webkit_command): Add --disable-gtk-doc arg.
323         (GtkWK2Port.build_webkit_command): Ditto.
324         * Scripts/webkitpy/common/config/ports_unittest.py:
325         (DeprecatedPortTest.test_gtk_port): Ditto.
326         (DeprecatedPortTest.test_gtk_wk2_port): Ditto.
327
328 2014-02-07  Jinwoo Song  <jinwoo7.song@samsung.com>
329
330         [EFL][WK2] WebView should be able to configure to set fixed layout
331         https://bugs.webkit.org/show_bug.cgi?id=128300
332
333         Reviewed by Gyuyoung Kim.
334
335         * MiniBrowser/efl/main.c:
336         (window_create):
337         (elm_main): Add command argument option to use fixed layout.
338
339 2014-02-06  Ryosuke Niwa  <rniwa@webkit.org>
340
341         Fix DoYouEvenBench after r163429.
342
343         * Scripts/webkitpy/performance_tests/perftest.py:
344
345 2014-02-06  Jozsef Berta  <jberta.u-szeged@partner.samsung.com>
346
347         Add support for multiple sources for AutoInstaller
348         https://bugs.webkit.org/show_bug.cgi?id=124848
349
350         Reviewed by Ryosuke Niwa.
351
352         The autoinstaller in the webkitpy currently fails if the download source of a package is unavailable.
353         This patch adds support for multiple sources to the script. The sources are provided in three environment variables.
354         If it exists, the script will look at a local cache. If not, it will try to download the package from the original url.
355         If it fails, it gets a mirror from the corresponding environment variable.(One for sourceforge.org and one for pypi.python.org)
356
357         * Scripts/webkitpy/common/system/autoinstall.py:
358         (AutoInstaller._copy_unpackaged_files_from_local_cache):  If the package is not packaged in its original form,
359         this method will copy it to the scratch directory. Otherwise it would be deleted from the cache, which we do not want.
360         (AutoInstaller._prepare_package): If the package is not zipped or tarred, and the file is in the cache, the
361         _copy_unpackaged_files_from_local_cache function is called.
362         (AutoInstaller._parse_colon_separated_mirrors_from_env): This will read the mirrors from the environment variables if possible,
363         and prepares them for further use.
364         (AutoInstaller):
365         (AutoInstaller._replace_domain_with_next_mirror): If the original download url fails, it is replaced by a mirror provided
366         in the environment variables. The function identifies the original source, and replaces it with a mirror. If it can't be done,
367         the return url will be None, indicating that no mirrors are provided, or none of them could be reached.
368         (AutoInstaller._download_to_stream): The timeout for one try is now limited to 30 seconds. Without this, the script waited for
369         roughly 4 minutes before retrying. After three failiures the script will try to switch to a mirror.
370         (AutoInstaller._check_package_in_local_autoinstall_cache): This method searches the cache for the currently downloaded module.
371         If it's found there, its path is returned.
372         (AutoInstaller._download):  Before downloading the module, it is looked up in the cache. If it's not found there,
373         the script will continue with the download, and cache the module.
374
375 2014-02-06  Benjamin Poulain  <benjamin@webkit.org>
376
377         Remove run-test-webkit-api
378         https://bugs.webkit.org/show_bug.cgi?id=118145
379
380         Reviewed by Csaba Osztrogonác.
381
382         Having two scripts doing the same thing is confusing. There are also cases failing
383         on run-test-webkit-api since it does not restart a new process for each test.
384
385         * Scripts/run-test-webkit-api: Removed.
386         * Scripts/webkitdirs.pm:
387
388 2014-02-06  Commit Queue  <commit-queue@webkit.org>
389
390         Unreviewed, rolling out r163530.
391         http://trac.webkit.org/changeset/163530
392         https://bugs.webkit.org/show_bug.cgi?id=128311
393
394         It broke run-gtk-tests (Requested by Ossy on #webkit).
395
396         * efl/common.py: Copied from Tools/gtk/jhbuildrc.
397         (script_path):
398         (top_level_path):
399         * efl/jhbuildrc:
400         * gtk/common.py:
401         (script_path):
402         (top_level_path):
403         * gtk/find-make-dist-errors:
404         (get_missing_headers):
405         * gtk/generate-gtkdoc:
406         (get_webkit2_options):
407         (get_webkit1_options.src_path):
408         (get_webkit1_options):
409         (get_webkitdom_options.src_path):
410         (get_webkitdom_options):
411         * gtk/generate-inspector-gresource-manifest.py:
412         * gtk/jhbuildrc:
413         * jhbuild/jhbuildrc_common.py: Removed.
414         * nix/common.py: Copied from Tools/nix/jhbuildrc.
415         (script_path):
416         (top_level_path):
417         * nix/jhbuildrc:
418
419 2014-02-06  Denis Nomiyama  <d.nomiyama@samsung.com>
420
421         Unreviewed. Add myself as a committer.
422
423         * Scripts/webkitpy/common/config/contributors.json:
424
425 2014-02-06  Peter Szanka  <h868064@stud.u-szeged.hu>
426
427         Extract common parts from jhbuildrc files.
428         https://bugs.webkit.org/show_bug.cgi?id=125986
429
430         Reviewed by Csaba Osztrogonác.
431
432         * efl/common.py: Removed.
433         * efl/jhbuildrc:
434         * gtk/common.py:
435         (binary_build_path):
436         * gtk/find-make-dist-errors:
437         (get_missing_headers):
438         * gtk/generate-gtkdoc:
439         (get_webkit2_options):
440         (get_webkit1_options.src_path):
441         (get_webkit1_options):
442         (get_webkitdom_options.src_path):
443         (get_webkitdom_options):
444         * gtk/generate-inspector-gresource-manifest.py:
445         * gtk/jhbuildrc:
446         * jhbuild/jhbuildrc_common.py: Added.
447         (script_path):
448         (top_level_path):
449         (init):
450         * nix/common.py: Removed.
451         * nix/jhbuildrc:
452
453 2014-02-06  Csaba Osztrogonác  <ossy@webkit.org>
454
455         Unreviewed fix after r163520, remove Andrei from committers list, because
456         he is reviewer now, and webkit-patch doesn't like duplicated entries.
457
458         * Scripts/webkitpy/common/config/contributors.json:
459
460 2014-02-06  Andrei Bucur  <abucur@adobe.com>
461
462         Adding myself as a reviewer.
463
464         Unreviewed.
465
466         * Scripts/webkitpy/common/config/contributors.json:
467
468 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
469
470         Remove the WTF_COMPILER_SUPPORTS_CXX_GENERALIZED_INITIALIZERS macro
471         https://bugs.webkit.org/show_bug.cgi?id=128267
472
473         Reviewed by Andreas Kling.
474
475         Remove the COMPILER_SUPPORTS(CXX_GENERALIZED_INITIALIZERS) as the underlying macro is also
476         being removed since the feature is supported by all the compilers the project approves.
477
478         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
479         (TestWebKitAPI::TEST):
480         * TestWebKitAPI/Tests/WTF/Vector.cpp:
481         (TestWebKitAPI::TEST):
482
483 2014-02-05  Jinwoo Song  <jinwoo7.song@samsung.com>
484
485         [EFL][WK2] Remove legacy behavior mode in MiniBrowser
486         https://bugs.webkit.org/show_bug.cgi?id=128298
487
488         Reviewed by Gyuyoung Kim.
489
490         MiniBrowser is crashing when the legacy mode is set in creating webview.
491         As EFL application cannot use this API for creating webview after r146265,
492         it would be better to remove this invalid option.
493
494         * MiniBrowser/efl/main.c:
495         (window_create): Do not create webview with WKViewCreate API.
496         (elm_main): Remove 'legacy' option.
497
498 2014-02-05  Andreas Kling  <akling@apple.com>
499
500         Remove ENABLE(DIRECTORY_UPLOAD).
501         <https://webkit.org/b/128275>
502
503         Rubber-stamped by Ryosuke Niwa.
504
505         * Scripts/webkitperl/FeatureList.pm:
506
507 2014-02-05  Filip Pizlo  <fpizlo@apple.com>
508
509         Rename useExperimentalFTL to useFTLJIT.
510
511         Rubber stamped by Mark Hahnenberg.
512
513         * Scripts/run-jsc-stress-tests:
514
515 2014-02-05  Filip Pizlo  <fpizlo@apple.com>
516
517         JSC on Mac should pull LLVM from prefix=/usr/local/LLVMForJavaScriptCore and not /usr/local
518         https://bugs.webkit.org/show_bug.cgi?id=128269
519
520         Reviewed by Mark Hahnenberg.
521
522         * Scripts/copy-webkitlibraries-to-product-directory:
523
524 2014-02-05  Manuel Rego Casasnovas  <rego@igalia.com>
525
526         Create CSS Grid Layout watchlist
527         https://bugs.webkit.org/show_bug.cgi?id=128241
528
529         Reviewed by Andreas Kling.
530
531         Add Sergio Villar, Javier Fernandez and myself to it.
532
533         Add Javier Fernandez as contributor.
534
535         * Scripts/webkitpy/common/config/contributors.json:
536         * Scripts/webkitpy/common/config/watchlist:
537
538 2014-02-05  Alexey Proskuryakov  <ap@apple.com>
539
540         Copying failing test paths from build.webkit.org/dashboard popovers also copies non-selectable links
541         https://bugs.webkit.org/show_bug.cgi?id=128236
542
543         Reviewed by Timothy Hatcher.
544
545         Work around bug 80159 - copying should always respect user-select:none, but it doesn't yet.
546
547         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
548         When copying, temporarily make non-selectable parts invisible, and put text of
549         the selection onto pasteboard. Since we immediately make everything visible again,
550         there is even no blinking.
551
552 2014-02-05  Nick Diego Yamane  <nick.yamane@openbossa.org>
553
554         Unreviewed. Add myself to contributors.json
555
556         * Scripts/webkitpy/common/config/contributors.json:
557
558 2014-02-05  Sergio Correia  <sergio.correia@openbossa.org>
559
560         Unreviewed. Add myself to contributor and watch lists
561
562         * Scripts/webkitpy/common/config/contributors.json:
563         * Scripts/webkitpy/common/config/watchlist:
564
565 2014-02-05  Alberto Garcia  <berto@igalia.com>
566
567         Unreviewed. Add myself to some watchlists.
568
569         * Scripts/webkitpy/common/config/watchlist:
570
571 2014-02-05  Gabor Rapcsanyi  <rgabor@webkit.org>
572
573         Fix WaitForSVNServer build step after r163372.
574
575         Rubber-stamped by Csaba Osztrogonác.
576
577         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
578         (WaitForSVNServer.evaluateCommand): add missing return SUCCESS
579
580 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
581
582         Remove ENABLE(SVG) guards
583         https://bugs.webkit.org/show_bug.cgi?id=127991
584
585         Reviewed by Sam Weinig.
586
587         * Scripts/webkitperl/FeatureList.pm:
588         * TestWebKitAPI/GNUmakefile.am:
589
590 2014-02-04  Andreas Kling  <akling@apple.com>
591
592         Remove <iframe seamless> support.
593         <https://webkit.org/b/128213>
594
595         Rubber-stamped by Antti Koivisto.
596
597         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
598         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
599         * DumpRenderTree/gtk/DumpRenderTree.cpp:
600         (resetDefaultsToConsistentValues):
601         * DumpRenderTree/mac/DumpRenderTree.mm:
602         (resetWebPreferencesToConsistentValues):
603         * DumpRenderTree/win/DumpRenderTree.cpp:
604         (resetDefaultsToConsistentValues):
605         * Scripts/webkitperl/FeatureList.pm:
606         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
607         (WTR::InjectedBundle::beginTesting):
608
609 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
610
611         Fix build when the script is called from Xcode.
612
613         * Scripts/copy-webkitlibraries-to-product-directory:
614
615 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
616
617         DFG PutByVal on typed arrays should detect OutOfBounds sooner
618         https://bugs.webkit.org/show_bug.cgi?id=128162
619
620         Reviewed by Mark Hahnenberg.
621         
622         Add a defautNoEagerRun, which is intended to be used for convergence tests.
623
624         * Scripts/run-jsc-stress-tests:
625
626 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
627
628         export-llvm-build should work with git checkouts
629         https://bugs.webkit.org/show_bug.cgi?id=128217
630
631         Reviewed by Mark Hahnenberg.
632         
633         If svn export fails, just do ditto.
634
635         * Scripts/export-llvm-build:
636
637 2014-02-04  Carlos Garnacho  <carlosg@gnome.org>
638
639         [Automake] Add missing $(feature_defines) when generating InjectedBundle bindings
640         https://bugs.webkit.org/show_bug.cgi?id=128170
641
642         Reviewed by Carlos Garcia Campos.
643
644         * WebKitTestRunner/GNUmakefile.am: Add missing $(feature_defines) when
645         generating the InjectedBundle bindings. So the various ENABLE_* defines
646         are available there.
647
648 2014-02-04  Carlos Garnacho  <carlosg@gnome.org>
649
650         [GTK] Ensure generated events have given modifiers GDK understands
651         https://bugs.webkit.org/show_bug.cgi?id=128171
652
653         Reviewed by Carlos Garcia Campos.
654
655         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
656         (WTR::webkitModifiersToGDKModifiers): Move around
657         (WTR::EventSenderProxy::createMouseButtonEvent):
658         (WTR::EventSenderProxy::keyDown): Use webkitModifiersToGDKModifiers to
659         translate WKEventModifiers.
660
661 2014-02-04  Gabor Rapcsanyi  <rgabor@webkit.org>
662
663         Fine tuning the ARM EFL bots
664         https://bugs.webkit.org/show_bug.cgi?id=128168
665
666         Reviewed by Csaba Osztrogonác.
667
668         * BuildSlaveSupport/build.webkit.org-config/config.json: Add custom SVN mirror.
669         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
670         (WaitForSVNServer): Make it not to halt before the first repository checkout.
671         (WaitForSVNServer.evaluateCommand):
672         (Factory.__init__): Disable kill-old-processes step on EFL ARM bots, because these
673         bots run on the same machine and they kill the processes of each other.
674
675 2014-02-03  Ryosuke Niwa  <rniwa@webkit.org>
676
677         kill-old-processes doesn't kill plugin processes
678         https://bugs.webkit.org/show_bug.cgi?id=128138
679
680         Reviewed by Andreas Kling.
681
682         Add plugin process names to the list of processes to kill.
683
684         * BuildSlaveSupport/kill-old-processes:
685         (main):
686
687 2014-02-03  Dean Jackson  <dino@apple.com>
688
689         Feature flag for shape-inside
690         https://bugs.webkit.org/show_bug.cgi?id=128001
691
692         Reviewed by Simon Fraser.
693
694         Add CSS_SHAPE_INSIDE flag, and -css-shape-inside build
695         flag.
696
697         * Scripts/webkitperl/FeatureList.pm:
698
699 2014-02-03  Zoltan Horvath  <zoltan@webkit.org>
700
701         Unreviewed. Reorder my e-mail addresses in contributors.json,
702         so bugzilla will auto complete my actual bugzilla username.
703
704         * Scripts/webkitpy/common/config/contributors.json:
705
706 2014-02-03  Daniel Bates  <dabates@apple.com>
707
708         WebKit Bot Watcher's Dashboard: Defer subsequent resource loads from access-restricted build bot when
709         iteration fails to load with HTTP 401 status code
710         https://bugs.webkit.org/show_bug.cgi?id=128077
711
712         Reviewed by Alexey Proskuryakov.
713
714         Similar to the fix for <https://bugs.webkit.org/show_bug.cgi?id=127849>, we should only prompt for
715         the HTTP credentials of a build bot so long as an earlier authentication request wasn't cancelled
716         (i.e. failed with an HTTP 401 Unauthorized status code). Currently an authentication dialog will be
717         presented for an iteration each time the update queue timer fires until a person successfully
718         authenticates. Instead we should update the authentication status of the build bot on receiving an
719         HTTP 401 response code such that we defer subsequent requests to load any resource from the access-
720         restricted build bot when the queue update timer fires.
721
722         A person must explicitly click the "unauthorized" status line shown for the queue associated with the
723         iteration in the dashboard and authenticate successfully for the iteration to be loaded once an
724         authentication request for an iteration is cancelled.
725
726         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
727         (BuildbotIteration.prototype.update): Early return if the associated Buildbot was given invalid credentials.
728         Also notify the associated Buildbot and update the queue view when a load failed with an HTTP 401 status code.
729         (BuildbotIteration.prototype.loadLayoutTestResults): Ditto.
730         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
731         (BuildbotQueueView): Modified to call BuildbotQueueView.prototype._unauthorizedAccess instead of
732         QueueView.prototype._updateSoon when event BuildbotQueue.Event.UnauthorizedAccess is received.
733         (BuildbotQueueView.prototype._unauthorizedAccess): Added.
734
735 2014-02-03  Daniel Bates  <dabates@apple.com>
736
737         WebKit Bot Watcher's Dashboard: Teach JSON.load() to interpret third argument as either an
738         option dictionary or a failure callback
739         https://bugs.webkit.org/show_bug.cgi?id=128080
740
741         Reviewed by Alexey Proskuryakov.
742
743         Currently JSON.load() takes a failure callback function as its third argument and
744         an option dictionary as its fourth argument. So, a caller that wants to ignore errors
745         and pass an option dictionary must pass null or a reference to an empty function for
746         the value of third argument. Instead, we should make the third argument polymorphic for
747         convenience. Then a caller can either pass a failure callback function or an option dictionary.
748
749         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
750
751 2014-02-03  Krzysztof Czech  <k.czech@samsung.com>
752
753         [ATK] Expose aria-controls through ATK_RELATION_CONTROLLER_FOR
754         https://bugs.webkit.org/show_bug.cgi?id=127908
755
756         Reviewed by Chris Fleizach.
757
758         Updated AccessibilityUIElement both in WKTR and DRT so that aria-controls support could be tested properly.
759         Added empty stubs to not break mac builds.
760
761         * DumpRenderTree/AccessibilityUIElement.cpp:
762         (ariaControlsElementAtIndexCallback):
763         (AccessibilityUIElement::getJSClass):
764         * DumpRenderTree/AccessibilityUIElement.h:
765         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
766         (accessibilityElementAtIndex):
767         (AccessibilityUIElement::disclosedRowAtIndex):
768         (AccessibilityUIElement::ariaOwnsElementAtIndex):
769         (AccessibilityUIElement::ariaFlowToElementAtIndex):
770         (AccessibilityUIElement::ariaControlsElementAtIndex):
771         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
772         (AccessibilityUIElement::ariaControlsElementAtIndex):
773         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
774         (AccessibilityUIElement::ariaControlsElementAtIndex):
775         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
776         (AccessibilityUIElement::ariaControlsElementAtIndex):
777         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
778         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
779         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
780         (WTR::accessibilityElementAtIndex):
781         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
782         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
783         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
784         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
785         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
786         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
787         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
788         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
789
790 2014-02-02  Daniel Bates  <dabates@apple.com>
791
792         WebKit Bot Watcher's Dashboard: Access restricted queue should only prompt for HTTP credentials once per page load
793         https://bugs.webkit.org/show_bug.cgi?id=127849
794
795         I inadvertently used the equality operator instead of the identity operator when comparing the
796         value of the error HTTP status code with the numeric literal 401.
797
798         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
799         (BuildbotQueue.prototype.update):
800
801 2014-02-02  Daniel Bates  <dabates@apple.com>
802
803         Attempt to fix production dashboard after <http://trac.webkit.org/changeset/163222>
804
805         Actually pass option dictionary to JSON.load(); JSON.load() takes four arguments with the
806         last-most argument being the option dictionary.
807
808         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
809         (BuildbotIteration.prototype.update):
810
811 2014-02-01  Filip Pizlo  <fpizlo@apple.com>
812
813         JSC profiler's stub info profiling support should work again
814         https://bugs.webkit.org/show_bug.cgi?id=128057
815
816         Reviewed by Mark Lam.
817
818         * Scripts/display-profiler-output: Just make sure that there's always a space between the origin stack dump and the top bytecode index.
819
820 2014-02-01  Filip Pizlo  <fpizlo@apple.com>
821
822         JSC profiler should show reasons for jettison
823         https://bugs.webkit.org/show_bug.cgi?id=128047
824
825         Reviewed by Geoffrey Garen.
826         
827         Gave the tool a "log" command, that tells you all of the interesting things
828         that happened to a piece of bytecode, from the standpoint of optimization.
829         It's a great summary view for seeing how our tier-up machinery works.
830         
831         This uses a lot of information that was already available, plus the newly
832         added jettisonReason field.
833
834         * Scripts/display-profiler-output:
835
836 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
837
838         Remove inline member functions of FrameSelection that access m_selection
839         https://bugs.webkit.org/show_bug.cgi?id=127986
840
841         Reviewed by Enrica Casucci.
842
843         * TestWebKitAPI/Configurations/Base.xcconfig:
844
845 2014-01-31  Anders Carlsson  <andersca@apple.com>
846
847         Another attempt at fixing the build.
848
849         * TestWebKitAPI/Configurations/Base.xcconfig:
850
851 2014-01-31  Oliver Hunt  <oliver@apple.com>
852
853         Rollout r163195 and related patches
854
855         * DumpRenderTree/CMakeLists.txt:
856         * WebKitTestRunner/CMakeLists.txt:
857         * WinCELauncher/CMakeLists.txt:
858
859 2014-01-31  Daniel Bates  <dabates@apple.com>
860
861         Attempt to fix Production Dashboard after <http://trac.webkit.org/changeset/163213>
862         (https://bugs.webkit.org/show_bug.cgi?id=127849)
863
864         Reviewed by David Farler.
865
866         Pass credentials when querying build bot iteration. 
867
868         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
869         (BuildbotIteration.prototype.update):
870         (BuildbotIteration.prototype.loadLayoutTestResults):
871
872 2014-01-31  Anders Carlsson  <andersca@apple.com>
873
874         Fix iOS build.
875
876         * TestWebKitAPI/Configurations/Base.xcconfig:
877
878 2014-01-31  Simon Fraser  <simon.fraser@apple.com>
879
880         WebKitTestRunner project doesn't show Mac as a valid destination architecture.
881         
882         Make sure that SUPPORTED_PLATFORMS is defined in Base.xcconfig.
883         
884         Also add BaseTarget.xcconfig to the project.
885
886         * WebKitTestRunner/Configurations/Base.xcconfig:
887         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
888
889 2014-01-31  Daniel Bates  <dabates@apple.com>
890
891         WebKit Bot Watcher's Dashboard: Access restricted queue should only prompt for HTTP credentials once per page load
892         https://bugs.webkit.org/show_bug.cgi?id=127849
893
894         Reviewed by Alexey Proskuryakov.
895
896         Currently whenever the dashboard updates the status of a queue whose Buildbot requires authentication
897         it will cause a browser to prompt for credentials once per update until valid credentials are provided.
898         Instead we should keep track of Buildbots that respond with an HTTP 401 Unauthorized status code to avoid
899         subsequently querying them and hence cause a browser to prompt for credentials. Together with an optional
900         hint provided when instantiating a Buildbot object as to whether it requires authentication, we can make
901         the dashboard prompt for HTTP credentials exactly once per page load for each queue whose associated
902         Buildbot requires authentication.
903
904         Queues whose Buildbot wasn't authenticated will show in the dashboard as "unauthorized". Clicking on
905         this status message will cause the browser to prompt for credentials.
906
907         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
908         (Buildbot): Initialize instance variable authenticationStatus to Buildbot.AuthenticationStatus.Unauthenticated.
909         (Buildbot.prototype.get needsAuthentication): Added.
910         (Buildbot.prototype.get authenticationStatus): Added.
911         (Buildbot.prototype.get isAuthenticated): Added.
912         (Buildbot.prototype.set isAuthenticated): Added.
913         (Buildbot.prototype.updateQueues): Added.
914         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
915         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus): Modified to call
916         BuildbotQueueView.prototype._appendUnauthorizedLineView() to update the view and show status of the queue as
917         "unauthorized" if the Buildbot associated with the queue is either unauthenticated or was given invalid credentials.
918         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
919         (BuildbotQueue.prototype.update): Return immediately if the associated Buildbot requires authentication.
920         Additionally, if the JSON load fails with an HTTP 401 Unauthorized access error (say, credentials were
921         invalidated) then update the authentication status of the Buildbot to avoid subsequently prompting a
922         person for credentials the next time the queue update timer fires.
923         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
924         (BuildbotQueueView): Register as a listener for event BuildbotQueue.Event.UnauthorizedAccess on each queue
925         so that the view can be updated to show status "unauthorized".
926         (BuildbotQueueView.prototype._appendUnauthorizedLineView): Added.
927         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
928         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
929         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/StatusLineView.js: Added new status, StatusLineView.Status.Unauthorized.
930         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
931         (.status-line.unauthorized .bubble): Added.
932         (.status-line.unauthorized .bubble.pictogram): Added.
933         (.status-line.unauthorized .message): Added.
934
935 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
936
937         Unreviewed, really make --copy-libraries a no-able option.
938         
939         * Scripts/build-jsc:
940
941 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
942
943         Unreviewed, really add the --copy-libraries option.
944
945         * Scripts/build-jsc:
946
947 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
948
949         Unreviewed, fix the script for older Rubies.
950
951         * Scripts/export-llvm-build:
952
953 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
954
955         Having a custom LLVM checkout should always override all other ways of getting LLVM
956         https://bugs.webkit.org/show_bug.cgi?id=128015
957
958         Reviewed by Oliver Hunt.
959
960         * Scripts/copy-webkitlibraries-to-product-directory:
961
962 2014-01-31  Daniel Bates  <dabates@apple.com>
963
964         WebKit Bot Watcher's Dashboard: Teach JSON.load() to take optional failure callback function
965         https://bugs.webkit.org/show_bug.cgi?id=127924
966
967         Reviewed by Alexey Proskuryakov.
968
969         Towards providing better error handling when a JSON load fails with a non-200 HTTP status
970         code, we should teach JSON.load() to take an optional failure callback function and invoke
971         it when either a load error or a JSON parsing error occurs.
972
973         As a side benefit of having a failure callback function a caller can separate the error handling
974         logic for a JSON load or parse error from the logic of handling a successful parsing of JSON content.
975
976         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
977         (BuildbotIteration.prototype.loadLayoutTestResults): Move JSON parser error logic into failure
978         callback function.
979         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
980         (JSON.load): Modified to take optional failure callback function called failureCallback.
981
982 2014-01-29  Oliver Hunt  <oliver@apple.com>
983
984         Make it possible to implement JS builtins in JS
985         https://bugs.webkit.org/show_bug.cgi?id=127887
986
987         Reviewed by Michael Saboff.
988
989         CMake updates
990
991         * DumpRenderTree/CMakeLists.txt:
992         * WebKitTestRunner/CMakeLists.txt:
993         * WinCELauncher/CMakeLists.txt:
994
995 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
996
997         Allow more flexibility for copy-webkitlibraries-to-product-directory
998         https://bugs.webkit.org/show_bug.cgi?id=128010
999
1000         Reviewed by Oliver Hunt.
1001         
1002         It's now the case that copy-webkitlibraries-to-product-directory does nothing by
1003         default, but you can tell it to either copy WebKitSystemInterface (--wksi) or LLVM
1004         (--llvm). You can also tell it where to get LLVM from.
1005
1006         * Scripts/build-jsc:
1007         * Scripts/build-webkit:
1008         * Scripts/copy-webkitlibraries-to-product-directory:
1009
1010 2014-01-31  David Farler  <dfarler@apple.com>
1011
1012         DumpRenderTree iOS fails to link: missing rowHeaders and columnHeaders in AccessibilityUIElement
1013         https://bugs.webkit.org/show_bug.cgi?id=128004
1014
1015         Reviewed by Chris Fleizach.
1016
1017         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1018         (AccessibilityUIElement::columnHeaders): Stub added.
1019         (AccessibilityUIElement::rowHeaders): Stub added.
1020
1021 2014-01-31  Zoltan Horvath  <zoltan@webkit.org>
1022
1023         Unreviewed. Update my contributors.json entry.
1024
1025         * Scripts/webkitpy/common/config/contributors.json:
1026
1027 2014-01-31  Anders Carlsson  <andersca@apple.com>
1028
1029         REGRESSION: WebKit2.PageLoadBasic API test is failing
1030         https://bugs.webkit.org/show_bug.cgi?id=127892
1031
1032         Reviewed by Dan Bernstein.
1033
1034         Re-enable test.
1035
1036         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1037
1038 2014-01-31  Csaba Osztrogonác  <ossy@webkit.org>
1039
1040         [jhbuild] Disable escape sequences in EWS output
1041         https://bugs.webkit.org/show_bug.cgi?id=127922
1042
1043         Reviewed by Alexey Proskuryakov.
1044
1045         * Scripts/webkitpy/common/system/environment.py:
1046         (Environment.disable_gcc_smartquotes):
1047         (Environment):
1048         (Environment.disable_jhbuild_VT100_output):
1049         * Scripts/webkitpy/tool/commands/download_unittest.py:
1050         * Scripts/webkitpy/tool/steps/build.py:
1051         (Build.build):
1052
1053 2014-01-30  Martin Robinson  <mrobinson@igalia.com>
1054
1055         [GTK] [CMake] Add support for building against GTK+ 2
1056         https://bugs.webkit.org/show_bug.cgi?id=127959
1057
1058         Reviewed by Anders Carlsson.
1059
1060         * DumpRenderTree/PlatformGTK.cmake: Use the new API version variable and don't use GTK3 directly.
1061         * GtkLauncher/CMakeLists.txt: Ditto.
1062         * ImageDiff/PlatformGTK.cmake: Ditto.
1063         * TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt: Ditto.
1064
1065 2014-01-30  Anders Carlsson  <andersca@apple.com>
1066
1067         Add webView:didFinishLoadingNavigation: delegate method
1068         https://bugs.webkit.org/show_bug.cgi?id=127976
1069
1070         Reviewed by Dan Bernstein.
1071
1072         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1073         (-[NavigationDelegate webView:didCommitNavigation:]):
1074         (-[NavigationDelegate webView:didFinishLoadingNavigation:]):
1075
1076 2014-01-30  Anders Carlsson  <andersca@apple.com>
1077
1078         Add a webView:didCommitNavigation: delegate method
1079         https://bugs.webkit.org/show_bug.cgi?id=127972
1080
1081         Reviewed by Dan Bernstein.
1082
1083         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1084         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
1085         (-[NavigationDelegate webView:didCommitNavigation:]):
1086
1087 2014-01-30  Anders Carlsson  <andersca@apple.com>
1088
1089         Add a webView:didFailProvisionalNavigation:withError: delegate method
1090         https://bugs.webkit.org/show_bug.cgi?id=127968
1091
1092         Reviewed by Dan Bernstein.
1093
1094         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1095         (-[DidFailProvisionalNavigationDelegate webView:didStartProvisionalNavigation:]):
1096         (-[DidFailProvisionalNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1097         (TEST):
1098
1099 2014-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1100
1101         The test server build fixes.
1102
1103         * TestResultServer/model/jsonresults.py:
1104         (JsonResults.merge):
1105         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1106
1107 2014-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1108
1109         NRWT shouldn't say "Finished writing JSON files" if it failed to to so
1110         https://bugs.webkit.org/show_bug.cgi?id=127966
1111
1112         Reviewed by Alexey Proskuryakov.
1113
1114         Don't say "Finished writing JSON files" if we had failed to generate the JSON file.
1115         Also explicitly say this is for test results server as we're generating two JSON files.
1116
1117         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1118         (Manager._upload_json_files):
1119         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1120         (JSONLayoutResultsGenerator.__init__): Don't generate JSON file implicitly inside the constructor.
1121         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1122         (JSONResultsGenerator.generate_json_output): Return a boolean indicating whether the generation
1123         had succeeded or not.
1124
1125 2014-01-30  Filip Pizlo  <fpizlo@apple.com>
1126
1127         copy-webkitlibraries-to-product-directory should accept command-line arguments for extra work required for optional features rather than relying on environment variables
1128         https://bugs.webkit.org/show_bug.cgi?id=120221
1129
1130         Reviewed by Mark Hahnenberg.
1131
1132         * Scripts/build-jsc:
1133         * Scripts/build-webkit:
1134         * Scripts/copy-webkitlibraries-to-product-directory:
1135
1136 2014-01-30  Anders Carlsson  <andersca@apple.com>
1137
1138         Add a webView:didStartProvisionalNavigation: delegate method
1139         https://bugs.webkit.org/show_bug.cgi?id=127965
1140
1141         Reviewed by Dan Bernstein.
1142
1143         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1144         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
1145         (TEST):
1146
1147 2014-01-30  Chris Fleizach  <cfleizach@apple.com>
1148
1149         WebKitTestRunner fails to link - missing rowHeaders and columnHeaders
1150         https://bugs.webkit.org/show_bug.cgi?id=127917
1151
1152         Reviewed by Andy Estes.
1153
1154         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1155         (WTR::AccessibilityUIElement::rowHeaders):
1156         (WTR::AccessibilityUIElement::columnHeaders):
1157
1158 2014-01-30  Martin Robinson  <mrobinson@igalia.com>
1159
1160         [GTK] [CMake] Add a "make dist" target
1161         https://bugs.webkit.org/show_bug.cgi?id=116378
1162
1163         Reviewed by Gustavo Noronha Silva.
1164
1165         Added a script that reads a manifest file an produces a tarball. Also add
1166         the manifest.
1167
1168         * gtk/make-dist.py: Added.
1169         * gtk/manifest.txt: Added.
1170
1171 2014-01-30  David Farler  <dfarler@apple.com>
1172
1173         Move OTHER_LDFLAGS erasure to DumpRenderTreeLibrary.xcconfig.
1174         https://bugs.webkit.org/show_bug.cgi?id=127935
1175
1176         Reviewed by Andy Estes.
1177
1178         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1179         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
1180         Move OTHER_LDFLAGS erasure to the static library's xcconfig.
1181
1182 2014-01-30  David Farler  <dfarler@apple.com>
1183
1184         DumpRenderTree fails to build with ASAN: -fsanitize=address passed to static DRT target
1185         https://bugs.webkit.org/show_bug.cgi?id=127935
1186
1187         Reviewed by Andy Estes.
1188
1189         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1190         Clear OTHER_LDFLAGS at the project level for the static library target.
1191         No other linker flags were inherited from DebugRelease.
1192
1193 2014-01-30  David Farler  <dfarler@apple.com>
1194
1195         package-root shouldn't prefix simulator roots with the SDK path
1196         http://bugs.webkit.org/show_bug.cgi?id=127923
1197
1198         Reviewed by Dan Bernstein.
1199
1200         * Scripts/package-root: Don't add an install path prefix.
1201
1202 2014-01-30  Gabor Rapcsanyi  <rgabor@webkit.org>
1203
1204         Add ARM EFL Linux builder bots to Apple buildmaster
1205         https://bugs.webkit.org/show_bug.cgi?id=127472
1206
1207         Reviewed by Csaba Osztrogonác.
1208
1209         There is no ARM buildslaves after removing the Qt builders.
1210
1211         * BuildSlaveSupport/build.webkit.org-config/config.json:
1212
1213 2014-01-30  Andy Estes  <aestes@apple.com>
1214
1215         REGRESSION (r163037): WebKit2.PageLoadBasic API test failing on Mountain Lion
1216         https://bugs.webkit.org/show_bug.cgi?id=127934
1217
1218         Disable the failing test on Mountain Lion.
1219
1220         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1221         (TestWebKitAPI::TEST):
1222
1223 2014-01-30  Anders Carlsson  <andersca@apple.com>
1224
1225         Add WKNavigationDelegate class
1226         https://bugs.webkit.org/show_bug.cgi?id=127927
1227
1228         Reviewed by Dan Bernstein.
1229
1230         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1231         (TEST):
1232
1233 2014-01-30  David Farler  <dfarler@apple.com>
1234
1235         Enable iOS Tools builds by default
1236         https://bugs.webkit.org/show_bug.cgi?id=127919
1237
1238         Reviewed by Andy Estes.
1239
1240         * Makefile:
1241         Build all the tools except MiniBrowser on iOS
1242         * Scripts/build-webkit:
1243         Ditto.
1244         Build WebKitTestRunnerApp target on iOS.
1245
1246 2014-01-30  David Farler  <dfarler@apple.com>
1247
1248         Make TestWebKitAPI build and run for iOS
1249         https://bugs.webkit.org/show_bug.cgi?id=127925
1250
1251         Reviewed by Andy Estes.
1252
1253         * TestWebKitAPI/Configurations/Base.xcconfig:
1254         - Don't warn on 64-32 bit conversion on x86_64 and arm64
1255         - Don't build mac/*
1256         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1257         - Link WebKit2 on all platforms
1258
1259 2014-01-30  David Farler  <dfarler@apple.com>
1260
1261         package-root should copy ./usr from the build products directory
1262         https://bugs.webkit.org/show_bug.cgi?id=127878
1263
1264         Reviewed by Daniel Bates.
1265
1266         * Scripts/package-root:
1267         Copy ./usr in addition to the frameworks.
1268
1269 2014-01-30  Andrei Bucur  <abucur@adobe.com>
1270
1271         Remove the ACCELERATED_COMPOSITING flag
1272         https://bugs.webkit.org/show_bug.cgi?id=127833
1273
1274         Reviewed by Antti Koivisto.
1275
1276         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
1277         mandatory.
1278
1279         * DumpRenderTree/efl/DumpRenderTree.cpp:
1280         (initEcoreEvas):
1281         * EWebLauncher/main.c:
1282         (windowCreate):
1283         * MiniBrowser/efl/main.c:
1284         (elm_main):
1285         * TestWebKitAPI/efl/PlatformWebView.cpp:
1286         (TestWebKitAPI::initEcoreEvas):
1287         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
1288         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1289         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1290         (WTR::initEcoreEvas):
1291
1292 2014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
1293
1294         Remove ENABLE(JAVASCRIPT_DEBUGGER) leftovers
1295         https://bugs.webkit.org/show_bug.cgi?id=127845
1296
1297         Reviewed by Joseph Pecoraro.
1298
1299         * Scripts/webkitperl/FeatureList.pm:
1300
1301 2014-01-29  Anders Carlsson  <andersca@apple.com>
1302
1303         -[WKWebView loadRequest:] should return a WKNavigation
1304         https://bugs.webkit.org/show_bug.cgi?id=127873
1305
1306         Reviewed by Dan Bernstein.
1307
1308         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1309         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm: Added.
1310         (TEST):
1311
1312 2014-01-29  Tim Horton  <timothy_horton@apple.com>
1313
1314         WebKit2 View Gestures (Swipe): Update rubberBandsAt{Left,Right} when WebKit swipe is enabled
1315         https://bugs.webkit.org/show_bug.cgi?id=127855
1316         <rdar://problem/15933878>
1317
1318         Reviewed by Anders Carlsson.
1319
1320         * MiniBrowser/mac/WK2BrowserWindowController.m:
1321         (-[WK2BrowserWindowController awakeFromNib]):
1322         Enable swipe in MiniBrowser for testing purposes.
1323
1324 2014-01-29  Daniel Bates  <dabates@apple.com>
1325
1326         Fix JSONP requests made by the WebKit Bot Watcher's Dashboard following <http://trac.webkit.org/changeset/163034>
1327         (https://bugs.webkit.org/show_bug.cgi?id=127784)
1328
1329         Use dot-notation instead of array index notation to access the dictionary value for key jsonpCallbackName
1330         in the specified options dictionary.
1331
1332         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
1333         (JSON.load):
1334
1335 2014-01-29  Daniel Bates  <dabates@apple.com>
1336
1337         WebKit Bot Watcher's Dashboard: Add support for using HTTP authentication with Buildbot
1338         https://bugs.webkit.org/show_bug.cgi?id=127784
1339
1340         Reviewed by Alexey Proskuryakov.
1341
1342         Implement support for querying a Buildbot that requires HTTP authentication to access it.
1343
1344         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
1345         (Buildbot): Add optional argument, options, to pass a dictionary of Buildbot options.
1346         For now, we only support a single option, needsAuthentication, to indicate whether the
1347         Buildbots requires HTTP authentication (defaults to false - HTTP authentication is
1348         not required).
1349         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1350         (BuildbotIteration.prototype.loadLayoutTestResults): Modified to pass JSONP callback name
1351         to JSON.load() using the option dictionary.
1352         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1353         (BuildbotQueue.prototype.update): Modified to pass withCredentials to JSON.load().
1354         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
1355         (JSON.load): Removed optional argument jsonpCallbackName and added optional argument options,
1356         which is a dictionary. The argument jsonpCallbackName is now specified as an entry in the
1357         options dictionary. Added boolean options withCredentials to toggle querying with HTTP
1358         authentication credentials.
1359
1360 2014-01-29  Alexey Proskuryakov  <ap@apple.com>
1361
1362         build.webkit.org/dashboard links to an old failing build rather than the most recent
1363         https://bugs.webkit.org/show_bug.cgi?id=127765
1364         <rdar://problem/15795228>
1365
1366         Reviewed by Timothy Hatcher.
1367
1368         This patch changes builder view to not show how many failures there were in a row,
1369         because it is not very relevant, and complicates the UI. Instead, we just show the
1370         latest failing build and the latest successful one.
1371
1372         The patch also removes commit history popovers from revisions that can not be correlated
1373         with any change. These popovers are only helpful in the first line, when there is
1374         another line for comparison below. In this case, it's useful to see what changed
1375         between the revisions, but even then, only if it was an actual failure, not a buildbot
1376         exception.
1377
1378         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
1379         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus):
1380         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1381         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1382         (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
1383         (BuildbotQueueView.prototype._revisionPopoverContentForIteration):
1384         (BuildbotQueueView.prototype.revisionContentForIteration):
1385         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1386         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1387
1388 2014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
1389
1390         Remove ENABLE(JAVASCRIPT_DEBUGGER) guards
1391         https://bugs.webkit.org/show_bug.cgi?id=127840
1392
1393         Reviewed by Mark Lam.
1394
1395         * Scripts/webkitperl/FeatureList.pm:
1396
1397 2014-01-29  Krzysztof Czech  <k.czech@samsung.com>
1398
1399         [ATK] Expose aria-describedby with ATK_RELATION_DESCRIBED_BY
1400         https://bugs.webkit.org/show_bug.cgi?id=121684
1401
1402         Reviewed by Mario Sanchez Prada.
1403
1404         Implementing helpText by using relation ATK_RELATION_DESCRIBED_BY.
1405
1406         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1407         (AccessibilityUIElement::helpText):
1408         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1409         (WTR::AccessibilityUIElement::helpText):
1410
1411 2014-01-27  Chris Fleizach  <cfleizach@apple.com>
1412
1413         AX: Support @scope in HTML tables
1414         https://bugs.webkit.org/show_bug.cgi?id=127688
1415
1416         Reviewed by Mario Sanchez Prada.
1417
1418         Add support for rowHeaders and columnHeaders.
1419
1420         * DumpRenderTree/AccessibilityUIElement.cpp:
1421         (convertElementsToObjectArray):
1422         (columnHeadersCallback):
1423         (rowHeadersCallback):
1424         (uiElementArrayAttributeValueCallback):
1425         (AccessibilityUIElement::columnHeaders):
1426         (AccessibilityUIElement::rowHeaders):
1427         (AccessibilityUIElement::getJSClass):
1428         * DumpRenderTree/AccessibilityUIElement.h:
1429         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1430         (AccessibilityUIElement::rowHeaders):
1431         (AccessibilityUIElement::columnHeaders):
1432         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1433         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1434         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1435         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
1436         (WTR::AccessibilityUIElement::rowHeaders):
1437         (WTR::AccessibilityUIElement::columnHeaders):
1438         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1439         (WTR::convertElementsToObjectArray):
1440         (WTR::AccessibilityUIElement::rowHeaders):
1441         (WTR::AccessibilityUIElement::columnHeaders):
1442         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
1443
1444 2014-01-28  Daniel Bates  <dabates@apple.com>
1445
1446         Teach Buildbot dashboard to parse alternative revision format
1447         https://bugs.webkit.org/show_bug.cgi?id=127561
1448
1449         Reviewed by Alexey Proskuryakov.
1450
1451         Add support for extracting the OpenSource and Internal revision numbers when Buildbot
1452         returns a dictionary for the value of property got_revision.
1453
1454         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1455         (isMultiCodebaseGotRevisionProperty): Added.
1456         (parseRevisionProperty): Added; parses Buildbot revision property, which can either be a
1457         string or a dictionary.
1458         (BuildbotIteration.prototype.update.): Modified to call parseRevisionProperty() to determine
1459         the OpenSource and Internal revision numbers.
1460
1461 2014-01-28  Adrian Perez de Castro  <aperez@igalia.com>
1462
1463         [GTK] Add API to allow setting the process model in WebKitWebContext
1464         https://bugs.webkit.org/show_bug.cgi?id=125463
1465
1466         Reviewed by Carlos Garcia Campos.
1467
1468         Implements accessors in WebKitWebContext for the process model.
1469         The default behavior is unchanged, and a single web process is
1470         used. Using WEBKIT_PROCESS_MODEL_ONE_SECONDARY_PROCESS_PER_WEB_VIEW
1471         as the process model will make use one web process for each
1472         WebKitWebView. This also enables the network process. Setting
1473         the process model must be done as early as possible, before the
1474         very first web process is spawned.
1475
1476         * MiniBrowser/gtk/main.c:
1477         (main):
1478         Enable multiple process mode if the MINIBROWSER_MULTIPROCESS
1479         environment variable is defined and not empty.
1480         * TestWebKitAPI/GNUmakefile.am:
1481         Add new TestMultiprocess test case.
1482         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1483         Add new TestMultiprocess test case.
1484         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp: Added.
1485         (loadChanged):
1486         (testMultipleSecondaryProcesses):
1487         (initializeWebExtensions):
1488         (beforeAll):
1489         (afterAll):
1490         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1491         (methodCallCallback):
1492         Implement the GetProcessIdentifier D-Bus method.
1493         (makeBusName):
1494         Choose a different bus name when the web extension is used
1495         from TestMultiprocess.
1496         (webkit_web_extension_initialize_with_user_data):
1497         Use makeBusName() to choose the bus name.
1498
1499 2014-01-28  Carlos Garcia Campos  <cgarcia@igalia.com>
1500
1501         [SOUP] Remove soupURIToKURL
1502         https://bugs.webkit.org/show_bug.cgi?id=127104
1503
1504         Reviewed by Martin Robinson.
1505
1506         * TestWebKitAPI/GNUmakefile.am: Add soup cppflags to WebCore unit
1507         tests, because URL.h now includes GUniquePtrSoup.h.
1508         * TestWebKitAPI/CMakeLists.txt: Ditto.
1509         * WebKitTestRunner/PlatformEfl.cmake: Add soup cppflags to WTR,
1510         because URL.h now includes GUniquePtrSoup.h.
1511
1512 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
1513
1514         [GTK] Make webkit_uri_scheme_request_get_web_view() work with CustomProtocols
1515         https://bugs.webkit.org/show_bug.cgi?id=127614
1516
1517         Reviewed by Gustavo Noronha Silva.
1518
1519         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp: Bring
1520         back the custom URI scheme WebView check.
1521
1522 2014-01-27  Tim Horton  <timothy_horton@apple.com>
1523
1524         Revert yet one more tiny part of r162629 that didn't get reverted in r162883
1525
1526         * WebKitTestRunner/TestController.cpp:
1527         (WTR::TestController::pluginLoadPolicy):
1528         * WebKitTestRunner/TestController.h:
1529
1530 2014-01-27  Tim Horton  <timothy_horton@apple.com>
1531
1532         Revert one more tiny part of r162629 that didn't get reverted in r162883.
1533
1534         ... which was also causing test failures!
1535
1536         * WebKitTestRunner/TestController.cpp:
1537         (WTR::TestController::createWebViewWithOptions):
1538
1539 2014-01-27  David Farler  <dfarler@apple.com>
1540
1541         iOS DumpRenderTree.app dies loading fonts
1542         https://bugs.webkit.org/show_bug.cgi?id=127730
1543
1544         Reviewed by Daniel Bates.
1545
1546         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
1547         - Add Ahem to the __DATA section
1548         * DumpRenderTree/mac/DumpRenderTree.mm:
1549         (activateFontsIOS):
1550         - Load "WeightWatcher100" instead.
1551
1552 2014-01-27  Alexey Proskuryakov  <ap@apple.com>
1553
1554         [Mac] Extra logging output from run-safari --no-saved-state
1555         https://bugs.webkit.org/show_bug.cgi?id=127732
1556
1557         Reviewed by Daniel Bates.
1558
1559         * Scripts/webkitdirs.pm: (argumentsForRunAndDebugMacWebKitApp): Use an option that
1560         disables saved state without logging.
1561
1562 2014-01-27  Tim Horton  <timothy_horton@apple.com>
1563
1564         Revert the parts of r162629 that add a new pluginLoadPolicy and the context menu item.
1565
1566         We're leaving the parts that make us use PDFPlugin instead of showing the blocked
1567         plugin indicator intact, though.
1568
1569         * WebKitTestRunner/TestController.cpp:
1570         (WTR::TestController::createWebViewWithOptions):
1571
1572 2014-01-27  Andy Estes  <aestes@apple.com>
1573
1574         Scrub WebKit API headers of WTF macros
1575         https://bugs.webkit.org/show_bug.cgi?id=127706
1576
1577         Reviewed by David Kilzer.
1578
1579         * Scripts/check-for-inappropriate-macros-in-external-headers: Modified
1580         the regex to require a '(' after the macro name in order to be
1581         considered a match. This prevents things like 'ENABLE_SOME_FEATURE'
1582         from being flagged as an ENABLE() macro.
1583
1584 2014-01-27  Commit Queue  <commit-queue@webkit.org>
1585
1586         Unreviewed, rolling out r162846.
1587         http://trac.webkit.org/changeset/162846
1588         https://bugs.webkit.org/show_bug.cgi?id=127695
1589
1590         "Broke the WebKit Bot Watcher's Dashboard; will fix offline"
1591         (Requested by dydz on #webkit).
1592
1593         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1594         (BuildbotIteration.prototype.update.):
1595
1596 2014-01-27  Daniel Bates  <dabates@apple.com>
1597
1598         Add support for displaying results from multiple Buildbots on WebKit Bot Watcher's Dashboard
1599         https://bugs.webkit.org/show_bug.cgi?id=127564
1600
1601         Reviewed by Alexey Proskuryakov.
1602
1603         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js:
1604         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
1605
1606 2014-01-27  Daniel Bates  <dabates@apple.com>
1607
1608         Teach Buildbot dashboard to parse alternative revision format
1609         https://bugs.webkit.org/show_bug.cgi?id=127561
1610
1611         Reviewed by Alexey Proskuryakov.
1612
1613         Add support for extracting the OpenSource and Internal revision numbers when Buildbot
1614         returns a dictionary for the value of property got_revision.
1615
1616         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1617         (parseRevisionProperty): Added; parses Buildbot revision property, which can either be a
1618         string or a dictionary.
1619         (BuildbotIteration.prototype.update.): Modified to call parseRevisionProperty() to determine
1620         the OpenSource and Internal revision numbers.
1621
1622 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
1623
1624         [GTK] Implement custom URI schemes with CustomProtocols
1625         https://bugs.webkit.org/show_bug.cgi?id=127091
1626
1627         Reviewed by Gustavo Noronha Silva.
1628
1629         Temporarily disable the WebKitWebView check until we figure out
1630         how to implement it with CustomProtocols.
1631
1632         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1633
1634 2014-01-26  Alexey Proskuryakov  <ap@apple.com>
1635
1636         REGRESSION(r127412): http/tests/misc/link-rel-icon-beforeload.html is broken.
1637
1638         * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setIconDatabaseEnabled):
1639         Fixed an incorrect ifdef.
1640
1641 2014-01-26  Brendan Long  <b.long@cablelabs.com>
1642
1643         [GTK] DumpRenderTree prints out suggesting to set WEBKIT_TOP_LEVEL when fonts are missing but doesn't use it.
1644         https://bugs.webkit.org/show_bug.cgi?id=110602
1645
1646         Reviewed by Philippe Normand.
1647
1648         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1649         (getTopLevelPath): Use WEBKIT_TOP_LEVEL environment variable if it exists.
1650         (initializeFonts): Fix printing of expected font path (fontPath is guaranteed to be null here).
1651
1652 2014-01-24  Andy Estes  <aestes@apple.com>
1653
1654         [iOS] Upstream changes in Tools/DumpRenderTree
1655         https://bugs.webkit.org/show_bug.cgi?id=127412
1656
1657         Reviewed by Simon Fraser.
1658
1659         Upstream all iOS changes. Added a new target called DumpRenderTree.app,
1660         which builds the DumpRenderTree static library into an app bundle as
1661         expected by the iOS Simulator.
1662
1663         * DumpRenderTree/AccessibilityTextMarker.h:
1664         * DumpRenderTree/AccessibilityUIElement.h:
1665         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1666         * DumpRenderTree/DumpRenderTreeFileDraggingSource.h:
1667         * DumpRenderTree/DumpRenderTreePrefix.h:
1668         * DumpRenderTree/PixelDumpSupport.cpp:
1669         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1670         * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
1671         * DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm:
1672         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
1673         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
1674         * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
1675         * DumpRenderTree/TestNetscapePlugIn/TestObject.h:
1676         * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp:
1677         * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp:
1678         * DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp:
1679         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp:
1680         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp:
1681         * DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp:
1682         * DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp:
1683         * DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp:
1684         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1685         * DumpRenderTree/TestRunner.cpp:
1686         * DumpRenderTree/TestRunner.h:
1687         * DumpRenderTree/cg/ImageDiffCG.cpp:
1688         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1689         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
1690         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1691         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h: Added.
1692         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm: Added.
1693         * DumpRenderTree/ios/Info.plist: Added.
1694         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport.c: Added.
1695         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupportPregenerated.pm: Added.
1696         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport_wrapPregenerated.c: Added.
1697         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Changes: Added.
1698         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/IPhoneSimulatorNotification.xs: Added.
1699         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/MANIFEST: Added.
1700         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL: Added.
1701         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/README: Added.
1702         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm: Added.
1703         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/ppport.h: Added.
1704         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/t/IPhoneSimulatorNotification.t: Added.
1705         * DumpRenderTree/ios/PerlSupport/Makefile: Added.
1706         * DumpRenderTree/ios/PixelDumpSupportIOS.mm: Added.
1707         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1708         * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
1709         * DumpRenderTree/mac/AppleScriptController.m:
1710         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1711         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1712         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1713         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig: Added.
1714         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
1715         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
1716         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig: Added.
1717         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
1718         * DumpRenderTree/mac/DumpRenderTree.mm:
1719         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
1720         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
1721         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1722         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
1723         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
1724         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
1725         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1726         * DumpRenderTree/mac/EditingDelegate.h:
1727         * DumpRenderTree/mac/EventSendingController.h:
1728         * DumpRenderTree/mac/EventSendingController.mm:
1729         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1730         * DumpRenderTree/mac/HistoryDelegate.h:
1731         * DumpRenderTree/mac/LayoutTestHelper.m:
1732         * DumpRenderTree/mac/MockGeolocationProvider.mm:
1733         * DumpRenderTree/mac/NavigationController.h:
1734         * DumpRenderTree/mac/ObjCPlugin.h:
1735         * DumpRenderTree/mac/ObjCPlugin.m:
1736         * DumpRenderTree/mac/ObjCPluginFunction.h:
1737         * DumpRenderTree/mac/PolicyDelegate.h:
1738         * DumpRenderTree/mac/ResourceLoadDelegate.h:
1739         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1740         * DumpRenderTree/mac/TestRunnerMac.mm:
1741         * DumpRenderTree/mac/TextInputController.h:
1742         * DumpRenderTree/mac/TextInputController.m:
1743         * DumpRenderTree/mac/UIDelegate.h:
1744         * DumpRenderTree/mac/UIDelegate.mm:
1745
1746 2014-01-25  Darin Adler  <darin@apple.com>
1747
1748         Call deprecatedCharacters instead of characters at more call sites
1749         https://bugs.webkit.org/show_bug.cgi?id=127631
1750
1751         Reviewed by Sam Weinig.
1752
1753         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
1754         (TestWebKitAPI::expectBuilderContent):
1755         (TestWebKitAPI::expectEmpty):
1756         (TestWebKitAPI::TEST):
1757         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1758         (TestWebKitAPI::TEST):
1759         Use the new name.
1760
1761 2014-01-25  Anders Carlsson  <andersca@apple.com>
1762
1763         Modernize HashTable threading code
1764         https://bugs.webkit.org/show_bug.cgi?id=127621
1765
1766         Reviewed by Darin Adler.
1767
1768         Explicitly include headers that used to be brought in by HashTable.h
1769
1770         * DumpRenderTree/JavaScriptThreading.cpp:
1771
1772 2014-01-24  Eric Carlson  <eric.carlson@apple.com>
1773
1774         Unreviewed. Add Philip Jägenstedt to watch and contributor lists.
1775
1776         * Scripts/webkitpy/common/config/contributors.json:
1777         * Scripts/webkitpy/common/config/watchlist:
1778
1779 2014-01-23  David Farler  <dfarler@apple.com>
1780
1781         Make WebKitTestRunner work with iOS
1782         https://bugs.webkit.org/show_bug.cgi?id=127448
1783
1784         Reviewed by Simon Fraser.
1785
1786         Combined patch from Simon below with some additional xcconfig cleanups,
1787         rebasing and stubbing out a couple of new functions that popped up
1788         since then.
1789
1790         2013-12-03  Simon Fraser  <simon.fraser@apple.com>
1791
1792                 <rdar://problem/15515469> Get WebKitTestRunner working on iOS
1793
1794                 Get WebKitTestRunner limping on iOS. Main parts:
1795                 - Stub out lots of accessibility-related functions.
1796                 - Stub out EventSender
1797                 - Create target to make a bundled app that runs in the simulator,
1798                   and copy the injected bundle library into it.
1799                 - Make a UIWindow and WKView to load tests in
1800
1801                 It runs, load tests, and dumps results to output. More work will be
1802                 required once we can execute it via the webkitpy scripts.
1803
1804         * WebKitTestRunner/Configurations/Base.xcconfig:
1805         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
1806         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
1807         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1808         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm: Added.
1809         (WTR::AccessibilityController::addNotificationListener):
1810         (WTR::AccessibilityController::removeNotificationListener):
1811         (WTR::AccessibilityController::platformName):
1812         (WTR::AccessibilityController::logAccessibilityEvents):
1813         (WTR::AccessibilityController::resetToConsistentState):
1814         (WTR::findAccessibleObjectById):
1815         (WTR::AccessibilityController::accessibleElementById):
1816         * WebKitTestRunner/InjectedBundle/ios/AccessibilityNotificationHandler.h: Added.
1817         * WebKitTestRunner/InjectedBundle/ios/AccessibilityTextMarkerIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
1818         (WTR::AccessibilityTextMarker::isEqual):
1819         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: Added.
1820         (WTR::AccessibilityUIElement::AccessibilityUIElement):
1821         (WTR::AccessibilityUIElement::~AccessibilityUIElement):
1822         (WTR::AccessibilityUIElement::isEqual):
1823         (WTR::AccessibilityUIElement::getLinkedUIElements):
1824         (WTR::AccessibilityUIElement::getDocumentLinks):
1825         (WTR::AccessibilityUIElement::getChildren):
1826         (WTR::AccessibilityUIElement::getChildrenWithRange):
1827         (WTR::AccessibilityUIElement::childrenCount):
1828         (WTR::AccessibilityUIElement::elementAtPoint):
1829         (WTR::AccessibilityUIElement::indexOfChild):
1830         (WTR::AccessibilityUIElement::childAtIndex):
1831         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
1832         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
1833         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
1834         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
1835         (WTR::AccessibilityUIElement::rowAtIndex):
1836         (WTR::AccessibilityUIElement::selectedChildAtIndex):
1837         (WTR::AccessibilityUIElement::selectedChildrenCount):
1838         (WTR::AccessibilityUIElement::selectedRowAtIndex):
1839         (WTR::AccessibilityUIElement::titleUIElement):
1840         (WTR::AccessibilityUIElement::parentElement):
1841         (WTR::AccessibilityUIElement::disclosedByRow):
1842         (WTR::AccessibilityUIElement::attributesOfLinkedUIElements):
1843         (WTR::AccessibilityUIElement::attributesOfDocumentLinks):
1844         (WTR::AccessibilityUIElement::attributesOfChildren):
1845         (WTR::AccessibilityUIElement::allAttributes):
1846         (WTR::AccessibilityUIElement::stringAttributeValue):
1847         (WTR::AccessibilityUIElement::numberAttributeValue):
1848         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
1849         (WTR::AccessibilityUIElement::uiElementAttributeValue):
1850         (WTR::AccessibilityUIElement::boolAttributeValue):
1851         (WTR::AccessibilityUIElement::isAttributeSettable):
1852         (WTR::AccessibilityUIElement::isAttributeSupported):
1853         (WTR::AccessibilityUIElement::parameterizedAttributeNames):
1854         (WTR::AccessibilityUIElement::role):
1855         (WTR::AccessibilityUIElement::subrole):
1856         (WTR::AccessibilityUIElement::roleDescription):
1857         (WTR::AccessibilityUIElement::title):
1858         (WTR::AccessibilityUIElement::description):
1859         (WTR::AccessibilityUIElement::orientation):
1860         (WTR::AccessibilityUIElement::stringValue):
1861         (WTR::AccessibilityUIElement::language):
1862         (WTR::AccessibilityUIElement::helpText):
1863         (WTR::AccessibilityUIElement::x):
1864         (WTR::AccessibilityUIElement::y):
1865         (WTR::AccessibilityUIElement::width):
1866         (WTR::AccessibilityUIElement::height):
1867         (WTR::AccessibilityUIElement::clickPointX):
1868         (WTR::AccessibilityUIElement::clickPointY):
1869         (WTR::AccessibilityUIElement::intValue):
1870         (WTR::AccessibilityUIElement::minValue):
1871         (WTR::AccessibilityUIElement::maxValue):
1872         (WTR::AccessibilityUIElement::valueDescription):
1873         (WTR::AccessibilityUIElement::insertionPointLineNumber):
1874         (WTR::AccessibilityUIElement::isPressActionSupported):
1875         (WTR::AccessibilityUIElement::isIncrementActionSupported):
1876         (WTR::AccessibilityUIElement::isDecrementActionSupported):
1877         (WTR::AccessibilityUIElement::isEnabled):
1878         (WTR::AccessibilityUIElement::isRequired):
1879         (WTR::AccessibilityUIElement::isFocused):
1880         (WTR::AccessibilityUIElement::isSelected):
1881         (WTR::AccessibilityUIElement::isSelectedOptionActive):
1882         (WTR::AccessibilityUIElement::isIndeterminate):
1883         (WTR::AccessibilityUIElement::isExpanded):
1884         (WTR::AccessibilityUIElement::isChecked):
1885         (WTR::AccessibilityUIElement::hierarchicalLevel):
1886         (WTR::AccessibilityUIElement::classList):
1887         (WTR::AccessibilityUIElement::speak):
1888         (WTR::AccessibilityUIElement::ariaIsGrabbed):
1889         (WTR::AccessibilityUIElement::ariaDropEffects):
1890         (WTR::AccessibilityUIElement::lineForIndex):
1891         (WTR::AccessibilityUIElement::rangeForLine):
1892         (WTR::AccessibilityUIElement::rangeForPosition):
1893         (WTR::AccessibilityUIElement::boundsForRange):
1894         (WTR::AccessibilityUIElement::stringForRange):
1895         (WTR::AccessibilityUIElement::attributedStringForRange):
1896         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
1897         (WTR::uiElementCountForSearchPredicate):
1898         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
1899         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
1900         (WTR::AccessibilityUIElement::attributesOfColumnHeaders):
1901         (WTR::AccessibilityUIElement::attributesOfRowHeaders):
1902         (WTR::AccessibilityUIElement::attributesOfColumns):
1903         (WTR::AccessibilityUIElement::attributesOfRows):
1904         (WTR::AccessibilityUIElement::attributesOfVisibleCells):
1905         (WTR::AccessibilityUIElement::attributesOfHeader):
1906         (WTR::AccessibilityUIElement::rowCount):
1907         (WTR::AccessibilityUIElement::columnCount):
1908         (WTR::AccessibilityUIElement::indexInTable):
1909         (WTR::AccessibilityUIElement::rowIndexRange):
1910         (WTR::AccessibilityUIElement::columnIndexRange):
1911         (WTR::AccessibilityUIElement::cellForColumnAndRow):
1912         (WTR::AccessibilityUIElement::horizontalScrollbar):
1913         (WTR::AccessibilityUIElement::verticalScrollbar):
1914         (WTR::AccessibilityUIElement::scrollToMakeVisible):
1915         (WTR::AccessibilityUIElement::selectedTextRange):
1916         (WTR::AccessibilityUIElement::setSelectedTextRange):
1917         (WTR::AccessibilityUIElement::increment):
1918         (WTR::AccessibilityUIElement::decrement):
1919         (WTR::AccessibilityUIElement::showMenu):
1920         (WTR::AccessibilityUIElement::press):
1921         (WTR::AccessibilityUIElement::setSelectedChild):
1922         (WTR::AccessibilityUIElement::accessibilityValue):
1923         (WTR::AccessibilityUIElement::documentEncoding):
1924         (WTR::AccessibilityUIElement::documentURI):
1925         (WTR::AccessibilityUIElement::url):
1926         (WTR::AccessibilityUIElement::addNotificationListener):
1927         (WTR::AccessibilityUIElement::removeNotificationListener):
1928         (WTR::AccessibilityUIElement::isFocusable):
1929         (WTR::AccessibilityUIElement::isSelectable):
1930         (WTR::AccessibilityUIElement::isMultiSelectable):
1931         (WTR::AccessibilityUIElement::isVisible):
1932         (WTR::AccessibilityUIElement::isOffScreen):
1933         (WTR::AccessibilityUIElement::isCollapsed):
1934         (WTR::AccessibilityUIElement::isIgnored):
1935         (WTR::AccessibilityUIElement::hasPopup):
1936         (WTR::AccessibilityUIElement::takeFocus):
1937         (WTR::AccessibilityUIElement::takeSelection):
1938         (WTR::AccessibilityUIElement::addSelection):
1939         (WTR::AccessibilityUIElement::removeSelection):
1940         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
1941         (WTR::AccessibilityUIElement::textMarkerRangeLength):
1942         (WTR::AccessibilityUIElement::previousTextMarker):
1943         (WTR::AccessibilityUIElement::nextTextMarker):
1944         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
1945         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
1946         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
1947         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
1948         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
1949         (WTR::AccessibilityUIElement::startTextMarkerForBounds):
1950         (WTR::AccessibilityUIElement::textMarkerForPoint):
1951         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
1952         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
1953         (WTR::AccessibilityUIElement::indexForTextMarker):
1954         (WTR::AccessibilityUIElement::isTextMarkerValid):
1955         (WTR::AccessibilityUIElement::textMarkerForIndex):
1956         (WTR::AccessibilityUIElement::startTextMarker):
1957         (WTR::AccessibilityUIElement::endTextMarker):
1958         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
1959         (WTR::AccessibilityUIElement::mathPrescriptsDescription):
1960         (WTR::AccessibilityUIElement::pathDescription):
1961         (WTR::AccessibilityUIElement::supportedActions):
1962         * WebKitTestRunner/InjectedBundle/ios/ActivateFontsIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
1963         (WTR::activateFonts):
1964         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm: Added.
1965         (WTR::EventSenderProxy::EventSenderProxy):
1966         (WTR::EventSenderProxy::~EventSenderProxy):
1967         (WTR::EventSenderProxy::updateClickCountForButton):
1968         (WTR::EventSenderProxy::mouseDown):
1969         (WTR::EventSenderProxy::mouseUp):
1970         (WTR::EventSenderProxy::mouseMoveTo):
1971         (WTR::EventSenderProxy::leapForward):
1972         (WTR::EventSenderProxy::keyDown):
1973         (WTR::EventSenderProxy::mouseScrollBy):
1974         (WTR::EventSenderProxy::continuousMouseScrollBy):
1975         (WTR::EventSenderProxy::addTouchPoint):
1976         (WTR::EventSenderProxy::updateTouchPoint):
1977         (WTR::EventSenderProxy::setTouchModifier):
1978         (WTR::EventSenderProxy::setTouchPointRadius):
1979         (WTR::EventSenderProxy::touchStart):
1980         (WTR::EventSenderProxy::touchMove):
1981         (WTR::EventSenderProxy::touchEnd):
1982         (WTR::EventSenderProxy::touchCancel):
1983         (WTR::EventSenderProxy::clearTouchPoints):
1984         (WTR::EventSenderProxy::releaseTouchPoint):
1985         (WTR::EventSenderProxy::cancelTouchPoint):
1986         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
1987         (WTR::InjectedBundle::platformInitialize):
1988         * WebKitTestRunner/InjectedBundle/ios/InjectedBundlePageIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
1989         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
1990         * WebKitTestRunner/Makefile:
1991         * WebKitTestRunner/TestController.cpp:
1992         (WTR::TestController::initialize):
1993         * WebKitTestRunner/TestController.h:
1994         * WebKitTestRunner/TestInvocation.cpp:
1995         (WTR::TestInvocation::invoke):
1996         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1997         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1998         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.h: Added.
1999         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.m: Added.
2000         (-[AppDelegate application:didFinishLaunchingWithOptions:]):
2001         (-[AppDelegate applicationWillResignActive:]):
2002         (-[AppDelegate applicationDidEnterBackground:]):
2003         (-[AppDelegate applicationWillEnterForeground:]):
2004         (-[AppDelegate applicationDidBecomeActive:]):
2005         (-[AppDelegate applicationWillTerminate:]):
2006         * WebKitTestRunner/WebKitTestRunnerApp/Images.xcassets/AppIcon.appiconset/Contents.json: Added.
2007         * WebKitTestRunner/WebKitTestRunnerApp/Images.xcassets/LaunchImage.launchimage/Contents.json: Added.
2008         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist: Added.
2009         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Prefix.pch: Added.
2010         * WebKitTestRunner/WebKitTestRunnerApp/en.lproj/InfoPlist.strings: Added.
2011         * WebKitTestRunner/WebKitTestRunnerApp/main.m: Added.
2012         (main):
2013         * WebKitTestRunner/WebKitTestRunnerAppTests-Info.plist: Added.
2014         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests-Info.plist: Added.
2015         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests.m: Added.
2016         (-[WebKitTestRunnerAppTests setUp]):
2017         (-[WebKitTestRunnerAppTests tearDown]):
2018         (-[WebKitTestRunnerAppTests testExample]):
2019         * WebKitTestRunner/WebKitTestRunnerAppTests/en.lproj/InfoPlist.strings: Added.
2020         * WebKitTestRunner/WebKitTestRunnerPrefix.h:
2021         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2022         * WebKitTestRunner/iOS.xcconfig: Added.
2023         * WebKitTestRunner/ios/PlatformWebViewIOS.mm: Added.
2024         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:relatedToPage:useTiledDrawing:]):
2025         (-[TestRunnerWKView _shouldUseTiledDrawingArea]):
2026         (-[WebKitTestRunnerWindow isKeyWindow]):
2027         (-[WebKitTestRunnerWindow setFrameOrigin:]):
2028         (-[WebKitTestRunnerWindow setFrame:]):
2029         (-[WebKitTestRunnerWindow frameRespectingFakeOrigin]):
2030         (-[WebKitTestRunnerWindow backingScaleFactor]):
2031         (WTR::PlatformWebView::PlatformWebView):
2032         (WTR::PlatformWebView::resizeTo):
2033         (WTR::PlatformWebView::~PlatformWebView):
2034         (WTR::PlatformWebView::page):
2035         (WTR::PlatformWebView::focus):
2036         (WTR::PlatformWebView::windowFrame):
2037         (WTR::PlatformWebView::setWindowFrame):
2038         (WTR::PlatformWebView::didInitializeClients):
2039         (WTR::PlatformWebView::addChromeInputField):
2040         (WTR::PlatformWebView::removeChromeInputField):
2041         (WTR::PlatformWebView::makeWebViewFirstResponder):
2042         (WTR::PlatformWebView::windowSnapshotImage):
2043         (WTR::PlatformWebView::viewSupportsOptions):
2044         * WebKitTestRunner/ios/TestControllerIOS.mm: Added.
2045         (WTR::TestController::notifyDone):
2046         (WTR::TestController::platformInitialize):
2047         (WTR::TestController::platformDestroy):
2048         (WTR::TestController::initializeInjectedBundlePath):
2049         (WTR::TestController::initializeTestPluginDirectory):
2050         (WTR::TestController::platformRunUntil):
2051         (WTR::TestController::platformInitializeContext):
2052         (WTR::TestController::runModal):
2053         (WTR::TestController::platformLibraryPathForTesting):
2054         * WebKitTestRunner/ios/WebArchiveDumpSupportIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2055         (createCFURLResponseFromResponseData):
2056         (supportedNonImageMIMETypes):
2057         * WebKitTestRunner/ios/mainIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2058         (-[WebKitTestRunnerApp _runTestController]):
2059         (-[WebKitTestRunnerApp applicationDidFinishLaunching:]):
2060         (main):
2061
2062 2014-01-24  Enrique Ocaña González  <eocanha@igalia.com>
2063
2064         [GTK] Put cache files in XDG_CACHE_HOME
2065         https://bugs.webkit.org/show_bug.cgi?id=123458
2066
2067         Reviewed by Martin Robinson.
2068
2069         * GtkLauncher/main.c:
2070         (createBrowser):
2071
2072 2014-01-23  Max Vujovic  <mvujovic@adobe.com>
2073
2074         Remove CSS Custom Filters code and tests
2075         https://bugs.webkit.org/show_bug.cgi?id=127382
2076
2077         Reviewed by Simon Fraser.
2078
2079         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2080         (resetDefaultsToConsistentValues):
2081         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
2082         (TestRunner::overridePreference):
2083
2084 2014-01-23  Tim Horton  <timothy_horton@apple.com>
2085
2086         PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it's blocked
2087         https://bugs.webkit.org/show_bug.cgi?id=127415
2088         <rdar://problem/12482452>
2089
2090         Reviewed by Sam Weinig.
2091
2092         Adopt the new page loader client plugin load callback.
2093
2094         * WebKitTestRunner/TestController.cpp:
2095         (WTR::TestController::createWebViewWithOptions):
2096         (WTR::TestController::pluginLoadPolicy):
2097         * WebKitTestRunner/TestController.h:
2098
2099 2014-01-23  peavo@outlook.com  <peavo@outlook.com>
2100
2101         [Curl] There is no way to specify cache folder.
2102         https://bugs.webkit.org/show_bug.cgi?id=125028
2103
2104         Reviewed by Brent Fulgham.
2105
2106         Enable disc cache in WinLauncher by setting cache folder location.
2107
2108         * WinLauncher/WinLauncher.cpp:
2109         (getAppDataFolder): Added function to get app data folder.
2110         (setCacheFolder): Added function to set cache folder.
2111         (createCrashReport): Use new getAppDataFolder function.
2112         (wWinMain): Use function setCacheFolder to set cache folder location.
2113
2114 2014-01-23  Daniel Bates  <dabates@apple.com>
2115
2116         build-webkit --sdk=iphonesimulator doesn't think it's building iOS
2117         https://bugs.webkit.org/show_bug.cgi?id=127379
2118
2119         Reviewed by Simon Fraser.
2120
2121         Teach build-webkit to recognize --sdk=X.
2122
2123         Currently, build-webkit recognizes --sdk X to specify X as the Xcode SDK to use, which is also
2124         considered when determining the WebKit port to build. But build-webkit advertises --sdk=X in its
2125         help message. We should teach build-webkit to recognize both --sdk X and --sdk=X to make its handling
2126         of --sdk more consistent with the handling of other build-webkit options that take a value (e.g. --prefix).
2127
2128         * Scripts/webkitdirs.pm:
2129         (checkForArgumentAndRemoveFromArrayRefGettingValue): Added.
2130         (checkForArgumentAndRemoveFromARGVGettingValue): Modified to call checkForArgumentAndRemoveFromArrayRefGettingValue().
2131         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl: Added.
2132
2133 2014-01-23  Commit Queue  <commit-queue@webkit.org>
2134
2135         Unreviewed, rolling out r162612.
2136         http://trac.webkit.org/changeset/162612
2137         https://bugs.webkit.org/show_bug.cgi?id=127488
2138
2139         broke the build (Requested by mhahnenberg on #webkit).
2140
2141         * Scripts/build-jsc:
2142         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Removed.
2143         * jsc-cli/jsc-cli/CLIInstance.h: Removed.
2144         * jsc-cli/jsc-cli/CLIInstance.m: Removed.
2145         * jsc-cli/jsc-cli/JSModule.h: Removed.
2146         * jsc-cli/jsc-cli/JSModule.m: Removed.
2147         * jsc-cli/jsc-cli/JSRunLoopThread.h: Removed.
2148         * jsc-cli/jsc-cli/JSRunLoopThread.m: Removed.
2149         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Removed.
2150         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Removed.
2151         * jsc-cli/jsc-cli/RunLoopThread.h: Removed.
2152         * jsc-cli/jsc-cli/RunLoopThread.m: Removed.
2153         * jsc-cli/jsc-cli/ScriptInputSource.h: Removed.
2154         * jsc-cli/jsc-cli/ScriptInputSource.m: Removed.
2155         * jsc-cli/jsc-cli/main.m: Removed.
2156
2157 2014-01-23  Mark Hahnenberg  <mhahnenberg@apple.com>
2158
2159         Basic framework for a modern jsc CLI
2160         https://bugs.webkit.org/show_bug.cgi?id=127435
2161
2162         Reviewed by Geoffrey Garen.
2163
2164         The most basic components of a modern jsc command line interface consist of the following:
2165
2166         - A simple REPL to enter commands and receive results
2167         - The ability to define a module (which consists of various internal methods as well as a 
2168           set of externally visible methods)
2169         - The ability to load other modules at runtime
2170         - The ability to interact with the underlying platform to perform various "privileged" 
2171           functions (e.g. opening files, printing to the stdout, etc.)
2172         
2173         The basic architecture will look something like the following:
2174         - If the tool is run in REPL mode (i.e. no command line arguments), it will start the REPL 
2175           on the main thread and start a secondary thread with a run loop to handle various inputs 
2176           from the REPL thread.
2177         - If the tool is given a script to run, it will evaluate that script (and any scripts that 
2178           it might transitively load) within the run loop on the secondary thread while the main 
2179           thread blocks until it has completed.
2180
2181         * Scripts/build-jsc:
2182         * jsc-cli: Added.
2183         * jsc-cli/jsc-cli: Added.
2184         * jsc-cli/jsc-cli.xcodeproj: Added.
2185         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Added.
2186         * jsc-cli/jsc-cli/CLIInstance.h: Added.
2187         * jsc-cli/jsc-cli/CLIInstance.m: Added.
2188         (-[CLIInstance init]):
2189         (-[CLIInstance loadFile:]):
2190         (-[CLIInstance run]):
2191         * jsc-cli/jsc-cli/JSModule.h: Added.
2192         * jsc-cli/jsc-cli/JSModule.m: Added.
2193         (coreModules):
2194         (isCoreModule):
2195         (classForModule):
2196         (coreModuleFullPath):
2197         (resolveModuleAsFile):
2198         (resolveModuleAsDirectory):
2199         (nodeModulePaths):
2200         (resolveAsNodeModule):
2201         (+[JSModule resolve:atPath:]):
2202         (globalModuleCache):
2203         (isCached):
2204         (cachedModule):
2205         (cacheModule):
2206         (+[JSModule require:atPath:]):
2207         (+[JSModule require:atPath:inContext:]):
2208         (-[JSModule platformObjectInContext:]):
2209         (-[JSModule initWithId:filename:context:]):
2210         (-[JSModule dealloc]):
2211         (-[JSModule didStartLoading]):
2212         (-[JSModule didFinishLoading]):
2213         (-[JSModule require:]):
2214         (-[JSModule exports]):
2215         * jsc-cli/jsc-cli/JSRunLoopThread.h: Added.
2216         * jsc-cli/jsc-cli/JSRunLoopThread.m: Added.
2217         (jsThreadMain):
2218         (+[JSRunLoopThread threadMain]):
2219         (-[JSRunLoopThread initWithFiles:andContext:]):
2220         (-[JSRunLoopThread startRunLoop]):
2221         (-[JSRunLoopThread start]):
2222         (-[JSRunLoopThread join]):
2223         (-[JSRunLoopThread didReceiveInput:]):
2224         (-[JSRunLoopThread performCallback:withError:]):
2225         (-[JSRunLoopThread performCallback:withArguments:]):
2226         (-[JSRunLoopThread didFinishRunLoopInitialization]):
2227         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Added.
2228         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Added.
2229         (-[ReadEvalPrintLoop initWithJSThread:]):
2230         (prompt):
2231         (escapeStringForOutput):
2232         (-[ReadEvalPrintLoop processNextInput]):
2233         (-[ReadEvalPrintLoop run]):
2234         * jsc-cli/jsc-cli/RunLoopThread.h: Added.
2235         * jsc-cli/jsc-cli/RunLoopThread.m: Added.
2236         (+[RunLoopThread threadMain]):
2237         (-[RunLoopThread init]):
2238         (-[RunLoopThread dealloc]):
2239         (-[RunLoopThread didFinishRunLoopInitialization]):
2240         (-[RunLoopThread start]):
2241         (-[RunLoopThread join]):
2242         * jsc-cli/jsc-cli/ScriptInputSource.h: Added.
2243         * jsc-cli/jsc-cli/ScriptInputSource.m: Added.
2244         (scriptInputSourceScheduleRoutine):
2245         (scriptInputSourcePerformRoutine):
2246         (scriptInputSourceCancelRoutine):
2247         (-[ScriptInputSource initWithContext:]):
2248         (-[ScriptInputSource dealloc]):
2249         (-[ScriptInputSource addToCurrentRunLoop]):
2250         (-[ScriptInputSource removeFromRemoteRunLoop]):
2251         (-[ScriptInputSource didReceiveScript:]):
2252         (-[ScriptInputSource didReceiveSignal]):
2253         (-[ScriptInputSource runScriptRemotely:]):
2254         (-[ScriptInputSource finishAsyncCallback:withResult:]):
2255         * jsc-cli/jsc-cli/main.m: Added.
2256         (main):
2257
2258 2014-01-23  László Langó  <llango.u-szeged@partner.samsung.com>
2259
2260         Remove a FIXME comment that is already fixed.
2261         https://bugs.webkit.org/show_bug.cgi?id=127468
2262
2263         Reviewed by Csaba Osztrogonác.
2264
2265         * Scripts/webkitpy/style/filereader.py:
2266         (TextFileReader.__init__):
2267
2268 2014-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2269
2270         [GLIB] Use GUniquePtr instead of GOwnPtr
2271         https://bugs.webkit.org/show_bug.cgi?id=127431
2272
2273         Reviewed by Martin Robinson.
2274
2275         GUniquePtr is a template alias of std::unique_ptr with a custom
2276         deleter that replaces GOwnPtr. GOwnPtr is still used for the cases
2277         where the output pointer is needed, but it will also be replaced soon.
2278
2279         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
2280         (printAccessibilityEvent):
2281         (axObjectEventListener):
2282         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2283         (indexRangeInTable):
2284         (AccessibilityUIElement::role):
2285         (AccessibilityUIElement::title):
2286         (AccessibilityUIElement::description):
2287         (AccessibilityUIElement::stringValue):
2288         (AccessibilityUIElement::language):
2289         (AccessibilityUIElement::lineForIndex):
2290         (AccessibilityUIElement::selectedTextRange):
2291         (AccessibilityUIElement::url):
2292         * DumpRenderTree/efl/AccessibilityControllerEfl.cpp:
2293         (AccessibilityController::accessibleElementById):
2294         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2295         (AccessibilityController::accessibleElementById):
2296         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2297         (getOutputDir):
2298         (getFontsPath):
2299         (initializeFonts):
2300         (dumpFramesAsText):
2301         (compareHistoryItems):
2302         (dumpHistoryItem):
2303         (soupURIToStringPreservingPassword):
2304         (resetDefaultsToConsistentValues):
2305         (temporaryDatabaseDirectory):
2306         (webViewTitleChanged):
2307         (webFrameLoadStatusNotified):
2308         (pathFromSoupURI):
2309         (convertWebResourceToURLPath):
2310         (urlSuitableForTestResult):
2311         (descriptionSuitableForTestResult):
2312         (willSendRequestCallback):
2313         (frameLoadEventCallback):
2314         * DumpRenderTree/gtk/EditingCallbacks.cpp:
2315         (dumpNodePath):
2316         (dumpRange):
2317         (shouldApplyStyle):
2318         * DumpRenderTree/gtk/EventSender.cpp:
2319         (contextClickCallback):
2320         (beginDragWithFilesCallback):
2321         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
2322         (TestRunner::pathToLocalResource):
2323         (TestRunner::queueLoad):
2324         (TestRunner::removeOriginAccessWhitelistEntry):
2325         (TestRunner::setMockGeolocationPositionUnavailableError):
2326         (TestRunner::setIconDatabaseEnabled):
2327         (TestRunner::findString):
2328         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
2329         (TestRunner::overridePreference):
2330         (TestRunner::addUserScript):
2331         (TestRunner::addUserStyleSheet):
2332         (TestRunner::setTextDirection):
2333         * DumpRenderTree/gtk/TextInputController.cpp:
2334         (setMarkedTextCallback):
2335         (insertTextCallback):
2336         (doCommandCallback):
2337         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2338         (LoadHTMLStringItem::invoke):
2339         * TestWebKitAPI/PlatformGTK.cmake:
2340         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2341         (WebKitDOMNodeTest::testTagNames):
2342         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
2343         (testBackForwardListLimitAndCache):
2344         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
2345         (testContextMenuSmartSeparators):
2346         * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp:
2347         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
2348         (testDownloadLocalFile):
2349         (testDownloadLocalFileError):
2350         (addContentDispositionHTTPHeaderToResponse):
2351         (serverCallback):
2352         (testDownloadRemoteFileError):
2353         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
2354         (startTestServer):
2355         (testInspectorServerPageList):
2356         (openRemoteDebuggingSession):
2357         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
2358         (testPrintOperationPrint):
2359         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2360         (addCacheHTTPHeadersToResponse):
2361         (serverCallback):
2362         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
2363         (httpsServerCallback):
2364         (httpServerCallback):
2365         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
2366         (testWebViewJavaScriptDialogs):
2367         (testWebViewWindowProperties):
2368         (testWebViewFileChooserRequest):
2369         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2370         (testWebExtensionWindowObjectCleared):
2371         (testWebExtensionIsolatedWorld):
2372         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp:
2373         (startTestServer):
2374         (checkAtspiAccessible):
2375         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
2376         (serverCallback):
2377         (testClearDatabase):
2378         (testGetFaviconURI):
2379         (webkitFaviconDatabaseFinalizedCallback):
2380         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
2381         (testWebContextGetPlugins):
2382         (testWebContextURIScheme):
2383         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2384         (testWebViewRunJavaScript):
2385         (testWebViewMode):
2386         (testWebViewPageVisibility):
2387         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
2388         (isStyleSheetInjectedForURLAtPath):
2389         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
2390         (testWebViewEditorCutCopyPasteNonEditable):
2391         (testWebViewEditorCutCopyPasteEditable):
2392         (testWebViewEditorSelectAllNonEditable):
2393         (testWebViewEditorSelectAllEditable):
2394         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2395         (sendRequestCallback):
2396         (methodCallCallback):
2397         * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:
2398         (TestWebKitAPI::Util::createInjectedBundlePath):
2399         (TestWebKitAPI::Util::createURLForResource):
2400         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
2401         (TestWebKitAPI::doKeyStroke):
2402         (TestWebKitAPI::doMouseButtonEvent):
2403         (TestWebKitAPI::PlatformWebView::simulateMouseMove):
2404         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
2405         (loadFailedCallback):
2406         (LoadTrackingTest::loadURI):
2407         (LoadTrackingTest::loadHtml):
2408         (LoadTrackingTest::loadPlainText):
2409         (LoadTrackingTest::loadRequest):
2410         (LoadTrackingTest::reload):
2411         (LoadTrackingTest::goBack):
2412         (LoadTrackingTest::goForward):
2413         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
2414         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp:
2415         (registerGResource):
2416         (removeNonEmptyDirectory):
2417         (main):
2418         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
2419         (Test::getWebKit1TestResoucesDir):
2420         (Test::getResourcesDir):
2421         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
2422         (WebKitTestBus::run):
2423         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
2424         (WebKitTestServer::WebKitTestServer):
2425         (WebKitTestServer::getURIForPath):
2426         * TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.cpp:
2427         (WebProcessTestRunner::runTest):
2428         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2429         (resourceGetDataCallback):
2430         (WebViewTest::mainResourceData):
2431         (WebViewTest::mouseMoveTo):
2432         (WebViewTest::keyStroke):
2433         (WebViewTest::doMouseButtonEvent):
2434         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
2435         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
2436         (WTR::AccessibilityController::accessibleElementById):
2437         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
2438         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2439         (WTR::AccessibilityUIElement::role):
2440         (WTR::AccessibilityUIElement::title):
2441         (WTR::AccessibilityUIElement::description):
2442         (WTR::AccessibilityUIElement::stringValue):
2443         (WTR::AccessibilityUIElement::language):
2444         (WTR::AccessibilityUIElement::lineForIndex):
2445         (WTR::AccessibilityUIElement::selectedTextRange):
2446         (WTR::AccessibilityUIElement::url):
2447         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
2448         (WTR::getOutputDir):
2449         (WTR::getFontsPath):
2450         (WTR::initializeFontConfigSetting):
2451         * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp:
2452         (WTR::topLevelPath):
2453         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
2454         (WTR::TestRunner::pathToLocalResource):
2455         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2456         (WTR::TestController::initializeInjectedBundlePath):
2457         (WTR::TestController::initializeTestPluginDirectory):
2458
2459 2014-01-05  Martin Robinson  <mrobinson@igalia.com>
2460
2461         [GTK] [CMake] run-webkit-tests should support the CMake build
2462         https://bugs.webkit.org/show_bug.cgi?id=126503
2463
2464         Reviewed by Daniel Bates.
2465
2466         Update run-launcher and gtk.py to work properly when dealing with the CMake port.
2467         run-webkit-tests does not need the --gtkcmake flag, but run-launcher does.
2468
2469         * Scripts/run-launcher: Work properly with the gtkcmake flag.
2470         * Scripts/webkitpy/port/gtk.py:
2471         (GtkPort._is_cmake_build): Added this helper which looks for the CMakeCache
2472         file to detect a CMake build.
2473         (GtkPort._built_executables_path): Added this helper to locate the built executable path.
2474         (GtkPort._built_libraries_path): Added this helper to locate the built library path.
2475         (GtkPort._port_flag_for_scripts): Use --gtkcmake when appropriate.
2476         (GtkPort.setup_environ_for_server): The way CMake builds libraries differs from GTK+.
2477         (GtkPort._path_to_driver): Use the new helper.
2478         (GtkPort._path_to_image_diff): Use the new helper.
2479         (GtkPort._path_to_webcore_library): Use the new helper.
2480         (GtkPort.build_webkit_command): Use --gtkcmake when appropriate.
2481
2482 2014-01-22  Ryuan Choi  <ryuan.choi@samsung.com>
2483
2484         [EFL] Remove unnecessary smart method since ewk_view_tiled removed
2485         https://bugs.webkit.org/show_bug.cgi?id=127417
2486
2487         Reviewed by Gyuyoung Kim.
2488
2489         * EWebLauncher/main.c:
2490         (on_key_down): Removed shortcut to test pre render.
2491
2492 2014-01-22  Myles C. Maxfield  <mmaxfield@apple.com>
2493
2494         Remove CSS3_TEXT_DECORATION define
2495         https://bugs.webkit.org/show_bug.cgi?id=127333
2496
2497         This is required for unprefixing the text-decoration-* CSS properties.
2498
2499         Reviewed by Simon Fraser.
2500
2501         * Configurations/FeatureDefines.xcconfig:
2502
2503 2014-01-22  Andy Estes  <aestes@apple.com>
2504
2505         [iOS] Prepare for upstreaming DumpRenderTree changes
2506         https://bugs.webkit.org/show_bug.cgi?id=127412
2507
2508         Reviewed by Simon Fraser.
2509
2510         Unlike on Mac where DumpRenderTree is a command-line tool, on iOS it is
2511         an application bundle. Instead of upstreaming a separate target for the
2512         app that duplicates the 'Compile Sources' phase of the tool, separate
2513         out the compilation into a static library target that both the
2514         command-line tool and the app can link against. Also, perform some
2515         unrelated cleanup.
2516
2517         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated the
2518         project file format from 2.4- to 3.2-compatible. Removed the
2519         'Copy Headers' build phase and removed all files from the
2520         'Compile Sources' build phase of DumpRenderTree. Added some files that
2521         were missing from the project. Created a 'DumpRenderTree (Library)'
2522         target for building the static library and made the 'DumpRenderTree'
2523         target depend on it. Added a 'Compile Sources' build phase to this
2524         target that builds the same files the DumpRenderTree target used to.
2525         Created DumpRenderTreeMain.mm as the only source file of the
2526         DumpRenderTree target, since targets won't link a binary without at
2527         least one source file. Made DumpRenderTree (Library) use
2528         DumpRenderTreeLibrary.xcconfig and made LayoutTestHelper use
2529         BaseTarget.xcconfig (so that it doesn't try to link libDumpRenderTree.a).
2530         * DumpRenderTree/mac/Configurations/BaseTarget.xcconfig: Moved
2531         definitions of GCC_ENABLE_OBJC_EXCEPTIONS and GCC_PREFIX_HEADER from
2532         DumpRenderTree.xcconfig to here so that LayoutTestHelper can use them.
2533         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Passed
2534         -force_load $(BUILT_PRODUCTS_DIR)libDumpRenderTree.a to OTHER_LDFLAGS.
2535         This is needed to correctly link a static library containing an Objective-C
2536         category (see <https://developer.apple.com/library/mac/qa/qa1490/_index.html>).
2537         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig: Added.
2538         * DumpRenderTree/mac/DumpRenderTree.mm:
2539         (DumpRenderTreeMain): Renamed from main.
2540         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added declaration of DumpRenderTreeMain.
2541         * DumpRenderTree/mac/DumpRenderTreeMain.mm: Added.
2542         (main): Called DumpRenderTreeMain from main.
2543
2544 2014-01-15  Martin Robinson  <mrobinson@igalia.com>
2545
2546         [GTK][CMake] build-webkit should try harder to avoid re-running cmake
2547         https://bugs.webkit.org/show_bug.cgi?id=127073
2548
2549         Reviewed by Daniel Bates.
2550
2551         * Scripts/build-webkit: Unify all the ports that call buildCMakeProjectOrExit with
2552         the new isCMakeBuild conditional. This allows us to share more code between ports.
2553         Pass the build arguments to the removeCMakeCache function.
2554         * Scripts/webkitdirs.pm:
2555         (runAutogenForAutotoolsProjectIfNecessary): Renamed mustReRunAutogen to cachedArgumentFileOutOfDate
2556         because it's now shared with the CMake build.
2557         (cachedArgumentFileOutOfDate): Renamed.
2558         (cmakeCachePath): Added this helper which gets the CMakeCache.txt path.
2559         (shouldRemoveCMakeCache): Tries to preserve current behavior for all ports, 
2560         except GTK+ which examines the OptionsGTK.cmake and OptionsCommon.cmake file
2561         as well as checking if build-webkit has been run with different arguments.
2562         (removeCMakeCache): Call shouldRemoveCMakeCache now.
2563         (generateBuildSystemFromCMakeProject): Exit early if CMakeCache.txt exists for GTK+.
2564         (isCMakeBuild): Added.
2565
2566 2014-01-22  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
2567
2568         [EFL][GTK] Get EFL and GTK compiling with ACCESSIBILITY disabled
2569         https://bugs.webkit.org/show_bug.cgi?id=127119
2570
2571         Reviewed by Mario Sanchez Prada.
2572
2573         Guarding ACCESSIBILITY code in DumpRenderTree and WebKitTestRunner with HAVE(ACCESSIBILITY).
2574
2575         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
2576         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2577         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2578         (resetDefaultsToConsistentValues):
2579         (webViewWindowObjectCleared):
2580         (main):
2581         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
2582         (WTR::AccessibilityController::platformName):
2583         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2584         (WTR::AccessibilityUIElement::isIndeterminate):
2585
2586 2014-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2587
2588
2589         [GTK] Add GUniquePtr
2590         https://bugs.webkit.org/show_bug.cgi?id=127170
2591
2592         Reviewed by Gustavo Noronha Silva.
2593
2594         Add unit tests for GUniquePtr.
2595
2596         * TestWebKitAPI/GNUmakefile.am: Add new file to compilation.
2597         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp: Added.
2598         (log):
2599         (takeLogStr):
2600         (TestWebKitAPI::TEST):
2601
2602 2014-01-22  Jinwoo Song  <jinwoo7.song@samsung.com>
2603
2604         Remove Nix files from Tools
2605         https://bugs.webkit.org/show_bug.cgi?id=127418
2606
2607         Reviewed by Csaba Osztrogonác.
2608
2609         * Scripts/build-webkit:
2610         * Scripts/update-webkit-libs-jhbuild:
2611         * Scripts/webkitdirs.pm:
2612         (determineArchitecture):
2613         (argumentsForConfiguration):
2614         (jscProductDir):
2615         (builtDylibPathForName):
2616         (isAppleWebKit):
2617         (launcherPath):
2618         (launcherName):
2619         (checkRequiredSystemConfig):
2620         (copyInspectorFrontendFiles):
2621         (jhbuildWrapperPrefixIfNeeded):
2622         (buildCMakeProjectOrExit):
2623         (cmakeBasedPortName):
2624         * Scripts/webkitpy/common/config/ports.py:
2625         (DeprecatedPort.port):
2626         (EflWK2Port.build_webkit_command):
2627         * Scripts/webkitpy/port/factory.py:
2628         (platform_options):
2629         (PortFactory):
2630         * Scripts/webkitpy/port/nix.py: Removed.
2631         * Scripts/webkitpy/port/nix_unittest.py: Removed.
2632
2633 2014-01-21  Benjamin Poulain  <benjamin@webkit.org>
2634
2635         Add Ian and Ricky to the contributor list
2636
2637         * Scripts/webkitpy/common/config/contributors.json:
2638         I am too old to remember all those email addresses :)
2639
2640 2014-01-21  David Farler  <dfarler@apple.com>
2641
2642         Upstream package-root for iOS
2643
2644         Reviewed by Daniel bates.
2645
2646         * Scripts/package-root: Added.
2647         (usage):
2648         * Scripts/webkitdirs.pm:
2649         (XcodeSDKPath): Added function.
2650
2651 2014-01-21  Daniel Bates  <dabates@apple.com>
2652
2653         [iOS] Tools/Makefile shouldn't build modules DumpRenderTree, gtest, or TestWebKitAPI
2654         https://bugs.webkit.org/show_bug.cgi?id=127368
2655
2656         Reviewed by Tim Horton.
2657
2658         Similar to the build-webkit change in <https://bugs.webkit.org/show_bug.cgi?id=127364>,
2659         we don't want to build DumpRenderTree, gtest, or TestWebKitAPI when running make in
2660         Tools.
2661
2662         * Makefile:
2663
2664 2014-01-21  Daniel Bates  <dabates@apple.com>
2665
2666         [iOS] Don't build DumpRenderTree, gtest, or TestWebKitAPI
2667         https://bugs.webkit.org/show_bug.cgi?id=127364
2668
2669         Reviewed by Simon Fraser.
2670
2671         For now, don't build DumpRenderTree and TestWebKitAPI for iOS as these
2672         projects fail to build because we need to upstream the relevant iOS changes.
2673         Also, don't build gtest, which is a dependency of TestWebKitAPI since we
2674         aren't building TestWebKitAPI.
2675
2676         * Scripts/build-webkit:
2677
2678 2014-01-21  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
2679
2680         Unreviewed, remove myself from some watchlist entries.
2681
2682         * Scripts/webkitpy/common/config/watchlist:
2683
2684 2014-01-21  Zalan Bujtas  <zalan@apple.com>
2685
2686         Use 64 as the default value for the subpixel denominator.
2687
2688         Reviewed by Simon Fraser.
2689
2690         * lldb/lldb_webkit.py:
2691         (WebCoreLayoutUnitProvider.to_string):
2692
2693 2014-01-21  ChangSeok Oh  <changseok.oh@collabora.com>
2694
2695         [GTK] Fix a c++11 compliance issue for fontconfig
2696         https://bugs.webkit.org/show_bug.cgi?id=127283
2697
2698         Reviewed by Martin Robinson.
2699
2700         fontconfig-2.8.0 is not compliant with C++11. So I propose to apply a
2701         hotfix until bumping fontconfig up.
2702
2703         * gtk/jhbuild.modules:
2704         * gtk/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added.
2705
2706 2014-01-21  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2707
2708         run-jsc-stress-tests should accept --child-processes option and WEBKIT_TEST_CHILD_PROCESSES env.var
2709         like run_webkit_test does
2710         https://bugs.webkit.org/show_bug.cgi?id=127349
2711
2712         Reviewed by Csaba Osztrogonác.
2713
2714         * Scripts/run-jsc-stress-tests:
2715
2716 2014-01-21  Adrian Perez de Castro  <aperez@igalia.com>
2717
2718         [GTK] Allow passing extra data to web extensions
2719         https://bugs.webkit.org/show_bug.cgi?id=125990
2720
2721         Reviewed by Carlos Garcia Campos.
2722
2723         Allow passing additional information to the injected bundle. On top
2724         of the string containing the path to the web extensions directory,
2725         a GVariant can be set with additional data using
2726         webkit_web_context_set_web_extensions_initialization_user_data().
2727         Also, a new initialize-web-extensions signal is emitted before
2728         launching a new WebProcess to allow setting different user data
2729         for each process. The GVariant is serialized as a string, passed
2730         to the injected bundle, and the injected bundle deserializes back
2731         the data, which is passed to web extensions which define the
2732         webkit_web_extension_initialize_with_user_data() function (for
2733         backwards compatibility, webkit_web_extension_initialize() is
2734         used as a fallback.)
2735
2736         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2737         (initializeWebExtensions): Handles the initialize-web-extensions
2738         signal, and sets the web extensions directory and the initialization
2739         user data.
2740         (testWebExtensionInitializationUserData): New test case for checking
2741         the user data passed on initialization to web extensions.
2742         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2743         (methodCallCallback): Added implementation for the
2744         GetInitializationUserData D-Bus method, used by
2745         testWebExtensionInitializationUserData().
2746         (webkit_web_extension_initialize_with_user_data): Define the
2747         initialization function with the additional user data parameter.
2748
2749 2014-01-21  Siddharth Mathur  <s.mathur@ieee.org>
2750
2751         Change my email address in contributors.json.
2752
2753         Unreviewed.
2754
2755         * Scripts/webkitpy/common/config/contributors.json:
2756
2757 2014-01-21  Krzysztof Czech  <k.czech@samsung.com>
2758
2759         [ATK] Expose aria-flowto through ATK_RELATION_FLOWS_TO
2760         https://bugs.webkit.org/show_bug.cgi?id=127291
2761
2762         Reviewed by Mario Sanchez Prada.
2763
2764         Implemented AccessibilityUIElement::ariaFlowToElementAtIndex method.
2765
2766         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2767         (AccessibilityUIElement::ariaFlowToElementAtIndex):
2768         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2769         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
2770
2771 2014-01-20  Zalan Bujtas  <zalan@apple.com>
2772
2773         Force float division when calculating CSS px value.
2774
2775         Reviewed by Simon Fraser.
2776
2777         Note that in Python 3, this is the default behavior.
2778
2779         * lldb/lldb_webkit.py:
2780         (WebCoreLayoutUnitProvider.to_string):
2781
2782 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
2783
2784         build.webkit.org/dashboard should display information about patches in EWS
2785         https://bugs.webkit.org/show_bug.cgi?id=127006
2786
2787         Reviewed by Ryosuke Niwa.
2788
2789         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html:
2790         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Bugzilla.js: Added.
2791         (Bugzilla.prototype.detailsURLForAttachment):
2792         Added a class for Bugzilla. So far, the only thing it can do is build patch URLs,
2793         which is needed when one wants to do something with a patch EWS is stuck on.
2794
2795         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js:
2796         Create a Bugzilla instance.
2797
2798         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWS.js:
2799         (EWS.prototype.jsonQueueLengthURL):
2800         (EWS.prototype.jsonQueueStatusURL):
2801         Build JSON ULRs here, not in EWSQueue, as this is how other classes are structured.
2802
2803         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueue.js:
2804         (EWSQueue.prototype.get statusPageURL): Changed to use a URL provided by EWS instead
2805         of second guessing.
2806         (EWSQueue.prototype.get chartsPageURL): Added.
2807         (EWSQueue.prototype.get loadedDetailedStatus): Tells whether we currently have
2808         additional data already loaded (it's reset with every update).
2809         (EWSQueue.prototype.get patches): Get patch queue.
2810         (EWSQueue.prototype.get bots): Get bots.
2811         (EWSQueue.prototype.update): Changed to use a specialized cheaper URL.
2812         (EWSQueue.prototype.loadDetailedStatus): Load and transform detailed status JSON.
2813
2814         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueueView.js:
2815         (EWSQueueView.prototype.update.appendQueue): Add a popover is there are any patches
2816         in the queue.
2817         (EWSQueueView.prototype.addLinkToRow): A helper to build the popover.
2818         (EWSQueueView.prototype.addTextToRow): Ditto.
2819         (EWSQueueView.prototype._addQueueHeadingToPopover): Ditto.
2820         (EWSQueueView.prototype._addBotsHeadingToPopover): Ditto.
2821         (EWSQueueView.prototype._addDividerToPopover): Ditto.
2822         (EWSQueueView.prototype._timeIntervalString): A helper to format a timestamp into a
2823         relative string.
2824         (EWSQueueView.prototype._popoverContentForEWSQueue): Build the popover.
2825         (EWSQueueView.prototype._presentPopoverForEWSQueue): Start loading data, and present
2826         it when done.
2827
2828         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css:
2829         Added rules for EWS popover. Removed a duplicate rule for build-logs-popover.
2830         Changed a few difficult to read padding styles to padding-left.
2831
2832 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
2833
2834         Fix webkitpy tests.
2835
2836         * Scripts/webkitpy/common/net/web_mock.py: (MockBrowser.set_handle_robots):
2837         Added a mock implementation, as we now call this function.
2838
2839 2014-01-20  Darin Adler  <darin@apple.com>
2840
2841         Update style checker and tests to deal with override instead of OVERRIDE
2842         https://bugs.webkit.org/show_bug.cgi?id=127175
2843
2844         Reviewed by Anders Carlsson.
2845
2846         * Scripts/webkitpy/style/checkers/cpp.py:
2847         (check_braces): Use override instead of OVERRIDE.
2848         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2849         (CppStyleTest.test_brace_at_begin_of_line): Ditto.
2850
2851 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
2852
2853         EWS should provide better information to Dashboard via JSON
2854         https://bugs.webkit.org/show_bug.cgi?id=127265
2855
2856         Reviewed by Ryosuke Niwa.
2857
2858         * QueueStatusServer/app.yaml: Updated version.
2859
2860         * QueueStatusServer/main.py:
2861         * QueueStatusServer/handlers/queuelengthjson.py:
2862         Added a way to cheaply get only the queue length, which is all the dashboard
2863         needs unless a popover is opened.
2864
2865         * QueueStatusServer/handlers/queuestatusjson.py: Updated to return more information
2866         that we will need. Changed some field names to be more meaningful. Fixed bot listing
2867         to understand that a bot can be reprurposed and used in a different queue.
2868
2869 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
2870
2871         Make uploading results to EWS work despite robots.txt
2872         https://bugs.webkit.org/show_bug.cgi?id=127296
2873
2874         Reviewed by Ryosuke Niwa.
2875
2876         * Scripts/webkitpy/common/net/statusserver.py: (StatusServer.__init__): Disable
2877         checking robots.txt.
2878
2879         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py: (Bugzilla._get_browser):
2880         Removed a comment saying that we would want to stop doing this. Not checking
2881         robots.txt is more efficient than checking it.
2882
2883 2014-01-19  Ryuan Choi  <ryuan.choi@samsung.com>
2884
2885         [EFL][WK1] Remove and refactor the APIs which use single and base keyword
2886         https://bugs.webkit.org/show_bug.cgi?id=127214
2887
2888         Reviewed by Gyuyoung Kim.
2889
2890         Followed the changes of API.
2891
2892         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
2893         (drtViewAdd):
2894         * EWebLauncher/main.c:
2895         (windowCreate):
2896
2897 2014-01-19  Eunmi Lee  <eunmi15.lee@samsung.com>
2898
2899         [EFL][WK2] Add touch events option to MiniBrowser.
2900         https://bugs.webkit.org/show_bug.cgi?id=127262
2901
2902         Reviewed by Gyuyoung Kim.
2903
2904         As a default, touch events are disabled and mouse events are enabled.
2905         If touch events option sets to true, touch events are enabled and mouse
2906         events are disabled.
2907
2908         * MiniBrowser/efl/main.c:
2909         (window_create):
2910         (elm_main):
2911
2912 2014-01-19  Zalan Bujtas  <zalan@apple.com>
2913
2914         Pretty print LayoutUnit, LayoutPoint, and LayoutSize in lldb and gdb.
2915         https://bugs.webkit.org/show_bug.cgi?id=126080
2916
2917         Reviewed by Sam Weinig.
2918
2919         This changes the output of printing LayoutUnits to be in px but it also
2920         preserves the original LayoutUnit value.
2921
2922         This will lead to lldb output like: (and it works even when subpixel is disabled)
2923
2924         (const WebCore::LayoutRect) $0 = {
2925             m_location = { x = 2.25px (144), y = 1px (64)}
2926             m_size = { width = 13.75px (880), height = 20px (1280) }
2927
2928
2929         And gdb output like:
2930
2931         m_frameRect = {
2932             m_location = LayoutPoint(0px (0), 0px(0)),
2933             m_size = LayoutSize(8px (512), 5px (320))
2934         }
2935
2936         This patch is based on patch by bjonesbe@adobe.com and for Blink by cbiesinger@chromium.org.
2937
2938         * gdb/webkit.py:
2939         (WebCoreLayoutUnitPrinter):
2940         (WebCoreLayoutUnitPrinter.__init__):
2941         (WebCoreLayoutUnitPrinter.to_string):
2942         (WebCoreLayoutSizePrinter):
2943         (WebCoreLayoutSizePrinter.__init__):
2944         (WebCoreLayoutSizePrinter.to_string):
2945         (WebCoreLayoutPointPrinter):
2946         (WebCoreLayoutPointPrinter.__init__):
2947         (WebCoreLayoutPointPrinter.to_string):
2948         (add_pretty_printers):
2949         * lldb/lldb_webkit.py:
2950         (__lldb_init_module):
2951         (WebCoreLayoutUnit_SummaryProvider):
2952         (WebCoreLayoutSize_SummaryProvider):
2953         (WebCoreLayoutPoint_SummaryProvider):
2954         (WebCoreLayoutUnitProvider):
2955         (WebCoreLayoutUnitProvider.__init__):
2956         (WebCoreLayoutUnitProvider.to_string):
2957         (WebCoreLayoutSizeProvider):
2958         (WebCoreLayoutSizeProvider.__init__):
2959         (WebCoreLayoutSizeProvider.get_width):
2960         (WebCoreLayoutSizeProvider.get_height):
2961         (WebCoreLayoutPointProvider):
2962         (WebCoreLayoutPointProvider.__init__):
2963         (WebCoreLayoutPointProvider.get_x):
2964         (WebCoreLayoutPointProvider.get_y):
2965
2966 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
2967
2968         Add robots.txt to http://webkit-queues.appspot.com
2969         https://bugs.webkit.org/show_bug.cgi?id=127240
2970
2971         * QueueStatusServer/app.yaml: Added required "upload" attribute for robots.txt.
2972
2973 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
2974
2975         Add robots.txt to http://webkit-queues.appspot.com
2976         https://bugs.webkit.org/show_bug.cgi?id=127240
2977
2978         Reviewed by Ryosuke Niwa.
2979
2980         * QueueStatusServer/app.yaml: Added robots.txt as a static file. Updated version.
2981
2982         * QueueStatusServer/robots.txt: Added.
2983
2984 2014-01-18  Alberto Garcia  <berto@igalia.com>
2985
2986         Tools/Scripts/test-webkitperl fails: 'tempdir' can't be called as a method
2987         https://bugs.webkit.org/show_bug.cgi?id=127217
2988
2989         Reviewed by Daniel Bates.
2990
2991         The syntax File::Temp->tempdir() was explicitly made invalid
2992         following <https://github.com/Perl-Toolchain-Gang/File-Temp/commit/c8920b2161ab6900a09e02b9410e0e4c3d74f565>
2993         which was included in File::Temp v2.30, shipped with Perl v5.18.0.
2994
2995         Use File::Temp::tempdir() instead.
2996
2997         * Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
2998
2999 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
3000
3001         build.webkit.org/dashboard should have image diff links in test results popovers
3002         https://bugs.webkit.org/show_bug.cgi?id=127188
3003
3004         Reviewed by Timothy Hatcher.
3005
3006         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3007         (Buildbot.prototype.layoutTestImagesURLForIteration):
3008         (Buildbot.prototype.layoutTestImageDiffURLForIteration):
3009         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3010         (BuildbotIteration.prototype.loadLayoutTestResults):
3011         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3012         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions.addFailureInfoLink):
3013         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions.addFailureInfoText):
3014         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
3015
3016 2014-01-18  Anders Carlsson  <andersca@apple.com>
3017
3018         Remove ENABLE_THREADED_HTML_PARSER defines everywhere
3019         https://bugs.webkit.org/show_bug.cgi?id=127225
3020
3021         Reviewed by Andreas Kling.
3022
3023         This concludes the removal of over 8.8 million lines of threaded parser code.
3024
3025         * Scripts/webkitperl/FeatureList.pm:
3026
3027 2014-01-17  Alexey Proskuryakov  <ap@apple.com>
3028
3029         build.webkit.org/dashboard should have diff links in test results popovers
3030         https://bugs.webkit.org/show_bug.cgi?id=126986
3031
3032         Reviewed by Tim Horton.
3033
3034         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3035         (Buildbot.prototype.layoutTestCrashLogURLForIteration):
3036         (Buildbot.prototype.layoutTestStderrURLForIteration):
3037         (Buildbot.prototype.layoutTestDiffURLForIteration):
3038         (Buildbot.prototype.layoutTestPrettyDiffURLForIteration):
3039         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3040         (BuildbotIteration.prototype.loadLayoutTestResults):
3041         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3042         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
3043
3044 2014-01-17  Matthew Hanson  <matthew_hanson@apple.com>
3045
3046         Add the bare minimum support for branches to the bot-watchers dashboard
3047         https://bugs.webkit.org/show_bug.cgi?id=127124
3048
3049         This patch simply introduces the notion of branches into the bot-watchers dashboard.
3050         Subsequent patches will build functionality on top of this simple bit of infrastructure.
3051
3052         Reviewed by Timothy Hatcher.
3053
3054         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3055         (BuildbotQueue): store the branch property in the BuildbotQueue constructor
3056         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3057         Initialize the Dashboard.Branch object
3058
3059 2014-01-17  Chris Fleizach  <cfleizach@apple.com>
3060
3061         platform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityController::removeNotificationListener
3062         https://bugs.webkit.org/show_bug.cgi?id=127141
3063
3064         Reviewed by Alexey Proskuryakov.
3065
3066         Make sure to reset the notification handler each time.
3067
3068         * DumpRenderTree/AccessibilityController.cpp:
3069         (AccessibilityController::resetToConsistentState):
3070         * DumpRenderTree/AccessibilityController.h:
3071         * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
3072         (AccessibilityController::platformResetToConsistentState):
3073         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
3074         (AccessibilityController::platformResetToConsistentState):
3075         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3076         (AccessibilityController::~AccessibilityController):
3077         (AccessibilityController::platformResetToConsistentState):
3078         (AccessibilityController::removeNotificationListener):
3079         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3080         (AccessibilityController::platformResetToConsistentState):
3081
3082 2014-01-17  Alberto Garcia  <berto@igalia.com>
3083
3084         [GTK] Test /webkit/download/not-found fails in GTK Linux 64-bit Release bot
3085         https://bugs.webkit.org/show_bug.cgi?id=82329
3086
3087         Reviewed by Carlos Garcia Campos.
3088
3089         Unskip, this is working fine now.
3090
3091         * Scripts/run-gtk-tests:
3092         (TestRunner):
3093
3094 2014-01-17  Alberto Garcia  <berto@igalia.com>
3095
3096         [GTK] Test /webkit/webview/icon-uri times out in GTK Linux 64-bit Release bot
3097         https://bugs.webkit.org/show_bug.cgi?id=82328
3098
3099         Reviewed by Carlos Garcia Campos.
3100
3101         This was caused by the icon database being corrupted in the
3102         Release bot. After removing it the test works fine so it can be
3103         run again.
3104
3105         * Scripts/run-gtk-tests:
3106         (TestRunner):
3107
3108 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
3109
3110         Test results popovers at http://build.webkit.org/dashboard should link to stderr
3111         https://bugs.webkit.org/show_bug.cgi?id=126929
3112
3113         Reviewed by Timothy Hatcher.
3114
3115         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3116         (Buildbot.prototype.layoutTestCrashLogURLForIteration): Renamed for consistency.
3117         (Buildbot.prototype.layoutTestStderrURLForIteration): Added.
3118
3119         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3120         (BuildbotIteration.prototype.loadLayoutTestResults): Store has_stderr attribute.
3121
3122         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3123         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
3124         Add a link to stderr output if present.
3125
3126         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css:
3127         (.test-results-popover .additional-link): Style with light grey (will use the same style
3128         for diff links).
3129
3130 2014-01-16  Ryosuke Niwa  <rniwa@webkit.org>
3131
3132         Automate DoYouEvenBench
3133         https://bugs.webkit.org/show_bug.cgi?id=124497
3134
3135         Reviewed by Geoffrey Garen.
3136
3137         * Scripts/webkitpy/performance_tests/perftest.py:
3138         (PerfTestMetric.__init__): Added the aggregator name as an argument.
3139         (PerfTestMetric.aggregator): Added.
3140         (PerfTest._metrics_regex): Made the subtest name match non-greedy so that the metric names will be
3141         won't be eagerly parsed as a part of the subtest name. e.g. "Time" and "Total" in "a:Time:Total"
3142         should be parsed as the metric and the aggregator respectively.
3143         (PerfTest._run_with_driver): Pass in the aggregator name.
3144         (PerfTest._ensure_metrics): Ditto. Also split the subtest name by / as required by DoYouEvenBench
3145         which generates subtests of subtests within a single test file.
3146
3147         * Scripts/webkitpy/performance_tests/perftest_unittest.py:
3148         (test_parse_output_with_subtests_and_total): Added.
3149
3150         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3151         (_generate_results_dict): Add the aggregator name to the JSON when one is available.
3152
3153         * Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
3154         (TestWithSubtestsData): Added a sub test with an aggregator and a sub-sub test.
3155
3156 2014-01-16  Chris Fleizach  <cfleizach@apple.com>
3157
3158         platform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityController::removeNotificationListener
3159         https://bugs.webkit.org/show_bug.cgi?id=127141
3160
3161         Reviewed by Alexey Proskuryakov.
3162
3163         Don't assert that the notification handler needs to be cleaned up. Deallocing the controller should be enough to clean up as it is.
3164
3165         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3166         (AccessibilityController::~AccessibilityController):
3167
3168 2014-01-16  Ryosuke Niwa  <rniwa@webkit.org>
3169
3170         EWS shouldn't comment on Bugzilla for failing builds or style errors
3171         https://bugs.webkit.org/show_bug.cgi?id=127079
3172
3173         Reviewed by Anders Carlsson.
3174
3175         Since patch authors and reviewers could retrieve this information from bubbles,
3176         we shouldn't spam the Bugzilla with useless comments.
3177
3178         We still post style errors but not python paths we used since it's a pure noise.
3179
3180         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
3181         (AbstractEarlyWarningSystem._post_reject_message_on_bug):
3182         * Scripts/webkitpy/tool/commands/queues.py:
3183         (StyleQueue.review_patch):
3184
3185 2014-01-15  Roger Fong  <roger_fong@apple.com>
3186
3187         Add support for handling WebGL load policies.
3188         https://bugs.webkit.org/show_bug.cgi?id=126935
3189         <rdar://problem/15790448>.
3190
3191         Reviewed by Timothy Horton.
3192
3193         * WebKitTestRunner/TestController.cpp: Update WKPageLoaderClient to V4.
3194         (WTR::TestController::createWebViewWithOptions):
3195
3196 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
3197
3198         Remove workaround for compilers not supporting explicit override control
3199         https://bugs.webkit.org/show_bug.cgi?id=127111
3200
3201         Reviewed by Anders Carlsson.
3202
3203         Now all compilers support explicit override control, this workaround can be removed.
3204
3205         * DumpRenderTree/gtk/fonts/fonts.conf:
3206         * Scripts/do-webcore-rename:
3207         Removed this rename operation from the list of contemplated future renames.
3208         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp:
3209         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp:
3210         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp:
3211         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp:
3212         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
3213
3214 2014-01-16  Oliver Hunt  <oliver@apple.com>
3215
3216         Stop run-jsc from consuming stderr output
3217         https://bugs.webkit.org/show_bug.cgi?id=127115
3218
3219         Reviewed by Mark Lam.
3220
3221         Simple patch to make run-jsc easier to deal with
3222
3223         * Scripts/run-jsc:
3224
3225 2014-01-16  Eva Balazsfalvi  <balazsfalvi.eva@stud.u-szeged.hu>
3226
3227         Tools/gtk/generate-feature-defines-files doesn't work with older versions of python
3228         https://bugs.webkit.org/show_bug.cgi?id=126323
3229
3230         Reviewed by Csaba Osztrogonác.
3231
3232         * gtk/generate-feature-defines-files:
3233
3234 2014-01-16  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
3235
3236         [EFL][WK2] Implement TestController::setHidden
3237         https://bugs.webkit.org/show_bug.cgi?id=127036
3238
3239         Reviewed by Gyuyoung Kim.
3240
3241         WebKitTestRunner needs TestController::setHidden implementation to
3242         properly handle page visibility API layout tests after r161105.
3243
3244         * WebKitTestRunner/efl/TestControllerEfl.cpp:
3245         (WTR::TestController::setHidden):
3246
3247 2014-01-16  Zan Dobersek  <zdobersek@igalia.com>
3248
3249         [GTK][MiniBrowser] The progress entry reset callback can be fired after the BrowserWindow is destroyed
3250         https://bugs.webkit.org/show_bug.cgi?id=127083
3251
3252         Reviewed by Carlos Garcia Campos.
3253
3254         When the load progress reaches 1.0 (i.e. 100%), a timeout callback is set up in webViewLoadProgressChanged.
3255         The progress entry is then reset back to 0 in that callback and the timeout source is removed.
3256
3257         The callback can be fired after the relevant BrowserWindow and its progress entry are destroyed, causing
3258         assertion failures in gtk_entry_set_progress_fraction due to an invalid GtkEntry object. To avoid that,
3259         To avoid that, the ID of the timeout source is stored on the BrowserWindow and is destroyed when the
3260         BrowserWindow object is being finalized, preventing the callback from firing.
3261
3262         * MiniBrowser/gtk/BrowserWindow.c:
3263         (resetEntryProgress):
3264         (webViewLoadProgressChanged):
3265         (browserWindowFinalize):
3266
3267 2014-01-15  Alexey Proskuryakov  <ap@apple.com>
3268
3269         DumpRenderTree doesn't disable web preferences autosave
3270         https://bugs.webkit.org/show_bug.cgi?id=127062
3271
3272         Reviewed by Dan Bernstein.
3273
3274         * DumpRenderTree/mac/DumpRenderTree.mm: (prepareConsistentTestingEnvironment):
3275         Do it.
3276
3277 2014-01-15  Dean Jackson  <dino@apple.com>
3278
3279         Improve filter-build-webkit, especially for iOS builds
3280         https://bugs.webkit.org/show_bug.cgi?id=81046
3281
3282         Reviewed by Joseph Pecoraro.
3283
3284         Lots of updates to the filtering rules, mostly from the
3285         iOS build output. Other highlights include:
3286         - ignoring escape sequences for color ouput
3287         - detecting escaped spaces in file name regexps
3288
3289         * Scripts/filter-build-webkit:
3290         (shouldIgnoreLine):
3291
3292 2014-01-15  Carlos Garcia Campos  <cgarcia@igalia.com>
3293
3294         [GTK] Web process sometimes crashes when printing in synchronous mode
3295         https://bugs.webkit.org/show_bug.cgi?id=126979
3296
3297         Reviewed by Gustavo Noronha Silva.
3298
3299         * Scripts/run-gtk-tests:
3300         (TestRunner): Unskip
3301         /webkit2/WebKitPrintOperation/close-after-print.
3302
3303 2014-01-15  ChangSeok Oh  <changseok.oh@collabora.com>
3304
3305         [EFL] Change test font installed path to webkitgtk-font-tests
3306         https://bugs.webkit.org/show_bug.cgi?id=126723
3307
3308         Reviewed by Gyuyoung Kim.
3309
3310         I'd like to change the test fonts installed directory from 'webkitgtk-test-fonts-0.0.3'
3311         to 'webkitgtk-test-fonts'. webkitgtk-test-fonts-0.0.3 doesn't match the path
3312         hard-coded in FontManagement.cpp#105
3313
3314         * DumpRenderTree/PlatformEfl.cmake:
3315         * WebKitTestRunner/PlatformEfl.cmake:
3316         * efl/jhbuild.modules:
3317
3318 2014-01-14  Ryosuke Niwa  <rniwa@webkit.org>
3319
3320         Make DoYouEvenBench runnable by run-perf-tests
3321         https://bugs.webkit.org/show_bug.cgi?id=127030
3322
3323         Reviewed by Andreas Kling.
3324
3325         Ignore console messages spit out by DoYouEvenBench and support aggregator names such as
3326         ":Total" to appear at the end of a test name. We don't do anything with it for now.
3327
3328         * Scripts/webkitpy/performance_tests/perftest.py:
3329         (PerfTest._metrics_regex): Handle aggregator names such as ":Total". We'll pass it down
3330         to the JSON in a follow up patch for the perf dashboard.
3331         (PerfTest._lines_to_ignore_in_parser_result): Added lines to ignore for DoYouEvenBench.
3332
3333 2014-01-14  Carlos Garcia Campos  <cgarcia@igalia.com>
3334
3335         [GTK] UI process crashes when the web process crashes while printing
3336         https://bugs.webkit.org/show_bug.cgi?id=126977
3337
3338         Reviewed by Gustavo Noronha Silva.
3339
3340         Add new test case to check that closing the window right after
3341         printing works. It's skipped for now, because this patch only
3342         fixes the UI process crash, but not the web process one.
3343
3344         * Scripts/run-gtk-tests:
3345         (TestRunner): Skip
3346         /webkit2/WebKitPrintOperation/close-after-print.
3347         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
3348         (testPrintOperationPrintPrinter):
3349         (findPrintToFilePrinter):
3350         (testPrintOperationPrint):
3351         (testPrintOperationErrors):
3352         (testPrintOperationCloseAfterPrint):
3353         (beforeAll):
3354
3355 2014-01-14  Brent Fulgham  <bfulgham@apple.com>
3356
3357         [WIN] Set MSBuild environment variable to avoid long-lived processes locking log files
3358         https://bugs.webkit.org/show_bug.cgi?id=127002
3359
3360         Reviewed by David Kilzer.
3361
3362         * Scripts/webkitdirs.pm:
3363         (setupAppleWinEnv): Export MSBUILDDISABLENODEREUSE=1 to the environment.
3364
3365 2014-01-14  Commit Queue  <commit-queue@webkit.org>
3366
3367         Unreviewed, rolling out r162000.
3368         http://trac.webkit.org/changeset/162000
3369         https://bugs.webkit.org/show_bug.cgi?id=127009
3370
3371         API versioning is wrong (Requested by rfong on #webkit).
3372
3373         * MiniBrowser/mac/WK2BrowserWindowController.m:
3374         (-[WK2BrowserWindowController awakeFromNib]):
3375         * WebKitTestRunner/TestController.cpp:
3376         (WTR::TestController::createOtherPage):
3377         (WTR::TestController::createWebViewWithOptions):
3378
3379 2014-01-13  Roger Fong  <roger_fong@apple.com>
3380
3381         Add support for handling WebGL load policies.
3382         https://bugs.webkit.org/show_bug.cgi?id=126935
3383         <rdar://problem/15790448>.
3384
3385         Reviewed by Brent Fulgham.
3386
3387         * MiniBrowser/mac/WK2BrowserWindowController.m:
3388         (-[WK2BrowserWindowController awakeFromNib]):
3389         * WebKitTestRunner/TestController.cpp:
3390         (WTR::TestController::createWebViewWithOptions):
3391
3392 2014-01-14  Zan Dobersek  <zdobersek@igalia.com>
3393
3394         [GTK] Skip FontConfig initialization in WebKitTestRunner if requested
3395         https://bugs.webkit.org/show_bug.cgi?id=120110
3396
3397         Reviewed by Martin Robinson.
3398
3399         Skip the FontConfig settings initialization in WebKitTestRunner if the
3400         WEBKIT_SKIP_WEBKITTESTRUNNER_FONTCONFIG_INITIALIZATION environment variable is set.
3401         This is useful when profiling the WebKitTestRunner execution, where at the startup
3402         this step takes considerable amount of time and disturbs the profiling output.
3403
3404         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
3405         (WTR::initializeFontConfigSetting):
3406
3407 2014-01-14  Brian J. Burg  <burg@cs.washington.edu>
3408
3409         Add ENABLE(WEB_REPLAY) feature flag to the build system
3410         https://bugs.webkit.org/show_bug.cgi?id=126949
3411
3412         Reviewed by Joseph Pecoraro.
3413
3414         * Scripts/webkitperl/FeatureList.pm:
3415
3416 2014-01-14  László Langó  <llango.u-szeged@partner.samsung.com>
3417
3418         REGRESSION (r160085): check-webkit-style: utf8' codec can't decode byte 0x89 in position 0: invalid start byte.
3419         https://bugs.webkit.org/show_bug.cgi?id=126702
3420
3421         Reviewed by Alexey Proskuryakov.
3422
3423         Resolve regression and remove a FIXME comment that is already fixed.
3424
3425         * Scripts/webkitpy/common/system/filesystem.py:
3426         (FileSystem.open_text_file_for_reading):
3427         * Scripts/webkitpy/common/system/filesystem_unittest.py:
3428         (RealFileSystemTest.test_read_and_write_file):
3429         * Scripts/webkitpy/style/filereader.py:
3430         (TextFileReader._read_lines):
3431         * Scripts/webkitpy/style/filereader_unittest.py:
3432         (TextFileReaderTest.test_count_delete_only_file):
3433         (TextFileReaderTest):
3434         (TextFileReaderTest.test_process_malformed_file):
3435
3436 2014-01-02  Brian Holt  <brian.holt@samsung.com>
3437
3438         [GTK] Parse Valgrind xml leak files
3439         https://bugs.webkit.org/show_bug.cgi?id=119446
3440
3441         Reviewed by Alejandro G. Castro.
3442
3443         Parse the xml files generated by Valgrind to yield useful
3444         information about the memory leaks.
3445
3446         * Scripts/webkitpy/port/gtk.py:
3447         (GtkPort.__init__):
3448         (GtkPort.setup_test_run): Clear the previous output files before new
3449         run.
3450         (GtkPort.print_leaks_summary):
3451
3452         * Scripts/webkitpy/port/leakdetector_valgrind.py: Added.
3453         Parse the xml files generated by Valgrind and summarise leaks
3454         into an easily understandable list.
3455         (get_text_of):
3456         (get_CDATA_of):
3457         (gather_frames):
3458         (ValgrindError):
3459         (ValgrindError.__init__):
3460         (ValgrindError.__str__):
3461         (ValgrindError.unique_string):
3462         (ValgrindError.error_hash):
3463         (ValgrindError.__hash__):
3464         (ValgrindError.__eq__):
3465         (LeakDetectorValgrind):
3466         (LeakDetectorValgrind.__init__):
3467         (LeakDetectorValgrind._parse_leaks_output):
3468         (LeakDetectorValgrind.leaks_files_in_results_directory):
3469         (LeakDetectorValgrind.clean_leaks_files_from_results_directory):
3470         (LeakDetectorValgrind.parse_and_print_leaks_detail):
3471
3472         * Scripts/webkitpy/port/leakdetector_valgrind_unittest.py: Added.
3473         (make_mock_valgrind_output):
3474         (make_mock_incomplete_valgrind_output):
3475         (make_mock_valgrind_results):
3476         (make_mock_valgrind_results_incomplete):
3477         (make_mock_valgrind_results_empty):
3478         (make_mock_valgrind_results_misformatted):
3479         (mock_run_cppfilt_command):
3480         (LeakDetectorValgrindTest):
3481         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_pass):
3482         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_incomplete):
3483         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_empty):
3484         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_misformatted):
3485         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_pass):
3486         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_incomplete):
3487         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_empty):
3488         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_misformatted):
3489
3490 2014-01-13  Lucas Forschler  <lforschler@apple.com>
3491
3492         Update the LLINT CLoop Bot build infrastructure
3493         https://bugs.webkit.org/show_bug.cgi?id=126604
3494         
3495         Unreviewed.
3496         
3497         * BuildSlaveSupport/build.webkit.org-config/config.json:
3498         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3499         (CompileLLINTCLoop):
3500         (RunLLINTCLoopTests):
3501         (BuildAndTestLLINTCLoopFactory):
3502         (BuildAndTestLLINTCLoopFactory.__init__):
3503
3504 2014-01-13  Jinwoo Song  <jinwoo7.song@samsung.com>
3505
3506         [EFL][WK2] Disable failing API tests
3507         https://bugs.webkit.org/show_bug.cgi?id=126960
3508
3509         Reviewed by Gyuyoung Kim.
3510
3511         Disable WKViewUserViewportToContents test until bug 126261 is resolved.
3512
3513         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
3514         (TestWebKitAPI::TEST):
3515
3516 2014-01-13  Daniel Batyai  <dbatyai.u-szeged@partner.samsung.com>
3517
3518         Remove wdiff
3519         https://bugs.webkit.org/show_bug.cgi?id=124766
3520
3521         Reviewed by Ryosuke Niwa.
3522
3523         * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
3524         (ResultsJSONParserTest):
3525         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
3526         (TestResultWriter):
3527         (TestResultWriter.create_text_diff_and_write_result):
3528         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
3529         (summarize_results):
3530         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3531         (RunTest.test_output_diffs):
3532         * Scripts/webkitpy/port/base.py:
3533         (Port.__init__):
3534         (Port.driver_stop_timeout):
3535         (Port.check_image_diff):
3536         (Port.repository_paths):
3537         (Port._path_to_lighttpd_php):
3538         * Scripts/webkitpy/port/base_unittest.py:
3539         (PortTest.test_default_child_processes):
3540         (PortTest.test_pretty_patch_script_error):
3541         * Scripts/webkitpy/port/port_testcase.py:
3542         (PortTestCase.test_diff_image_crashed):
3543         * Scripts/webkitpy/port/test.py:
3544         (TestPort.operating_system):
3545
3546 2014-01-13  Martin Robinson  <mrobinson@igalia.com>
3547
3548         Build fix for the GTK+ CMake port
3549
3550         * TestWebKitAPI/PlatformGTK.cmake: The WKConnection test is no longer with us.
3551
3552 2014-01-13  Adrian Perez de Castro  <aperez@igalia.com>
3553
3554         [GTK] Add cast in call to g_object_add_weak_pointer in MiniBrowser
3555         https://bugs.webkit.org/show_bug.cgi?id=126881
3556
3557         Reviewed by Carlos Garcia Campos.
3558
3559         * MiniBrowser/gtk/BrowserWindow.c:
3560         (browser_window_new):
3561         Explicitly cast GtkWindow** to gpointer* in call to
3562         g_object_add_weak_pointer to avoid compiler warnings.
3563
3564 2014-01-13  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
3565
3566         Remove parsing of old-run-webkit-tests output from master.cfg
3567         https://bugs.webkit.org/show_bug.cgi?id=126690
3568
3569         Reviewed by Csaba Osztrogonác.
3570
3571         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3572         Removed parsing of ORWT output, as it is not used anymore.
3573         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3574         Updated unit tests accordingly.
3575
3576 2014-01-13  Commit Queue  <commit-queue@webkit.org>
3577
3578         Unreviewed, rolling out r161808.
3579         http://trac.webkit.org/changeset/161808
3580         https://bugs.webkit.org/show_bug.cgi?id=126874
3581
3582         This patch make several files to be always regenerated on
3583         every make (Requested by KaL on #webkit).
3584
3585         * WebKitTestRunner/GNUmakefile.am:
3586
3587 2014-01-13  Adrian Perez de Castro  <aperez@igalia.com>
3588
3589         [GTK] Make MiniBrowser windows non-transient by default
3590         https://bugs.webkit.org/show_bug.cgi?id=126840
3591
3592         Reviewed by Carlos Garcia Campos.
3593
3594         Instead of making new browser windows transient as soon as they are
3595         created, save the pointer to the parent window and set the transient
3596         state later on when handling the "run-as-modal" signal. This makes
3597         it easier to use the MiniBrowser to do tests involving multiple
3598         windows, and will be useful as well when multi-web-process mode is
3599         enabled for the GTK port.
3600
3601         * MiniBrowser/gtk/BrowserWindow.c:
3602         (webViewRunAsModal): Set the parent window using
3603         gtk_window_set_transient_for() using the saved parent
3604         window.
3605         (browser_window_new): Save the parent window using
3606         g_object_set_data() instead of making the new window
3607         transient immediately.
3608
3609 2014-01-12  Sergio Correia  <sergio.correia@openbossa.org>
3610
3611         [EFL][WK2] Make API tests work again
3612         https://bugs.webkit.org/show_bug.cgi?id=126769
3613
3614         Reviewed by Gyuyoung Kim.
3615
3616         The EFL and WK2 test binaries are currently being generated at *TestWebKitAPI/
3617         [E]WebKit2, respectively, and this causes problems because the logic to find
3618         where WebProcess is to look in the same directory of the running process and
3619         then proceed to use LIBEXECDIR (typically /usr/loca/bin).
3620
3621         This patch introduces a WEBKIT_EXEC_PATH environment variable, inspired in the
3622         Gtk port, which allows us to look for