3658db79cf5989ebd024872173d819cac9f2809a
[WebKit-https.git] / Tools / ChangeLog
1 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         [GTK] WebKitWebView::create should receive information about the navigation action
4         https://bugs.webkit.org/show_bug.cgi?id=133680
5
6         Reviewed by Martin Robinson.
7
8         Add unit test to check the WebKitNavigationAction passed to
9         WebKitWebView::create callback.
10
11         * MiniBrowser/gtk/BrowserWindow.c:
12         (webViewCreate): Add WebKitNavigationAction parameter.
13         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
14         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
15         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
16         (testWebViewCreateNavigationData):
17         (beforeAll):
18         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp:
19         (createCallback):
20
21 2014-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
22
23         [GTK] Do not add forward declaration of class struct for interfaces
24         https://bugs.webkit.org/show_bug.cgi?id=134297
25
26         Reviewed by Martin Robinson.
27
28         Add Iface symbol to documentation instead of Class for interfaces.
29
30         * gtk/webkitdom.py:
31         (WebKitDOMDocGeneratorSections.write_section):
32
33 2014-07-01  Carlos Garcia Campos  <cgarcia@igalia.com>
34
35         [GTK] XPathNSResolver should be exposed as an interface instead of as a class
36         https://bugs.webkit.org/show_bug.cgi?id=134028
37
38         Reviewed by Gustavo Noronha Silva.
39
40         Add unit tests to check WebKitDOMXPathNSResolver API when using the
41         native one and a user provided one.
42
43         * Scripts/webkitpy/style/checker.py: Add WebKitDOMXPathNSResolver
44         to the list of GTK+ public API exceptions.
45         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add new files to compilation.
46         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp: Added.
47         (webkitXPathNSResolverLookupNamespaceURI):
48         (webkitXPathNSResolverDOMXPathNSResolverIfaceInit):
49         (webkit_xpath_ns_resolver_init):
50         (webkit_xpath_ns_resolver_class_init):
51         (WebKitDOMXPathNSResolverTest::create):
52         (WebKitDOMXPathNSResolverTest::webPageFromArgs):
53         (WebKitDOMXPathNSResolverTest::evaluateFooChildTextAndCheckResult):
54         (WebKitDOMXPathNSResolverTest::testXPathNSResolverNative):
55         (WebKitDOMXPathNSResolverTest::testXPathNSResolverCustom):
56         (WebKitDOMXPathNSResolverTest::runTest):
57         (registerTests):
58         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp: Added.
59         (runTest):
60         (testWebKitDOMXPathNSResolverNative):
61         (testWebKitDOMXPathNSResolverCustom):
62         (serverCallback):
63         (beforeAll):
64         (afterAll):
65         * gtk/webkitdom.py:
66         (WebKitDOMDocGeneratorSections.write_section): Add
67         WebKitDOMXPathNSResolver to the list of interfaces.
68
69 2014-07-01  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
70
71         Fix build break on EFL and GTK ports since r170683
72         https://bugs.webkit.org/show_bug.cgi?id=134536
73
74         Unreviewed, build fix.
75
76         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
77
78 2014-07-01  Sam Weinig  <sam@webkit.org>
79
80         [Cocoa][Mac] WKWebView should automatically set topContentInset when beneath a toolbar
81         <rdar://problem/17523159>
82         https://bugs.webkit.org/show_bug.cgi?id=134496
83
84         Reviewed by Beth Dakin.
85
86         * MiniBrowser/mac/BrowserWindowController.m:
87         (-[BrowserWindowController windowDidLoad]):
88         Use the NSFullSizeContentViewWindowMask bit on Yosemite and later to enable toolbar blurring.
89
90 2014-07-01  Zan Dobersek  <zdobersek@igalia.com>
91
92         [CMake] Add necessary support for building for the Wayland target
93         https://bugs.webkit.org/show_bug.cgi?id=134160
94
95         Reviewed by Darin Adler.
96
97         * CMakeLists.txt: Only build the TestNetscapePlugIn target in case
98         the X11 windowing target is enabled.
99
100 2014-07-01  Chris Fleizach  <cfleizach@apple.com>
101
102         AX: HTML indeterminate IDL attribute not mapped to checkbox value=2
103         https://bugs.webkit.org/show_bug.cgi?id=134492
104
105         Reviewed by Andreas Kling.
106
107         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
108         (AccessibilityUIElement::isIndeterminate):
109         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
110         (WTR::AccessibilityUIElement::isIndeterminate):
111
112 2014-07-01  Daniel Bates  <dabates@apple.com>
113
114         Remove unnecessary calls to std::move()
115         https://bugs.webkit.org/show_bug.cgi?id=134493
116
117         Reviewed by Anders Carlsson.
118
119         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
120         (TestWebKitAPI::TEST):
121         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
122         (TestWebKitAPI::TEST):
123
124 2014-07-01  Pratik Solanki  <psolanki@apple.com>
125
126         Unreviewed. Adding myself to the reviewers list to make commit bot happy.
127
128         * Scripts/webkitpy/common/config/contributors.json:
129
130 2014-07-01  Youenn Fablet  <youenn.fablet@crf.canon.fr>
131
132         webkit-patch apply-from-bug / apply-attachment should not ask for credentials if none are required
133         https://bugs.webkit.org/show_bug.cgi?id=40095
134
135         Reviewed by Csaba Osztrogonác.
136
137         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
138         (Bugzilla.fetch_attachment_contents): make a first fetch on bugzilla without authentication. If failing, use authentication (similar to fetch_bug_dictionary).
139         (Bugzilla):
140         (Bugzilla.bug_id_for_attachment_id): ditto.
141
142 2014-07-01  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
143
144         [webkitpy] Refactor pluralizer in grammar.py
145         https://bugs.webkit.org/show_bug.cgi?id=133067
146
147         Reviewed by Csaba Osztrogonác.
148
149         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
150         (LayoutTestRunner.run_tests):
151         * Scripts/webkitpy/layout_tests/controllers/manager.py:
152         (Manager.run):
153         * Scripts/webkitpy/layout_tests/views/printing.py:
154         (Printer.print_found):
155         (Printer.print_workers_and_shards):
156         (Printer._print_one_line_summary):
157         * Scripts/webkitpy/test/printer.py:
158         (Printer.print_result):
159         * Scripts/webkitpy/tool/bot/feeders.py:
160         (EWSFeeder.feed):
161         * Scripts/webkitpy/tool/bot/flakytestreporter.py:
162         (FlakyTestReporter._lookup_bug_for_flaky_test):
163         * Scripts/webkitpy/tool/bot/irc_command.py:
164         (Rollout._check_diff_failure):
165         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
166         (IRCCommandTest.test_rollout):
167         * Scripts/webkitpy/tool/commands/download.py:
168         (AbstractPatchProcessingCommand._process_patch.execute):
169         (ProcessBugsMixin._fetch_list_of_patches_to_process):
170         (ProcessURLsMixin._fetch_list_of_patches_to_process):
171         * Scripts/webkitpy/tool/commands/queries.py:
172         (WhatBroke.execute):
173         * Scripts/webkitpy/tool/commands/suggestnominations.py:
174         (SuggestNominations._print_nominations):
175         (SuggestNominations._print_counts):
176         * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
177         (_make_options):
178         (test_basic):
179         (test_with_verbose):
180         * Scripts/webkitpy/tool/commands/upload.py:
181         (PostCommits.execute):
182         * Scripts/webkitpy/tool/grammar.py:
183         (pluralize):
184         * Scripts/webkitpy/tool/grammar_unittest.py:
185         (GrammarTest.test_join_with_separators):
186         (GrammarTest):
187         (GrammarTest.test_plural):
188         (GrammarTest.test_pluralize):
189         * Scripts/webkitpy/tool/multicommandtool.py:
190         (Command.check_arguments_and_execute):
191         * Scripts/webkitpy/tool/steps/obsoletepatches.py:
192         (ObsoletePatches.run):
193         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
194         (PrepareChangeLogForRevert._message_for_revert):
195
196 2014-06-30  Myles C. Maxfield  <mmaxfield@apple.com>
197
198         [iOS] GSFontAddCGFont is deprecated and we use it in DumpRenderTree
199         https://bugs.webkit.org/show_bug.cgi?id=134133
200
201         Reviewed by Simon Fraser.
202
203         Replace it with CTFontManagerRegisterGraphicsFont
204
205         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
206         * DumpRenderTree/mac/DumpRenderTree.mm:
207         (activateFontIOS):
208
209 2014-06-30  Michael Saboff  <msaboff@apple.com>
210
211         Add option to run-jsc-stress-testes to filter out tests that use large heaps
212         https://bugs.webkit.org/show_bug.cgi?id=134458
213
214         Reviewed by Filip Pizlo.
215
216         Added new --memory-limited to filter out tests that have large heap usage.
217         Such tests are either tagged with //@largeHeap or logic is added to their .yaml file.
218
219         * Scripts/run-jsc-stress-tests:
220
221 2014-06-30  Myles C. Maxfield  <mmaxfield@apple.com>
222
223         DRT in iOS sim crashes while loading fonts
224         https://bugs.webkit.org/show_bug.cgi?id=134451
225
226         Reviewed by Geoffrey Garen.
227
228         The magic linker symbols had the same name, and were therefore being unified
229         to a single font file. Then, adding the same file twice was failing.
230
231         * DumpRenderTree/mac/DumpRenderTree.mm:
232         (activateFontsIOS):
233
234 2014-06-30  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
235
236         Remove Qt cruft from webkitpy
237         https://bugs.webkit.org/show_bug.cgi?id=134445
238
239         Reviewed by Csaba Osztrogonác.
240
241         * Scripts/webkitpy/common/config/ports.py:
242         (DeprecatedPort.port):
243         (QtPort): Deleted.
244         (QtPort.build_webkit_command): Deleted.
245         (QtPort.run_webkit_tests_command): Deleted.
246         (QtWK2Port): Deleted.
247         (QtWK2Port.build_webkit_command): Deleted.
248         (QtWK2Port.run_webkit_tests_command): Deleted.
249         * Scripts/webkitpy/common/config/ports_unittest.py:
250         (DeprecatedPortTest): Deleted.
251         (DeprecatedPortTest.test_qt_port): Deleted.
252         (DeprecatedPortTest.test_qt_wk2_port): Deleted.
253
254 2014-06-29  Yoav Weiss  <yoav@yoav.ws>
255
256         Add support for HTMLImageElement's sizes attribute
257         https://bugs.webkit.org/show_bug.cgi?id=133620
258
259         Reviewed by Dean Jackson.
260
261         Added an ENABLE_PICTURE_SIZES compile flag.
262
263         * Scripts/webkitperl/FeatureList.pm:
264
265 2014-06-27  Tim Horton  <timothy_horton@apple.com>
266
267         check-webkit-style should check the order of #imports as well as #includes
268         https://bugs.webkit.org/show_bug.cgi?id=134428
269
270         Reviewed by Dan Bernstein.
271
272         * Scripts/webkitpy/style/checkers/cpp.py:
273         Allow "import" in addition to "include", so that the sort order of headers in ObjC files is checked.
274
275 2014-06-27  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
276
277         [EFL] Remove efl-wk2 from baseline search path
278         https://bugs.webkit.org/show_bug.cgi?id=134391
279
280         Reviewed by Gyuyoung Kim.
281
282         As WebKit1 EFL is removed and platform/efl and platform/efl-wk2 baselines and test expectations files
283         are merged efl-wk2 search path should be removed.
284
285         * Scripts/webkitpy/port/base.py:
286         (Port.test_expectations_file_postion): Added method to determine port test expectations file position in expectations_dict.
287         * Scripts/webkitpy/port/efl.py:
288         (EflPort._search_paths): Changed baseline search paths from efl-wk2 -> wk2 -> efl -> generic is changed to: efl -> wk2 -> generic.
289         (EflPort.test_expectations_file_postion): Added method to determine EFL port specific test expectation file position.
290         * Scripts/webkitpy/port/port_testcase.py:
291         (PortTestCase.test_expectations_ordering): Changed constant value to one returned from test_expectations_file_postion().
292         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
293         (TestExpectationsTestCase.test_determine_port_from_expectations_path): Removed efl-wk2 test case.
294         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
295         (TestRebaselineTest.test_baseline_directory): Changed directory name in assertion from platform/efl-wk2 to platform/efl.
296
297 2014-06-26  Dan Bernstein  <mitz@apple.com>
298
299         prepare-ChangeLog outputs (NS_ENUM): entries for Cocoa enums
300         https://bugs.webkit.org/show_bug.cgi?id=134387
301
302         Reviewed by Tim Horton.
303
304         * Scripts/prepare-ChangeLog:
305         (get_function_line_ranges_for_cpp): Don’t consider {CF,NS}_{ENUM,OPTIONS} as function names.
306
307 2014-06-26  Dan Bernstein  <mitz@apple.com>
308
309         prepare-ChangeLog mangles Objective-C selectors for methods with parameter types that contain colons
310         https://bugs.webkit.org/show_bug.cgi?id=134383
311
312         Reviewed by Tim Horton.
313
314         * Scripts/prepare-ChangeLog:
315         (method_decl_to_selector): Strip out the return type and parameter types before splitting at
316         colons.
317
318 2014-06-26  Brady Eidson  <beidson@apple.com>
319
320         MiniBrowser should support a preference to override the default URL
321         https://bugs.webkit.org/show_bug.cgi?id=134373
322
323         Reviewed by Darin Adler.
324
325         * MiniBrowser/mac/AppDelegate.m:
326         (-[BrowserAppDelegate applicationDidFinishLaunching:]): See if there’s a pref
327           overriding the default URL, and use it if there is.
328
329 2014-06-26  Brent Fulgham  <bfulgham@apple.com>
330
331         [Win] Fix potential buffer overrun in DLLLauncher
332         https://bugs.webkit.org/show_bug.cgi?id=134351
333         <rdar://problem/17469185>
334
335         Reviewed by Darin Adler.
336
337         * win/DLLLauncher/DLLLauncherMain.cpp: Correct error
338         in end-of-buffer calculation.
339
340 2014-06-26  Tamas Gergely  <tgergely.u-szeged@partner.samsung.com>
341
342         [EFL] Missing dependency between freetype6 and fontconfig libs.
343         https://bugs.webkit.org/show_bug.cgi?id=134190
344
345         Reviewed by Gyuyoung Kim.
346
347         The external dependencies contain the freetype6 and the fontconfig libs.
348         The fontconfig lib requires freetype, but the dependency is not set in
349         the efl/jhbuild.modules file. So, during building the external libs,
350         fontconfig uses the freetype package of the system, while WebKit
351         binaries will use freetype from the WebKitBuild/Dependency directory.
352         There are more similar dependencies that were not indicated in the
353         jhbuild.modules file.
354
355         * efl/jhbuild.modules:
356           Added dependencies between libs.
357
358 2014-06-25  Brent Fulgham  <bfulgham@apple.com>
359
360         [Win] Expose Cache Information to WinLauncher
361         https://bugs.webkit.org/show_bug.cgi?id=134318
362
363         Reviewed by Dean Jackson.
364
365         * WinLauncher/Common.cpp: Update for new dialog.
366         * WinLauncher/WinLauncher.cpp: Add support for WebCache
367         and WebCoreStatistics.
368         * WinLauncher/WinLauncher.h:
369         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc:
370         Update for new Cache Dialog.
371         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Link to
372         WTF.lib
373         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Update
374         for new Dialog.
375
376 2014-06-26  Brent Fulgham  <bfulgham@apple.com>
377
378         [Win] Unreviewed gardening. Use consistent line-endings in file.
379
380         * WinLauncher/WinLauncher.h: Use '\n' EOL marker, not DOS-style
381         '\r\n' EOL.
382
383 2014-06-25  László Langó  <llango.u-szeged@partner.samsung.com>
384
385         [JavaScriptCore] Make build-jsc output format better.
386         https://bugs.webkit.org/show_bug.cgi?id=133547
387
388         Reviewed by Ryosuke Niwa.
389
390         * Scripts/build-jsc: Emit built time information on successful builds.
391         (writeCongrats):
392         * Scripts/build-webkit: Move formatBuildTime function into webkitdirs.pm.
393         (cMakeArgsFromFeatures):
394         (formatBuildTime): Deleted.
395         * Scripts/webkitdirs.pm:
396         (formatBuildTime):
397
398 2014-06-25  Chris Fleizach  <cfleizach@apple.com>
399
400         Add an undo group for each dictated utterance in WebKit
401         https://bugs.webkit.org/show_bug.cgi?id=134086
402
403         Reviewed by Enrica Casucci.
404
405         Create a method for creating attributed strings with the undo insertion marker.
406
407         * DumpRenderTree/mac/TextInputController.m:
408         (+[TextInputController isSelectorExcludedFromWebScript:]):
409         (+[TextInputController webScriptNameForSelector:]):
410         (-[TextInputController stringWithUndoGroupingInsertion:]):
411
412 2014-06-25  Michael Saboff  <msaboff@apple.com>
413
414         Provide javascript aware backtrace script for lldb
415         https://bugs.webkit.org/show_bug.cgi?id=134276
416
417         Reviewed by Jer Noble.
418
419         * lldb/lldb_webkit.py:
420         (__lldb_init_module):
421         (btjs): New scripted command to display a backtrace that shows JavaScript frames with details.
422
423 2014-06-25  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
424
425         REGRESSION (r170426) Broke two python tests
426         https://bugs.webkit.org/show_bug.cgi?id=134299
427
428         Reviewed by Csaba Osztrogonác.
429
430         * Scripts/webkitpy/port/efl.py:
431         (EflPort._search_paths): Added search path for efl-wk2.
432
433 2014-06-25  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
434
435         [EFL] Remove WebKit1 related code from scripts
436         https://bugs.webkit.org/show_bug.cgi?id=134195
437
438         Reviewed by Laszlo Gombos.
439
440         After removing WebKit1 from EFL port, still there is some code left related to DumpRenderTree, 
441         EWebLauncher. Also running layout tests does not require adding -2/--webkit-test-runner switch.
442
443         * Scripts/run-launcher: MiniBrowser now runs as default without -2 switch.
444         * Scripts/webkitdirs.pm:
445         (builtDylibPathForName): Remove reference to libewebkit.so
446         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
447         (_set_up_derived_options): Script runs WKTR by default.
448         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
449         (PerfTestsRunner.__init__): Ditto.
450         * Scripts/webkitpy/port/efl.py:
451         (EflPort._search_paths): Remove efl-wk2 from baseline search path.
452         (EflPort.show_results_html_file): Run MiniBrowser as result viewer.
453
454 2014-06-25  Laszlo Gombos  <l.gombos@samsung.com>
455
456         Remove build guard for progress element
457         https://bugs.webkit.org/show_bug.cgi?id=134292
458
459         Reviewed by Benjamin Poulain.
460
461         * Scripts/webkitperl/FeatureList.pm:
462
463 2014-06-24  Tomas Popela  <tpopela@redhat.com>
464
465         [GTK] Some of DOM bindings macros are misnamed
466         https://bugs.webkit.org/show_bug.cgi?id=121543
467
468         Reviewed by Carlos Garcia Campos.
469
470         As we are using WebKitDOM as a namespace we should unify all type macros
471         to have WEBKIT_DOM_TYPE prefix instead of WEBKIT_TYPE_DOM. Also add
472         more exceptions to decamelize function in GObject bindings generator
473         to fix the names of bindings for BR, HR, UL, OL, DL and LI elements.
474
475         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
476         * gtk/webkitdom.py:
477         (WebKitDOMDocGeneratorSections._dom_class_decamelize):
478         (WebKitDOMDocGeneratorSections.write_section):
479
480 2014-06-24  Frédéric Wang  <fred.wang@free.fr>
481
482         [EFL] Install Latin Modern Math on the bots
483         https://bugs.webkit.org/show_bug.cgi?id=134153
484
485         Reviewed by Gyuyoung Kim.
486
487         * efl/jhbuild.modules: Switch back to https://github.com/ for the webkitgtk-test-fonts.
488
489 2014-06-24  Frédéric Wang  <fred.wang@free.fr>
490
491         [EFL] [GTK] Use Latin Modern Math in the jhbuild environments.
492         https://bugs.webkit.org/show_bug.cgi?id=134153
493
494         Reviewed by Martin Robinson.
495
496         * efl/jhbuild.modules: Use webkitgtk-test-fonts.git instead of the zip archive and upgrade to 0.0.5.
497         * gtk/jhbuild.modules: Upgrade webkitgtk-test-fonts to 0.0.5.
498
499 2014-06-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
500
501         Unreviewed, update my speciality.
502
503         * Scripts/webkitpy/common/config/contributors.json:
504
505 2014-06-24  Brent Fulgham  <bfulgham@apple.com>
506
507         [Win] Clean up and refactor WinLauncher
508         https://bugs.webkit.org/show_bug.cgi?id=134209
509
510         Reviewed by Tim Thorton.
511
512         Relanding r170339 and r170340 with correct WinLauncher.h file.
513
514         * WinLauncher/Common.cpp: Copied from WinLauncher/WinLauncher.cpp.
515         (PrintView):
516         (ToggleMenuItem):
517         (WndProc):
518         (BackButtonProc):
519         (ForwardButtonProc):
520         (loadURL):
521         (shouldUseFullDesktop): Deleted.
522         (SimpleEventListener::SimpleEventListener): Deleted.
523         (SimpleEventListener::handleEvent): Deleted.
524         (WinLauncherWebHost::updateAddressBar): Deleted.
525         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
526         (WinLauncherWebHost::QueryInterface): Deleted.
527         (WinLauncherWebHost::AddRef): Deleted.
528         (WinLauncherWebHost::Release): Deleted.
529         (updateMenuItemForHistoryItem): Deleted.
530         (showLastVisitedSites): Deleted.
531         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
532         (resizeSubViews): Deleted.
533         (setToDefaultPreferences): Deleted.
534         (wWinMain): Deleted.
535         (MyRegisterClass): Deleted.
536         (LaunchInspector): Deleted.
537         (NavigateForwardOrBackward): Deleted.
538         (NavigateToHistory): Deleted.
539         * WinLauncher/DOMDefaultImpl.cpp: Copied from WinLauncher/DOMDefaultImpl.h.
540         (DOMEventListener::Release):
541         (WebScriptObject::WebScriptObject): Deleted.
542         (WebScriptObject::~WebScriptObject): Deleted.
543         (WebScriptObject::throwException): Deleted.
544         (WebScriptObject::callWebScriptMethod): Deleted.
545         (WebScriptObject::evaluateWebScript): Deleted.
546         (WebScriptObject::removeWebScriptKey): Deleted.
547         (WebScriptObject::stringRepresentation): Deleted.
548         (WebScriptObject::webScriptValueAtIndex): Deleted.
549         (WebScriptObject::setWebScriptValueAtIndex): Deleted.
550         (WebScriptObject::setException): Deleted.
551         (DOMEventListener::throwException): Deleted.
552         (DOMEventListener::callWebScriptMethod): Deleted.
553         (DOMEventListener::evaluateWebScript): Deleted.
554         (DOMEventListener::removeWebScriptKey): Deleted.
555         (DOMEventListener::stringRepresentation): Deleted.
556         (DOMEventListener::webScriptValueAtIndex): Deleted.
557         (DOMEventListener::setWebScriptValueAtIndex): Deleted.
558         (DOMEventListener::setException): Deleted.
559         (DOMEventListener::handleEvent): Deleted.
560         * WinLauncher/DOMDefaultImpl.h:
561         (WebScriptObject::QueryInterface): Deleted.
562         (WebScriptObject::AddRef): Deleted.
563         (WebScriptObject::Release): Deleted.
564         (DOMObject::QueryInterface): Deleted.
565         (DOMEventListener::QueryInterface): Deleted.
566         (DOMEventListener::AddRef): Deleted.
567         (DOMEventListener::Release): Deleted.
568         * WinLauncher/WinLauncher.cpp:
569         (WinLauncher::WinLauncher):
570         (WinLauncher::init):
571         (WinLauncher::prepareViews):
572         (WinLauncher::setFrameLoadDelegate):
573         (WinLauncher::setUIDelegate):
574         (WinLauncher::setAccessibilityDelegate):
575         (WinLauncher::mainFrame):
576         (WinLauncher::seedInitialDefaultPreferences):
577         (WinLauncher::setToDefaultPreferences):
578         (updateMenuItemForHistoryItem):
579         (WinLauncher::showLastVisitedSites):
580         (WinLauncher::launchInspector):
581         (WinLauncher::navigateForwardOrBackward):
582         (WinLauncher::navigateToHistory):
583         (WinLauncher::goBack):
584         (WinLauncher::goForward):
585         (WinLauncher::loadURL):
586         (shouldUseFullDesktop): Deleted.
587         (SimpleEventListener::SimpleEventListener): Deleted.
588         (SimpleEventListener::handleEvent): Deleted.
589         (WinLauncherWebHost::updateAddressBar): Deleted.
590         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
591         (WinLauncherWebHost::QueryInterface): Deleted.
592         (WinLauncherWebHost::AddRef): Deleted.
593         (WinLauncherWebHost::Release): Deleted.
594         (showLastVisitedSites): Deleted.
595         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
596         (resizeSubViews): Deleted.
597         (subclassForLayeredWindow): Deleted.
598         (computeFullDesktopFrame): Deleted.
599         (DllMain): Deleted.
600         (getAppDataFolder): Deleted.
601         (setToDefaultPreferences): Deleted.
602         (setCacheFolder): Deleted.
603         (createCrashReport): Deleted.
604         (wWinMain): Deleted.
605         (MyRegisterClass): Deleted.
606         (AbortProc): Deleted.
607         (getPrinterDC): Deleted.
608         (initDocStruct): Deleted.
609         (PrintView): Deleted.
610         (ToggleMenuItem): Deleted.
611         (LaunchInspector): Deleted.
612         (NavigateForwardOrBackward): Deleted.
613         (NavigateToHistory): Deleted.
614         (WndProc): Deleted.
615         (EditProc): Deleted.
616         (BackButtonProc): Deleted.
617         (ForwardButtonProc): Deleted.
618         (About): Deleted.
619         (loadURL): Deleted.
620         (dllLauncherEntryPoint): Deleted.
621         * WinLauncher/WinLauncher.h:
622         (WinLauncher::standardPreferences):
623         (WinLauncher::privatePreferences):
624         (WinLauncher::hasWebView):
625         (WinLauncher::usesLayeredWebView):
626         (WinLauncherWebHost::WinLauncherWebHost): Deleted.
627         (WinLauncherWebHost::didStartProvisionalLoadForFrame): Deleted.
628         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame): Deleted.
629         (WinLauncherWebHost::didCommitLoadForFrame): Deleted.
630         (WinLauncherWebHost::didReceiveTitle): Deleted.
631         (WinLauncherWebHost::didChangeIcons): Deleted.
632         (WinLauncherWebHost::didReceiveIcon): Deleted.
633         (WinLauncherWebHost::didFailLoadWithError): Deleted.
634         (WinLauncherWebHost::didChangeLocationWithinPageForFrame): Deleted.
635         (WinLauncherWebHost::willPerformClientRedirectToURL): Deleted.
636         (WinLauncherWebHost::didCancelClientRedirectForFrame): Deleted.
637         (WinLauncherWebHost::willCloseFrame): Deleted.
638         (WinLauncherWebHost::windowScriptObjectAvailable): Deleted.
639         (WinLauncherWebHost::didClearWindowObject): Deleted.
640         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
641         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
642         * WinLauncher/WinLauncherReplace.h:
643         (processCrashReport):
644         * WinLauncher/WinLauncherWebHost.cpp: Copied from WinLauncher/WinLauncher.cpp.
645         (WinLauncherWebHost::updateAddressBar):
646         (WinLauncherWebHost::QueryInterface):
647         (WinLauncherWebHost::AddRef):
648         (WinLauncherWebHost::Release):
649         (WinLauncherWebHost::didFinishLoadForFrame):
650         (shouldUseFullDesktop): Deleted.
651         (updateMenuItemForHistoryItem): Deleted.
652         (showLastVisitedSites): Deleted.
653         (resizeSubViews): Deleted.
654         (subclassForLayeredWindow): Deleted.
655         (computeFullDesktopFrame): Deleted.
656         (DllMain): Deleted.
657         (getAppDataFolder): Deleted.
658         (setToDefaultPreferences): Deleted.
659         (setCacheFolder): Deleted.
660         (createCrashReport): Deleted.
661         (wWinMain): Deleted.
662         (MyRegisterClass): Deleted.
663         (AbortProc): Deleted.
664         (getPrinterDC): Deleted.
665         (initDocStruct): Deleted.
666         (PrintView): Deleted.
667         (ToggleMenuItem): Deleted.
668         (LaunchInspector): Deleted.
669         (NavigateForwardOrBackward): Deleted.
670         (NavigateToHistory): Deleted.
671         (WndProc): Deleted.
672         (EditProc): Deleted.
673         (BackButtonProc): Deleted.
674         (ForwardButtonProc): Deleted.
675         (About): Deleted.
676         (loadURL): Deleted.
677         (dllLauncherEntryPoint): Deleted.
678         * WinLauncher/WinLauncherWebHost.h: Copied from WinLauncher/WinLauncher.h.
679         (WinLauncherWebHost::WinLauncherWebHost):
680         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
681         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
682         (WinLauncherWebHost::didCommitLoadForFrame):
683         (WinLauncherWebHost::didReceiveTitle):
684         (WinLauncherWebHost::didChangeIcons):
685         (WinLauncherWebHost::didReceiveIcon):
686         (WinLauncherWebHost::didFailLoadWithError):
687         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
688         (WinLauncherWebHost::willPerformClientRedirectToURL):
689         (WinLauncherWebHost::didCancelClientRedirectForFrame):
690         (WinLauncherWebHost::willCloseFrame):
691         (WinLauncherWebHost::windowScriptObjectAvailable):
692         (WinLauncherWebHost::didClearWindowObject):
693         * WinLauncher/WinMain.cpp: Copied from WinLauncher/WinLauncher.cpp.
694         (wWinMain):
695         (MyRegisterClass):
696         (shouldUseFullDesktop): Deleted.
697         (SimpleEventListener::SimpleEventListener): Deleted.
698         (SimpleEventListener::handleEvent): Deleted.
699         (WinLauncherWebHost::updateAddressBar): Deleted.
700         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
701         (WinLauncherWebHost::QueryInterface): Deleted.
702         (WinLauncherWebHost::AddRef): Deleted.
703         (WinLauncherWebHost::Release): Deleted.
704         (updateMenuItemForHistoryItem): Deleted.
705         (showLastVisitedSites): Deleted.
706         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
707         (resizeSubViews): Deleted.
708         (subclassForLayeredWindow): Deleted.
709         (computeFullDesktopFrame): Deleted.
710         (DllMain): Deleted.
711         (getAppDataFolder): Deleted.
712         (setToDefaultPreferences): Deleted.
713         (setCacheFolder): Deleted.
714         (createCrashReport): Deleted.
715         (AbortProc): Deleted.
716         (getPrinterDC): Deleted.
717         (initDocStruct): Deleted.
718         (PrintView): Deleted.
719         (ToggleMenuItem): Deleted.
720         (LaunchInspector): Deleted.
721         (NavigateForwardOrBackward): Deleted.
722         (NavigateToHistory): Deleted.
723         (WndProc): Deleted.
724         (EditProc): Deleted.
725         (BackButtonProc): Deleted.
726         (ForwardButtonProc): Deleted.
727         (About): Deleted.
728         (loadURL): Deleted.
729         (dllLauncherEntryPoint): Deleted.
730
731 2014-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
732
733         [iOS] getsectdata() is deprecated and we use it in DRT
734         https://bugs.webkit.org/show_bug.cgi?id=134122
735
736         Reviewed by Alexey Proskuryakov.
737
738         Migrate to using magic linker symbols.
739
740         No tests because there should be no behavior change
741
742         * DumpRenderTree/mac/DumpRenderTree.mm:
743         (activateFontsIOS):
744
745 2014-06-24  Javier Fernandez  <jfernandez@igalia.com>
746
747         Name moving. Unreviewed.
748
749         * Scripts/webkitpy/common/config/contributors.json:
750
751 2014-06-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
752
753         Remove EFL WK1 watch category
754         https://bugs.webkit.org/show_bug.cgi?id=134231
755
756         Reviewed by Csaba Osztrogonác.
757
758         * Scripts/webkitpy/common/config/watchlist: Removed EFL WK1 category.
759
760 2014-06-24  Krzysztof Czech  <k.czech@samsung.com>
761
762         [ATK] Remove some unused code from DumpRenderTree
763         https://bugs.webkit.org/show_bug.cgi?id=134191
764
765         Reviewed by Chris Fleizach.
766
767         DumpRenderTree's accessibility code could be removed since GTK and EFL has stopped supporting WK1.
768
769         * DumpRenderTree/atk/AccessibilityCallbacks.h: Removed.
770         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp: Removed.
771         * DumpRenderTree/atk/AccessibilityControllerAtk.cpp: Removed.
772         * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp: Removed.
773         * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h: Removed.
774         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: Removed.
775
776 2014-06-23  Shivakumar JM  <shiva.jm@samsung.com>
777
778         [EFL][WK2] Search field is not shown properly on doing ctrl+f on Minibrowser.
779         https://bugs.webkit.org/show_bug.cgi?id=134025
780
781         Reviewed by Gyuyoung Kim.
782
783         Use EVAS_HINT_FILL in evas_object_size_hint_align_set() api.
784
785         * MiniBrowser/efl/main.c:
786         (window_create):
787
788 2014-06-23  Ryuan Choi  <ryuan.choi@samsung.com>
789
790         [EFL] Replace RefPtr<Evas_Object> with UniquePtrEfl
791         https://bugs.webkit.org/show_bug.cgi?id=134236
792
793         Reviewed by Gyuyoung Kim.
794
795         * ImageDiff/efl/ImageDiff.cpp:
796         (calculateDifference):
797         (printImageDifferences):
798         (readImageFromStdin):
799         (main):
800
801 2014-06-23  Daniel Bates  <dabates@apple.com>
802
803         Rolling out r170340 and r170339.
804
805         Changeset r170339 broke the Apple Windows Debug and Release builds.
806
807         Reverted changesets:
808
809         "[Win] Build fix after r134209"
810         http://trac.webkit.org/changeset/170340
811
812         "[Win] Clean up and refactor WinLauncher"
813         https://bugs.webkit.org/show_bug.cgi?id=134209
814         http://trac.webkit.org/changeset/170339
815
816 2014-06-23  Brent Fulgham  <bfulgham@apple.com>
817
818         [Win] Build fix after r134209
819
820         * WinLauncher/WinMain.cpp: Must include the resources file
821         before Common.cpp.
822
823 2014-06-23  Brent Fulgham  <bfulgham@apple.com>
824
825         [Win] Clean up and refactor WinLauncher
826         https://bugs.webkit.org/show_bug.cgi?id=134209
827
828         Reviewed by Tim Horton.
829
830         Make WinLauncher a class, and move all non-class driver functions
831         into "Common.cpp" and "WinMain.cpp". These files are distinct
832         to allow some internal tools to reuse the code in 'Common'.
833
834         * WinLauncher/Common.cpp: Added. Consists of code moved from
835         'WinLauncher.cpp' that can be reused for other tools.
836         (subclassForLayeredWindow):
837         (computeFullDesktopFrame):
838         (DllMain):
839         (getAppDataFolder):
840         (setCacheFolder):
841         (createCrashReport):
842         (AbortProc):
843         (getPrinterDC):
844         (initDocStruct):
845         (PrintView):
846         (ToggleMenuItem):
847         (WndProc):
848         (EditProc):
849         (BackButtonProc):
850         (ForwardButtonProc):
851         (About):
852         (loadURL):
853         (dllLauncherEntryPoint):
854         * WinLauncher/DOMDefaultImpl.cpp: Copied from WinLauncher/DOMDefaultImpl.h.
855         (DOMEventListener::Release):
856         (WebScriptObject::WebScriptObject): Deleted.
857         (WebScriptObject::~WebScriptObject): Deleted.
858         (WebScriptObject::throwException): Deleted.
859         (WebScriptObject::callWebScriptMethod): Deleted.
860         (WebScriptObject::evaluateWebScript): Deleted.
861         (WebScriptObject::removeWebScriptKey): Deleted.
862         (WebScriptObject::stringRepresentation): Deleted.
863         (WebScriptObject::webScriptValueAtIndex): Deleted.
864         (WebScriptObject::setWebScriptValueAtIndex): Deleted.
865         (WebScriptObject::setException): Deleted.
866         (DOMEventListener::throwException): Deleted.
867         (DOMEventListener::callWebScriptMethod): Deleted.
868         (DOMEventListener::evaluateWebScript): Deleted.
869         (DOMEventListener::removeWebScriptKey): Deleted.
870         (DOMEventListener::stringRepresentation): Deleted.
871         (DOMEventListener::webScriptValueAtIndex): Deleted.
872         (DOMEventListener::setWebScriptValueAtIndex): Deleted.
873         (DOMEventListener::setException): Deleted.
874         (DOMEventListener::handleEvent): Deleted.
875         * WinLauncher/DOMDefaultImpl.h:
876         (WebScriptObject::QueryInterface): Deleted.
877         (WebScriptObject::AddRef): Deleted.
878         (WebScriptObject::Release): Deleted.
879         (DOMObject::QueryInterface): Deleted.
880         (DOMEventListener::QueryInterface): Deleted.
881         (DOMEventListener::AddRef): Deleted.
882         (DOMEventListener::Release): Deleted.
883         * WinLauncher/WinLauncher.cpp: Converted stand-alone implementation
884         into a C++ class and removed WinAPI code.
885         (WinLauncher::WinLauncher):
886         (WinLauncher::init):
887         (WinLauncher::prepareViews):
888         (WinLauncher::setFrameLoadDelegate):
889         (WinLauncher::setUIDelegate):
890         (WinLauncher::setAccessibilityDelegate):
891         (WinLauncher::mainFrame):
892         (WinLauncher::seedInitialDefaultPreferences):
893         (WinLauncher::setToDefaultPreferences):
894         (updateMenuItemForHistoryItem):
895         (WinLauncher::showLastVisitedSites):
896         (WinLauncher::launchInspector):
897         (WinLauncher::navigateForwardOrBackward):
898         (WinLauncher::navigateToHistory):
899         (WinLauncher::goBack):
900         (WinLauncher::goForward):
901         (WinLauncher::loadURL):
902         (shouldUseFullDesktop): Deleted.
903         (SimpleEventListener::SimpleEventListener): Deleted.
904         (SimpleEventListener::handleEvent): Deleted.
905         (WinLauncherWebHost::updateAddressBar): Deleted.
906         (WinLauncherWebHost::didFailProvisionalLoadWithError): Deleted.
907         (WinLauncherWebHost::QueryInterface): Deleted.
908         (WinLauncherWebHost::AddRef): Deleted.
909         (WinLauncherWebHost::Release): Deleted.
910         (showLastVisitedSites): Deleted.
911         (WinLauncherWebHost::didFinishLoadForFrame): Deleted.
912         (resizeSubViews): Deleted.
913         (subclassForLayeredWindow): Deleted.
914         (computeFullDesktopFrame): Deleted.
915         (DllMain): Deleted.
916         (getAppDataFolder): Deleted.
917         (setToDefaultPreferences): Deleted.
918         (setCacheFolder): Deleted.
919         (createCrashReport): Deleted.
920         (wWinMain): Deleted.
921         (MyRegisterClass): Deleted.
922         (AbortProc): Deleted.
923         (getPrinterDC): Deleted.
924         (initDocStruct): Deleted.
925         (PrintView): Deleted.
926         (ToggleMenuItem): Deleted.
927         (LaunchInspector): Deleted.
928         (NavigateForwardOrBackward): Deleted.
929         (NavigateToHistory): Deleted.
930         (WndProc): Deleted.
931         (EditProc): Deleted.
932         (BackButtonProc): Deleted.
933         (ForwardButtonProc): Deleted.
934         (About): Deleted.
935         (loadURL): Deleted.
936         (dllLauncherEntryPoint): Deleted.
937         * WinLauncher/WinLauncher.h: Removed.
938         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
939         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
940         * WinLauncher/WinLauncherReplace.h:
941         (processCrashReport):
942         * WinLauncher/WinLauncherWebHost.cpp: Added.
943         (SimpleEventListener::SimpleEventListener):
944         (SimpleEventListener::handleEvent):
945         (WinLauncherWebHost::updateAddressBar):
946         (WinLauncherWebHost::didFailProvisionalLoadWithError):
947         (WinLauncherWebHost::QueryInterface):
948         (WinLauncherWebHost::AddRef):
949         (WinLauncherWebHost::Release):
950         (WinLauncherWebHost::didFinishLoadForFrame):
951         * WinLauncher/WinLauncherWebHost.h: Copied from WinLauncher/WinLauncher.h.
952         Moved WinLauncherWebHost implementation from WinLauncher.cpp into
953         its own set of files.
954         (WinLauncherWebHost::WinLauncherWebHost):
955         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
956         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
957         (WinLauncherWebHost::didCommitLoadForFrame):
958         (WinLauncherWebHost::didReceiveTitle):
959         (WinLauncherWebHost::didChangeIcons):
960         (WinLauncherWebHost::didReceiveIcon):
961         (WinLauncherWebHost::didFailLoadWithError):
962         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
963         (WinLauncherWebHost::willPerformClientRedirectToURL):
964         (WinLauncherWebHost::didCancelClientRedirectForFrame):
965         (WinLauncherWebHost::willCloseFrame):
966         (WinLauncherWebHost::windowScriptObjectAvailable):
967         (WinLauncherWebHost::didClearWindowObject):
968         * WinLauncher/WinMain.cpp: Added. This consists of code from
969         WinLauncher that is unique to the WinLauncher utility, and is
970         not part of the WinLauncher class.
971         (wWinMain):
972         (MyRegisterClass):
973
974 2014-06-23  Simon Fraser  <simon.fraser@apple.com>
975
976         Enable the Web Inspector in MiniBrowser
977         https://bugs.webkit.org/show_bug.cgi?id=134148
978
979         Reviewed by Joseph Pecoraro.
980         
981         Set the pref to enable Web Inspector in both WK1 and WK2 windows.
982
983         * MiniBrowser/mac/AppDelegate.m:
984         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
985
986 2014-06-21  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
987
988         Disable gamepad feature on EFL and GTK ports by default
989         https://bugs.webkit.org/show_bug.cgi?id=134169
990
991         Reviewed by Brady Eidson.
992
993         EFL and GTK ports disabled Gamepad feature now. Besides current implementation
994         was treated to 'deprecated' status.
995
996         ENABLE_GAMEPAD_DEPRECATED is disabled for now. There is build break on EFL port.
997
998         * Scripts/webkitperl/FeatureList.pm:
999
1000 2014-06-21  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
1001
1002         [Inspector][EFL] Can't resume a special break point on EFL inspector
1003         https://bugs.webkit.org/show_bug.cgi?id=129294
1004
1005         Reviewed by Gyuyoung Kim.
1006
1007         Patch our EFL 1.9 with the fix landed in upstream EFL 1.10
1008         by Ryuan Choi - <https://phab.enlightenment.org/D790>
1009
1010         * efl/jhbuild.modules:
1011         * efl/patches/ecore.patch: Added.
1012
1013 2014-06-21  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1014
1015         Removing PAGE_VISIBILITY_API compile guard.
1016         https://bugs.webkit.org/show_bug.cgi?id=133844
1017
1018         Reviewed by Gavin Barraclough.
1019
1020         * Scripts/webkitperl/FeatureList.pm:
1021
1022 2014-06-20  Ryuan Choi  <ryuan.choi@samsung.com>
1023
1024         [EFL] Remove DumpRenderTree/efl and EWebLauncher
1025         https://bugs.webkit.org/show_bug.cgi?id=134138
1026
1027         Reviewed by Gyuyoung Kim.
1028
1029         DumpRenderTree/efl and EWebLauncher are not necessary anymore because WebKit1 EFL will be removed.
1030
1031         * CMakeLists.txt:
1032         * DumpRenderTree/PlatformEfl.cmake: Removed.
1033         * DumpRenderTree/efl: Removed entire directory.
1034         * EWebLauncher: Ditto.
1035         * WebKitTestRunner/InjectedBundle/efl/FontManagement.cpp: Renamed from Tools/DumpRenderTree/efl/FontManagement.cpp.
1036         (buildPath):
1037         (getCoreFontFiles):
1038         (addFontDirectory):
1039         (addFontFiles):
1040         (getCustomBuildDir):
1041         (getPlatformFontsPath):
1042         (addFontsToEnvironment):
1043         * WebKitTestRunner/InjectedBundle/efl/FontManagement.h: Renamed from Tools/DumpRenderTree/efl/FontManagement.h.
1044         * WebKitTestRunner/PlatformEfl.cmake:
1045
1046 2014-06-20  Zalan Bujtas  <zalan@apple.com>
1047
1048         Name moving. Unreviewed.
1049
1050         * Scripts/webkitpy/common/config/contributors.json:
1051
1052 2014-06-20  Javier Fernandez  <jfernandez@igalia.com>
1053
1054         Unreviewed. Adding myself to committers.
1055
1056         * Scripts/webkitpy/common/config/contributors.json:
1057
1058 2014-06-20  Yusuke Suzuki  <utatane.tea@gmail.com>
1059
1060         Unreviewed. Adding myself to committers.
1061
1062         * Scripts/webkitpy/common/config/contributors.json:
1063
1064 2014-06-20  Tim Horton  <timothy_horton@apple.com>
1065
1066         Make WebKit2 more accessible in MiniBrowser
1067         https://bugs.webkit.org/show_bug.cgi?id=134099
1068
1069         Reviewed by Anders Carlsson.
1070
1071         * MiniBrowser/mac/AppDelegate.h:
1072         * MiniBrowser/mac/AppDelegate.m:
1073         (-[BrowserAppDelegate newWindow:]):
1074         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
1075         (-[BrowserAppDelegate toggleUseWebKit2ByDefault:]):
1076         (-[BrowserAppDelegate _useWebKit2ByDefault]):
1077         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
1078         (-[BrowserAppDelegate validateMenuItem:]):
1079         * MiniBrowser/mac/MainMenu.xib:
1080         Add a "Use WebKit2 By Default" menu item to the top of the Debug menu.
1081         When switched on, Cmd-N will make WebKit2 windows (and the default window will be WebKit2).
1082         Make the non-default new-window menu item always show up, because people often don't find it
1083         when you have to press option to have it show up.
1084
1085         * MiniBrowser/mac/BrowserWindowController.h:
1086         * MiniBrowser/mac/BrowserWindowController.m:
1087         (-[BrowserWindowController initWithWindow:]):
1088         
1089         * MiniBrowser/mac/WK1BrowserWindowController.m:
1090         (-[WK1BrowserWindowController validateMenuItem:]):
1091         * MiniBrowser/mac/WK2BrowserWindowController.m:
1092         (-[WK2BrowserWindowController validateMenuItem:]):
1093         Use the cached [menuItem action] like the earlier cases do.
1094
1095 2014-06-20  Daniel Bates  <dabates@apple.com>
1096
1097         Teach run-{safari, webkit-app} about iOS Simulator
1098         https://bugs.webkit.org/show_bug.cgi?id=133986
1099
1100         Reviewed by David Kilzer.
1101
1102         Extract the logic from old-run-webkit-tests to install and launch {DumpRenderTree, WebKitTestRunnerApp}.app
1103         into general-purpose routines in webkitdirs.pm so that they can be used both by script old-run-webkit-tests
1104         and run-safari.
1105
1106         * Scripts/old-run-webkit-tests:
1107         (installAndLaunchDumpToolAppUsingNotification): Extracted logic to install and launch {DumpRenderTree,
1108         WebKitTestRunnerApp}.app into webkitdirs::installAndLaunchIOSWebKitAppInSimulator() and modified code
1109         to call it.
1110         (openIPhoneSimulator): Deleted; moved logic to webkitdirs::openIOSSimulator().
1111         (quitIPhoneSimulator): Deleted; moved logic to webkitdirs::quitIOSSimulator().
1112         * Scripts/run-webkit-app: Modified to call runIOSWebKitApp() when the iOS simulator SDK is used
1113         (say, by specifying the optional command-line argument --simulator). For now, die() with an error
1114         when the iOS device SDK is used as we don't support launching an app on the device at this time.
1115         * Scripts/webkitdirs.pm:
1116         (xcodeSDKVersion): Added.
1117         (setupIOSWebKitEnvironment): Added.
1118         (installedMobileSafariBundle): Added.
1119         (mobileSafariBundle): Added.
1120         (plistPathFromBundle): Added.
1121         (appIdentiferFromBundle): Added.
1122         (appDisplayNameFromBundle): Added.
1123         (loadIPhoneSimulatorNotificationIfNeeded): Added.
1124         (openIOSSimulator): Added.
1125         (quitIOSSimulator): Added.
1126         (iosSimulatorDeviceByName): Added.
1127         (iosSimulatorRuntime): Added.
1128         (findOrCreateSimulatorForIOSDevice): Added.
1129         (runIOSWebKitAppInSimulator): Added.
1130         (installAndLaunchIOSWebKitAppInSimulator): Added.
1131         (runIOSWebKitApp): Added.
1132         (runSafari): Modified to call runIOSWebKitAppInSimulator() the iOS simulator SDK is used. For now,
1133         die() with an error when the iOS device SDK is used as we don't support launching Safari on the
1134         device at this time.
1135
1136 2014-06-19  Anders Carlsson  <andersca@apple.com>
1137
1138         Add WTF::Optional class
1139         https://bugs.webkit.org/show_bug.cgi?id=134083
1140
1141         Reviewed by Andreas Kling.
1142
1143         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1144         * TestWebKitAPI/Tests/WTF/Optional.cpp: Added.
1145         (TestWebKitAPI::TEST):
1146
1147 2014-06-20  Ion Rosca  <rosca@adobe.com>
1148
1149         Unreviewed. Adding myself to Committers list.
1150
1151         * Scripts/webkitpy/common/config/contributors.json:
1152
1153 2014-06-20  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1154
1155         [EFL] Add gstreamer as dependecy of EFL after r169785
1156         https://bugs.webkit.org/show_bug.cgi?id=134066
1157
1158         Reviewed by Gyuyoung Kim.
1159
1160         * efl/jhbuild.modules:
1161
1162 2014-06-20  Ryuan Choi  <ryuan.choi@samsung.com>
1163
1164         [EFL] Merge url_utils.c to MiniBrowser
1165         https://bugs.webkit.org/show_bug.cgi?id=134095
1166
1167         Reviewed by Csaba Osztrogonác.
1168
1169         url_utils.c is simple code to share between EWebLauncher and MiniBrowser.
1170         This patch removes the dependency of url_utils.c from MiniBrowser to drop WebKit1 EFL port.
1171
1172         * MiniBrowser/efl/CMakeLists.txt:
1173         Remove the EWebLauncher/ from the includes and url_utils.h from the source lists.
1174         * MiniBrowser/efl/main.c:
1175         (has_scheme): Copied from url_utils.c
1176         (url_from_user_input): Ditto.
1177
1178 2014-06-19  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1179
1180         Fix webkitpy tests after EFL WK1 buildbot and EWS removal - r170172.
1181
1182         Reviewed by Csaba Osztrogonác.
1183
1184         * Scripts/webkitpy/common/config/ports_unittest.py:
1185         (DeprecatedPortTest.test_gtk_wk2_port):
1186         (DeprecatedPortTest.test_efl_port): Deleted.
1187         * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
1188         (TestExpectationsTestCase.test_determine_port_from_expectations_path):
1189         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
1190         (TestRebaselineExpectations.test_rebaseline_expectations):
1191
1192 2014-06-19  Ryuan Choi  <ryuan.choi@samsung.com>
1193
1194         [EFL][CMAKE] Disable WebKit1 build as a default
1195         https://bugs.webkit.org/show_bug.cgi?id=134093
1196
1197         Reviewed by Gyuyoung Kim.
1198
1199         * CMakeLists.txt:
1200
1201 2014-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1202
1203         [GTK] webkit_dom_document_create_tree_walker impossible to use due to WebKitDOMNodeFilter
1204         https://bugs.webkit.org/show_bug.cgi?id=93002
1205
1206         Reviewed by Gustavo Noronha Silva.
1207
1208         Add unit tests to check WebKitDOMNodefilter API used from both
1209         TreeWalker and NodeIterator.
1210
1211         * Scripts/webkitpy/style/checker.py: Add exceptions for GTK+
1212         public headers and add WebKitDOMNodeFilter to the list of exceptions.
1213         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Add new files to compilation.
1214         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp: Added.
1215         (webkitNodeFilterAcceptNode):
1216         (webkitNodeFilterDOMNodeFilterIfaceInit):
1217         (webkit_node_filter_init):
1218         (webkit_node_filter_class_init):
1219         (WebKitDOMNodeFilterTest::create):
1220         (WebKitDOMNodeFilterTest::webPageFromArgs):
1221         (WebKitDOMNodeFilterTest::testTreeWalker):
1222         (WebKitDOMNodeFilterTest::testNodeIterator):
1223         (WebKitDOMNodeFilterTest::runTest):
1224         (registerTests):
1225         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNodeFilter.cpp: Added.
1226         (runTest):
1227         (testWebKitDOMNodeFilterTreeWalker):
1228         (testWebKitDOMNodeFilterNodeIterator):
1229         (beforeAll):
1230         (afterAll):
1231         * gtk/webkitdom.py:
1232         (WebKitDOMDocGeneratorSections.__init__):
1233         (WebKitDOMDocGeneratorSections._symbol_list):
1234         (WebKitDOMDocGeneratorSections.write_section):
1235
1236 2014-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1237
1238         [GTK] Limit the amount of API exposed to GObject DOM bindings API
1239         https://bugs.webkit.org/show_bug.cgi?id=133726
1240
1241         Reviewed by Gustavo Noronha Silva.
1242
1243         Don't make fatal finding files without a .symbols file, since now
1244         only the stable DOM API has .symbols files.
1245
1246         * gtk/webkitdom.py:
1247         (get_all_webkitdom_symbol_files):
1248
1249 2014-06-19  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1250
1251         Remove efl wk1 buildbot and ews
1252         https://bugs.webkit.org/show_bug.cgi?id=134089
1253
1254         Reviewed by Benjamin Poulain.
1255
1256         EFL WK1 is not supported anymore. Removed all bots for EFL WK1 bots.
1257
1258         * BuildSlaveSupport/build.webkit.org-config/config.json:
1259         * QueueStatusServer/config/queues.py:
1260         * Scripts/webkitpy/common/config/ews.json:
1261         * Scripts/webkitpy/common/config/ports.py:
1262         (DeprecatedPort.port):
1263         (QtWK2Port.run_webkit_tests_command):
1264         (EflPort): Deleted.
1265         (EflPort.build_webkit_command): Deleted.
1266         * Scripts/webkitpy/port/builders.py:
1267         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1268         * TestResultServer/static-dashboards/loader_unittests.js:
1269
1270 2014-06-19  David Kilzer  <ddkilzer@apple.com>
1271
1272         check-webkit-style does not understand Obj-C literal syntax for NSDictionary
1273         <http://webkit.org/b/134061>
1274
1275         Reviewed by Dan Bernstein.
1276
1277         * Scripts/webkitpy/style/checkers/cpp.py:
1278         (check_spacing): Ignore '@' immediately before '{'.
1279         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1280         (CppStyleTest.test_spacing_before_braces): Add unit test for
1281         '^{' block syntax and '@{' Objective-C liternal NSDitionary
1282         syntax.
1283
1284 2014-06-18  Tim Horton  <timothy_horton@apple.com>
1285
1286         All of MiniBrowser's WKWebViews should share a configuration
1287         https://bugs.webkit.org/show_bug.cgi?id=134017
1288
1289         Reviewed by Anders Carlsson.
1290
1291         * MiniBrowser/mac/WK2BrowserWindowController.m:
1292         (-[WK2BrowserWindowController awakeFromNib]):
1293         Share a single WKWebViewConfiguration between all of MiniBrowser's views.
1294         This means that they'll share things like preferences, visited links, etc.
1295         It also means that we'll properly share processes once we hit the process limit.
1296
1297 2014-06-18  Zan Dobersek  <zdobersek@igalia.com>
1298
1299         [GTK] Bump the GLib and GTK+ dependencies in jhbuild-wayland.modules
1300         https://bugs.webkit.org/show_bug.cgi?id=133971
1301
1302         Reviewed by Martin Robinson.
1303
1304         * gtk/jhbuild-wayland.modules: Bump the GTK+ dependency that's required for
1305         building for the Wayland target. The latest 3.12 version is required to match
1306         the xdg_shell protocol version used in Weston 1.5. GLib dependency is bumped
1307         as well due to GTK+ depending on a newer version.
1308
1309 2014-06-17  Ryuan Choi  <ryuan.choi@samsung.com>
1310
1311         [EFL] Turn on NOSNIFF in FeatureList.pm
1312         https://bugs.webkit.org/show_bug.cgi?id=134010
1313
1314         Reviewed by Csaba Osztrogonác.
1315
1316         r164848 enabled NOSNIFF feature for EFL port but missed to change FeatureList.pm.
1317
1318         * Scripts/webkitperl/FeatureList.pm: Turn on NOSNIFF for the EFL port.
1319
1320 2014-06-17  Tim Horton  <timothy_horton@apple.com>
1321
1322         MiniBrowser should show Web Content process pids in the window title
1323         https://bugs.webkit.org/show_bug.cgi?id=134016
1324
1325         Reviewed by Sam Weinig.
1326
1327         * MiniBrowser/mac/WK2BrowserWindowController.m:
1328         (-[WK2BrowserWindowController observeValueForKeyPath:ofObject:change:context:]):
1329
1330 2014-06-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1331
1332         [GTK] Fix the handling of resize events after r169505.
1333         https://bugs.webkit.org/show_bug.cgi?id=133517
1334
1335         Reviewed by Martin Robinson.
1336
1337         * Scripts/webkitpy/port/xvfbdriver.py:
1338         (XvfbDriver._start): Set the resolution of Xvfb to XGA (1024x768).
1339         The tests css3/viewport-percentage-lengths/viewport-percentage-lengths-*.html
1340         need at least 900x640 pixels to pass.
1341         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
1342         (XvfbDriverTest.test_start_no_pixel_tests): Update resolution.
1343         (XvfbDriverTest.test_start_pixel_tests): Update resolution.
1344         (XvfbDriverTest.test_start_arbitrary_worker_number): Update resolution.
1345         (XvfbDriverTest.test_start_next_worker): Update resolution.
1346         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1347         (WTR::PlatformWebView::PlatformWebView): gtk_widget_size_allocate should
1348         be requested over the main widget instead of the window.
1349         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame like
1350         the Mac port.
1351         (WTR::PlatformWebView::windowFrame): Remove legacy ifdef for GTK2.
1352         (WTR::PlatformWebView::setWindowFrame): Set the size and position
1353         of the Window and the web view.
1354
1355 2014-06-17  Matthew Mirman <mmirman@apple.com>
1356
1357         Unreviewed. Added myself to list of contributors.
1358
1359         * Scripts/webkitpy/common/config/contributors.json: Added myself.
1360
1361 2014-06-17  Commit Queue  <commit-queue@webkit.org>
1362
1363         Unreviewed, rolling out r170058.
1364         https://bugs.webkit.org/show_bug.cgi?id=133993
1365
1366         Caused 4 webkitpy failures on the bots (Requested by bradee-oh
1367         on #webkit).
1368
1369         Reverted changeset:
1370
1371         "[GTK] Fix the handling of resize events after r169505."
1372         https://bugs.webkit.org/show_bug.cgi?id=133517
1373         http://trac.webkit.org/changeset/170058
1374
1375 2014-06-17  Rebecca Hauck  <rhauck@adobe.com>
1376
1377         Update import-w3c-tests to reflect current W3C test repo directory structure
1378         https://bugs.webkit.org/show_bug.cgi?id=133460
1379
1380         Reviewed by Bem Jones-Bey.
1381
1382         Removed all references to test status, which are no longer reflected in the
1383         directory names in the W3C CSS test repo.  No tests are required for this 
1384         change, the existing tests pass.
1385
1386         * Scripts/webkitpy/w3c/test_importer.py:
1387         (main):
1388         (TestImporter.__init__):
1389         (TestImporter.find_importable_tests):
1390         (TestImporter.setup_destination_directory):
1391         (TestImporter.write_import_log):
1392         (TestImporter.update_test_status): Deleted.
1393
1394 2014-06-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1395
1396         [GTK] Fix the handling of resize events after r169505.
1397         https://bugs.webkit.org/show_bug.cgi?id=133517
1398
1399         Reviewed by Martin Robinson.
1400
1401         * Scripts/webkitpy/port/xvfbdriver.py:
1402         (XvfbDriver._start): Set the resolution of Xvfb to XGA (1024x768).
1403         The tests css3/viewport-percentage-lengths/viewport-percentage-lengths-*.html
1404         need at least 900x640 pixels to pass.
1405         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1406         (WTR::PlatformWebView::PlatformWebView): gtk_widget_size_allocate should
1407         be requested over the main widget instead of the window.
1408         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame like
1409         the Mac port.
1410         (WTR::PlatformWebView::windowFrame): Remove legacy ifdef for GTK2.
1411         (WTR::PlatformWebView::setWindowFrame): Set the size and position
1412         of the Window and the web view.
1413
1414 2014-06-17  Dan Bernstein  <mitz@apple.com>
1415
1416         String::isolatedCopy doesn’t return an isolated copy when used on an rvalue reference
1417         https://bugs.webkit.org/show_bug.cgi?id=133968
1418
1419         Reviewed by Anders Carlsson.
1420
1421         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
1422         (TestWebKitAPI::TEST): Added a test that an isolated copy of an rvalue reference doesn’t
1423         share an impl() with the original.
1424
1425 2014-06-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1426
1427         [EFL][WK2] Skip failing EFL API tests
1428         https://bugs.webkit.org/show_bug.cgi?id=133981
1429
1430         Reviewed by Csaba Osztrogonác.
1431
1432         UserMessage, WillLoad and test_ewk2_view have been failed since r169784.
1433
1434         * TestWebKitAPI/PlatformEfl.cmake:
1435
1436 2014-06-16  Ryuan Choi  <ryuan.choi@samsung.com>
1437
1438         [EFL][WK2] Remove workaround for icon display bug in MiniBrowser
1439         https://bugs.webkit.org/show_bug.cgi?id=133962
1440
1441         Reviewed by Gyuyoung Kim.
1442
1443         Since we bumped EFL to 1.9, this workaround is unnecessary.
1444
1445         * MiniBrowser/efl/main.c:
1446         (update_view_favicon):
1447
1448 2014-06-16  Gwang Yoon Hwang  <yoon@igalia.com>
1449
1450         [GTK] Add llvmpipe (Mesa) to the JHBuild moduleset and force it when running layout tests
1451         https://bugs.webkit.org/show_bug.cgi?id=131472
1452
1453         Reviewed by Martin Robinson.
1454
1455         This patch reapplies r167510 with fixes to add llvm as a dependency for llvmpipe.
1456
1457         * Scripts/webkitpy/port/xvfbdriver.py:
1458         (XvfbDriver._start): Use the LLVMPIPE_LIBGL_PATH to set the LD_LIBRARY_PATH
1459         when running WebKitTestRunner with the Xvfb driver.
1460         * gtk/install-dependencies: Add LLVM as a dependency to build llvmpipe.
1461         * gtk/jhbuild.modules: Add Mesa to the modulelist so that the llvmpipe libGL is build, but not
1462         installed.
1463         * gtk/jhbuildrc: Set the LLVMPIPE_LIBGL_PATH environment variable so that the test driver knows
1464         how to properly set the LD_LIBRARY_PATH variable. We do this because it is much easier to
1465         calculate the path in the jhbuildrc than in the test driver code. This simplifies things a great
1466         deal.
1467
1468 2014-06-16  Tanay C  <tanay.c@samsung.com>
1469
1470         Remove deprecated API warnings in WebKit/Tools/MiniBrowser/efl/main.c
1471         https://bugs.webkit.org/show_bug.cgi?id=133792
1472
1473         Reviewed by Gyuyoung Kim.
1474
1475         * MiniBrowser/efl/main.c: replaced the deprecated API's with the latest ones
1476         (show_file_entry_dialog):
1477         (window_create):
1478
1479 2014-06-16  Mario Sanchez Prada  <mario.prada@samsung.com>
1480
1481         [ATK] Missing 'selection-changed' signal when navigating a combo box with keyboard
1482         https://bugs.webkit.org/show_bug.cgi?id=133512
1483
1484         Reviewed by Chris Fleizach.
1485
1486         Added support for connecting to AtkSelection's 'selection-changed'
1487         signal, and print it out as AXSelectedChildrenChanged in the tests.
1488
1489         Also removed some dead code, that became useless after r169487.
1490
1491         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
1492         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks): Updated.
1493
1494 2014-06-15  Ryuan Choi  <ryuan.choi@samsung.com>
1495
1496         [EFL][WK2] Change ewk_view_settings_get to ewk_page_group_settings_get
1497         https://bugs.webkit.org/show_bug.cgi?id=133841
1498
1499         Reviewed by Gyuyoung Kim.
1500
1501         * MiniBrowser/efl/main.c:
1502         (window_create):
1503
1504 2014-06-15  Dan Bernstein  <mitz@apple.com>
1505
1506         Set the svn:ignore property on an Xcode project to ignore user and workspace data.
1507
1508         * jsc-cli/jsc-cli.xcodeproj: Added property svn:ignore.
1509
1510 2014-06-15  Anders Carlsson  <andersca@apple.com>
1511
1512         Fix build.
1513
1514         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
1515         (callRunJavaScriptBlockAndRelease):
1516         (runJavaScriptInMainFrame):
1517         (TEST_F):
1518
1519 2014-06-13  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1520
1521         Create MSE and EME watchlist
1522         https://bugs.webkit.org/show_bug.cgi?id=133810
1523
1524         Reviewed by Eric Carlson.
1525
1526         * Scripts/webkitpy/common/config/watchlist: Create MSEEME
1527         definition and add Eric Carlson and myself to it.
1528
1529 2014-06-12  Carlos Garcia Campos  <cgarcia@igalia.com>
1530
1531         [GTK] Remove all deprecated API from GObject DOM bindings
1532         https://bugs.webkit.org/show_bug.cgi?id=133728
1533
1534         Reviewed by Martin Robinson.
1535
1536         * gtk/webkitdom.py:
1537         (WebKitDOMDocGenerator): Remove all deleted classes from the list.
1538         (WebKitDOMDocGeneratorSections.__init__): Fix a typo in member initialization.
1539
1540 2014-06-12  Simon Fraser  <simon.fraser@apple.com>
1541
1542         [iOS] Fix the view being half offscreen in WebKitTestRunner on iOS
1543         https://bugs.webkit.org/show_bug.cgi?id=133835
1544
1545         Reviewed by Tim Horton.
1546         
1547         Don't do the _fakeOrigin stuff when -initWithFrame: is calling -setFrame:
1548
1549         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1550         (-[WebKitTestRunnerWindow initWithFrame:]):
1551         (-[WebKitTestRunnerWindow setFrame:]):
1552
1553 2014-06-12  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1554
1555         [GTK] Performance tests should be always ran with WKTR.
1556         https://bugs.webkit.org/show_bug.cgi?id=133780
1557
1558         Reviewed by Ryosuke Niwa.
1559
1560         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
1561         (PerfTestsRunner.__init__): Enable webkit_test_runner when port
1562         is GTK.
1563
1564 2014-06-12  Sergio Villar Senin  <svillar@igalia.com>
1565
1566         [GTK] REGRESSION: application name is not correctly appended to the UA
1567         https://bugs.webkit.org/show_bug.cgi?id=133793
1568
1569         Reviewed by Carlos Garcia Campos.
1570
1571         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
1572         (testWebKitSettingsUserAgent):
1573
1574 2014-06-12  Sergio Villar Senin  <svillar@igalia.com>
1575
1576         [GTK] Unsupported browser in www.icloud.com
1577         https://bugs.webkit.org/show_bug.cgi?id=133403
1578
1579         Reviewed by Martin Robinson.
1580
1581         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp:
1582         (TestWebKitAPI::TEST): removed a test for the NeedsSafariVersion6
1583         quirk that was removed.
1584
1585 2014-06-11  Simon Fraser  <simon.fraser@apple.com>
1586
1587         [iOS WK2] Give WebKitTestRunner a viewport configuration with initial scale=1 for testing
1588         https://bugs.webkit.org/show_bug.cgi?id=133779
1589
1590         Reviewed by Benjamin Poulain.
1591         
1592         Tell the WebPage to use the testing viewport configuration from the injected bundle.
1593
1594         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1595         (WTR::InjectedBundle::didReceiveMessage): Code cleanup.
1596         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
1597         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Call WKBundlePageSetUseTestingViewportConfiguration()
1598         on iOS.
1599
1600 2014-06-11  Simon Fraser  <simon.fraser@apple.com>
1601
1602         WTR cleanup: push per-test viewport configuration into TestController, where platforms can customize it
1603         https://bugs.webkit.org/show_bug.cgi?id=133770
1604
1605         Reviewed by Anders Carlsson.
1606         
1607         Push the per-test view configuration up to TestController, so that platforms
1608         can modify the behavior. This also allows platform-specific changes (e.g.
1609         for threaded scrolling) to made without #ifefs.
1610
1611         * WebKitTestRunner/TestController.cpp:
1612         (WTR::TestController::updateWebViewSizeForTest):
1613         (WTR::TestController::updateWindowScaleForTest):
1614         (WTR::shouldUseFixedLayout):
1615         (WTR::TestController::updateLayoutTypeForTest):
1616         (WTR::TestController::platformConfigureViewForTest):
1617         (WTR::TestController::configureViewForTest):
1618         * WebKitTestRunner/TestController.h:
1619         * WebKitTestRunner/TestInvocation.cpp:
1620         (WTR::TestInvocation::invoke):
1621         (WTR::sizeWebViewForCurrentTest): Deleted.
1622         (WTR::changeWindowScaleIfNeeded): Deleted.
1623         (WTR::shouldUseThreadedScrolling): Deleted.
1624         (WTR::updateThreadedScrollingForCurrentTest): Deleted.
1625         (WTR::shouldUseFixedLayout): Deleted.
1626         (WTR::updateLayoutType): Deleted.
1627         * WebKitTestRunner/TestInvocation.h:
1628         (WTR::TestInvocation::pathOrURL):
1629         * WebKitTestRunner/ios/TestControllerIOS.mm:
1630         (WTR::shouldMakeViewportFlexible):
1631         (WTR::TestController::platformConfigureViewForTest):
1632         * WebKitTestRunner/mac/TestControllerMac.mm:
1633         (WTR::shouldUseThreadedScrolling):
1634         (WTR::TestController::platformConfigureViewForTest):
1635
1636 2014-06-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1637
1638         [EFL] Add dependencies packages to efl install-dependencies file
1639         https://bugs.webkit.org/show_bug.cgi?id=133720
1640
1641         Reviewed by Csaba Osztrogonác.
1642
1643         After r169785, EFL port starts to use efl 1.9 ver. EFL port needs to
1644         install doxygen and libssl-dev because efl 1.9 depends on those libraries.
1645
1646         * efl/install-dependencies:
1647
1648 2014-06-11  Zoltan Horvath  <zoltan@webkit.org>
1649
1650         Unreviewed. Moving myself to the list of reviewers.
1651
1652         * Scripts/webkitpy/common/config/contributors.json:
1653
1654 2014-06-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1655
1656         [EFL] Drop to maintain EFL 32bit release bot
1657         https://bugs.webkit.org/show_bug.cgi?id=133710
1658
1659         Reviewed by Csaba Osztrogonác.
1660
1661         * BuildSlaveSupport/build.webkit.org-config/config.json: Removed EFL 32bit bot.
1662
1663 2014-06-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1664
1665         [GTK] Use a different user agent string depending on the site
1666         https://bugs.webkit.org/show_bug.cgi?id=132681
1667
1668         Reviewed by Anders Carlsson.
1669
1670         Add a unit test to check user agent quirks.
1671
1672         * TestWebKitAPI/PlatformGTK.cmake:
1673         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp: Added.
1674         (TestWebKitAPI::TEST):
1675         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
1676         (testWebKitSettings): Site specific quirks setting is now enabled
1677         by default.
1678
1679 2014-06-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1680
1681         Unreviewed, update my list of email addresses in contributors.json.
1682
1683         * Scripts/webkitpy/common/config/contributors.json:
1684
1685 2014-06-10  Simon Fraser  <simon.fraser@apple.com>
1686
1687         Always switch to an sRGB screen color profile when running tests
1688         https://bugs.webkit.org/show_bug.cgi?id=133712
1689
1690         Reviewed by Tim Horton.
1691         
1692         Switch the screen color profile to sRGB when running tests, because even ref
1693         tests need the screen to use the correct color profile.
1694
1695         * DumpRenderTree/mac/LayoutTestHelper.m:
1696         (installLayoutTestColorProfile):
1697         * Scripts/webkitpy/port/mac.py:
1698         (MacPort.start_helper):
1699
1700 2014-06-10  Martin Hodovan  <mhodovan@partner.samsung.com>
1701
1702         [EFL] Bump EFL libraries to 1.9
1703         https://bugs.webkit.org/show_bug.cgi?id=125479
1704
1705         Reviewed by Gyuyoung Kim.
1706
1707         Based on the work of Ryuan Choi <ryuan.choi@samsung.com>
1708         and László Langó <llango.u-szeged@partner.samsung.com>.
1709
1710         * ImageDiff/CMakeLists.txt:
1711         * MiniBrowser/efl/CMakeLists.txt:
1712         * efl/install-dependencies:
1713         * efl/jhbuild.modules:
1714         * efl/jhbuildrc:
1715
1716 2014-06-10  David Farler  <dfarler@apple.com>
1717
1718         old-run-webkit-tests: Create CoreSimulator device on demand and find it by name
1719         https://bugs.webkit.org/show_bug.cgi?id=133663
1720
1721         Reviewed by David Kilzer.
1722
1723         * Scripts/old-run-webkit-tests:
1724         (installAndLaunchDumpToolAppUsingNotification):
1725         - Remove obsolete notification keys
1726         - Key off of mandatory device UDID (a UUID)
1727         - Create a device on demand via CoreSimulator if necessary
1728         -- Grab the UDID from the created device plist.
1729         * Scripts/webkitdirs.pm:
1730         (iOSSimulatorDevicesPath): Added
1731         (iOSSimulatorDevices): Added
1732         (createiOSSimulatorDevice): Added
1733         (deleteiOSSimulatorDevice): Added
1734
1735 2014-06-10  Víctor Manuel Jáquez Leal  <vjaquez@igalia.com>
1736
1737         [GTK][gtkdoc] remove -Wcast-align
1738         https://bugs.webkit.org/show_bug.cgi?id=133640
1739
1740         Apparently gcc warns that GParamSpec is not castable to
1741         GParamSpecInt64/GParamSpecUInt64/GParamSpecDouble due they are 64bit, even
1742         though ARM hackers claim that those only need 4byte alignment. As long as gcc
1743         behaves that way, this warning is not very useful, also they break the Debian
1744         packaging.
1745
1746         This patch appends the compiler flag -Wno-align-cast for the gtkdoc
1747         scanner compilation, thus the compiler ignores the previous
1748         -Waling-cast flag.
1749
1750         Reviewed by Martin Robinson.
1751
1752         * gtk/generate-gtkdoc:
1753         (get_generator_for_config):
1754
1755 2014-06-09  Alexey Proskuryakov  <ap@apple.com>
1756
1757         Disable button animations in regression tests
1758         https://bugs.webkit.org/show_bug.cgi?id=133647
1759         <rdar://problem/16677530>
1760
1761         Reviewed by Tim Horton.
1762
1763         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1764         (WTR::InjectedBundle::platformInitialize):
1765
1766 2014-06-09  Simon Fraser  <simon.fraser@apple.com>
1767
1768         Move scrolling-related tests to tiled-drawing/scrolling subdirectory, and minor cleanup
1769         https://bugs.webkit.org/show_bug.cgi?id=133650
1770
1771         Reviewed by Tim Horton.
1772         
1773         No point checking for a Windows-style path in Cocoa code.
1774
1775         * WebKitTestRunner/TestInvocation.cpp:
1776         (WTR::shouldUseThreadedScrolling):
1777
1778 2014-06-09  Simon Fraser  <simon.fraser@apple.com>
1779
1780         Fix more latched scrolling test flakiness and slowness
1781         https://bugs.webkit.org/show_bug.cgi?id=133601
1782
1783         Reviewed by Brent Fulgham.
1784         
1785         Latched scrolling tests were flakey for two reasons. First, the EventSender
1786         wheel events were async from the web to the UI process, and the resulting
1787         synthetic events also async from the UI to the web process. Make them sync
1788         for testing.
1789         
1790         Secondly, the timer-based scrolling tree commit could result in the scrolling
1791         tree (specifically the frame node's notion of the scrollable area and content
1792         size) not being updated before the scrolling thread starts getting wheel events.
1793         Fix by having WebPage::wheelEventSyncForTesting() commit if necessary.
1794         
1795         Finally remove all the now-unnecessary timeouts from the tests.
1796
1797         * WebKitTestRunner/mac/EventSenderProxy.mm:
1798         (WTR::EventSenderProxy::mouseMoveTo):
1799         (WTR::EventSenderProxy::mouseScrollBy):
1800         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
1801
1802 2014-06-09  Andrzej Badowski  <a.badowski@samsung.com>
1803
1804         [EFL] Add parameter to MiniBrowser to disable web security
1805         https://bugs.webkit.org/show_bug.cgi?id=121095
1806
1807         Reviewed by Gyuyoung Kim.
1808
1809         -w (--web-security) commandline allows to disable/enable web security (enabled by default).
1810         The reason for this is to test and debug (using, for example, MiniBrowser) scripts accessing
1811         resources from other domains (cross-domain requests) such as access map location on another server.
1812         Another possibility is to launch in a webkit browser local file tests that will refer to the links
1813         in the http website loaded in an iframe. It will not be possible without deactivation of web security.
1814
1815         * MiniBrowser/efl/main.c:
1816         (window_create):
1817         (elm_main):
1818
1819 2014-06-06  Simon Fraser  <simon.fraser@apple.com>
1820
1821         32-bit build fix.
1822
1823         * WebKitTestRunner/mac/EventSenderProxy.mm:
1824         (WTR::EventSenderProxy::mouseMoveTo):
1825         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
1826
1827 2014-06-06  Simon Fraser  <simon.fraser@apple.com>
1828
1829         Fix builds on 10.8; -firstObject isn't declared on NSArray there.
1830
1831         * DumpRenderTree/mac/DumpRenderTree.mm:
1832         (createWebViewAndOffscreenWindow):
1833         * DumpRenderTree/mac/EventSendingController.mm:
1834         (-[EventSendingController mouseScrollByX:andY:continuously:]):
1835         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]):
1836         * WebKitTestRunner/mac/EventSenderProxy.mm:
1837         (WTR::EventSenderProxy::mouseScrollBy):
1838         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
1839
1840 2014-06-06  Simon Fraser  <simon.fraser@apple.com>
1841
1842         Latched scrolling tests are flakey on Mavericks
1843         https://bugs.webkit.org/show_bug.cgi?id=133578
1844         <rdar://problem/17180591>
1845
1846         Reviewed by Brent Fulgham.
1847         
1848         The latched scrolling tests rely on synthetic mousewheel events whose coordinates can
1849         be wrong on machines with more than one screen. This is because we use
1850         [NSScreen mainScreen] when computing the global coordinates of the events, but
1851         [NSScreen mainScreen] returns the screen with the key window, not the first screen.
1852         
1853         So replace calls to [NSScreen mainScreen] with [[NSScreen screens] firstObject]. Also
1854         add comments clarifying why the coordinate math works (which is not obvious given
1855         the events have no target window).
1856         
1857         Some scrolling tests also dispatched events outside the 800x600 test window, so
1858         fix those tests, and add logging that will appear in test output when this happens.
1859
1860         * DumpRenderTree/mac/DumpRenderTree.mm:
1861         (createWebViewAndOffscreenWindow):
1862         * DumpRenderTree/mac/EventSendingController.mm:
1863         (-[EventSendingController mouseScrollByX:andY:continuously:]):
1864         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]):
1865         * WebKitTestRunner/mac/EventSenderProxy.mm:
1866         (WTR::EventSenderProxy::mouseMoveTo):
1867         (WTR::EventSenderProxy::mouseScrollBy):
1868         (WTR::EventSenderProxy::continuousMouseScrollBy):
1869         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
1870
1871 2014-06-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1872
1873         [GTK] run-perf-tests should run the tests inside the jhbuild shell.
1874         https://bugs.webkit.org/show_bug.cgi?id=133533
1875
1876         Reviewed by Carlos Garcia Campos.
1877
1878         * Scripts/webkitpy/common/multiprocessing_bootstrap.py:
1879         (run): Remove the jhbuild-wrapper wrapper from here. It should be
1880         on Scripts/webkitpy/port/gtk.py.
1881         * Scripts/webkitpy/port/base.py:
1882         (Port.set_option): Add a set_option(name, value) function to set
1883         the optparse parameter "name" to the value "value", even if the
1884         parameter "name" is already initialized.
1885         * Scripts/webkitpy/port/gtk.py:
1886         (GtkPort.__init__): Set the default wrapper to jhbuild-wrapper.
1887         If another wrapper is specified via the option "-l --wrapper=x",
1888         then prepend the jhbuild-wrapper to the one specified.
1889
1890 2014-06-04  David Farler  <dfarler@apple.com>
1891
1892         Build ASan WebKit for iOS Simulator
1893         https://bugs.webkit.org/show_bug.cgi?id=133489
1894
1895         Reviewed by Darin Adler.
1896
1897         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1898         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
1899         - Add missing ASan LDFLAGS.
1900         * asan/asan.xcconfig:
1901         - Split compiler-rt linker flags for OS X and iOS Simulator
1902
1903 2014-06-03  Yoav Weiss  <yoav@yoav.ws>
1904
1905         Add myself (yoav@yoav.ws) to contributors.json
1906         https://bugs.webkit.org/show_bug.cgi?id=133492
1907
1908         * Scripts/webkitpy/common/config/contributors.json:
1909
1910 2014-06-03  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1911
1912         REGRESSION(r169092 and r169102): Skip failing JSC tests poperly on non-x86 Darwin platforms
1913         https://bugs.webkit.org/show_bug.cgi?id=133149
1914
1915         Reviewed by Csaba Osztrogonác.
1916
1917         * Scripts/run-jsc-stress-tests: Added determineOS to determine the host operating system the script run on.
1918
1919 2014-06-02  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
1920
1921         Add a verbose flag to binding tests
1922         https://bugs.webkit.org/show_bug.cgi?id=122303
1923
1924         Reviewed by Csaba Osztrogonác.
1925
1926         This patch will:
1927         - Add a verbose keyword argument to the BindingsTests constructor,
1928         - Add --no-verbose option to the run-bindigs-test.
1929         Verbose mode, which is on by default, prints positive results to stdout as before.
1930         When the --no-verbose option added to run-bindings-tests, positive results are not printed at all.
1931
1932         Original patch from Matthew Hanson <matthew_hanson@apple.com>
1933
1934         * Scripts/run-bindings-tests:
1935         (main):
1936         * Scripts/webkitpy/bindings/main.py:
1937         (BindingsTests.__init__):
1938         (BindingsTests.detect_changes):
1939
1940 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
1941
1942         Rename DoYouEvenBench 0.17 to Speedometer 1.0 and add a new look.
1943         https://bugs.webkit.org/show_bug.cgi?id=133455
1944
1945         Reviewed by Timothy Hatcher.
1946
1947         Since the perf. dashboard doesn't support following renamed benchmarks,
1948         keep reporting Speedometer results as DoYouEvenBench results.
1949
1950         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
1951         (_generate_results_dict):
1952
1953 2014-05-31  Darin Adler  <darin@apple.com>
1954
1955         Viewport percentage tests that resize the viewport are flaky
1956         https://bugs.webkit.org/show_bug.cgi?id=133351
1957
1958         Reviewed by Anders Carlsson.
1959
1960         * DumpRenderTree/mac/DumpRenderTree.mm:
1961         (sizeWebViewForCurrentTest): Added a call to reset the window origin, which
1962         happens to be stored in the UI delegate object. This is part of resetting the
1963         window position.
1964
1965         * DumpRenderTree/mac/UIDelegate.h: Store the window origin rather than storing
1966         a frame rectangle. The size is stored in the size of the web view itself.
1967         * DumpRenderTree/mac/UIDelegate.mm:
1968         (-[UIDelegate resetWindowOrigin]): Added.
1969         (-[UIDelegate webView:setFrame:]): Changed to set the size of the web view. The
1970         old version would store the frame, but not resize the web view!
1971         (-[UIDelegate webViewFrame:]): Get the size from the web view.
1972
1973         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1974         (WTR::PlatformWebView::setWindowFrame): Added code to resize the web view.
1975
1976         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1977         (WTR::PlatformWebView::resizeTo): Added a comment about missing code to resize
1978         the window.
1979
1980         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1981         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame so the
1982         window gets resized too, not just the web view.
1983         (WTR::PlatformWebView::setWindowFrame): Added code to set the size of the web view.
1984
1985         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1986         (WTR::PlatformWebView::resizeTo): Changed this to call setWindowFrame so the
1987         window gets resized too, not just the web view.
1988         (WTR::PlatformWebView::setWindowFrame): Added code to set the size of the web view.
1989
1990 2014-05-30  Michael Saboff  <msaboff@apple.com>
1991
1992         Change run-jsc-stress-tests to not resolve jsc path locally when creating a bundle
1993         https://bugs.webkit.org/show_bug.cgi?id=133409
1994
1995         Reviewed by Filip Pizlo.
1996
1997         Handle creating a tarball the same way as running remote when processing
1998         paths in prepareBundle.
1999
2000         * Scripts/run-jsc-stress-tests:
2001
2002 2014-05-30  Mario Sanchez Prada  <mario.prada@samsung.com>
2003
2004         [ATK] Deprecate usage of logAccessibilityEvents() in layout tests
2005         https://bugs.webkit.org/show_bug.cgi?id=132280
2006
2007         Reviewed by Chris Fleizach.
2008
2009         Remove implementation of logAccessibilityEvents() for ATK based
2010         ports, as this has proved to be a flaky method of checking that
2011         ATK events are being properly emitted. Instead, it's better to use
2012         the addNotificationListener() functions and provide a JS callback
2013         to check that the right events are being emmitted from the tests.
2014
2015         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
2016         (WTR::AccessibilityController::logAccessibilityEvents): Replaced
2017         with dummy implementation.
2018         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
2019         (WTR::AccessibilityNotificationHandler::logAccessibilityEvents): Removed
2020
2021 2014-05-30  Mario Sanchez Prada  <mario.prada@samsung.com>
2022
2023         [ATK] Deprecate usage of logAccessibilityEvents() in layout tests
2024         https://bugs.webkit.org/show_bug.cgi?id=132280
2025
2026         Rubber stamped by Carlos Garcia Campos.
2027
2028         Fix two small issues with previous patch (r169483), that caused some tests to break.
2029
2030         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
2031         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks): Removed
2032         duplicated entry.
2033         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2034         (WTR::AccessibilityUIElement::setSelectedTextRange): Fix boolean condition.
2035
2036 2014-05-30  Jarek Czekalski  <jarekczek@poczta.onet.pl>
2037
2038         [ATK] Added new accessibility signal: text-caret-moved.
2039         Make AccessibilityUIElement.setSelectedTextRange work
2040         as atk_text_set_caret_offset when given offset == 0.
2041         https://bugs.webkit.org/show_bug.cgi?id=132527
2042
2043         Reviewed by Mario Sanchez Prada.
2044
2045         text-caret-moved signal in accessibilityController is needed to
2046         implement tests from Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c
2047         as LayoutTests. Add the signal to the controller.
2048
2049         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2050         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2051         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2052         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2053         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2054         (setSelectedTextRange): Change return type to bool.
2055         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2056         (setSelectedTextRange): Call atk_text_set_caret_offset and return bool.
2057         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
2058         (axObjectEventListener): Add notification name AXTextCaretMoved, allow
2059         for extra arguments passed to handler and use it for text-caret-moved offset.
2060         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks):
2061         Connect callback to new listener for ATK:AtkText:text-caret-moved.
2062         Refactor so that failures be reported.
2063         Initialize atk interfaces before trying to connect to them, see
2064         https://bugzilla.gnome.org/show_bug.cgi?id=729922
2065         (WTR::AccessibilityNotificationHandler::disconnectAccessibilityCallbacks):
2066         Simplify code by using a vector in place of dozen variables.
2067         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
2068         Comment about not synchronizing with accessibilityController.
2069
2070 2014-05-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2071
2072         [GTK] Add a WebKit2 Performance bot.
2073         https://bugs.webkit.org/show_bug.cgi?id=132862
2074
2075         Reviewed by Csaba Osztrogonác.
2076
2077         This adds a GTK WebKit2 perf bot.
2078
2079         * BuildSlaveSupport/build.webkit.org-config/config.json:
2080
2081 2014-05-29  Dan Bernstein  <mitz@apple.com>
2082
2083         Fixed the WebKitTestRunner build after r169452.
2084
2085         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2086         (WTR::InjectedBundle::initialize):
2087
2088 2014-05-28  Gwang Yoon Hwang  <yoon@igalia.com>
2089
2090         Unreviewed. Update my email addresses in contributors.json.
2091
2092         * Scripts/webkitpy/common/config/contributors.json:
2093
2094 2014-05-27  Jon Honeycutt  <jhoneycutt@apple.com>
2095
2096         Need an API test for bug #133193 (r169315)
2097         <https://bugs.webkit.org/show_bug.cgi?id=133324>
2098
2099         This adds an API test that ensures that calling "stop loading" during a
2100         "did fail provisional load" callback doesn't crash.
2101
2102         Reviewed by Andy Estes.
2103
2104         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2105         Add new files to project.
2106
2107         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp: Added.
2108         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
2109         If the message is the "test done" message, record that.
2110         (TestWebKitAPI::setInjectedBundleClient):
2111         Register a function for the "did receive message from injected bundle"
2112         callback.
2113         (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
2114         Assert that we received the message from the injected bundle, and set
2115         'done' to finish the test.
2116         (TestWebKitAPI::TEST):
2117         Create a WebView, register a page loader client for the "did fail
2118         provisional load" callback, and load a non-existent resource.
2119
2120         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp: Added.
2121         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::StopLoadingDuringDidFailProvisionalLoadTest):
2122         (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrameCallback):
2123         Tell the StopLoadingDuringDidFailProvisionalLoadTest object that the
2124         provisional load failed.
2125         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::didCreatePage):
2126         Register a page loader client for the "did fail provisional load"
2127         callback.
2128         (TestWebKitAPI::StopLoadingDuringDidFailProvisionalLoadTest::didFailProvisionalLoad):
2129         Call WKBundlePageStopLoading() during the callback. This not crashing
2130         is what we're ensuring with this test.
2131
2132 2014-05-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2133
2134         [GTK] Make it possible to build with FTL enabled
2135         https://bugs.webkit.org/show_bug.cgi?id=133219
2136
2137         Reviewed by Philippe Normand.
2138
2139         * gtk/jhbuild-optional.modules: Add llvm from svn and build the
2140         same revision than mac.
2141
2142 2014-05-27  Michael Saboff  <msaboff@apple.com>
2143
2144         REGRESSION(r169265): sh: line 0: cd: ../.vm
2145         https://bugs.webkit.org/show_bug.cgi?id=133242
2146
2147         Rubber stamped by Oliver Hunt.
2148
2149         Changed runAndMonitorTestRunnerCommand() to pass mysys as a string instead of an
2150         array since the command may contain character escapes that don't work with the
2151         array form of system().
2152
2153         * Scripts/run-jsc-stress-tests:
2154
2155 2014-05-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2156
2157         [EFL] Change download url of freetype6
2158         https://bugs.webkit.org/show_bug.cgi?id=133303
2159
2160         Reviewed by Csaba Osztrogonác.
2161
2162         freetype6 tarball isn't downloaded in Korea. So, we need to
2163         change the url for now.
2164
2165         * efl/jhbuild.modules:
2166
2167 2014-05-27  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
2168
2169         Remove BLOB guards
2170         https://bugs.webkit.org/show_bug.cgi?id=132863
2171
2172         Reviewed by Csaba Osztrogonác.
2173
2174         * Scripts/webkitperl/FeatureList.pm:
2175
2176 2014-05-27  Alberto Garcia  <berto@igalia.com>
2177
2178         Remove leftover comment from r165182.
2179
2180         Rubber stamped by Carlos Garcia Campos.
2181
2182         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
2183
2184 2014-05-26  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
2185
2186         [EFL] Add LLVM as optional jhbuild module for FTL developers
2187         https://bugs.webkit.org/show_bug.cgi?id=133216
2188
2189         Reviewed by Gyuyoung Kim.
2190
2191         * efl/jhbuild.modules:
2192
2193 2014-05-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2194
2195         Fix test failures on python test
2196         https://bugs.webkit.org/show_bug.cgi?id=133297
2197
2198         Reviewed by Dirk Schulze.
2199
2200         2 tests are failing because of unbounded local variable reference in test_importer.py.
2201
2202         * Scripts/webkitpy/w3c/test_importer.py: Move local variable declaration to top.
2203         (TestImporter.import_tests):
2204
2205 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2206
2207         [GTK] GObject DOM bindings API break test fails in the tests bots
2208         https://bugs.webkit.org/show_bug.cgi?id=133211
2209
2210         Reviewed by Martin Robinson.
2211
2212         When generating the built product archive on platform GTK, we need
2213         to copy also the file gtkdoc-webkitdom.cfg and the directory
2214         DerivedSources/webkitdom.
2215
2216         * BuildSlaveSupport/built-product-archive:
2217         (archiveBuiltProduct):
2218
2219 2014-05-26  Commit Queue  <commit-queue@webkit.org>
2220
2221         Unreviewed, rolling out r169122.
2222         https://bugs.webkit.org/show_bug.cgi?id=133288
2223
2224         Broke CJK font fallback (Requested by ap on #webkit).
2225
2226         Reverted changeset:
2227
2228         "[Mac] WebProcess doesn't follow localization of UI process
2229         when run as a service"
2230         https://bugs.webkit.org/show_bug.cgi?id=133126
2231         http://trac.webkit.org/changeset/169122
2232
2233 2014-05-26  Carlos Garcia Campos  <cgarcia@igalia.com>
2234
2235         [GTK] WebProcess leaked when closing pages with network process enabled
2236         https://bugs.webkit.org/show_bug.cgi?id=129684
2237
2238         Reviewed by Anders Carlsson.
2239
2240         Enable the test to check that web processes finish when the web
2241         view is destroyed.
2242
2243         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
2244
2245 2014-05-26  Carlos Garcia Campos  <cgarcia@igalia.com>
2246
2247         REGRESSION(r164632): [GTK] Crash in generate-gtkdoc when rebasing docs
2248         https://bugs.webkit.org/show_bug.cgi?id=133279
2249
2250         Reviewed by Philippe Normand.
2251
2252         generator.saw_warnings is only set by GTKDoc::generate(), so it
2253         should only be used after generate.
2254
2255         * gtk/generate-gtkdoc:
2256         (generate_documentation_for_config): Do not check
2257         generator.saw_warnings again, simply return the value returned by
2258         generate_doc() which is generator.saw_warnings. When rebasing,
2259         returns always False since there aren't warnings.
2260
2261 2014-05-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2262
2263         W3C test importer should catch exceptions coming from HTML/CSS conversion
2264         https://bugs.webkit.org/show_bug.cgi?id=133176
2265
2266         Reviewed by Darin Adler.
2267
2268         Exceptions raised when converting HTML/CSS are caught.
2269         Files for which conversion failed are still copied to the target directory.
2270         Each individual conversion failure is logged.
2271         Total conversion failure number is logged at the end of the import process.
2272
2273         * Scripts/webkitpy/w3c/test_importer.py:
2274         (TestImporter.import_tests):
2275
2276 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2277
2278         [GTK] Allow to run the tests on the native X display.
2279         https://bugs.webkit.org/show_bug.cgi?id=133157
2280
2281         Reviewed by Benjamin Poulain.
2282
2283         This adds a new driver (xorgdriver) that runs the tests on the
2284         X display referenced by the environment variable DISPLAY.
2285
2286         This new driver will be activated only if the environment variable
2287         USE_NATIVE_XDISPLAY is defined. This can be used both for layout
2288         tests and performance tests.
2289
2290         This patch also makes the script run-perf-tests to check the
2291         system dependencies before starting the tests. Previously this
2292         was not checked, and if the system dependencies were not met,
2293         the script tried to execute the tests anyway, causing massive
2294         failures. For example, if you had Xvfb not installed and you
2295         wanted to use the Xvfb driver (the default on GTK and EFL),
2296         run-perf-tests would not abort.
2297
2298         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2299         (PerfTestsRunner._parse_args): Check the system dependencies of
2300         the driver before starting the tests.
2301         * Scripts/webkitpy/port/driver.py:
2302         (Driver): Implement generic check_driver method.
2303         (Driver.check_driver):
2304         (Driver.check_driver.implementation):
2305         * Scripts/webkitpy/port/gtk.py:
2306         (GtkPort._driver_class): Check for environment variable
2307         USE_NATIVE_XDISPLAY to decide if the Xorg driver should be used.
2308         * Scripts/webkitpy/port/xorgdriver.py: Added.
2309         (XorgDriver): Implement Xorg driver.
2310         (XorgDriver.check_driver):
2311         (XorgDriver._start):
2312
2313 2014-05-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2314
2315         REGRESSION(r166798): [GTK] [EFL] kill-old-processes should not kill dbus-daemon
2316         https://bugs.webkit.org/show_bug.cgi?id=133215
2317
2318         Reviewed by Csaba Osztrogonác.
2319
2320         This reverts r166798.
2321
2322         * BuildSlaveSupport/kill-old-processes:
2323         (main):
2324
2325 2014-05-26  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
2326
2327         [EFL] Turn on ENABLE_CSS_FILTERS in build script
2328         https://bugs.webkit.org/show_bug.cgi?id=133278
2329
2330         Reviewed by Gyuyoung Kim.
2331
2332         * Scripts/webkitperl/FeatureList.pm: Add a build script condition missing in r169172.
2333
2334 2014-05-26  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2335
2336         run-javascriptcore-tests warning fix on non Mac platforms
2337         https://bugs.webkit.org/show_bug.cgi?id=133260
2338
2339         Reviewed by Darin Adler.
2340
2341         * Scripts/webkitdirs.pm:
2342         (argumentsForConfiguration):
2343
2344 2014-05-23  Michael Saboff  <msaboff@apple.com>
2345
2346         REGRESSION(r169265): sh: line 0: cd: ../.vm
2347         https://bugs.webkit.org/show_bug.cgi?id=133242
2348
2349         Rubber stamped by Geoffrey Garen.
2350
2351         Added missing shell escapes '\' required as part of previous fix.
2352
2353         * Scripts/run-jsc-stress-tests:
2354
2355 2014-05-23  Ryosuke Niwa  <rniwa@webkit.org>
2356
2357         Revert the erroneous change committed in r169286.
2358
2359         * Scripts/webkitpy/performance_tests/perftest.py:
2360         (PerfTest._run_with_driver):
2361
2362 2014-05-23  Geoffrey Garen  <ggaren@apple.com>
2363
2364         run-perf-tests should ignore whitespace lines when snarfing test output
2365         https://bugs.webkit.org/show_bug.cgi?id=133238
2366
2367         Reviewed by Ryosuke Niwa.
2368
2369         Required for PerformanceTests/Canvas/terrain.html.
2370
2371         * Scripts/webkitpy/performance_tests/perftest.py:
2372         (PerfTest._run_with_driver):
2373         (PerfTest):
2374
2375 2014-05-23  Michael Saboff  <msaboff@apple.com>
2376
2377         REGRESSION (r169241) Crash running run-jsc-stress-tests on EFL ARM
2378         https://bugs.webkit.org/show_bug.cgi?id=133223
2379
2380         Reviewed by Geoffrey Garen.
2381
2382         Change runAndMonitorTestRunnerCommand() to convert the *cmd argument to a
2383         string before calling IO.popen() to work with older versions of ruby.
2384         Changed the remote path in runShellTestRunner to quote the command
2385         string we want to run via ssh so that it will work correctly with array
2386         to string conversion needed for popen.
2387
2388         * Scripts/run-jsc-stress-tests:
2389
2390 2014-05-23  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
2391
2392         Remove 'css-shaders' option from the build-webkit
2393         https://bugs.webkit.org/show_bug.cgi?id=133212
2394
2395         Reviewed by Daniel Bates.
2396
2397         Original CSS shaders removed in r162644.
2398
2399         * Scripts/webkitperl/FeatureList.pm:
2400
2401 2014-05-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2402
2403         [GTK] GObject DOM bindings API break test should fail in the bots when the command fails to run
2404         https://bugs.webkit.org/show_bug.cgi?id=133209
2405
2406         Reviewed by Sergio Villar Senin.
2407
2408         Return FAILURE when the command failed to run.
2409
2410         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2411         (RunGtkWebKitGObjectDOMBindingsAPIBreakTests.evaluateCommand):
2412
2413 2014-05-23  Alberto Garcia  <berto@igalia.com>
2414
2415         [GTK] Install libharfbuzz-dev in Tools/gtk/install-dependencies
2416         https://bugs.webkit.org/show_bug.cgi?id=133210
2417
2418         Reviewed by Carlos Garcia Campos.
2419
2420         * gtk/install-dependencies:
2421
2422 2014-05-22  Benjamin Poulain  <bpoulain@apple.com>
2423
2424         Add Yusuke Suzuki to the list of contributors (for real)
2425
2426         Wrong section...
2427
2428         * Scripts/webkitpy/common/config/contributors.json:
2429
2430 2014-05-22  Benjamin Poulain  <bpoulain@apple.com>
2431
2432         Add Yusuke Suzuki to the list of contributors
2433
2434         * Scripts/webkitpy/common/config/contributors.json:
2435
2436 2014-05-22  Michael Saboff  <msaboff@apple.com>
2437
2438         Eliminate n/total progress update from run-jsc-stress-tests output to file
2439         https://bugs.webkit.org/show_bug.cgi?id=133191
2440
2441         Reviewed by Geoffrey Garen.
2442
2443         Changed progressMeter setting to be based on stdout being a tty instead of
2444         stdin.  Unified the processing of output from the shell runner to match the
2445         same processing as is used by the makefile runner.  As part of this, the 
2446         shell runner script was simplified.  It now forwards the output of each
2447         test_script just like the Makefile and doesn't provide its own progress.
2448
2449         * Scripts/jsc-stress-test-helpers/shell-runner.sh:
2450         * Scripts/run-jsc-stress-tests:
2451
2452 2014-05-22  Michael Saboff  <msaboff@apple.com>
2453
2454         Add option to run-jsc-stress-tests to use installed jsc
2455         https://bugs.webkit.org/show_bug.cgi?id=133102
2456
2457         Reviewed by Geoffrey Garen.
2458
2459         Added --no-copy option to not copy a JavaScriptCore framework, but use the one
2460         provied with the --jsc option.
2461
2462         * Scripts/run-jsc-stress-tests:
2463
2464 2014-05-21  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
2465
2466         [EFL] Add include path of compact_unwind_encoding.h if FTL JIT is enabled
2467         https://bugs.webkit.org/show_bug.cgi?id=132907
2468
2469         Reviewed by Gyuyoung Kim.
2470
2471         We need the mach-o/compact_unwind_encoding.h header from libc++abi-dev package
2472         in JavaScriptCore/ftl/FTLUnwindInfo.cpp when FTL JIT is enabled.
2473
2474         * efl/install-dependencies:
2475
2476 2014-05-21  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2477
2478         REGRESSION(r169092): It broke run-jsc-stress tests on non Mac platforms
2479         https://bugs.webkit.org/show_bug.cgi?id=133145
2480
2481         Reviewed by Csaba Osztrogonác.
2482
2483         * Scripts/run-jsc-stress-tests:
2484
2485 2014-05-20  Alexey Proskuryakov  <ap@apple.com>
2486
2487         [Mac] WebProcess doesn't follow localization of UI process when run as a service
2488         https://bugs.webkit.org/show_bug.cgi?id=133126
2489         <rdar://problem/13396515>
2490         <rdar://problem/16561084>
2491
2492         Reviewed by Sam Weinig and Tim Horton.
2493
2494         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2495         (WTR::InjectedBundle::platformInitialize): It was too late to override language
2496         here, and it's not necessary any more. Keeping the code for older OS versions in
2497         case it did have effect in some code paths.
2498
2499 2014-05-19  David Farler  <dfarler@apple.com>
2500
2501         Move WebKitTestRunner to std::unique_ptr
2502         https://bugs.webkit.org/show_bug.cgi?id=133081
2503
2504         Reviewed by Daniel Bates.
2505
2506         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2507         (WTR::InjectedBundle::didCreatePage):
2508         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2509         * WebKitTestRunner/TestController.cpp:
2510         (WTR::TestController::initialize):
2511         (WTR::TestController::createWebViewWithOptions):
2512         (WTR::TestController::resetStateToConsistentValues):
2513         (WTR::TestController::runTest):
2514         * WebKitTestRunner/TestController.h:
2515         * WebKitTestRunner/TestInvocation.cpp:
2516         * WebKitTestRunner/TestInvocation.h:
2517         * WebKitTestRunner/WorkQueueManager.cpp:
2518         (WTR::WorkQueueManager::processWorkQueue):
2519         (WTR::WorkQueueManager::enqueue):
2520         * WebKitTestRunner/WorkQueueManager.h:
2521
2522 2014-05-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2523
2524         [GTK] WebKitWebPage::send-request always pass a valid pointer for redirected response
2525         https://bugs.webkit.org/show_bug.cgi?id=133119
2526
2527         Reviewed by Sergio Villar Senin.
2528
2529         Check that redirect response parameter of
2530         WebKitWebPage::send-request signal is NULL when not redirecting
2531         and a valid WebKitURIResponse object when redirecting.
2532
2533         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2534         (testWebResourceSendRequest):
2535         (serverCallback):
2536         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2537         (sendRequestCallback):
2538
2539 2014-05-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2540
2541         REGRESSION(CMAKE): [GTK] Several WebKit2GTK+ unit tests are no longer built
2542         https://bugs.webkit.org/show_bug.cgi?id=133117
2543
2544         Reviewed by Philippe Normand.
2545
2546         Bring back missing tests to the build.
2547
2548         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2549
2550 2014-05-19  Filip Pizlo  <fpizlo@apple.com>
2551
2552         Take care of some ARM64 test failures
2553         https://bugs.webkit.org/show_bug.cgi?id=133090
2554
2555         Reviewed by Geoffrey Garen.
2556
2557         * Scripts/run-jsc-stress-tests: Make it easier to conditionally skip things.
2558
2559 2014-05-19  David Kilzer  <ddkilzer@apple.com>
2560
2561         [iOS] REGRESSION (r168910): webkitdirs.pm: Be more forgiving when parsing --sdk, --device and --sim
2562         <http://webkit.org/b/133089>
2563
2564         Reviewed by Darin Adler.
2565
2566         * Scripts/webkitdirs.pm:
2567         (determineXcodeSDK): If both '--sdk SDKROOT' and '--sim' are
2568         specified on the command line, we would remove the '--sdk'
2569         arguments, but leave '--sim', potentially passing it along to
2570         xcodebuild causing a build failure.  This happens when
2571         'old-run-webkit-tests --release --sim' invokes
2572         build-dumprendertree when DumpRenderTree hasn't been built yet.
2573
2574 2014-05-19  David Farler  <dfarler@apple.com>
2575
2576         Dashboard: OpenSource revision key changed from WebKitOpenSource to WebKit
2577         https://bugs.webkit.org/show_bug.cgi?id=133086
2578
2579         Reviewed by Daniel Bates.
2580
2581         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2582
2583 2014-05-19  David Kilzer  <ddkilzer@apple.com>
2584
2585         REGRESSION (r169042): Fix run-api-tests on Mountain Lion
2586         <http://webkit.org/b/132954>
2587
2588         * Scripts/webkitdirs.pm:
2589         (sharedCommandLineOptionsUsage): Remove the prototype for the
2590         subroutine.  Older perls don't like the "+@" syntax.
2591
2592 2014-05-19  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2593
2594         run-javascriptcore-tests should sort the list of failing stress tests
2595         https://bugs.webkit.org/show_bug.cgi?id=132989
2596
2597         Reviewed by Csaba Osztrogonác.
2598
2599         * Scripts/run-javascriptcore-tests:
2600
2601 2014-05-19  David Kilzer  <ddkilzer@apple.com>
2602
2603         webkitdirs.pm: Add setupMacWebKitEnvironment() to set __XPC_DYLD_FRAMEWORK_PATH consistently
2604         <http://webkit.org/b/132954>
2605
2606         Reviewed by Darin Adler.
2607
2608         Extract code into setupMacWebKitEnvironment() for setting up
2609         common environment variables so it may be shared.  Sets
2610         __XPC_DYLD_FRAMEWORK_PATH consistently and adds support for
2611         using guardmalloc to some scripts.
2612
2613         Also adds support for parsing shared (common) command-line
2614         switches, initially just -g|--guard-malloc.
2615
2616         * Scripts/bisect-builds: Add -g|--guard-malloc support by using
2617         sharedCommandLineOptions() and sharedCommandLineOptionsUsage().
2618         (mountAndRunNightly): Call setupMacWebKitEnvironment().  Use a
2619         local copy of %ENV when launching Safari so we don't have to
2620         restore variables.
2621
2622         * Scripts/run-api-tests: Add -g|--guard-malloc support by using
2623         sharedCommandLineOptions() and sharedCommandLineOptionsUsage().
2624         Check result of GetOptions() to catch invalid command-line
2625         switches.
2626         (runTest): Use a local copy of %ENV when running tests so we
2627         don't have to restore variables.
2628         (prepareEnvironmentForRunningTestTool): Call
2629         setupMacWebKitEnvironment().
2630
2631         * Scripts/run-pageloadtest: Add -g|--guard-malloc support by
2632         using sharedCommandLineOptions() and
2633         sharedCommandLineOptionsUsage().  Call
2634         setupMacWebKitEnvironment().
2635
2636         * Scripts/webkitdirs.pm:
2637         (sharedCommandLineOptions): Return array of common switches to
2638         pass to Getopt::Long::GetOptions().
2639         (sharedCommandLineOptionsUsage): Return formatted string of
2640         common switches for printing usage help text.
2641         (setUpGuardMallocIfNeeded): Support using '-g' for enabling
2642         guardmalloc.
2643         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Ditto.
2644         (setupMacWebKitEnvironment): Extracted from runMacWebKitApp()
2645         and changed not to clobber DYLD_FRAMEWORK_PATH if already set.
2646         (runMacWebKitApp): Call setupMacWebKitEnvironment().  Use a
2647         local copy of %ENV when launching Safari so we don't have to
2648         restore variables.
2649         (execMacWebKitAppForDebugging): Call
2650         setupMacWebKitEnvironment().
2651
2652 2014-05-18  Rik Cabanier  <cabanier@adobe.com>
2653
2654         support for navigator.hardwareConcurrency
2655         https://bugs.webkit.org/show_bug.cgi?id=132588
2656
2657         Reviewed by Filip Pizlo.
2658
2659         * Scripts/webkitperl/FeatureList.pm:
2660
2661 2014-05-18  Anders Carlsson  <andersca@apple.com>
2662
2663         Implement Navigations for all methods declared returning one
2664         https://bugs.webkit.org/show_bug.cgi?id=133048
2665         <rdar://problem/16830064>
2666
2667         Reviewed by Sam Weinig.
2668
2669         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
2670         Import WebKit.h.
2671         
2672         * MiniBrowser/mac/WK2BrowserWindowController.m:
2673         (-[WK2BrowserWindowController webView:didStartProvisionalNavigation:]):
2674         (-[WK2BrowserWindowController webView:didReceiveServerRedirectForProvisionalNavigation:]):
2675         (-[WK2BrowserWindowController webView:didFailProvisionalNavigation:withError:]):
2676         (-[WK2BrowserWindowController webView:didCommitNavigation:]):
2677         (-[WK2BrowserWindowController webView:didFinishLoadingNavigation:]):
2678         (-[WK2BrowserWindowController webView:didFailNavigation:withError:]):
2679         Print out the navigations.
2680
2681 2014-05-17  Zalan Bujtas  <zalan@apple.com>
2682
2683         Subpixel rendering: Add subpixelCSSOMElementMetricsEnabled to WK1 WebPreferences.
2684         https://bugs.webkit.org/show_bug.cgi?id=133029
2685
2686         Reviewed by Simon Fraser.
2687
2688         Added a menu item to toggle subpixelCSSOMElementMetricsEnabled's value. However
2689         toggling it on a WK2 window needs restart.
2690         Adding dynamic toggle to WK2 requires a WebPreferences SPI. It's not worth cluttering
2691         the WebPreferences just to support this temporary toggle.
2692
2693         * MiniBrowser/mac/BrowserWindowController.h:
2694         * MiniBrowser/mac/MainMenu.xib:
2695         * MiniBrowser/mac/WK1BrowserWindowController.m:
2696         (-[WK1BrowserWindowController validateMenuItem:]):
2697         (-[WK1BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]):
2698         (-[WK1BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]):
2699         * MiniBrowser/mac/WK2BrowserWindowController.m:
2700         (-[WK2BrowserWindowController validateMenuItem:]):
2701         (-[WK2BrowserWindowController isSubpixelCSSOMElementMetricsEnabled]):
2702         (-[WK2BrowserWindowController toggleSubpixelCSSOMElementMetricsEnabled:]):
2703
2704 2014-05-17  Anders Carlsson  <andersca@apple.com>
2705
2706         Replace WKContextSetDatabaseDirectory with two WKContextConfiguration parameters
2707         https://bugs.webkit.org/show_bug.cgi?id=133033
2708         <rdar://problem/16830143>
2709
2710         Reviewed by Sam Weinig.
2711
2712         Set up the WebSQL and IndexedDB directories.
2713
2714         * WebKitTestRunner/TestController.cpp:
2715         (WTR::TestController::initialize):
2716
2717 2014-05-16  Martin Hock  <mhock@apple.com>
2718
2719         MemoryCache::addImageToCache should return the result of add().
2720         https://bugs.webkit.org/show_bug.cgi?id=132928
2721         <rdar://problem/16651547>
2722
2723         Reviewed by Alexey Proskuryakov.
2724
2725         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2726         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2727         * TestWebKitAPI/Tests/ios/MemoryCacheAddImageToCacheIOS.mm: Added.
2728         (TestWebKitAPI::TEST):
2729
2730 2014-05-15  David Farler  <dfarler@apple.com>
2731
2732         old-run-webkit-tests: allow specifying a simulator app path
2733         https://bugs.webkit.org/show_bug.cgi?id=132975
2734
2735         Reviewed by Anders Carlsson.
2736
2737         * Scripts/old-run-webkit-tests:
2738         (openIPhoneSimulator):
2739         Add new --simulator-app command line parameter for specifying the
2740         absolute path to the simulator app to launch before starting a
2741         session.
2742
2743 2014-05-16  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
2744
2745         [webkitpy] In case of multiple bug rollout, all bugs should be reopened, not only the oldest one
2746         https://bugs.webkit.org/show_bug.cgi?id=131363
2747
2748         Reviewed by Csaba Osztrogonác.
2749
2750         * Scripts/webkitpy/common/checkout/checkout_mock.py:
2751         * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
2752         (MockBugzilla):
2753         * Scripts/webkitpy/tool/commands/download_unittest.py:
2754         (test_create_rollout_multiple_revision_with_one_resolved):
2755         (test_create_rollout_multiple_resolved):
2756         (test_rollout_two_revisions):
2757         (test_rollout_multiple_revisions):
2758         (test_rollout_multiple_revisions_with_a_missing_bug_id):
2759         * Scripts/webkitpy/tool/steps/createbug.py:
2760         (CreateBug.run):
2761         * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
2762         (ReopenBugAfterRollout.run):
2763
2764 2014-05-16  Martin Hodovan  <mhodovan.u-szeged@partner.samsung.com>
2765
2766         [WK2] Change the remaining framework includes from WebKit2 to WebKit
2767         https://bugs.webkit.org/show_bug.cgi?id=132956
2768
2769         Reviewed by Sam Weinig.
2770
2771         * MiniBrowser/MiniBrowserWebProcessPlugIn.h:
2772         * MiniBrowser/mac/AppDelegate.m:
2773         * MiniBrowser/mac/WK2BrowserWindowController.m:
2774         * TestWebKitAPI/InjectedBundleController.h:
2775         * TestWebKitAPI/InjectedBundleMain.cpp:
2776         * TestWebKitAPI/JavaScriptTest.cpp:
2777         * TestWebKitAPI/PlatformUtilities.h:
2778         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
2779         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
2780         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp:
2781         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
2782         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive.cpp:
2783         (TestWebKitAPI::TEST):
2784         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive_Bundle.cpp:
2785         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewRestoreZoomAndScrollBackForward.cpp:
2786         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
2787         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp:
2788         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
2789         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
2790         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp:
2791         * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp:
2792         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
2793         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
2794         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
2795         * TestWebKitAPI/Tests/WebKit2/EphemeralSessionPushStateNoHistoryCallback.cpp:
2796         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
2797         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
2798         * TestWebKitAPI/Tests/WebKit2/Find.cpp:
2799         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
2800         * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp:
2801         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
2802         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
2803         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
2804         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback.cpp:
2805         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback_Bundle.cpp:
2806         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
2807         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp:
2808         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
2809         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp:
2810         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp:
2811         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp:
2812         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins.cpp:
2813         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins_Bundle.cpp:
2814         * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp:
2815         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp:
2816         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp:
2817         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp:
2818         * TestWebKitAPI/Tests/WebKit2/LoadPageOnCrash.cpp:
2819         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp:
2820         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp:
2821         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp:
2822         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp:
2823         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp:
2824         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp:
2825         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp:
2826         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp:
2827         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
2828         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
2829         * TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp:
2830         * TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp:
2831         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications.mm:
2832         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications_Bundle.cpp:
2833         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
2834         * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp:
2835         * TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp:
2836         * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
2837         * TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp:
2838         * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp:
2839         * TestWebKitAPI/Tests/WebKit2/SeccompFilters.cpp:
2840         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp:
2841         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp:
2842         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
2843         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
2844         * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
2845         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
2846         * TestWebKitAPI/Tests/WebKit2/WebArchive_Bundle.cpp:
2847         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp:
2848         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp:
2849         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks.cpp:
2850         * TestWebKitAPI/Tests/WebKit2/efl/WKViewClientWebProcessCallbacks_Bundle.cpp:
2851         * TestWebKitAPI/Tests/WebKit2/mac/EditorCommands.mm:
2852         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm:
2853         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor_Bundle.mm:
2854         * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp:
2855         * TestWebKitAPI/Tests/WebKit2/mac/WeakObjCPtr.mm:
2856         * TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
2857         * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
2858         * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
2859         * TestWebKitAPI/Tests/WebKit2/win/TranslateMessageGeneratesWMChar.cpp:
2860         * TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
2861         * TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp:
2862         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
2863         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
2864         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp:
2865         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
2866         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
2867         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp:
2868         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
2869         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm:
2870         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm:
2871         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
2872         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
2873         * TestWebKitAPI/config.h:
2874         * TestWebKitAPI/efl/PlatformWebView.cpp:
2875         * TestWebKitAPI/mac/JavaScriptTestMac.mm:
2876         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
2877         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
2878         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
2879         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
2880         * WebKitTestRunner/EventSenderProxy.h:
2881         * WebKitTestRunner/GeolocationProviderMock.cpp:
2882         * WebKitTestRunner/GeolocationProviderMock.h:
2883         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
2884         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2885         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2886         * WebKitTestRunner/InjectedBundle/GCController.cpp:
2887         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2888         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2889         * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
2890         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2891         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
2892         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2893         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2894         * WebKitTestRunner/InjectedBundle/TextInputController.cpp:
2895         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
2896         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
2897         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2898         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
2899         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
2900         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
2901         * WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm:
2902         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
2903         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2904         * WebKitTestRunner/PlatformWebView.h:
2905         * WebKitTestRunner/StringFunctions.h:
2906         * WebKitTestRunner/TestController.cpp:
2907         * WebKitTestRunner/TestController.h:
2908         * WebKitTestRunner/TestInvocation.cpp:
2909         * WebKitTestRunner/TestInvocation.h:
2910         * WebKitTestRunner/WebKitTestRunnerPrefix.h:
2911         * WebKitTestRunner/WebNotificationProvider.cpp:
2912         * WebKitTestRunner/WebNotificationProvider.h:
2913         * WebKitTestRunner/WorkQueueManager.cpp:
2914         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
2915         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2916         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
2917         * WebKitTestRunner/config.h:
2918         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2919         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2920         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2921         * WebKitTestRunner/ios/TestControllerIOS.mm:
2922         * WebKitTestRunner/mac/EventSenderProxy.mm:
2923         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2924         * WebKitTestRunner/mac/TestControllerMac.mm:
2925
2926 2014-05-15  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2927
2928         [EFL][WK2] Skip failing unit tests
2929         https://bugs.webkit.org/show_bug.cgi?id=132979
2930
2931         Reviewed by Daniel Bates.
2932
2933         * TestWebKitAPI/PlatformEfl.cmake: Skip failing unit tests for now.
2934
2935 2014-05-15  David Kilzer  <ddkilzer@apple.com>
2936
2937         [iOS] Support TestWebKitAPI in the iOS Simulator
2938         <http://webkit.org/b/129535>
2939         <rdar://problem/16203529>
2940
2941         Reviewed by Daniel Bates.
2942
2943         * Scripts/run-api-tests:
2944         (runTest):
2945         (listAllTests):
2946         - Extract common arguments into local variable.
2947         - Use xcrun to find the sim tool in order to invoke
2948         TestWebKitAPI properly in the iOS Simulator. 
2949
2950         * Scripts/webkitdirs.pm:
2951         (argumentsForConfiguration): Set --device or --sim as
2952         appropriate to fix buildTestTool() in run-api-tests.
2953
2954 2014-05-15  Tim Horton  <timothy_horton@apple.com>
2955
2956         Fix a logging typo in copy-webkitlibraries-to-product-directory
2957
2958         Reviewed by Dean Jackson.
2959
2960         * Scripts/copy-webkitlibraries-to-product-directory:
2961
2962 2014-05-15  David Kilzer  <ddkilzer@apple.com>
2963
2964         TestWebKitAPI: URLExtras.mm should be a shared test for iOS and Mac
2965         <http://webkit.org/b/132959>
2966
2967         Reviewed by Dan Bernstein.
2968
2969         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add
2970         Cocoa directory to project and move URLExtras.mm into it.
2971         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm: Renamed from Tools/TestWebKitAPI/Tests/mac/URLExtras.mm.
2972
2973 2014-05-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2974
2975         [GTK] Compile all installed resources as GResources
2976         https://bugs.webkit.org/show_bug.cgi?id=131099
2977
2978         Reviewed by Philippe Normand.
2979
2980         * Scripts/webkitpy/port/gtk.py:
2981         (GtkPort.setup_environ_for_server): Removed now unneeded
2982         AUDIO_RESOURCES_PATH env var.
2983
2984 2014-05-14  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
2985
2986         Remove CSS_STICKY_POSITION guards
2987         https://bugs.webkit.org/show_bug.cgi?id=132676
2988
2989         Reviewed by Simon Fraser.
2990
2991         * Scripts/webkitperl/FeatureList.pm:
2992
2993 2014-05-14  Carlos Garcia Campos  <cgarcia@igalia.com>
2994
2995         REGRESSION(CMAKE): [GTK] InputMethodFilter unit test is not built
2996         https://bugs.webkit.org/show_bug.cgi?id=132686
2997
2998         Reviewed by Philippe Normand.
2999
3000         Bring back InputMethodFilter test to the build and compile it into
3001         a single binary TestWebCore with the other WebCore tests. Also
3002         move it from TestWebKitAPI/gtk/ to TestWebKitAPI/Tests/WebCore/gtk/.
3003
3004         * Scripts/run-gtk-tests:
3005         (TestRunner): Remove WebCoreGtk from the list of test directories.
3006         * TestWebKitAPI/PlatformGTK.cmake:
3007         * TestWebKitAPI/Tests/WebCore/gtk/InputMethodFilter.cpp: Renamed from Tools/TestWebKitAPI/Tests/gtk/InputMethodFilter.cpp.
3008
3009 2014-05-14  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
3010
3011         [EFL] Make XVFBDriver optional
3012         https://bugs.webkit.org/show_bug.cgi?id=131036
3013
3014         Reviewed by Gyuyoung Kim.
3015
3016         * Scripts/webkitpy/port/efl.py:
3017         (EflPort._driver_class):
3018
3019 2014-05-13  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3020
3021         Flakiness dashboard contains outdated list of bots on builders.jsonp
3022         https://bugs.webkit.org/show_bug.cgi?id=132874
3023
3024         Reviewed by Darin Adler.
3025
3026         * TestResultServer/static-dashboards/builders.jsonp: Regenerate this
3027         file by changing to the directory Tools/TestResultServer and executing
3028         the script generate_builders_json.py
3029
3030 2014-05-11  Anders Carlsson  <andersca@apple.com>
3031
3032         Replace WKContextSetLocalStorageDirectory with a context configuration getter/setter
3033         https://bugs.webkit.org/show_bug.cgi?id=132809
3034
3035         Reviewed by Dan Bernstein.
3036
3037         * WebKitTestRunner/TestController.cpp:
3038         (WTR::TestController::initialize):
3039         Set the local storage directory using WKContextConfigurationSetLocalStorageDirectory.
3040
3041 2014-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>
3042
3043         REGRESSION(CMAKE): [GTK] JavaScriptCore API tests are not built anymore
3044         https://bugs.webkit.org/show_bug.cgi?id=132739
3045
3046         Reviewed Anders Carlsson.
3047
3048         * TestWebKitAPI/CMakeLists.txt: Add missing includes required by
3049         the JSC unit tests.
3050         * TestWebKitAPI/PlatformGTK.cmake: Bring back JavaScriptCore unit tests.
3051
3052 2014-05-11  Anders Carlsson  <andersca@apple.com>
3053
3054         Add a WKContextConfigurationRef object and make the injected bundle path part of the configuration
3055         https://bugs.webkit.org/show_bug.cgi?id=132806
3056
3057         Reviewed by Beth Dakin.
3058
3059         Migrate to WKContextConfiguration.
3060
3061         * WebKitTestRunner/TestController.cpp:
3062         (WTR::TestController::initialize):
3063
3064 2014-05-10  Carlos Garcia Campos  <cgarcia@igalia.com>
3065
3066         REGRESSION(CMAKE): [GTK] WebKit2 C API tests are not longer built in the same binary
3067         https://bugs.webkit.org/show_bug.cgi?id=132685
3068
3069         Reviewed by Martin Robinson.
3070
3071         Use a single TestWebKit2 binary for all WebKit2 C API tests.
3072
3073         * TestWebKitAPI/PlatformGTK.cmake:
3074
3075 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
3076
3077         [iOS] Switch geolocation to an explicit authorization query model
3078         https://bugs.webkit.org/show_bug.cgi?id=132717
3079
3080         Reviewed by Sam Weinig.
3081
3082         * DumpRenderTree/mac/MockGeolocationProvider.mm:
3083         (-[MockGeolocationProvider initializeGeolocationForWebView:listener:]):
3084         (-[MockGeolocationProvider cancelWarmUpForWebView:]): Deleted.
3085
3086 2014-05-09  David Farler  <dfarler@apple.com>
3087
3088         com.apple.iphonesimulator.startSession needs to pass "RuntimeIdentifier"
3089         https://bugs.webkit.org/show_bug.cgi?id=132718
3090
3091         Reviewed by David Kilzer.
3092
3093         The simulator may not be able to look up runtimes by SDK paths
3094         and instead will map SDK versions to runtimes instead. In
3095         com.apple.iphonesimulator.startSession notifications,
3096         'runtimeIdentifier' (SDK version string) is preferred over
3097         'sdkRoot' (SDK path) anyway. Include the 'runtimeIdentifier' key
3098         when creating a new DRT or WKTR simulator session.
3099
3100         IPhoneSimulatorNotification.pm filters out keys for this
3101         notification's userInfo with a hard-coded list. There's no harm
3102         in including extra key-value pairs in an NSNotification userInfo
3103         dictionary anyway and the simulator may again change its
3104         userInfo schema for this notification.
3105
3106         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm:
3107         (postStartSessionNotification):
3108         * Scripts/old-run-webkit-tests:
3109         (installAndLaunchDumpToolAppUsingNotification):
3110
3111 2014-05-09  Anders Carlsson  <andersca@apple.com>
3112
3113         Another build fix.
3114
3115         * Scripts/build-webkit:
3116         WebKit2 should always be built for OS X and iOS.
3117
3118 2014-05-09  Anders Carlsson  <andersca@apple.com>
3119
3120         Follow-up build fix.
3121
3122         * Scripts/build-webkit:
3123         WebKit2 should no longer be built before WebKit.
3124
3125 2014-05-09  Anders Carlsson  <andersca@apple.com>
3126
3127         Rename WebKit2.framework to WebKit.framework
3128         https://bugs.webkit.org/show_bug.cgi?id=132743
3129         <rdar://problem/15920046>
3130
3131         Reviewed by Dan Bernstein.
3132
3133         * Scripts/check-for-inappropriate-files-in-framework:
3134         Use PRODUCT_NAME instead of PROJECT_NAME when matching frameworks.
3135         Change WebKit2 to WebKit.
3136
3137         * Scripts/check-for-webkit-framework-include-consistency:
3138         Change WebKit to WebKitLegacy.
3139
3140 2014-05-09  Manuel Rego Casasnovas  <rego@igalia.com>
3141
3142         Remove GTK+ WK1 EWS from build.webkit.org/dashboard
3143         https://bugs.webkit.org/show_bug.cgi?id=132732
3144
3145         Reviewed by Alexey Proskuryakov.
3146
3147         GTK+ WK1 EWS was removed in r166427, so it shouldn't appear in the dashboard.
3148
3149         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWS.js:
3150         (EWS): Remove GTK+ WK1 EWS.
3151
3152 2014-05-09  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3153
3154         Add new u-szeged contributors.
3155
3156         Reviewed by Csaba Osztrogonác.
3157
3158         * Scripts/webkitpy/common/config/contributors.json:
3159
3160 2014-05-09  Carlos Garcia Campos  <cgarcia@igalia.com>
3161
3162         REGRESSION(CMAKE): [GTK] run-gtk-tests doesn't set the right injected bundle path
3163         https://bugs.webkit.org/show_bug.cgi?id=132736
3164
3165         Reviewed by Philippe Normand.
3166
3167         There are two problems, the path returned by common.library_build_path() is wrong when
3168         common.binary_build_path() has previously been called, and the test is still looking for
3169         the .la instead of .so
3170
3171         * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:
3172         (TestWebKitAPI::Util::createInjectedBundlePath): Use .so instead
3173         of .la as extension of the injected bundle library.
3174         * gtk/common.py:
3175         (binary_build_path): Remove unused global variable and add a new
3176         one for binary_build_dir instead of sharing the same global
3177         variable for library_build_path and binary_build_path.
3178
3179 2014-05-08  Praveen R Jadhav  <praveen.j@samsung.com>
3180
3181         [EFL] Enable MEDIA_STREAM for EFL port
3182         https://bugs.webkit.org/show_bug.cgi?id=132648
3183
3184         Reviewed by Gyuyoung Kim.
3185
3186         Script modified to enable MEDIA_STREAM for EFL build.
3187
3188         * Scripts/webkitperl/FeatureList.pm: 
3189
3190 2014-05-08  David Farler  <dfarler@apple.com>
3191
3192         old-run-webkit-tests: update strings for simulator devices and app name
3193         https://bugs.webkit.org/show_bug.cgi?id=132687
3194
3195         Reviewed by Darin Adler.
3196
3197         iPhone Retina (4-inch) -> iPhone 5
3198         iPhone Retina (4-inch 64-bit) -> iPhone 5s
3199
3200         * Scripts/old-run-webkit-tests:
3201         (installAndLaunchDumpToolAppUsingNotification):
3202         (openIPhoneSimulator):
3203         (quitIPhoneSimulator):
3204         quit iOS Simulator, not iPhone Simulator.
3205
3206 2014-05-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3207
3208         REGRESSION(r168471): Update the builder names on the scheduler list.
3209         https://bugs.webkit.org/show_bug.cgi?id=132699
3210
3211         Reviewed by Martin Robinson.
3212
3213         On r168471 I missed to update the builder names for the GTK build
3214         bots on the AnyBranchScheduler type scheduler list of bots.
3215
3216         * BuildSlaveSupport/build.webkit.org-config/config.json:
3217
3218 2014-05-08  Brady Eidson  <beidson@apple.com>
3219
3220         "shouldKeepCurrentBackForwardListItemInList" API should pass clientInfo to the callback
3221         <rdar://problem/16855357> and https://bugs.webkit.org/show_bug.cgi?id=132692
3222
3223         Reviewed by Tim Horton.
3224
3225         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp:
3226         (TestWebKitAPI::shouldKeepCurrentBackForwardListItemInList):
3227
3228 2014-05-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3229
3230         REGRESSION(r168471): Duplicate builddirs broke the build master.
3231         https://bugs.webkit.org/show_bug.cgi?id=132688
3232
3233         Reviewed by Carlos Garcia Campos.
3234
3235         Rename the builddirs of the new GTK bots introduced on r168471 to
3236         be unique. Otherwise the master will break.
3237
3238         * BuildSlaveSupport/build.webkit.org-config/config.json:
3239
3240 2014-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
3241
3242         [GTK] webkitdom script assumes mkdir only fails because the directory already exists
3243         https://bugs.webkit.org/show_bug.cgi?id=132674
3244
3245         Reviewed by Philippe Normand.
3246
3247         Only ignore mkdir failure when exception is raised because the
3248         file already exists and it's a directory.
3249
3250         * gtk/webkitdom.py:
3251         (write_doc_files):
3252
3253 2014-05-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3254
3255         [WK2][GTK] Split the 64-bit GTK buildbots in Build and Test.
3256         https://bugs.webkit.org/show_bug.cgi?id=131358
3257
3258         Reviewed by Carlos Garcia Campos.
3259
3260         Current 64-bit GTK build bots (Release and Debug) not only test
3261         the build, but run all tests. Split each one of the bots in
3262         BuildOnly and TestWebKit2.
3263
3264         This will allow us to have a better overview of the status of
3265         the GTK port.
3266
3267         Original patch from Sergio Villar Senin <svillar@igalia.com>
3268
3269         * BuildSlaveSupport/build.webkit.org-config/config.json:
3270         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
3271         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3272         (WebKitBuildbot):
3273         * Scripts/webkitpy/port/builders.py:
3274         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
3275         (TestRebaselineTest.test_baseline_directory):
3276         * TestResultServer/static-dashboards/builders.jsonp:
3277         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3278         (resetGlobals):
3279         * TestResultServer/static-dashboards/loader_unittests.js:
3280
3281 2014-05-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3282
3283         [CoordinatedGraphics][WK2] Scale factor and scroll position is not being restored properly in a back/forward load
3284         https://bugs.webkit.org/show_bug.cgi?id=126022
3285
3286         Reviewed by Benjamin Poulain.
3287
3288         Original author : Thiago de Barros Lacerda, and finished by Gyuyoung Kim.
3289
3290         Added an unit test case to check if scroll position and scale are restored properly.
3291
3292         * TestWebKitAPI/PlatformEfl.cmake:
3293         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewRestoreZoomAndScrollBackForward.cpp: Added.
3294         (TestWebKitAPI::didFinishLoadForFrame):
3295         (TestWebKitAPI::didChangeContentsPosition):
3296         (TestWebKitAPI::TEST):
3297         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward1.html: Added.
3298         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward2.html: Added.
3299
3300 2014-05-07  Simon Fraser  <simon.fraser@apple.com>
3301
3302         WebKit1 is flashy when compositing layers come and go
3303         https://bugs.webkit.org/show_bug.cgi?id=132655
3304         <rdar://problem/16830981&16788846>
3305
3306         Reviewed by Sam Weinig.
3307         
3308         Revert the change from r166117.
3309
3310         * DumpRenderTree/mac/DumpRenderTree.mm:
3311         (updateDisplay):
3312
3313 2014-05-07  Chris Fleizach  <cfleizach@apple.com>
3314
3315         AX: AXSelectTextWithCriteria should support capitalize/lowercase/uppercase
3316         https://bugs.webkit.org/show_bug.cgi?id=132622
3317
3318         Reviewed by Mario Sanchez Prada.
3319
3320         * DumpRenderTree/AccessibilityUIElement.cpp:
3321         (selectTextWithCriteriaCallback):
3322         (isEqualCallback):
3323         * DumpRenderTree/AccessibilityUIElement.h:
3324         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3325         (AccessibilityUIElement::selectTextWithCriteria):
3326         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3327         (AccessibilityUIElement::selectTextWithCriteria):
3328         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3329         (selectTextParameterizedAttributeForCriteria):
3330         (AccessibilityUIElement::selectTextWithCriteria):
3331         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3332         (AccessibilityUIElement::selectTextWithCriteria):
3333         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3334         (WTR::AccessibilityUIElement::selectTextWithCriteria):
3335         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3336         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3337         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3338         (WTR::AccessibilityUIElement::selectTextWithCriteria):
3339         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3340         (WTR::AccessibilityUIElement::selectTextWithCriteria):
3341         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3342         (WTR::selectTextParameterizedAttributeForCriteria):
3343         (WTR::AccessibilityUIElement::selectTextWithCriteria):
3344
3345 2014-05-07  Carlos Garcia Campos  <cgarcia@igalia.com>
3346
3347         [SOUP] TLSErrors do not cause page load to fail when not ignored
3348         https://bugs.webkit.org/show_bug.cgi?id=121548
3349
3350         Reviewed by Sergio Villar Senin.
3351
3352         Add unit tests to check that the load fails with TLS errors in
3353         case of a redirection.
3354
3355         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
3356         (testTLSErrorsRedirect):
3357         (httpsServerCallback):
3358         (beforeAll):
3359
3360 2014-05-07  Manuel Rego Casasnovas  <rego@igalia.com>
3361
3362         [CSS Grid Layout] Remove runtime feature
3363         https://bugs.webkit.org/show_bug.cgi?id=132382
3364
3365         Reviewed by Benjamin Poulain.
3366
3367         Remove cssGridLayoutEnabled setting usage.
3368
3369         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3370         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
3371         * DumpRenderTree/efl/TestRunnerEfl.cpp:
3372         (TestRunner::overridePreference):
3373         * DumpRenderTree/mac/DumpRenderTree.mm:
3374         (resetWebPreferencesToConsistentValues):
3375
3376 2014-05-06  David Kilzer  <ddkilzer@apple.com>
3377
3378         Add Makefile targets for copying static libraries (LLVM and WKSI)
3379         <http://webkit.org/b/132619>
3380
3381         Reviewed by Mark Rowe.
3382
3383         * Scripts/copy-webkitlibraries-to-product-directory: Set a
3384         sensible default for product directory if not specified on
3385         either the command-line or in the environment (by Xcode) by
3386         calling productDir() in webkitdirs.pm.
3387
3388 2014-05-06  Brady Eidson  <beidson@apple.com>
3389
3390         Add WK2 SPI to prevent the previous back/forward item from remaining in the list
3391         <rdar://problem/16248710> and https://bugs.webkit.org/show_bug.cgi?id=132636
3392
3393         Reviewed by Sam Weinig.
3394
3395         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3396
3397         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp: Added.
3398         (TestWebKitAPI::itemURLLastComponentIsString):
3399         (TestWebKitAPI::didFinishLoadForFrame):
3400         (TestWebKitAPI::willGoToBackForwardListItem):
3401         (TestWebKitAPI::shouldKeepCurrentBackForwardListItemInList):
3402         (TestWebKitAPI::setPageLoaderClient):
3403         (TestWebKitAPI::TEST):
3404         * TestWebKitAPI/Tests/WebKit2/simple2.html: Added.
3405         * TestWebKitAPI/Tests/WebKit2/simple3.html: Added.
3406
3407         * WebKitTestRunner/TestController.cpp:
3408         (WTR::TestController::createWebViewWithOptions): Update for new client layout.
3409
3410 2014-05-06  Darin Adler  <darin@apple.com>
3411
3412         Try to fix iOS build.
3413
3414         * DumpRenderTree/mac/TestRunnerMac.mm:
3415         (-[APITestDelegateIPhone initWithTestRunner:utf8Data:baseURL:]):
3416         Updated since I changed testRunner into a pointer instead of a reference.
3417         Updated argument names to avoid conflict with field names.
3418         (-[APITestDelegateIPhone run]): Ditto.
3419         (-[APITestDelegateIPhone _cleanUp]): Ditto.
3420
3421 2014-05-06  Commit Queue  <commit-queue@webkit.org>
3422
3423         Unreviewed, rolling out r168304.
3424         https://bugs.webkit.org/show_bug.cgi?id=132607
3425
3426         Broke the build (Requested by KaL on #webkit).
3427
3428         Reverted changeset:
3429
3430         "[GTK][CMake] Unable to do make install"
3431         https://bugs.webkit.org/show_bug.cgi?id=130188
3432         http://trac.webkit.org/changeset/168304
3433
3434 2014-05-04  Darin Adler  <darin@apple.com>
3435
3436         RetainPtr: Use adoptCF function instead of AdoptCF constructor argument
3437         https://bugs.webkit.org/show_bug.cgi?id=80222
3438
3439         Reviewed by Alexey Proskuryakov.
3440
3441         * DumpRenderTree/mac/TestRunnerMac.mm:
3442         (-[APITestDelegateIPhone initWithTestRunner:utf8Data:baseURL:]): Updated to
3443         do more work here so we don't use RetainPtr local variables.
3444         (-[APITestDelegateIPhone dealloc]): Added.
3445         (-[APITestDelegateIPhone run]): Added an early exit if the web view is already
3446         created. Updated for changes to member names and types.
3447         (-[APITestDelegateIPhone _cleanUp]): Added code to set webView to nil and
3448         updated for changes to member names and types. Changed to two word spelling.
3449         (-[APITestDelegateIPhone webView:didFailLoadWithError:forFrame:]): Updated
3450         name of _cleanUp method.
3451         (-[APITestDelegateIPhone webView:didFailProvisionalLoadWithError:forFrame:]):
3452         Ditto.
3453         (-[APITestDelegateIPhone webView:didFinishLoadForFrame:]): Ditto.
3454
3455 2014-05-05  Benjamin Poulain  <benjamin@webkit.org>
3456
3457         Clean up Image Document and tweak the layout and viewport
3458         https://bugs.webkit.org/show_bug.cgi?id=132552
3459
3460         Reviewed by Anders Carlsson.
3461
3462         * DumpRenderTree/mac/DumpRenderTree.mm:
3463         (resetWebPreferencesToConsistentValues):
3464         Update the default settings to have something consistent with WebKit2.
3465
3466 2014-05-05  Martin Robinson  <mrobinson@igalia.com>
3467
3468         [GTK][CMake] Unable to do make install
3469         https://bugs.webkit.org/show_bug.cgi?id=130188
3470
3471         Reviewed by Carlos Garcia Campos.
3472
3473         * Scripts/webkitdirs.pm:
3474         (buildCMakeGeneratedProject): Always build gtkdoc-no-html for WebKitGTK+. This
3475         will give an early signal that a change has broken the documentation.
3476
3477 2014-05-05  Pratik Solanki  <psolanki@apple.com>
3478
3479         Update framework locations in package-root
3480         https://bugs.webkit.org/show_bug.cgi?id=132571
3481
3482         Reviewed by Simon Fraser.
3483
3484         * Scripts/package-root:
3485
3486 2014-05-05  Ryuan Choi  <ryuan.choi@samsung.com>
3487
3488         [EFL][WK2] Refactor favicon database APIs
3489         https://bugs.webkit.org/show_bug.cgi?id=132519
3490
3491         Reviewed by Gyuyoung Kim.
3492
3493         * MiniBrowser/efl/main.c: Use ewk_favicon_database_icon_get instead of ewk_view_favicon_get.
3494         (update_view_favicon):
3495         (on_icon_changed_cb):
3496         (window_free):
3497         (on_url_changed):
3498         (window_create):
3499         (on_view_favicon_changed): Deleted.
3500
3501 2014-05-02  Mark Rowe  <mrowe@apple.com>
3502
3503         <https://webkit.org/b/132505> Make it possible to tell copy-webkitlibraries-to-product-directory which OS X version to copy for
3504
3505         Reviewed by Dan Bernstein.
3506
3507         * Scripts/copy-webkitlibraries-to-product-directory: Add an --osx-version argument and use the passed value
3508         when determining which LLVM archive to extract.
3509
3510 2014-05-02  Jeremy Jones  <jeremyj@apple.com>
3511
3512         Add Jeremy as a committer.
3513         https://bugs.webkit.org/show_bug.cgi?id=132492
3514
3515         Reviewed by Jer Noble.
3516
3517         Add myself as a committer.
3518
3519         * Scripts/webkitpy/common/config/contributors.json:
3520
3521 2014-05-02  Jeremy Jones  <jeremyj@apple.com>
3522
3523         Add Jeremy as a committer.
3524         https://bugs.webkit.org/show_bug.cgi?id=132492
3525
3526         Reviewed by Jer Noble.
3527
3528         Add Jeremy Jones to the committers file.
3529
3530         * Scripts/webkitpy/common/config/contributors.json:
3531
3532 2014-05-02  Brian J. Burg  <burg@cs.washington.edu>
3533
3534         Hard to figure out how to run a single test with run-api-tests
3535         https://bugs.webkit.org/show_bug.cgi?id=116332
3536
3537         Reviewed by Alexey Proskuryakov.
3538
3539         * Scripts/run-api-tests: add two examples to the help message.
3540
3541 2014-05-02  Simon Fraser  <simon.fraser@apple.com>
3542
3543         Fix several memory leaks found by code inspection
3544         https://bugs.webkit.org/show_bug.cgi?id=132472
3545
3546         Reviewed by Geoffrey Garen.
3547         
3548         Fix memory leaks.
3549
3550         * TestWebKitAPI/Tests/mac/WillSendSubmitEvent.mm:
3551         (TestWebKitAPI::TEST):
3552         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3553         (WTR::InjectedBundlePage::willSendRequestForFrame):
3554         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3555         (WTR::PlatformWebView::changeWindowScaleIfNeeded):
3556
3557 2014-05-02  Filip Pizlo  <fpizlo@apple.com>
3558
3559         DFGAbstractInterpreter should not claim Int52 arithmetic creates Int52s
3560         https://bugs.webkit.org/show_bug.cgi?id=132446
3561
3562         Reviewed by Mark Hahnenberg.
3563         
3564         Test the FTL by default now that it's enabled by default.
3565
3566         * Scripts/run-javascriptcore-tests:
3567
3568 2014-05-01  Ryuan Choi  <ryuan.choi@samsung.com>
3569
3570         [EFL][WK1] Drop ewk_view_setting_tiled_backingstore APIs
3571         https://bugs.webkit.org/show_bug.cgi?id=132240
3572
3573         Reviewed by Anders Carlsson.
3574
3575         Removed ewk_view_setting_tiled_backingstore related code.
3576
3577         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3578         (DumpRenderTreeChrome::createView):
3579         (shouldUseTiledBackingStore): Deleted.
3580         * EWebLauncher/main.c:
3581         (windowCreate):
3582         (parseUserArguments):
3583
3584 2014-05-01  Anders Carlsson  <andersca@apple.com>
3585
3586         window.testRunner.keepWebHistory() should update the UI process state
3587         https://bugs.webkit.org/show_bug.cgi?id=132440
3588
3589         Reviewed by Dan Bernstein.
3590
3591         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3592         (WTR::InjectedBundle::postSetAddsVisitedLinks):
3593         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3594         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3595         (WTR::TestRunner::keepWebHistory):
3596         * WebKitTestRunner/TestInvocation.cpp:
3597         (WTR::TestInvocation::invoke):
3598         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3599
3600 2014-05-01  David Kilzer  <ddkilzer@apple.com>
3601
3602         Really remove ENABLE_PLUGIN_PROXY_FOR_VIDEO
3603         <http://webkit.org/b/132432>
3604
3605         Reviewed by Tim Horton.
3606
3607         * Scripts/webkitperl/FeatureList.pm: Remove support for
3608         --plugin-proxy-for-video switch.
3609
3610 2014-04-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3611
3612         Kernel sysctl interface hw.activecpu don't exists on Linux.
3613         https://bugs.webkit.org/show_bug.cgi?id=132286
3614
3615         Reviewed by Filip Pizlo.
3616
3617         * Scripts/run-jsc-stress-tests: Redirect stderr to null when
3618         calling sysctl over hw.activecpu
3619
3620 2014-04-30  Anders Carlsson  <andersca@apple.com>
3621
3622         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
3623         https://bugs.webkit.org/show_bug.cgi?id=132399
3624         <rdar://problem/15920046>
3625
3626         Reviewed by Dan Bernstein.
3627
3628         * Scripts/check-for-webkit-framework-include-consistency:
3629         Allos WAK headers in WebKitLegacy as well as WebKit.
3630
3631         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
3632         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
3633         Update header imports.
3634
3635 2014-04-30  Simon Fraser  <simon.fraser@apple.com>
3636
3637         [iOS WK2] Add test URL to crash reports for the UI process, clean up project
3638         https://bugs.webkit.org/show_bug.cgi?id=131954
3639
3640         Reviewed by Darin Adler.
3641         
3642         WebKitTestRunner was adding application-specific information to crash reports
3643         to log the test path, but only in the web process. Fix it to also do this
3644         for the UI process, for both iOS and OS X.
3645         
3646         Moved InjectedBundlePageMac.mm to InjectedBundlePageCocoa.mm and compile it for
3647         both iOS and OS X.
3648         
3649         Factored crash reprorter-related code into CrashReporterInfo, and call it from
3650         a new TestController::platformWillRunTest() function on Mac and iOS.
3651         
3652         Also remove Xcode-added unit test junk from the project.
3653
3654         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm: Copied from Tools/WebKitTestRunner/InjectedBundle/ios/InjectedBundlePageIOS.mm.
3655         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
3656         * WebKitTestRunner/TestController.cpp:
3657         (WTR::TestController::runTest):
3658         * WebKitTestRunner/TestController.h:
3659         * WebKitTestRunner/TestInvocation.cpp:
3660         (WTR::TestInvocation::url):
3661