c83748815f063fb308838649d6e0b67a68d6d52c
[WebKit-https.git] / Tools / ChangeLog
1 2015-02-25  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2
3         W3C test importer should use argparse instead of optparse
4         https://bugs.webkit.org/show_bug.cgi?id=142013
5
6         Reviewed by Bem Jones-Bey.
7
8         * Scripts/webkitpy/w3c/test_importer.py:
9         (main): Updating according argparse.
10         (parse_args): Moving from optparse to argparse.
11
12 2015-02-25  Brady Eidson  <beidson@apple.com>
13
14         Get rid of TestInvocation::pathOrURL
15         https://bugs.webkit.org/show_bug.cgi?id=142021
16
17         Reviewed by Tim Horton.
18
19         The pathOrURL string is a relative path used as an argument to WebKitTestRunner,
20         but most code that uses it expected an absolute path.
21
22         This gets rid of the member and replaces all uses with a more descriptive "urlContains" method.
23
24         * WebKitTestRunner/TestController.cpp:
25         (WTR::TestController::updateWebViewSizeForTest):
26         (WTR::TestController::updateWindowScaleForTest):
27         (WTR::shouldUseFixedLayout):
28         (WTR::TestController::updateLayoutTypeForTest):
29
30         * WebKitTestRunner/TestInvocation.cpp:
31         (WTR::TestInvocation::TestInvocation):
32         (WTR::TestInvocation::urlContains):
33         (WTR::TestInvocation::shouldLogFrameLoadDelegates):
34         (WTR::TestInvocation::shouldLogHistoryClientCallbacks):
35         (WTR::TestInvocation::invoke):
36         (WTR::shouldLogFrameLoadDelegates): Deleted.
37         (WTR::shouldLogHistoryClientCallbacks): Deleted.
38         * WebKitTestRunner/TestInvocation.h:
39         (WTR::TestInvocation::pathOrURL): Deleted.
40
41         * WebKitTestRunner/ios/TestControllerIOS.mm:
42         (WTR::shouldMakeViewportFlexible):
43         (WTR::TestController::platformConfigureViewForTest):
44
45         * WebKitTestRunner/mac/TestControllerMac.mm:
46         (WTR::shouldUseThreadedScrolling):
47         (WTR::TestController::platformConfigureViewForTest):
48
49 2015-02-25  Brady Eidson  <beidson@apple.com>
50
51         Layout test support for user content filters
52         https://bugs.webkit.org/show_bug.cgi?id=142018
53
54         Reviewed by Tim Horton.
55
56         * WebKitTestRunner/TestController.cpp:
57         (WTR::TestController::resetStateToConsistentValues): Clear all user content filters between tests.
58
59         * WebKitTestRunner/mac/TestControllerMac.mm:
60         (WTR::TestController::platformConfigureViewForTest): For all tests with usercontentfilter/ in their path try to load a matching .json
61           file before loading the test itself.
62
63 2015-02-24  Sam Weinig  <sam@webkit.org>
64
65         Convert WebEditingTester to use xcconfig files
66         https://bugs.webkit.org/show_bug.cgi?id=141879
67
68         Reviewed by Darin Adler.
69
70         Add xcconfig files to WebEditingTester based on the ones used by MiniBrowser.
71
72         * WebEditingTester/Configurations: Added.
73         * WebEditingTester/Configurations/Base.xcconfig: Added.
74         * WebEditingTester/Configurations/DebugRelease.xcconfig: Added.
75         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
76
77 2015-02-24  Andy Estes  <aestes@apple.com>
78
79         Teach MiniBrowser how to disable per-window web processes
80         https://bugs.webkit.org/show_bug.cgi?id=141988
81
82         Reviewed by Darin Adler.
83
84         * MiniBrowser/mac/AppDelegate.m:
85         (defaultConfiguration): Created a _WKProcessPoolConfiguration with maximumProcessCount == 1 if per-window web processes are disabled.
86         * MiniBrowser/mac/SettingsController.h:
87         * MiniBrowser/mac/SettingsController.m:
88         (-[SettingsController _populateMenu]): Added a new Settings menu item.
89         (-[SettingsController validateMenuItem:]): Validated the new Settings menu item.
90         (-[SettingsController togglePerWindowWebProcessesDisabled:]): Displayed an alert informing the user that MiniBrowser must be restarted for the setting to take effect.
91         (-[SettingsController perWindowWebProcessesDisabled]): Returned the value from user defaults.
92
93 2015-02-24  Alexey Proskuryakov  <ap@apple.com>
94
95         Bot watcher's dashboard sometimes hits an assertion: data.num_missing === this.layoutTestResults.testsWithMissingResults.length
96         https://bugs.webkit.org/show_bug.cgi?id=141889
97
98         Reviewed by Darin Adler.
99
100         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
101
102 2015-02-24  Yusuke Suzuki  <utatane.tea@gmail.com>
103
104         REGRESSION(r179429): Can't type comments in Facebook
105         https://bugs.webkit.org/show_bug.cgi?id=141859
106
107         Reviewed by Brent Fulgham.
108
109         Drop javaScriptExperimentsEnabled and specify JavaScriptRuntimeFlagsAllEnabled as KJavaScriptRuntimeFlags.
110
111         * DumpRenderTree/mac/DumpRenderTree.mm:
112         (resetWebPreferencesToConsistentValues):
113         * DumpRenderTree/win/DumpRenderTree.cpp:
114         (resetWebPreferencesToConsistentValues):
115         * WebKitTestRunner/TestController.cpp:
116         (WTR::TestController::resetPreferencesToConsistentValues):
117
118 2015-02-24  Michael Catanzaro  <mcatanzaro@igalia.com>
119
120         Crash loading local file with WebPageProxy::loadAlternateHTMLString
121         https://bugs.webkit.org/show_bug.cgi?id=141867
122
123         Reviewed by Anders Carlsson.
124
125         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp:
126         (TestWebKitAPI::loadAlternateHTMLString): Split most of this test into a function so it can
127         be shared with the new test.
128         (TestWebKitAPI::TEST): Add a cross-platform test for this crash.
129         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp: Add a GTK+ test for this crash.
130         (testLoadAlternateHTMLForLocalPage):
131         (beforeAll):
132
133 2015-02-24  David Kilzer  <ddkilzer@apple.com>
134
135         [iOS] Implement WTR::activateFonts() to fix missing fonts in WebKit2 test runs
136         <http://webkit.org/b/141900>
137
138         Reviewed by Myles C. Maxfield.
139
140         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
141         (OTHER_LDFLAGS_BASE): Link to CoreText.framework.
142         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm: Rename from Tools/WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm.
143         - Rename to share code with iOS.
144         - Add USE(APPKIT) around AppKit-specific headers and code.
145         - Fix a check-webkit-style warning.
146         * WebKitTestRunner/InjectedBundle/ios/ActivateFontsIOS.mm: Remove.
147         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
148         - Rename mac/ActivateFonts.mm to cocoa/ActivateFontsCocoa.mm.
149         - Remove ios/ActivateFontsIOS.mm.
150         - Fix InjectedBundle/cocoa group to represent the directory on
151           disk.  Includes a change to InjectedBundlePageCocoa.mm.
152
153 2015-02-23  Commit Queue  <commit-queue@webkit.org>
154
155         Unreviewed, rolling out r180547 and r180550.
156         https://bugs.webkit.org/show_bug.cgi?id=141957
157
158         Broke 10 Windows tests. (Requested by bfulgham_ on #webkit).
159
160         Reverted changesets:
161
162         "REGRESSION(r179429): Can't type comments in Facebook"
163         https://bugs.webkit.org/show_bug.cgi?id=141859
164         http://trac.webkit.org/changeset/180547
165
166         "Constructor returning null should construct an object instead
167         of null"
168         https://bugs.webkit.org/show_bug.cgi?id=141640
169         http://trac.webkit.org/changeset/180550
170
171 2015-02-23  Yusuke Suzuki  <utatane.tea@gmail.com>
172
173         REGRESSION(r179429): Can't type comments in Facebook
174         https://bugs.webkit.org/show_bug.cgi?id=141859
175
176         Reviewed by Geoffrey Garen.
177
178         Drop javaScriptExperimentsEnabled and specify JavaScriptRuntimeFlagsAllEnabled as KJavaScriptRuntimeFlags.
179
180         * DumpRenderTree/mac/DumpRenderTree.mm:
181         (resetWebPreferencesToConsistentValues):
182         * WebKitTestRunner/TestController.cpp:
183         (WTR::TestController::resetPreferencesToConsistentValues):
184
185 2015-02-23  KwangHyuk Kim  <hyuki.kim@samsung.com>
186
187         [EFL] fix eo errors
188         https://bugs.webkit.org/show_bug.cgi?id=141909
189
190         Reviewed by Gyuyoung Kim.
191
192         Fix eo errors that occur whenever minibrowser is launched.
193         - elm_obj_entry_text_style_user_push can only be applied for elm_entry
194         - elm_obj_win_resize_object_add's first parameter should be elm_win
195
196         * MiniBrowser/efl/main.c:
197         (window_create):
198
199 2015-02-23  Ryosuke Niwa  <rniwa@webkit.org>
200
201         Unreviewed build fix after r180535. Removed the test case that wasn't compiling.
202
203         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
204         (TestWebKitAPI::TEST):
205
206 2015-02-23  Brent Fulgham  <bfulgham@apple.com>
207
208         WTF::WeakPtr should rename 'forgot' to 'clear' and support nullptr assignment
209         https://bugs.webkit.org/show_bug.cgi?id=141935
210
211         Reviewed by Myles C. Maxfield.
212
213         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
214         (TestWebKitAPI::TEST): Updated for 'clear' method rename, and added a few
215         tests for assigning from nullptr.
216
217 2015-02-23  Brent Fulgham  <bfulgham@apple.com>
218
219         WTF::WeakPtr should have a 'forget' method.
220         https://bugs.webkit.org/show_bug.cgi?id=141923
221
222         Reviewed by Myles C. Maxfield.
223
224         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
225         (TestWebKitAPI::TEST): Added 'Forget' tests case.
226
227 2015-02-23  Alexey Proskuryakov  <ap@apple.com>
228
229         build.webkit.org/dashboard CrashOnly queues should not show two green bubbles
230         https://bugs.webkit.org/show_bug.cgi?id=141920
231
232         Reviewed by Tim Horton.
233
234         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
235         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
236         Do the same thing as we do for regular green bubbles.
237
238 2015-02-23  Alexey Proskuryakov  <ap@apple.com>
239
240         Bot watcher's dashboard doesn't show a popover for commit history when all commits were to another branch
241         https://bugs.webkit.org/show_bug.cgi?id=141925
242
243         Reviewed by Tim Horton.
244
245         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
246         (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
247
248 2015-02-23  Anders Carlsson  <andersca@apple.com>
249
250         Add API for fetching website data records to _WKWebsiteDataStore
251         https://bugs.webkit.org/show_bug.cgi?id=141926
252
253         Reviewed by Beth Dakin.
254
255         * MiniBrowser/mac/MainMenu.xib:
256         * MiniBrowser/mac/WK2BrowserWindowController.m:
257         (-[WK2BrowserWindowController fetchWebsiteData:]):
258         Add menu item to fetch and dump website data.
259
260 2015-02-23  David Kilzer  <ddkilzer@apple.com>
261
262         [iOS] run-webkit-tests --leaks is broken because IOSSimulatorPort has no is_snowleopard attribute
263         <http://webkit.org/b/141884>
264
265         Reviewed by Alexey Proskuryakov.
266
267         * Scripts/webkitpy/port/leakdetector.py:
268         (LeakDetector._callstacks_to_exclude_from_leaks): Remove
269         snowleopard, lion and older leaks.  Add known leak for
270         mavericks, but check Port.operating_system before calling
271         Port.is_mavericks.
272         * Scripts/webkitpy/port/mac.py:
273         (MacPort.is_snowleopard): Delete.
274         (MacPort.is_lion): Delete.
275         (MacPort.is_mavericks): Add.
276
277 2015-02-23  Alexey Proskuryakov  <ap@apple.com>
278
279         build.webkit.org/dashboard should filter out commits to other branches
280         https://bugs.webkit.org/show_bug.cgi?id=140362
281
282         Reviewed by Tim Horton.
283
284         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
285         (BuildbotQueue):
286         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
287         (BuildbotQueueView.prototype._presentPopoverForPendingCommits):
288         (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
289         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration):
290         (BuildbotQueueView.prototype.revisionContentForIteration):
291         (BuildbotQueueView.prototype._appendPendingRevisionCount): Deleted.
292         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Deleted.
293         (BuildbotQueueView.prototype._revisionPopoverContentForIteration): Deleted.
294         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
295         (Trac.prototype.get oldestRecordedRevisionNumber):
296         (Trac.prototype.commitsOnBranch):
297         (Trac.prototype._xmlTimelineURL):
298         (Trac.prototype._convertCommitInfoElementToObject):
299         (Trac.prototype._update):
300         (Trac.prototype.startPeriodicUpdates):
301         (Trac.prototype.loadMoreHistoricalData):
302         (Trac.prototype.update): Deleted.
303
304 2015-02-21  Youenn Fablet  <youenn.fablet@crf.canon.fr>
305
306         Tests don't work on some bots: Failed to stop wptwk
307         https://bugs.webkit.org/show_bug.cgi?id=141235
308
309         Reviewed by Ryosuke Niwa.
310
311         Logging of server subprocesses in launcher script.
312         Killing of server subprocesses when stopping/before starting.
313         Removed empty __init.py__ file creation as importer now ensures these files cannot be empty anymore.
314
315         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
316         (main): Removed empty __init.py__ file creation as importer now ensures these files cannot be empty anymore. Added logging in a file of server subprocesses to clean them in case of abnormal shutdown. 
317         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
318         (WebPlatformTestServer.__init__):
319         (WebPlatformTestServer._stop_running_subservers): Kill server subprocesses based on file created by wpt launcher.
320         (WebPlatformTestServer):
321         (WebPlatformTestServer.stop): Overriden to ensure killing subprocesses in case of orphaned process.
322         (WebPlatformTestServer._stop_running_server): Killing of wpt launcher process after regular shutdown. 
323         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
324         (TestWebPlatformTestServer.test_server_closes_previously_spawned_instance): Reworked the test to call start/stop with an existing pid file.
325         (TestWebPlatformTestServer.test_import_web_platform_test_modules): No change.
326         (TestWebPlatformTestServer):
327         (TestWebPlatformTestServer.test_corrupted_subserver_files): Checked that server subprocess cleaning does not throw in case of bad server pid file.
328
329 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
330
331         [WebEditingTester] Allow dropping HTML files on the app
332         https://bugs.webkit.org/show_bug.cgi?id=141834
333
334         Reviewed by Simon Fraser.
335
336         * WebEditingTester/AppDelegate.m:
337         (-[WebEditingAppDelegate openDocument:]):
338         (-[WebEditingAppDelegate application:openFile:]):
339         Implement application:openFile:, factoring file loading code out of openDocument.
340
341         * WebEditingTester/Info.plist:
342         Register as an editor for HTML files.
343
344         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
345         Enrica is not an organization.
346
347 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
348
349         [WebEditingTester] Expand "WK" to "WebKit" in a few places
350         https://bugs.webkit.org/show_bug.cgi?id=141833
351
352         Reviewed by Anders Carlsson.
353
354         * WebEditingTester/AppDelegate.h:
355         * WebEditingTester/AppDelegate.m:
356         (-[WebEditingAppDelegate newEditor:]):
357         (-[WebEditingAppDelegate toggleUseWebKit2ByDefault:]):
358         (-[WebEditingAppDelegate validateMenuItem:]):
359         (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
360         (-[WebEditingAppDelegate applicationDidFinishLaunching:]): Deleted.
361         (-[WebEditingAppDelegate applicationWillTerminate:]): Deleted.
362         (-[WebEditingAppDelegate showOperations:]): Deleted.
363         * WebEditingTester/MainMenu.xib:
364         The WK abbreviation is unnaturally grating in menu items for some reason.
365
366 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
367
368         [WebEditingTester] Add a custom protocol for loading canned content
369         https://bugs.webkit.org/show_bug.cgi?id=141830
370
371         Reviewed by Enrica Casucci.
372
373         Add a canned:// protocol handler, which can be used to emulate behaviors
374         in WebKit client apps (like Mail) that use custom protocol handlers,
375         which can have important effects on editing (mostly, the URLs are only
376         valid inside of the client application, but not when copied/dragged out).
377
378         For now, we only support two canned files:
379
380             canned://dice is a PNG of dice (stolen from LayoutTests/)
381             canned://text is the string "canned text" served as text/html
382
383         In the future we could support things like very large (generated) files,
384         progressive loading, etc. to further simulate conditions in other apps.
385
386         * WebEditingTester/AppDelegate.m:
387         (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
388         Register the protocol with CFNetwork, and the scheme with WebKit2.
389
390         * WebEditingTester/Canned Content/dice.png: Added.
391         * WebEditingTester/CannedContent.h: Added.
392         * WebEditingTester/CannedContent.m: Added.
393         (-[CannedContent initWithRequest:cachedResponse:client:]):
394         (+[CannedContent canonicalRequestForRequest:]):
395         (+[CannedContent canInitWithRequest:]):
396         We only want to handle canned:// URLs.
397
398         (-[CannedContent startLoading]):
399         For now, immediately load the two files we know about.
400         Otherwise, immediately fail the load.
401
402         (-[CannedContent stopLoading]):
403         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
404
405 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
406
407         [WebEditingTester] Implement an open panel
408         https://bugs.webkit.org/show_bug.cgi?id=141829
409
410         Reviewed by Simon Fraser.
411
412         * WebEditingTester/AppDelegate.m:
413         (-[WebEditingAppDelegate _useWebKit1ForOpeningDocument:]):
414         (-[WebEditingAppDelegate _useWebKit2ForOpeningDocument:]):
415         (-[WebEditingAppDelegate openDocument:]):
416         Add an open panel (with radio buttons to pick which WebKit to open with).
417         Loads the file as an HTML string.
418
419 2015-02-20  Simon Fraser  <simon.fraser@apple.com>
420
421         [WebEditingTester] @properties, dot syntax, and remember the window position
422         https://bugs.webkit.org/show_bug.cgi?id=141843
423
424         Reviewed by Tim Horton.
425         
426         Modernize a bit with more dot syntax, use @property for the web views,
427         and give the main window an Autosave name so it remembers the widow position.
428
429         * WebEditingTester/WK1WebDocumentController.m:
430         (-[WK1WebDocumentController awakeFromNib]):
431         (-[WK1WebDocumentController loadHTMLString:]):
432         * WebEditingTester/WK2WebDocumentController.m:
433         (-[WK2WebDocumentController awakeFromNib]):
434         * WebEditingTester/WebDocument.xib:
435
436 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
437
438         [WebEditingTester] Hook up key equivalents for new window action
439         https://bugs.webkit.org/show_bug.cgi?id=141828
440
441         Reviewed by Enrica Casucci.
442
443         * WebEditingTester/AppDelegate.h:
444         * WebEditingTester/AppDelegate.m:
445         (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
446         (-[WebEditingAppDelegate newEditor:]):
447         (-[WebEditingAppDelegate _defaultWebDocumentControllerClass]):
448         (-[WebEditingAppDelegate toggleUseWK2ByDefault:]):
449         (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
450         (defaultConfiguration): Deleted.
451         (-[WebEditingAppDelegate applicationWillTerminate:]): Deleted.
452         Move WKWebViewConfiguration setup into WK2WebDocumentController.
453         Remove unused application termination code.
454         Update new-window menu item key equivalents when launching and when
455         changing the use-WebKit2-by-default setting.
456         Make WebDocumentController subclasses all initialized the same way,
457         and use that to factor out alloc/init.
458         Rename loadContent to loadHTMLString for future use.
459
460         * WebEditingTester/MainMenu.xib:
461         Add default key equivalents.
462         Cmd-N will always make the default kind of window (controlled by the pref).
463         Cmd-Opt-N will always make the other kind.
464         The menu items are configured as alternates so they only show up if you
465         press alt (just like in MiniBrowser).
466
467         * WebEditingTester/WK1WebDocumentController.m:
468         (-[WK1WebDocumentController loadHTMLString:]):
469         (-[WK1WebDocumentController loadContent]): Deleted.
470         * WebEditingTester/WK2WebDocumentController.h:
471         * WebEditingTester/WK2WebDocumentController.m:
472         (defaultConfiguration):
473         (-[WK2WebDocumentController awakeFromNib]):
474         (-[WK2WebDocumentController loadHTMLString:]):
475         (-[WK2WebDocumentController initWithConfiguration:]): Deleted.
476         (-[WK2WebDocumentController dealloc]): Deleted.
477         * WebEditingTester/WebDocumentController.h:
478         * WebEditingTester/WebDocumentController.m:
479         (-[WebDocumentController init]):
480         (-[WebDocumentController initWithWindow:]):
481         (+[WebDocumentController defaultEditingSource]):
482         (-[WebDocumentController loadHTMLString:]):
483         (-[WebDocumentController windowDidLoad]): Deleted.
484         (-[WebDocumentController defaultEditingSource]): Deleted.
485         (-[WebDocumentController applicationTerminating]): Deleted.
486         (-[WebDocumentController loadContent]): Deleted.
487
488 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
489
490         [WebEditingTester] ARC-ify WebEditingTester
491         https://bugs.webkit.org/show_bug.cgi?id=141827
492
493         Reviewed by Sam Weinig.
494
495         * WebEditingTester/AppDelegate.m:
496         (-[WebEditingAppDelegate showOperations:]):
497         * WebEditingTester/EditingOperations.m:
498         (editingOperations):
499         * WebEditingTester/WK1WebDocumentController.m:
500         (-[WK1WebDocumentController dealloc]): Deleted.
501         * WebEditingTester/WK2WebDocumentController.m:
502         (-[WK2WebDocumentController dealloc]): Deleted.
503         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
504         Turn on ARC and remove a few retain/release/autorelease calls.
505         We don't need to implement dealloc in either document controller
506         because WebView and WKWebView's UIDelegate property does not hold a
507         strong reference.
508
509 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
510
511         [WebEditingTester] Factor out list of editing operations
512         https://bugs.webkit.org/show_bug.cgi?id=141826
513
514         Reviewed by Sam Weinig.
515
516         * WebEditingTester/AppDelegate.m:
517         (-[WebEditingAppDelegate showOperations:]):
518         * WebEditingTester/EditingOperations.h: Added.
519         * WebEditingTester/EditingOperations.m: Added.
520         (editingOperations):
521         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
522         Move EditingOperations array to its own file, and make it an NSArray
523         instead of a C array. Adjust accordingly in showOperations:.
524
525 2015-02-20  Michael Saboff  <msaboff@apple.com>
526
527         DFG JIT needs to check for stack overflow at the start of Program and Eval execution
528         https://bugs.webkit.org/show_bug.cgi?id=141676
529
530         Reviewed by Filip Pizlo.
531
532         Set the newly added --maximumEvalCacheableSourceLength option for eager test runs.  This is needed
533         to allow the eval out of stack tests to tier up.  Without this option, we don't cache the likely
534         large string expression that we want to eval.
535
536         * Scripts/run-jsc-stress-tests:
537
538 2015-02-19  Daniel Bates  <dabates@apple.com>
539
540         REGRESSION (r180239): run-webkit-test fails to boot simulator device that was booted by previous test run
541         https://bugs.webkit.org/show_bug.cgi?id=141815
542         <rdar://problem/19893933>
543
544         Reviewed by Simon Fraser.
545
546         Fixes an issue where run-webkit-tests would fail to boot the WebKit Tester simulator device if it
547         was booted by iOS Simulator in a previous run of run-webkit-test.
548
549         * Scripts/webkitpy/port/ios.py:
550         (IOSSimulatorPort.check_sys_deps): Added logic moved from IOSSimulatorPort.setup_test_run().
551         (IOSSimulatorPort.setup_test_run): Moved logic to quit the iOS Simulator app and wait for the
552         testing device to be in the shutdown state from here to IOSSimulatorPort.check_sys_deps().
553
554 2015-02-19  David Kilzer  <ddkilzer@apple.com>
555
556         check-webkit-style: do not warn about missing primary header for *SoftLink.cpp files
557         <http://webkit.org/b/141799>
558
559         Reviewed by Alex Christensen.
560
561         * Scripts/webkitpy/style/checkers/cpp.py:
562         (_IncludeState.check_next_include_order): Don't emit a warning
563         if the primary header exists and the source file name ends with
564         "SoftLink.cpp".  Add 'filename' argument to method.
565         (check_include_line): Pass in 'filename'.
566
567         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
568         (OrderOfIncludesTest.test_check_next_include_order__no_config):
569         (OrderOfIncludesTest.test_check_next_include_order__no_self):
570         (OrderOfIncludesTest.test_check_next_include_order__likely_then_config):
571         (OrderOfIncludesTest.test_check_next_include_order__other_then_config):
572         (OrderOfIncludesTest.test_check_next_include_order__config_then_other_then_likely):
573         - Add test filename arguments for calls to
574           check_next_include_order().
575         (OrderOfIncludesTest.test_primary_header): Add test for a file
576         name ending in "SoftLink.cpp".
577
578 2015-02-18  Enrica Casucci  <enrica@apple.com>
579
580         Add new tool to test editable Webviews.
581         https://bugs.webkit.org/show_bug.cgi?id=141772
582
583         Reviewed by Tim Horton.
584
585         Adding WebEditingTester, a Cocoa application to
586         test WK1 and Wk2 views in editable mode.
587
588         * WebEditingTester: Added.
589         * WebEditingTester/AppDelegate.h: Added.
590         * WebEditingTester/AppDelegate.m: Added.
591         (-[WebEditingAppDelegate init]):
592         (defaultConfiguration):
593         (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
594         (-[WebEditingAppDelegate applicationWillTerminate:]):
595         (-[WebEditingAppDelegate newEditor:]):
596         (-[WebEditingAppDelegate showOperations:]):
597         (-[WebEditingAppDelegate useWebKit2ByDefault]):
598         (-[WebEditingAppDelegate toggleUseWK2ByDefault:]):
599         (-[WebEditingAppDelegate validateMenuItem:]):
600         * WebEditingTester/Info.plist: Added.
601         * WebEditingTester/MainMenu.xib: Added.
602         * WebEditingTester/WK1WebDocumentController.h: Added.
603         * WebEditingTester/WK1WebDocumentController.m: Added.
604         (-[WK1WebDocumentController awakeFromNib]):
605         (-[WK1WebDocumentController loadContent]):
606         (-[WK1WebDocumentController dealloc]):
607         (-[WK1WebDocumentController pasteAsMarkup:]):
608         * WebEditingTester/WK2WebDocumentController.h: Added.
609         * WebEditingTester/WK2WebDocumentController.m: Added.
610         (-[WK2WebDocumentController initWithConfiguration:]):
611         (-[WK2WebDocumentController pasteAsMarkup:]):
612         (-[WK2WebDocumentController awakeFromNib]):
613         (-[WK2WebDocumentController dealloc]):
614         (-[WK2WebDocumentController loadContent]):
615         * WebEditingTester/WebDocument.xib: Added.
616         * WebEditingTester/WebDocumentController.h: Added.
617         * WebEditingTester/WebDocumentController.m: Added.
618         (-[WebDocumentController initWithWindow:]):
619         (-[WebDocumentController windowDidLoad]):
620         (-[WebDocumentController defaultEditingSource]):
621         (-[WebDocumentController applicationTerminating]):
622         (-[WebDocumentController loadContent]):
623         * WebEditingTester/WebEditingTester.xcodeproj: Added.
624         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj: Added.
625         * WebEditingTester/main.m: Added.
626         (main):
627
628 2015-02-18  Csaba Osztrogonác  <ossy@webkit.org>
629
630         Run JSC tests on ARM EFL bots
631         https://bugs.webkit.org/show_bug.cgi?id=141165
632
633         Reviewed by Alexey Proskuryakov.
634
635         * BuildSlaveSupport/build.webkit.org-config/config.json:
636         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
637         (RunJavaScriptCoreTests.countFailures):
638         (RunRemoteJavaScriptCoreTests):
639         (RunRemoteJavaScriptCoreTests.start):
640         (BuildAndRemoteJSCTestsFactory):
641         (BuildAndRemoteJSCTestsFactory.__init__):
642
643 2015-02-18  Alexey Proskuryakov  <ap@apple.com>
644
645         Streamline unexported function build fixes
646         https://bugs.webkit.org/show_bug.cgi?id=141761
647
648         Reviewed by Alex Christensen.
649
650         * Scripts/check-for-weak-vtables-and-externals: (readXcode5SymbolsToIgnore): Deleted.
651         We don't need to ignore symbols that are not exported due to the .unexp file.
652
653 2015-02-18  Timothy Horton  <timothy_horton@apple.com>
654
655         Remove more references to WebCore.exp.in
656         https://bugs.webkit.org/show_bug.cgi?id=141747
657
658         Reviewed by Alexey Proskuryakov.
659
660         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
661         (ShouldBuildTest):
662
663 2015-02-17  Myles C. Maxfield  <mmaxfield@apple.com>
664
665         Windows test results should not fall back to mac-mountainlion after r180176
666         https://bugs.webkit.org/show_bug.cgi?id=141719
667
668         Reviewed by Brent Fulgham.
669
670         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
671         (_should_file_trigger_build):
672         * Scripts/webkitpy/port/win.py:
673         (WinPort.default_baseline_search_path):
674         * Scripts/webkitpy/port/win_unittest.py:
675         (WinPortTest.test_baseline_search_path):
676
677 2015-02-17  Daniel Bates  <dabates@apple.com>
678
679         [iOS] run-webkit-tests should check that simctl can boot and shutdown simulator device before running tests
680         https://bugs.webkit.org/show_bug.cgi?id=141718
681
682         Reviewed by Alex Christensen.
683
684         We should only run layout tests if simctl can successfully boot and shutdown the testing device.
685
686         * Scripts/webkitpy/port/ios.py:
687         (IOSSimulatorPort.check_sys_deps): Modified to call Simulator.check_simulator_device_and_erase_if_needed().
688         Log a error and return False if we are unable to boot the simulator device so that the caller can take
689         appropriate action, say exit(3) before running any layout tests.
690         * Scripts/webkitpy/xcode/simulator.py:
691         (Simulator._boot_and_shutdown_simulator_device): Added. Boot and then shut down the simulator device
692         with the specified UDID.
693         (Simulator.check_simulator_device_and_erase_if_needed): Added. Checks that simulator device
694         with the specified UDID can successfully boot and shut down. We make at most two attempts to
695         boot and shut down the device, erasing the device between tries so as to restore the device
696         to a known good state.
697
698 2015-02-17  Daniel Bates  <dabates@apple.com>
699
700         run_webkit_tests.py should not know about iOS Simulator details
701         https://bugs.webkit.org/show_bug.cgi?id=141711
702
703         Reviewed by Alex Christensen.
704
705         Run_webkit_tests.py should only parse the iOS-specific command
706         line options --runtime and --device-type. Let the port-specific
707         logic in ios.py validate the parsed options and instantiate
708         internal data structures.
709
710         Currently run_webkit_tests.py parses the iOS-specific command
711         line options --runtime and --device-type, validates them, and
712         instantiates internal data structures from the parsed strings.
713         Instead the validation logic and instantiation of internal
714         data structures should be handled by the iOS port object.
715
716         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
717         (_set_up_derived_options): Remove logic to validate --runtime and --device-type
718         and instantiate internal data structures for them.
719         * Scripts/webkitpy/port/driver.py:
720         (IOSSimulatorDriver.cmd_line): Modified to reference IOSSimulatorPort.simulator_runtime
721         and IOSSimulatorPort.simulator_device_type for the iOS Simulator runtime and device type,
722         respectively.
723         * Scripts/webkitpy/port/ios.py: Sort the list of imports.
724         (IOSSimulatorPort.simulator_runtime): Added. Instantiates a Runtime
725         object from --runtime, if specified. Otherwise, instantiates a Runtime
726         object for the latest installed iphonesimulator SDK version.
727         (IOSSimulatorPort.simulator_device_type): Added. Instantiates a DeviceType
728         object from --device-type, if specified. Otherwise, instantiates
729         a DeviceType object for a iPhone 5 or iPhone 5s when on a 32-bit and 64-bit
730         machine, respectively.
731         (IOSSimulatorPort.check_sys_deps): Added. Validate if the chosen iOS simulator
732         runtime is available to use.
733         (IOSSimulatorPort.testing_device): Modified to make use of properties simulator_device_type
734         and simulator_runtime for the iOS Simulator device type and runtime, respectively.
735         * Scripts/webkitpy/xcode/simulator.py:
736         (Runtime.from_version_string): Added. Turns around and calls Runtime.from_identifier()
737         with a runtime identifier for the specified iOS version.
738
739 2015-02-17  Dana Burkart  <dburkart@apple.com>
740
741         ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack
742         https://bugs.webkit.org/show_bug.cgi?id=141672
743
744         Reviewed by David Kilzer.
745
746         * asan/webkit-asan-ignore.txt:
747
748 2015-02-17  Alex Christensen  <achristensen@webkit.org>
749
750         Remove WebCore.exp.in and clean up.
751         https://bugs.webkit.org/show_bug.cgi?id=141491
752
753         Reviewed by Andreas Kling.
754
755         * Scripts/sort-export-file: Removed.
756         * Scripts/webkitpy/style/checker.py:
757         (_all_categories):
758         (FileType):
759         (CheckerDispatcher._file_type):
760         (CheckerDispatcher._create_checker):
761         Don't check if the export files are sorted.
762         * Scripts/webkitpy/style/checkers/exportfile.py: Removed.
763         * Scripts/webkitpy/style/checkers/exportfile_unittest.py: Removed.
764
765 2015-02-17  Carlos Garcia Campos  <cgarcia@igalia.com>
766
767         Unreviewed. Fix GTK+ make distcheck.
768
769         Do not exclude bmalloc directory from the tarball.
770
771         * gtk/manifest.txt.in:
772
773 2015-02-17  Carlos Garcia Campos  <cgarcia@igalia.com>
774
775         Unreviewed. Fix /webkit2/WebKitDOMNode/dom-cache after r180214.
776
777         I forgot to add the return of a bool function.
778
779         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
780         (WebKitDOMNodeTest::testDOMCache):
781
782 2015-02-17  Carlos Garcia Campos  <cgarcia@igalia.com>
783
784         [GTK] GObject DOM bindings object are cached forever
785         https://bugs.webkit.org/show_bug.cgi?id=141558
786
787         Reviewed by Sergio Villar Senin.
788
789         Add checks for all DOM objects to ensure they are not leaked. Also
790         add a dedicated test for the DOM Object Cache.
791
792         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
793         (WebKitDOMNodeFilterTest::testTreeWalker):
794         (WebKitDOMNodeFilterTest::testNodeIterator):
795         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
796         (WebKitDOMNodeTest::testHierarchyNavigation):
797         (WebKitDOMNodeTest::testInsertion):
798         (WebKitDOMNodeTest::testTagNames):
799         (WebKitDOMNodeTest::testDOMCache):
800         (registerTests):
801         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp:
802         (WebKitDOMXPathNSResolverTest::evaluateFooChildTextAndCheckResult):
803         (WebKitDOMXPathNSResolverTest::testXPathNSResolverNative):
804         (WebKitDOMXPathNSResolverTest::testXPathNSResolverCustom):
805         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
806         (testWebKitDOMObjectCache):
807         (beforeAll):
808         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
809         (documentLoadedCallback):
810
811 2015-02-16  Carlos Garcia Campos  <cgarcia@igalia.com>
812
813         [GTK] WebKitFrame objects are never released
814         https://bugs.webkit.org/show_bug.cgi?id=141641
815
816         Reviewed by Martin Robinson.
817
818         Add a way to check GObjects leaks for WebProcess tests and check
819         WebKitFrame objects are not leaked.
820
821         * TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp:
822         (WebKitFrameTest::testMainFrame):
823         (WebKitFrameTest::testURI):
824         (WebKitFrameTest::testJavaScriptContext):
825         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
826         (WebProcessTest::assertObjectIsDeletedWhenTestFinishes):
827         (runTest):
828         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
829
830 2015-02-16  Tim Horton  <timothy_horton@apple.com>
831
832         Fix the MiniBrowser build with newer clang
833
834         * MiniBrowser/mac/SettingsController.m:
835         (-[SettingsController _toggleBooleanDefault:]):
836         * MiniBrowser/mac/WK1BrowserWindowController.m:
837         (-[WK1BrowserWindowController windowWillClose:]):
838         * MiniBrowser/mac/WK2BrowserWindowController.m:
839         (-[WK2BrowserWindowController windowWillClose:]):
840         NSApp is id and clang gets confused about which -delegate we're talking about.
841
842 2015-02-16  Antti Koivisto  <antti@apple.com>
843
844         Develop/Disable Caches does not properly disable disk cache
845         https://bugs.webkit.org/show_bug.cgi?id=141636
846
847         Reviewed by Anders Carlsson.
848
849         Make testRunner.setCacheModel() use the WKContext interface so the model gets passed to
850         the network process too.
851
852         This makes setCacheModel asynchronous but there don't seem to be any tests that expect otherwise.
853
854         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
855         (WTR::InjectedBundle::beginTesting):
856         (WTR::InjectedBundle::setCacheModel):
857         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
858         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
859
860             Forward to TestController.
861
862         (WTR::TestRunner::setCacheModel):
863         * WebKitTestRunner/TestInvocation.cpp:
864         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
865
866 2015-02-16  Andrzej Badowski  <a.badowski@samsung.com>
867
868         Unreviewed. Add myself as a committer.
869
870         * Scripts/webkitpy/common/config/contributors.json:
871
872 2015-02-15  David Kilzer  <ddkilzer@apple.com>
873
874         REGRESSION (r180082): WebCore Debug builds fail on Mavericks due to weak export symbols
875         <http://webkit.org/b/141607>
876
877         * Scripts/check-for-weak-vtables-and-externals: Ignore weak
878         externals in Source/WebCore/Configurations/WebCore.unexp when
879         building with Xcode 5.x.
880         (readXcode5SymbolsToIgnore): Add.
881
882 2015-02-15  KwangHyuk Kim  <hyuki.kim@samsung.com>
883
884         [EFL] fix Evas GL engine error.
885         https://bugs.webkit.org/show_bug.cgi?id=141621
886
887         Reviewed by Gyuyoung Kim.
888
889         As new elm engine api was added from efl 1.10, replace elm_config_preferred_engine_set with elm_config_accel_preference_set.
890
891         * MiniBrowser/efl/main.c:
892         (elm_main):
893
894 2015-02-14  Csaba Osztrogonác  <ossy@webkit.org>
895
896         [buildbot] Enable run-api-tests on release Mac bots
897         https://bugs.webkit.org/show_bug.cgi?id=141518
898
899         Reviewed by Darin Adler.
900
901         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
902         (RunUnitTests):
903         (BuildFactory.__init__):
904         (TestFactory.__init__):
905         (BuildAndTestFactory.__init__):
906         (RunUnitTests.start): Deleted.
907         (unitTestsSupported): Deleted.
908
909 2015-02-13  Anders Carlsson  <andersca@apple.com>
910
911         Add a move constructor and move assignment operator to Deque
912         https://bugs.webkit.org/show_bug.cgi?id=141571
913
914         Reviewed by Andreas Kling.
915
916         * TestWebKitAPI/Tests/WTF/Deque.cpp:
917         (TestWebKitAPI::TEST):
918
919 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
920
921         run-jsc-stress-tests --remote should skip profiler tests
922         https://bugs.webkit.org/show_bug.cgi?id=141470
923
924         Reviewed by Filip Pizlo.
925
926         * Scripts/run-jsc-stress-tests:
927
928 2015-02-13  Anders Carlsson  <andersca@apple.com>
929
930         Add an initializer list constructor to Deque
931         https://bugs.webkit.org/show_bug.cgi?id=141565
932
933         Reviewed by Andreas Kling.
934
935         * TestWebKitAPI/Tests/WTF/Deque.cpp:
936         (TestWebKitAPI::TEST):
937
938 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
939
940         [buildbot] Remove buildJSCTool cruft from master.cfg
941         https://bugs.webkit.org/show_bug.cgi?id=141513
942
943         Reviewed by Alexey Proskuryakov.
944
945         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
946         (RunJavaScriptCoreTests):
947         (RunJavaScriptCoreTests.start):
948         (RunWebKitTests):
949         (RunWebKitTests.start):
950         (TestFactory.__init__):
951         (TestLeaksFactory.__init__):
952         (RunJavaScriptCoreTests.__init__): Deleted.
953         (RunWebKitTests.__init__): Deleted.
954
955 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
956
957         Unreviewed, remove empty directories.
958
959         * DumpRenderTree/gtk: Removed.
960         * DumpRenderTree/gtk/fonts: Removed.
961         * DumpRenderTree/unix: Removed.
962         * DumpRenderTree/unix/TestNetscapePlugin: Removed.
963         * GtkLauncher: Removed.
964         * TestWebKitAPI/Tests/WebKitGtk: Removed.
965         * TestWebKitAPI/Tests/WebKitGtk/resources: Removed.
966         * WebKitTestRunner/WebKitTestRunnerAppTests: Removed.
967         * WebKitTestRunner/WebKitTestRunnerAppTests/en.lproj: Removed.
968
969 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
970
971         Remove Windows cruft from Tools/Scripts/build-webkittestrunner
972         https://bugs.webkit.org/show_bug.cgi?id=141519
973
974         Reviewed by Alexey Proskuryakov.
975
976         * Scripts/build-webkittestrunner:
977
978 2015-02-12  Alex Christensen  <achristensen@webkit.org>
979
980         Removed empty directory.
981
982         * WinCELauncher: Removed.
983
984 2015-02-12  Csaba Osztrogonác  <ossy@webkit.org>
985
986         run-jsc-stress-tests --remote should be able add the necessary libraries to the bundle on Linux
987         https://bugs.webkit.org/show_bug.cgi?id=141202
988
989         Reviewed by Darin Adler.
990
991         * Scripts/run-jsc-stress-tests:
992
993 2015-02-12  Brent Fulgham  <bfulgham@apple.com>
994
995         [Win] Test bot infrastructure should not try to find/use old Safari DLLs
996         https://bugs.webkit.org/show_bug.cgi?id=141517
997
998         Reviewed by Anders Carlsson.
999
1000         We do not need to locate or use the DLL's that came with Safari, so stop
1001         failing when we cannot find them. Also remove some old Qt cruft from this
1002         script.
1003
1004         * BuildSlaveSupport/built-product-archive:
1005         (archiveBuiltProduct): 
1006         (extractBuiltProduct):
1007
1008 2015-02-11  Brent Fulgham  <bfulgham@apple.com>
1009
1010         [Win] [64-bit] Work around MSVC2013 Runtime Bug
1011         https://bugs.webkit.org/show_bug.cgi?id=141498
1012         <rdar://problem/19803642>
1013
1014         Reviewed by Anders Carlsson.
1015
1016         Disable FMA3 instruction use in the MSVC math library to
1017         work around a VS2013 runtime crash. We can remove this
1018         workaround when we switch to VS2015.
1019
1020         * DumpRenderTree/cg/ImageDiffCG.cpp: Call _set_FMA3_enable(0) to
1021         disable FMA3 support.
1022         * DumpRenderTree/win/DumpRenderTree.cpp: Ditto.
1023         * DumpRenderTree/win/ImageDiffCairo.cpp: Ditto.
1024         * DumpRenderTree/win/TestRunnerWin.cpp: Ditto.
1025         * Scripts/webkitperl/httpd.pm: Ditto.
1026         * TestWebKitAPI/win/main.cpp: Ditto.
1027         * WinLauncher/Common.cpp: Ditto.
1028         * win/DLLLauncher/DLLLauncherMain.cpp: Ditto.
1029
1030 2015-02-12  Csaba Osztrogonác  <ossy@webkit.org>
1031
1032         run-jsc-stress-tests should accept remote host config from JSON file
1033         https://bugs.webkit.org/show_bug.cgi?id=141509
1034
1035         Reviewed by Michael Saboff.
1036
1037         * Scripts/run-javascriptcore-tests:
1038         (runJSCStressTests):
1039         * Scripts/run-jsc-stress-tests:
1040
1041 2015-02-12  Carlos Garcia Campos  <cgarcia@igalia.com>
1042
1043         [GTK] Add API to allow overriding the default color chooser implementation
1044         https://bugs.webkit.org/show_bug.cgi?id=98935
1045
1046         Reviewed by Gustavo Noronha Silva.
1047
1048         Add a color chooser implementation for MiniBrowser using
1049         GtkPopover when the GTK+ version is recent enough.
1050         And a test case to check the new color chooser API.
1051
1052         * MiniBrowser/gtk/BrowserWindow.c:
1053         (colorChooserRGBAChanged):
1054         (popoverColorClosed):
1055         (colorChooserRequestFinished):
1056         (runColorChooserCallback):
1057         (browserWindowConstructed):
1058         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1059         (testWebViewColorChooserRequest):
1060         (beforeAll):
1061
1062 2015-02-11  Csaba Osztrogonác  <ossy@webkit.org>
1063
1064         Make run-jsc-stress-tests --remote work with make-based runner
1065         https://bugs.webkit.org/show_bug.cgi?id=141079
1066
1067         Reviewed by Darin Adler.
1068
1069         * Scripts/run-javascriptcore-tests:
1070         (runJSCStressTests): Pass through the --shell-runner and --make-runner arguments.
1071         * Scripts/run-jsc-stress-tests: Made the make-based runner the default runner,
1072         except for remote testing on Darwin. Unified runShellTestRunner and runMakeTestRunner
1073         to avoid code duplication.
1074
1075 2015-02-11  Csaba Osztrogonác  <ossy@webkit.org>
1076
1077         run-jsc-stress tests should detect the number of processors on the remote machine too
1078         https://bugs.webkit.org/show_bug.cgi?id=141196
1079
1080         Reviewed by Darin Adler.
1081
1082         * Scripts/run-javascriptcore-tests:
1083         (runJSCStressTests): Pass through the --child-processes argument.
1084         * Scripts/run-jsc-stress-tests: Added determineNumberOfProcessors function
1085         to detect the number of local and remote processors with the same algorithm.
1086         Additionally introduced $numChildProcesses to emphasize it isn't necessarily
1087         same as $numProcessors.
1088
1089 2015-02-11  Csaba Osztrogonác  <ossy@webkit.org>
1090
1091         run-jsc-stress-tests should pass JSC_timeout to remote hosts
1092         https://bugs.webkit.org/show_bug.cgi?id=141164
1093
1094         Reviewed by Darin Adler.
1095
1096         Additonally removed IMPORTANT_ENVS, since JSC_timeout was the only one.
1097
1098         * Scripts/run-jsc-stress-tests:
1099
1100 2015-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1101
1102         [GTK] Add default color chooser implementation using GtkColorChooserDialog
1103         https://bugs.webkit.org/show_bug.cgi?id=141392
1104
1105         Reviewed by Gustavo Noronha Silva.
1106
1107         Enable INPUT_TYPE_COLOR by default for GTK+ port.
1108
1109         * Scripts/webkitperl/FeatureList.pm:
1110
1111 2015-02-09  Csaba Osztrogonác  <ossy@webkit.org>
1112
1113         run-jsc-stress-tests shell test runner should run tests in fixed order
1114         https://bugs.webkit.org/show_bug.cgi?id=141383
1115
1116         Reviewed by Darin Adler.
1117
1118         * Scripts/jsc-stress-test-helpers/shell-runner.sh:
1119
1120 2015-02-08  Chris Fleizach  <cfleizach@apple.com>
1121
1122         AX: VoiceOver appears unresponsive when JavaScript alerts are triggered via focus or blur events
1123         https://bugs.webkit.org/show_bug.cgi?id=140485
1124
1125         Reviewed by Anders Carlsson.
1126
1127         Implement takeFocus() as a way to set focus through accessibility wrappers.
1128
1129         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1130         (AccessibilityUIElement::takeFocus):
1131         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1132         (WTR::AccessibilityUIElement::takeFocus):
1133
1134 2015-02-08  Darin Adler  <darin@apple.com>
1135
1136         Remove the SVG instance tree
1137         https://bugs.webkit.org/show_bug.cgi?id=140602
1138
1139         Reviewed by Dean Jackson.
1140
1141         * Scripts/check-for-global-initializers: Removed special case for
1142         SVGElementInstance.o.
1143
1144 2015-02-07  David Kilzer  <ddkilzer@apple.com>
1145
1146         [iOS] run-webkit-tests fails due to simulator devices from previous SDK installs being marked as unavailable
1147         <http://webkit.org/b/141365>
1148
1149         Reviewed by Daniel Bates.
1150
1151         * Scripts/webkitpy/xcode/simulator.py:
1152         (Simulator): Add unavailable_version_re precompiled regex.
1153         (Simulator._parse_devices): Check for unavailable versions and
1154         ignore them if found when parsing the output of
1155         `xcrun simctl list`.
1156         * Scripts/webkitpy/xcode/simulator_unittest.py:
1157         (test_unavailable_devices): Add test with output from
1158         `xcrun simctl list` with unavailable runtimes that fails before
1159         the fix.
1160
1161 2015-02-07  Chris Dumez  <cdumez@apple.com>
1162
1163         Add Vector::removeFirstMatching() / removeAllMatching() methods taking lambda functions
1164         https://bugs.webkit.org/show_bug.cgi?id=141321
1165
1166         Reviewed by Darin Adler.
1167
1168         Use new Vector::removeFirstMatching() / removeAllMatching() methods.
1169
1170 2015-02-07  David Kilzer  <ddkilzer@apple.com>
1171
1172         [iOS] Make Simulator class testable
1173         <http://webkit.org/b/141358>
1174
1175         Rubber-stamped by Darin Adler.
1176
1177         * Scripts/webkitpy/common/system/platforminfo.py:
1178         (PlatformInfo.xcode_simctl_list): Move `xcrun simctl list`
1179         command to here from Simulator.refresh() in xcode/simulator.py
1180         so that the output of the command can be mocked.
1181
1182         * Scripts/webkitpy/common/system/platforminfo_mock.py:
1183         (MockPlatformInfo.__init__): Set self.expected_xcode_simctl_list
1184         to None.
1185         (MockPlatformInfo.xcode_simctl_list): Add method that returns
1186         self.expected_xcode_simctl_list expectation.
1187
1188         * Scripts/webkitpy/xcode/simulator.py: Add missing copyright
1189         and license header.
1190         (Simulator.__init__): Add optional 'host' parameter to make it
1191         possible to pass in a mock object for testing.  Set self._host
1192         to 'host' parameter or create Host() object.
1193         (Simulator.refresh): Call new PlatformInfo.xcode_simctl_list()
1194         method.
1195
1196         * Scripts/webkitpy/xcode/simulator_unittest.py: Add unit test
1197         for current code.
1198         (SimulatorTest):
1199         (SimulatorTest.setUp):
1200         (SimulatorTest._set_expected_xcrun_simctl_list):
1201         (SimulatorTest.test_simulator_device_types):
1202         (test_invalid_device_types_header):
1203         (test_invalid_runtimes_header):
1204         (test_invalid_devices_header):
1205
1206 2015-02-07  Csaba Osztrogonác  <ossy@webkit.org>
1207
1208         run-jsc-stress-tests --remote should use the default ssh port
1209         https://bugs.webkit.org/show_bug.cgi?id=141287
1210
1211         Reviewed by Darin Adler.
1212
1213         * Scripts/run-jsc-stress-tests: Extended URI module to be able to handle ssh scheme with the default 22 port number.
1214
1215 2015-02-06  Dana Burkart  <dburkart@apple.com>
1216
1217         dashboard: BuildbotTesterQueueView crashesOnly logic is wrong
1218         https://bugs.webkit.org/show_bug.cgi?id=141349
1219
1220         Reviewed by Alexey Proskuryakov.
1221
1222         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1223         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1224         (BuildbotTesterQueueView.prototype.update):
1225
1226 2015-02-06  Alexey Proskuryakov  <ap@apple.com>
1227
1228         Report network process crashes during layout tests
1229         https://bugs.webkit.org/show_bug.cgi?id=139646
1230
1231         Reviewed by Anders Carlsson.
1232
1233         * WebKitTestRunner/TestController.cpp:
1234         (WTR::TestController::initialize):
1235         (WTR::TestController::networkProcessName):
1236         (WTR::TestController::networkProcessDidCrash):
1237         * WebKitTestRunner/TestController.h:
1238
1239 2015-02-06  Csaba Osztrogonác  <ossy@webkit.org>
1240
1241         run-jsc-stress-tests --remote should create remote directory before copying the bundle
1242         https://bugs.webkit.org/show_bug.cgi?id=141329
1243
1244         Reviewed by Michael Saboff.
1245
1246         * Scripts/run-jsc-stress-tests:
1247
1248 2015-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
1249
1250         [GTK] Remove WebKitWebView::close-notification signal
1251         https://bugs.webkit.org/show_bug.cgi?id=141330
1252
1253         Reviewed by Gustavo Noronha Silva.
1254
1255         Update notifications unit tests according to the API changes, and
1256         add a test case to check that onclose event is fired when a
1257         notification is closed by the user.
1258
1259         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1260         (testWebViewNotification):
1261
1262 2015-02-05  Alexey Proskuryakov  <ap@apple.com>
1263
1264         Dashboard doesn't consider building ASan a productive step
1265         https://bugs.webkit.org/show_bug.cgi?id=141312
1266
1267         Reviewed by Simon Fraser.
1268
1269         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1270
1271 2015-02-05  Daniel Bates  <dabates@apple.com>
1272
1273         [iOS] webkitpy.xcode.simulator.Runtime.from_identifier() returns wrong result for non-existent runtime
1274         https://bugs.webkit.org/show_bug.cgi?id=141306
1275
1276         Reviewed by Alexey Proskuryakov.
1277
1278         The function webkitpy.xcode.simulator.Runtime.from_identifier always returns a Runtime object
1279         corresponding to the last-most runtime parsed from the output of `simctl list` for any non-
1280         existent runtime.
1281
1282         * Scripts/webkitpy/xcode/simulator.py:
1283         (Runtime.from_identifier):
1284
1285 2015-02-05  Daniel Bates  <dabates@apple.com>
1286
1287         LayoutTestRelay does not install DumpRenderTree.app/WebKitTestRunnerApp.app
1288         https://bugs.webkit.org/show_bug.cgi?id=139746
1289         <rdar://problem/19283658>
1290
1291         Reviewed by Alexey Proskuryakov.
1292
1293         Fixes an issues where LayoutTestRelay may fail to install DumpRenderTree.app/WebKitTestRunnerApp.app
1294         if the simulator device is not in state Booted.
1295
1296         Currently run-webkit-test --ios-sim executes LayoutTestRelay immediately after
1297         launching/relaunching the iOS Simulator app and a simulator app can only be installed
1298         on a device that is in the Booted state. LayoutTestRelay may run before the
1299         device is booted and hence fail to install DumpRenderTree.app/WebKitTestRunnerApp.app.
1300         We should defer executing LayoutTestRelay until the simulator device booted by
1301         iOS Simulator is in the Booted state.
1302
1303         * Scripts/webkitpy/port/ios.py: Import webkitpy.xcode.simulator.Simulator to avoid prefixing
1304         Simulator methods with the module name, simulator.
1305         (IOSSimulatorPort.setup_test_run): Wait for the simulator device to be in the Booted state
1306         after launching iOS Simulator. Also, wait until the simulator device is in the Shutdown state
1307         before launching iOS Simulator to boot it.
1308         (IOSSimulatorPort.testing_device): Fix up caller since we now import webkitpy.xcode.simulator.Simulator.
1309         (IOSSimulatorPort.simulator_path): Deleted; moved this function to class Simulator and renamed to device_directory().
1310         * Scripts/webkitpy/xcode/simulator.py:
1311         (Device.__init__): Remove parameter state and an instance variable of the same name, which represented
1312         the state of the device when we created this object as part of parsing the output of `simctl list`. Callers
1313         interested in the state of the device are more likely interested in the current state of the device as
1314         opposed to the state of the device when the Device object was created.
1315         (Device.state): Added; turn around and call Simulator.device_state() for the current state of the device.
1316         (Device.path): Extracted implementation into Simulator.device_directory() so that it can be called
1317         from both this function and Simulator.device_state().
1318         (Device.create): Use Simulator.wait_until_device_is_in_state() to simplify the implementation of this function.
1319         (Simulator.DeviceState): Added; class of constants.
1320         (Simulator.wait_until_device_is_in_state): Added; this function does not return until the specified
1321         device is in the specified state.
1322         (Simulator.device_state): Added; parses the state of the device from the appropriate CoreSimulator device.plist file.
1323         (Simulator.device_directory): Added.
1324         (Simulator._parse_devices): Do not pass argument state to Device constructor as it no longer accepts it.
1325
1326 2015-02-05  Alexey Proskuryakov  <ap@apple.com>
1327
1328         Disable retries on Mac debug testers
1329         https://bugs.webkit.org/show_bug.cgi?id=141296
1330
1331         Reviewed by Simon Fraser.
1332
1333         * BuildSlaveSupport/build.webkit.org-config/config.json:
1334
1335 2015-02-05  Dan Bernstein  <mitz@apple.com>
1336
1337         Need a way to force $xcodeSDK in webkitdirs.pm
1338         https://bugs.webkit.org/show_bug.cgi?id=141291
1339
1340         Reviewed by Anders Carlsson.
1341
1342         * Scripts/webkitdirs.pm:
1343         (setXcodeSDK): Added.
1344
1345 2015-02-05  Youenn Fablet  <youenn.fablet@crf.canon.fr> and Xabier Rodriguez Calvar <calvaris@igalia.com>
1346
1347         [Streams API] Implement a barebone ReadableStream interface
1348         https://bugs.webkit.org/show_bug.cgi?id=141045
1349
1350         Reviewed by Benjamin Poulain.
1351
1352         * Scripts/webkitperl/FeatureList.pm: Added streams-api compilation switch.
1353
1354 2015-02-04  Joseph Pecoraro  <pecoraro@apple.com>
1355
1356         filter-build-webkit: reduce more unfiltered output
1357         https://bugs.webkit.org/show_bug.cgi?id=141282
1358
1359         Reviewed by Daniel Bates.
1360
1361         * Scripts/filter-build-webkit:
1362         Report CompileDTraceScript and Preprocess lines as successful.
1363
1364 2015-02-04  Dana Burkart  <dburkart@apple.com>
1365
1366         Botwatcher's Dashboard is cramped
1367         https://bugs.webkit.org/show_bug.cgi?id=140273
1368
1369         Reviewed by Alexey Proskuryakov.
1370
1371         Add a heading key which will allow for arbitrary headings in builder queues.
1372
1373         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
1374         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus):
1375         (BuildbotBuilderQueueView.prototype.update):
1376         (BuildbotBuilderQueueView.prototype.update.appendBuildArchitecture): Deleted.
1377         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1378         (BuildbotIteration.prototype._parseData):
1379         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotLeaksQueueView.js:
1380         (BuildbotLeaksQueueView.prototype.update):
1381         (BuildbotLeaksQueueView.prototype.update.appendBuild): Deleted.
1382         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotPerformanceQueueView.js:
1383         (BuildbotPerformanceQueueView.prototype.update):
1384         (BuildbotPerformanceQueueView.prototype.update.appendBuild): Deleted.
1385         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1386         (BuildbotQueue):
1387         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1388         (BuildbotQueueView.prototype._unauthorizedAccess):
1389         (BuildbotQueueView.prototype._appendBuild):
1390         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
1391         (BuildbotTestResults):
1392         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1393         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1394         (BuildbotTesterQueueView.prototype.update):
1395         (BuildbotTesterQueueView.prototype.update.appendBuild): Deleted.
1396
1397 2015-02-04  Simon Fraser  <simon.fraser@apple.com>
1398
1399         WKTR should not use -mainScreen to pick a color profile
1400         https://bugs.webkit.org/show_bug.cgi?id=141265
1401
1402         Reviewed by Tim Horton.
1403         
1404         -[NSScreen mainScreen] depends on the active window, so use the first screen
1405         (which is the one we put the window on anyway).
1406         
1407         Do some cleanup in DRT that makes the code look similar.
1408
1409         * DumpRenderTree/mac/DumpRenderTree.mm:
1410         (createWebViewAndOffscreenWindow):
1411         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1412         (WTR::PlatformWebView::PlatformWebView):
1413
1414 2015-02-04  Simon Fraser  <simon.fraser@apple.com>
1415
1416         LayoutTestHelper should set the color profile of all displays
1417         https://bugs.webkit.org/show_bug.cgi?id=141260
1418
1419         Reviewed by Tim Horton.
1420         
1421         WebKitTestRunner can (erroneously) grab the colorspace of the "main" screen.
1422         which is the screen with the active window. Make things more robust by changing
1423         the colorspace of all displays, not just the main screen, when running layout tests.
1424
1425         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig: Enable ARC
1426         * DumpRenderTree/mac/LayoutTestHelper.m: 
1427         (originalColorProfileURLs):
1428         (colorProfileURLForDisplay):
1429         (displayUUIDStrings):
1430         (saveDisplayColorProfiles):
1431         (setDisplayColorProfile):
1432         (restoreDisplayColorProfiles):
1433         (installLayoutTestColorProfile):
1434         (restoreUserColorProfile):
1435         (main):        
1436         Store display color profiles by map of UUID strings to URLs (NSUUID and CFUUID are not
1437         toll-free bridged, sadly). Use the map to restore all profiles on exit.
1438         Convert to use more Obj-C types.
1439
1440 2015-02-04  Daniel Bates  <dabates@apple.com>
1441
1442         test-webkitpy fails on Mac without iphoneos SDK
1443         https://bugs.webkit.org/show_bug.cgi?id=141255
1444         <rdar://problem/19619691>
1445
1446         I inadvertently committed the wrong exception message. Fix up the exception message
1447         to instruct a person to install the iOS SDK when it cannot be found.
1448
1449         * Scripts/webkitpy/port/ios.py:
1450         (IOSPort.determine_full_port_name):
1451
1452 2015-02-04  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1453
1454         W3C test importer should sort the list of files when generating the w3c-import.log
1455         https://bugs.webkit.org/show_bug.cgi?id=141156
1456
1457         Reviewed by Bem Jones-Bey.
1458
1459         Sort explicitly the list of imported files written in the w3c-import.log.
1460         Removed logging of the import date.
1461
1462         * Scripts/webkitpy/w3c/test_importer.py:
1463         (TestImporter.write_import_log):
1464
1465 2015-02-04  Daniel Bates  <dabates@apple.com>
1466
1467         test-webkitpy fails on Mac without iphoneos SDK
1468         https://bugs.webkit.org/show_bug.cgi?id=141255
1469         <rdar://problem/19619691>
1470
1471         Reviewed by David Kilzer and Alexey Proskuryakov.
1472
1473         Fixes an issue where test-webkitpy fails on a Mac without the iOS SDK. We should
1474         should not require the iphoneos SDK to be installed to run the webkitpy tests.
1475
1476         * Scripts/webkitpy/common/system/platforminfo.py:
1477         (PlatformInfo.xcode_sdk_version): Added; return the version of the specified SDK, if
1478         installed. We take advantage of the behavior that xcrun --show-sdk-version only writes
1479         to standard output if the SDK is installed to return the empty string if the SDK is
1480         not installed.
1481         * Scripts/webkitpy/common/system/platforminfo_mock.py:
1482         (MockPlatformInfo.xcode_sdk_version): Added.
1483         * Scripts/webkitpy/port/ios.py:
1484         (IOSPort.determine_full_port_name): Modified to call PlatformInfo.xcode_sdk_version()
1485         to get the version of the iphoneos SDK, if installed.
1486
1487 2015-02-04  Alexey Proskuryakov  <ap@apple.com>
1488
1489         run-webkit-tests doesn't always capture ASan violation reports
1490         https://bugs.webkit.org/show_bug.cgi?id=141231
1491
1492         Reviewed by Darin Adler.
1493
1494         * Scripts/webkitpy/port/driver.py:
1495         (Driver.run_test): Don't look for CrashReporter crash logs if a log was provided
1496         by the driver already (as is the case with ASan violations, which are printed to
1497         stderr).
1498         (Driver._check_for_address_sanitizer_violation): Check if the line is a start of ASan
1499         report.
1500         (Driver._read_block): Give ASan enough time to symbolicate a crash, and put it into
1501         a separate variable for reporting.
1502
1503 2015-02-03  Ryosuke Niwa  <rniwa@webkit.org>
1504
1505         [webkitpy] Add platform specific Skipped file mechanism for performance tests
1506         https://bugs.webkit.org/show_bug.cgi?id=141152
1507
1508         Reviewed by Csaba Osztrogonác.
1509
1510         Support a test-expectation-like syntax in performance tests' skipped files.
1511         e.g. [Mac] Parsed/BadTest.html will skip Parsed/BadTest.html on Mac ports.
1512
1513         * Scripts/webkitpy/port/base.py:
1514         (Port.skipped_perf_tests): Implemented the syntax support by a regular expression.
1515
1516         * Scripts/webkitpy/port/base_unittest.py:
1517         (PortTest.test_skipped_perf_tests): Test the new syntax.
1518
1519 2015-02-04  Alexey Proskuryakov  <ap@apple.com>
1520
1521         When tests fail on leaks bot so much that there are no leaks detected, dashboard erroneously shows green
1522         https://bugs.webkit.org/show_bug.cgi?id=141236
1523
1524         Reviewed by Sam Weinig.
1525
1526         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotLeaksQueueView.js:
1527         (BuildbotLeaksQueueView.prototype.update.appendLeaksQueueStatus):
1528
1529 2015-02-04  Chris Dumez  <cdumez@apple.com>
1530
1531         Add removeFirst(value) / removeAll(value) methods to WTF::Vector
1532         https://bugs.webkit.org/show_bug.cgi?id=141192
1533
1534         Reviewed by Benjamin Poulain.
1535
1536         Add API tests for Vector::removeFirst(value) and
1537         Vector::removeAll(value).
1538
1539         * TestWebKitAPI/Tests/WTF/Vector.cpp:
1540         (TestWebKitAPI::TEST):
1541
1542 2015-02-03  Tim Horton  <timothy_horton@apple.com>
1543
1544         Add WKPageNavigationClient as C SPI around API::NavigationClient, and adopt in WKTR
1545         https://bugs.webkit.org/show_bug.cgi?id=141217
1546
1547         Reviewed by Sam Weinig.
1548
1549         * WebKitTestRunner/TestController.cpp:
1550         (WTR::copyWebCryptoMasterKey):
1551         (WTR::TestController::createOtherPage):
1552         (WTR::TestController::createWebViewWithOptions):
1553         (WTR::TestController::ensureViewSupportsOptions):
1554         (WTR::TestController::didCommitNavigation):
1555         (WTR::TestController::didFinishNavigation):
1556         (WTR::TestController::canAuthenticateAgainstProtectionSpace):
1557         (WTR::TestController::didReceiveAuthenticationChallenge):
1558         (WTR::TestController::decidePolicyForPluginLoad):
1559         (WTR::TestController::decidePolicyForNavigationAction):
1560         (WTR::TestController::decidePolicyForNavigationResponse):
1561         (WTR::TestController::didCommitLoadForFrame): Deleted.
1562         (WTR::TestController::didFinishLoadForFrame): Deleted.
1563         * WebKitTestRunner/TestController.h:
1564         Adopt WKPageNavigationClient and adjust to its semantics (navigations are main-frame-only, etc.)
1565
1566 2015-02-03  Dhi Aurrahman  <diorahman@rockybars.com>
1567
1568         Unreviewed. Add myself as a committer.
1569
1570         * Scripts/webkitpy/common/config/contributors.json:
1571
1572 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
1573
1574         [Win] Unreviewed test fix.
1575
1576         * DumpRenderTree/win/PolicyDelegate.cpp:
1577         (PolicyDelegate::unableToImplementPolicyWithError): The message was missing a linefeed,
1578         so was not matching expected output.
1579
1580 2015-02-03  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1581
1582         Unreviewed. Moving myself to the committer section at last.
1583
1584         * Scripts/webkitpy/common/config/contributors.json:
1585
1586 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
1587
1588         [Win] Tests fail because DRT reports '(null)' instead of an empty string
1589         https://bugs.webkit.org/show_bug.cgi?id=141205
1590
1591         Reviewed by Anders Carlsson.
1592
1593         * DumpRenderTree/win/HistoryDelegate.cpp:
1594         (HistoryDelegate::didNavigateWithNavigationData): Deal with empty BSTR values
1595         properly so that we match expected DumpRenderTree output.
1596
1597 2015-02-03  Michael Catanzaro  <mcatanzaro@igalia.com>
1598
1599         [GTK] TestWebKitAccessibility is not skipped
1600         https://bugs.webkit.org/show_bug.cgi?id=141179
1601
1602         Reviewed by Carlos Garcia Campos.
1603
1604         Don't attempt to skip TestWebKitAccessibility. This path is wrong so it was not being
1605         skipped, and it apparently works reliably on the bots.
1606
1607         * Scripts/run-gtk-tests:
1608         (TestRunner):
1609
1610 2015-02-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1611
1612         run-perf-tests: allow to specify a wrapper command.
1613         https://bugs.webkit.org/show_bug.cgi?id=141172
1614
1615         Reviewed by Ryosuke Niwa.
1616
1617         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1618         (parse_args): Update text to indicate is also valid for WTR.
1619         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
1620         (PerfTestsRunner._parse_args): Add wrapper command.
1621
1622 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
1623
1624         [Win] Correct version parsing warning in update-webkit
1625         https://bugs.webkit.org/show_bug.cgi?id=141200
1626
1627         Reviewed by Anders Carlsson.
1628
1629         * Scripts/webkitdirs.pm:
1630         (setupAppleWinEnv): Strip out any specific version build level
1631         from the Cygwin version information.
1632   
1633
1634 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
1635
1636         [Win] Attempt to improve the reliability of HTTP service
1637         https://bugs.webkit.org/show_bug.cgi?id=141191
1638
1639         Reviewed by Darin Adler.
1640
1641         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1642         (LayoutTestApacheHttpd.__init__): Use default XAMPP pidfile location.
1643         (LayoutTestApacheHttpd._stop_running_server): Delete the abandoned PID file
1644         when stopping the service doesn't do so on its own (for Windows runs).
1645
1646 2015-02-03  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1647
1648         Web platform test server should not need to create __init__.py files
1649         https://bugs.webkit.org/show_bug.cgi?id=141030
1650
1651         Reviewed by Ryosuke Niwa.
1652
1653         W3C TestImporter ensures that copied __init__.py files are not empty.
1654         If needed, a comment is inserted in __init__.py files.
1655         Added a unit test to check that web-platform-tests tools and scripts python modules can be imported.
1656
1657         * Scripts/webkitpy/common/system/filesystem.py:
1658         (FileSystem.getsize):
1659         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
1660         (TestWebPlatformTestServer.test_start_cmd):
1661         (TestWebPlatformTestServer):
1662         (TestWebPlatformTestServer.test_import_web_platform_test_modules):
1663         * Scripts/webkitpy/w3c/test_importer.py:
1664         (TestImporter.import_tests):
1665
1666 2015-01-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1667
1668         Unreviewed. Moving myself to the committer section.
1669
1670         * Scripts/webkitpy/common/config/contributors.json:
1671
1672 2015-02-02  Saam Barati  <saambarati1@gmail.com>
1673
1674         Create tests for JSC's Control Flow Profiler
1675         https://bugs.webkit.org/show_bug.cgi?id=141123
1676
1677         Reviewed by Filip Pizlo.
1678
1679         * Scripts/run-javascriptcore-tests:
1680         (runJSCStressTests):
1681         * Scripts/run-jsc-stress-tests:
1682
1683 2015-02-02  Csaba Osztrogonác  <ossy@webkit.org>
1684
1685         Remove copy/paste code from run-jsc-stress-tests to determine numberOfTests
1686         https://bugs.webkit.org/show_bug.cgi?id=141158
1687
1688         Reviewed by Darin Adler.
1689
1690         * Scripts/run-jsc-stress-tests:
1691
1692 2015-02-02  Michael Catanzaro  <mcatanzaro@igalia.com>
1693
1694         [GTK] MiniBrowser should close itself on Ctrl+W or Ctrl+Q
1695         https://bugs.webkit.org/show_bug.cgi?id=141142
1696
1697         Reviewed by Carlos Garcia Campos.
1698
1699         * MiniBrowser/gtk/BrowserWindow.c:
1700         (browser_window_init): Quit on Ctrl+W or Ctrl+Q
1701
1702 2015-02-01  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1703
1704         Web platform test server is not always launching properly on Mac EWS bots
1705         https://bugs.webkit.org/show_bug.cgi?id=141141
1706
1707         Unreviewed.
1708
1709         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
1710         (create_wpt_empty_file_if_needed): Removed creation of empty __init.py__ files from AutoInstalled modules.
1711
1712 2015-01-31  Sam Weinig  <sam@webkit.org>
1713
1714         Remove even more Mountain Lion support
1715         https://bugs.webkit.org/show_bug.cgi?id=141124
1716
1717         Reviewed by Alexey Proskuryakov.
1718
1719         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1720         (AccessibilityUIElement::attributedStringRangeIsMisspelled):
1721         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1722         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1723         * DumpRenderTree/mac/DumpRenderTree.mm:
1724         (activateTestingFonts):
1725         (prepareConsistentTestingEnvironment):
1726         * DumpRenderTree/mac/EventSendingController.mm:
1727         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]):
1728         (-[EventSendingController contextClick]):
1729         * DumpRenderTree/mac/TextInputController.m:
1730         * LayoutTestRelay/Configurations/Base.xcconfig:
1731         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
1732         * MiniBrowser/Configurations/Base.xcconfig:
1733         * MiniBrowser/Configurations/DebugRelease.xcconfig:
1734         * MiniBrowser/mac/WK2BrowserWindowController.m:
1735         (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
1736         (-[WK2BrowserWindowController webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
1737         (-[WK2BrowserWindowController webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:]):
1738         * TestWebKitAPI/Configurations/Base.xcconfig:
1739         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1740         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
1741         (-[DownloadDelegate _downloadDidFinish:]):
1742         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
1743         (TestWebKitAPI::TEST):
1744         * TestWebKitAPI/mac/InjectedBundleControllerMac.mm:
1745         (TestWebKitAPI::InjectedBundleController::platformInitialize):
1746         * WebKitLauncher/Configurations/Base.xcconfig:
1747         * WebKitTestRunner/Configurations/Base.xcconfig:
1748         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1749         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1750         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
1751         * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
1752         (WTR::activateFonts):
1753         * WebKitTestRunner/TestController.cpp:
1754         (WTR::TestController::initialize):
1755         (WTR::TestController::webProcessName):
1756         * WebKitTestRunner/mac/EventSenderProxy.mm:
1757         * asan/asan.xcconfig:
1758
1759 2015-01-31  Commit Queue  <commit-queue@webkit.org>
1760
1761         Unreviewed, rolling out r179408.
1762         https://bugs.webkit.org/show_bug.cgi?id=141117
1763
1764         This didn't fully fix the issue (Requested by anttik on
1765         #webkit).
1766
1767         Reverted changeset:
1768
1769         "OSObjectPtr does not work with dispatch_data_t on Maverics"
1770         https://bugs.webkit.org/show_bug.cgi?id=141081
1771         http://trac.webkit.org/changeset/179408
1772
1773 2015-01-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1774
1775         https://trac.webkit.org/changeset/179439 breaks a python test
1776         https://bugs.webkit.org/show_bug.cgi?id=141114
1777
1778         Unreviewed.
1779
1780         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1781         (WebPlatformTestServer._install_modules): Checks whether WPTModules file exists before reading it as no such file exists in mock tests.  
1782
1783 2015-01-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1784
1785         Import W3C web platform tests infrastructure
1786         https://bugs.webkit.org/show_bug.cgi?id=140934
1787
1788         Reviewed by Ryosuke Niwa.
1789
1790         Loading necessary web platform tests modules before launching server.
1791         Ensuring that some empty __init__.py files are present and create them if necessary. 
1792
1793         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
1794         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1795
1796 2015-01-30  Brent Fulgham  <bfulgham@apple.com>
1797
1798         [Win] Another unreviewed test fix.
1799
1800         Correct copy/paste error in buildbot handling.
1801
1802         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1803         (LayoutTestApacheHttpd.__init__):
1804         (LayoutTestApacheHttpd._get_apache_config_file_path):
1805
1806 2015-01-30  Brent Fulgham  <bfulgham@apple.com>
1807
1808         [Win] Unreviewed test fix.
1809
1810         Correct path handling based on failures on test bots to get things running again.
1811
1812         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1813         (LayoutTestApacheHttpd.__init__):
1814         (LayoutTestApacheHttpd._get_apache_config_file_path):
1815
1816 2015-01-30  Chris Dumez  <cdumez@apple.com>
1817
1818         Unreviewed. Fix Windows build after r179409.
1819
1820         * DumpRenderTree/win/TestRunnerWin.cpp:
1821         (TestRunner::notifyDone):
1822         (TestRunner::queueLoad):
1823
1824 2015-01-30  Chris Dumez  <cdumez@apple.com>
1825
1826         Rename shared() static member functions to singleton() for singleton classes.
1827         https://bugs.webkit.org/show_bug.cgi?id=141088
1828
1829         Reviewed by Ryosuke Niwa and Benjamin Poulain.
1830
1831         Rename shared() static member functions to singleton() for singleton
1832         classes as per the recent coding style change.
1833
1834 2015-01-30  Antti Koivisto  <antti@apple.com>
1835
1836         OSObjectPtr does not work with dispatch_data_t on Maverics
1837         https://bugs.webkit.org/show_bug.cgi?id=141081
1838
1839         Reviewed by Pratik Solanki.
1840
1841         * TestWebKitAPI/Tests/WTF/darwin/OSObjectPtr.cpp:
1842         (TestWebKitAPI::TEST):
1843
1844 2015-01-30  Brent Fulgham  <bfulgham@apple.com>
1845
1846         [Win] Switch to Apache on Windows
1847         https://bugs.webkit.org/show_bug.cgi?id=141060
1848
1849         Reviewed by Alexey Proskuryakov.
1850
1851         Update our scripts under Windows (and Cygwin) to locate and use
1852         the XAMPP installation of Apache for running tests.
1853
1854         * Scripts/run-webkit-httpd:
1855         * Scripts/webkitperl/httpd.pm:
1856         (getHTTPDPath):
1857         (getDefaultConfigForTestDirectory):
1858         (getHTTPDConfigPathForTestDirectory):
1859         * Scripts/webkitpy/common/system/executive_unittest.py:
1860         (ExecutiveTest.serial_test_kill_process):
1861         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1862         (LayoutTestApacheHttpd.__init__):
1863         (LayoutTestApacheHttpd._get_apache_config_file_path):
1864         (LayoutTestApacheHttpd._stop_running_server):
1865         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
1866         (HttpServerBase._is_server_running_on_all_ports):
1867         * Scripts/webkitpy/port/base.py:
1868         (Port._apache_config_file_name_for_platform):
1869         * Scripts/webkitpy/port/port_testcase.py:
1870         (test_apache_config_file_name_for_platform):
1871         * Scripts/webkitpy/port/win.py:
1872         (WinPort.show_results_html_file):
1873         (WinPort._uses_apache):
1874         (WinPort):
1875         (WinPort._path_to_apache):
1876
1877 2015-01-29  Alexey Proskuryakov  <ap@apple.com>
1878
1879         Built result takes too long to be compressed on bots
1880         https://bugs.webkit.org/show_bug.cgi?id=141056
1881
1882         Reviewed by Daniel Bates.
1883
1884         Reduces compression time from ~3.5 min to ~1.5 min. Archive size gets 2% bigger.
1885
1886         * BuildSlaveSupport/test-result-archive: (archiveTestResults):
1887
1888 2015-01-29  Sam Weinig  <sam@webkit.org>
1889
1890         Remove support for screen font substitution
1891         https://bugs.webkit.org/show_bug.cgi?id=141038
1892
1893         Reviewed by Tim Horton.
1894
1895         * DumpRenderTree/win/DumpRenderTree.cpp:
1896         (resetWebPreferencesToConsistentValues):
1897         Remove call to now setScreenFontSubstitutionEnabled() which is a no-op.
1898
1899 2015-01-29  Csaba Osztrogonác  <ossy@webkit.org>
1900
1901         Make run-jsc-stress-tests --remote work on Linux too
1902         https://bugs.webkit.org/show_bug.cgi?id=141000
1903
1904         Reviewed by Darin Adler.
1905
1906         * Scripts/jsc-stress-test-helpers/shell-runner.sh: Omit error message of sysctl,
1907         use bash/dash compatible signal names, use Linux/Mac compatible find options,
1908         use bash/dash compatible functions.
1909         * Scripts/run-jsc-stress-tests: Use Linux/Mac compatible find options.
1910
1911 2015-01-29  Csaba Osztrogonác  <ossy@webkit.org>
1912
1913         [buildbot] Simplify jscore-test buildstep
1914         https://bugs.webkit.org/show_bug.cgi?id=140821
1915
1916         Reviewed by Alexey Proskuryakov.
1917
1918         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1919         (RunJavaScriptCoreTests): Inherited from TestWithFailureCount and removed useless actual.html logfile.
1920         (RunJavaScriptCoreTests.countFailures): Added.
1921         (RunJavaScriptCoreTests.commandComplete): Deleted.
1922         (RunJavaScriptCoreTests.evaluateCommand): Deleted.
1923         (RunJavaScriptCoreTests.getText): Deleted.
1924         (RunJavaScriptCoreTests.getText2): Deleted.
1925         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated.
1926         (RunJavaScriptCoreTestsTest.test_mozilla_failure_old_output):
1927         (RunJavaScriptCoreTestsTest.test_mozilla_failures_old_output):
1928         (RunJavaScriptCoreTestsTest.test_jsc_stress_failure_new_output):
1929         (RunJavaScriptCoreTestsTest.test_jsc_stress_failures_new_output):
1930
1931 2015-01-29  Csaba Osztrogonác  <ossy@webkit.org>
1932
1933         Unreviewed, revert r179337, we don't need this dependency.
1934
1935         * efl/install-dependencies:
1936         * gtk/install-dependencies:
1937
1938 2015-01-28  Shivakumar JM  <shiva.jm@samsung.com>
1939
1940         Unreviewed. Moving myself to the committer section.
1941
1942         * Scripts/webkitpy/common/config/contributors.json:
1943
1944 2015-01-28  Csaba Osztrogonác  <ossy@webkit.org>
1945
1946         URTBF after r179326, added uuid-dev package as new dependency.
1947
1948         * efl/install-dependencies:
1949         * gtk/install-dependencies:
1950
1951 2015-01-28  Timothy Horton  <timothy_horton@apple.com>
1952
1953         Add a WebKitMessageRecorder DTrace provider, exposing IPC details to DTrace
1954         https://bugs.webkit.org/show_bug.cgi?id=140673
1955
1956         Reviewed by Sam Weinig.
1957
1958         * Scripts/dtrace/trace-webkit2-messages.d: Added.
1959         Add a DTrace script that outputs a small blob of JSON per message.
1960
1961 2015-01-28  Geoffrey Garen  <ggaren@apple.com>
1962
1963         Removed fastMallocForbid / fastMallocAllow
1964         https://bugs.webkit.org/show_bug.cgi?id=141012
1965
1966         Reviewed by Mark Hahnenberg.
1967
1968         Fixed a test bug I noticed while testing.
1969
1970         * DumpRenderTree/JavaScriptThreading.cpp:
1971         (stopJavaScriptThreads): Lock the javaScriptThreads lock before
1972         accessing javaScriptThreads -- otherwise, you'll ASSERT.
1973
1974 2015-01-28  Dana Burkart  <dburkart@apple.com>
1975
1976         asan.xcconfig should use CLANG_ADDRESS_SANITIZER=YES instead of -fsanitize=address
1977         https://bugs.webkit.org/show_bug.cgi?id=141015
1978
1979         Reviewed by Alexey Proskuryakov.
1980
1981         * asan/asan.xcconfig:
1982
1983 2015-01-28  Sam Weinig  <sam@webkit.org>
1984
1985         Fix the build.
1986
1987         * Scripts/copy-webkitlibraries-to-product-directory:
1988
1989 2015-01-28  Lucas Forschler  <lforschler@apple.com>
1990
1991         Increase the FileUpload block size in an attempt to improve network performance.
1992         
1993         Reviewed by Alexey Proskuryakov.
1994         
1995         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1996         (UploadBuiltProduct.__init__):
1997
1998 2015-01-28  Dana Burkart  <dburkart@apple.com>
1999
2000         Move ASan flag settings from DebugRelease.xcconfig to Base.xcconfig
2001         https://bugs.webkit.org/show_bug.cgi?id=136765
2002
2003         Reviewed by Alexey Proskuryakov.
2004
2005         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2006         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2007         * LayoutTestRelay/Configurations/Base.xcconfig:
2008         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
2009         * MiniBrowser/Configurations/Base.xcconfig:
2010         * MiniBrowser/Configurations/DebugRelease.xcconfig:
2011         * TestWebKitAPI/Configurations/Base.xcconfig:
2012         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2013         * WebKitLauncher/Configurations/Base.xcconfig:
2014         * WebKitTestRunner/Configurations/Base.xcconfig:
2015         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2016
2017 2015-01-28  Joanmarie Diggs  <jdiggs@igalia.com>
2018
2019         AX: [ATK] Implement support for new AtkRole types for MathML
2020         https://bugs.webkit.org/show_bug.cgi?id=140916
2021
2022         Reviewed by Chris Fleizach.
2023
2024         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles
2025         * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4
2026
2027 2015-01-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2028
2029         [GTK] Stop removing color marks from unit tests output
2030         https://bugs.webkit.org/show_bug.cgi?id=140996
2031
2032         Reviewed by Philippe Normand.
2033
2034         Since r178236 google tests use a custom simplified output without
2035         any colors, so we don't need to handle the case of non ttys to
2036         remove the color marks.
2037
2038         * Scripts/run-gtk-tests:
2039         (TestRunner.__init__):
2040         (TestRunner._run_test_command.parse_line):
2041
2042 2015-01-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2043
2044         [GTK] Unit test /webkit2/WebKitWebView/page-visibility from WebKit2Gtk/TestWebKitWebView fails
2045         https://bugs.webkit.org/show_bug.cgi?id=131731
2046
2047         Reviewed by Žan Doberšek.
2048
2049         A web page loaded offscreen is in prerender state not hidden.
2050
2051         * Scripts/run-gtk-tests:
2052         (TestRunner): Unskip /webkit2/WebKitWebView/page-visibility.
2053         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2054         (testWebViewPageVisibility):
2055
2056 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
2057
2058         Partially revert r178802.
2059
2060         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion.png:
2061         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion@2x.png:
2062
2063 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
2064
2065         build.webkit.org/dashboard asserts on some commits
2066         https://bugs.webkit.org/show_bug.cgi?id=140926
2067
2068         Reviewed by Tim Horton.
2069
2070         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
2071         (Trac.prototype._convertCommitInfoElementToObject): Added a case for another root directory.
2072
2073 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
2074
2075         Make flakiness dashboard OS list actually match test_expectations.py
2076         https://bugs.webkit.org/show_bug.cgi?id=140969
2077
2078         Reviewed by Ryosuke Niwa.
2079
2080         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2081
2082 2015-01-27  Brent Fulgham  <bfulgham@apple.com>
2083
2084         [Win] WinLauncher crashes on eleventh site visited
2085         https://bugs.webkit.org/show_bug.cgi?id=140960
2086
2087         Reviewed by Anders Carlsson.
2088
2089         * WinLauncher/WinLauncher.cpp:
2090         (WinLauncher::showLastVisitedSites): Don't access off the end of
2091         the history array.
2092
2093 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
2094
2095         [Mac] Disable building Java applets by default
2096         https://bugs.webkit.org/show_bug.cgi?id=140957
2097         rdar://problem/19619529
2098
2099         Reviewed by Anders Carlsson.
2100
2101         It was actually already disabled unconditionally, by accident.
2102
2103         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: (parse_args):
2104         * Scripts/webkitpy/port/mac.py:
2105         (MacPort._check_port_build):
2106         (MacPort._build_java_test_support):
2107
2108 2015-01-27  Daniel Bates  <dabates@apple.com>
2109
2110         [iOS] run-webkit-tests --platform=ios* --lint-test-files does not work
2111         https://bugs.webkit.org/show_bug.cgi?id=140949
2112
2113         Reviewed by Alexey Proskuryakov.
2114
2115         Add "ios-simulator" and "ios-simulator-wk2" to the list of ports without
2116         builders so that run-webkit-tests can lint the appropriate TestExpectation
2117         files.
2118
2119         * Scripts/webkitpy/port/builders.py:
2120         * Scripts/webkitpy/port/ios.py:
2121         (IOSSimulatorPort.__init__): Move logic to query for the Mac build directory from here...
2122         (IOSSimulatorPort.relay_path): to here as this is the only caller that makes use of that
2123         information to find the LayoutTestRelay tool. Otherwise, "self.assertEqual(len(calls), 1)"
2124         in unit test webkitpy.tool.commands.rebaseline_unittest.TestRebaselineExpectations.test_rebaseline_expectations
2125         will fail because IOSSimulatorPort.__init__() ultimately calls Tools/Scripts/webkit-build-directory
2126         to determine the Mac build directory for each instantiation of IOSSimulatorPort. And this unit
2127         test instantiates a port object for each builder listed in file Scripts/webkitpy/port/builders.py.
2128
2129
2130 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
2131
2132         Update bots on the flakiness dashboard
2133         https://bugs.webkit.org/show_bug.cgi?id=140956
2134
2135         Reviewed by Ryosuke Niwa.
2136
2137         * TestResultServer/static-dashboards/builders.jsonp:
2138         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2139
2140 2015-01-27  Daniel Bates  <dabates@apple.com>
2141
2142         [iOS WK2] Add directory LayoutTests/platform/wk2 to the list of baseline search paths
2143         https://bugs.webkit.org/show_bug.cgi?id=140942
2144
2145         Reviewed by Alexey Proskuryakov.
2146
2147         The directory LayoutTests/platform/wk2 contains test expectations and test results that
2148         are applicable to all WebKit2 ports. We should make use of this information when
2149         running layout tests using iOS WebKit2.
2150
2151         Additionally, make use of the convenience function Port._wk2_port_name() for the name
2152         of the WebKit2 port instead of directly using string concatenation.
2153
2154         * Scripts/webkitpy/port/ios.py:
2155         (IOSSimulatorPort.default_baseline_search_path):
2156
2157 2015-01-27  Csaba Osztrogonác  <ossy@webkit.org>
2158
2159         [Win] Disable FTL stress tests
2160         https://bugs.webkit.org/show_bug.cgi?id=140932
2161
2162         Reviewed by Brent Fulgham.
2163
2164         * Scripts/run-javascriptcore-tests:
2165
2166 2015-01-27  Daniel Bates  <dabates@apple.com>
2167
2168         REGRESSION (r179130): Perl warns about subroutine redefinition when running configure-xcode-for-ios-development
2169         https://bugs.webkit.org/show_bug.cgi?id=140939
2170
2171         Reviewed by Eric Carlson.
2172
2173         Fixes the Perl warning: "Subroutine wanted redefined at Tools/Scripts/configure-xcode-for-ios-development line 106."
2174
2175         * Scripts/webkitdirs.pm:
2176         (hasUserInstalledAppInSimulatorDevice): Pass a reference to an anonymous function instead
2177         of a named function to find() to avoid redefinition warnings in scripts that include webkitdirs.pm
2178         and define a function called wanted.
2179
2180 2015-01-27  Daniel Bates  <dabates@apple.com>
2181
2182         Teach run-webkit-app --simulator how to install custom built app
2183         https://bugs.webkit.org/show_bug.cgi?id=140691
2184
2185         Fix inadvertent omission of directory test flag in expression to check for the
2186         existence of the iOS simulator device-specific directory for user installed apps.
2187
2188         * Scripts/webkitdirs.pm:
2189         (hasUserInstalledAppInSimulatorDevice):
2190
2191 2015-01-26  Brent Fulgham  <bfulgham@apple.com>
2192
2193         [Win] ASSERTION FAILED !m_ptr under AccessibilityController::winAddNotificationListener
2194         https://bugs.webkit.org/show_bug.cgi?id=87426
2195         <rdar://problem/11527899>
2196
2197         Reviewed by Darin Adler.
2198
2199         Revise COMPtr to work better with our HashMap implementation. Use
2200         modern loop syntax.
2201
2202         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
2203         (AccessibilityController::~AccessibilityController):
2204         (AccessibilityController::winNotificationReceived):
2205         * DumpRenderTree/win/DumpRenderTree.cpp:
2206         (dumpBackForwardListForAllWindows):
2207
2208 2015-01-26  Csaba Osztrogonác  <ossy@webkit.org>
2209
2210         [Win] Enable JSC stress tests by default
2211         https://bugs.webkit.org/show_bug.cgi?id=128307
2212
2213         Reviewed by Brent Fulgham.
2214
2215         * Scripts/run-javascriptcore-tests:
2216
2217 2015-01-26  Simon Fraser  <simon.fraser@apple.com>
2218
2219         [iOS] Remove the various aliases for --ios-simulator (--sim, --simulator, --ios-sim) in
2220         arguments for build and test scripts
2221         https://bugs.webkit.org/show_bug.cgi?id=139748
2222
2223         Reviewed by Daniel Bates.
2224
2225         There was much confusion resulting from the multitude of aliases used to build/test for
2226         the iOS simulator. Standardize on "--ios-simulator", which is also the name of the layout
2227         tests directory.
2228
2229         This fixes an issue where run-api-tests and some other scripts failed when run with
2230         --simulator.
2231
2232         * Scripts/build-webkit:
2233         * Scripts/package-root:
2234         (usage):
2235         * Scripts/webkitdirs.pm:
2236         (argumentsForConfiguration):
2237         (determineXcodeSDK):
2238         * Scripts/webkitpy/port/factory.py:
2239         (platform_options):
2240
2241 2015-01-26  Simon Fraser  <simon.fraser@apple.com>
2242
2243         [iOS WK2] Fix possible crash when -[WKWebView evaluateJavaScript:completionHandler:] was called then the WKWebView is destroyed
2244         https://bugs.webkit.org/show_bug.cgi?id=140203
2245         rdar://problem/19198492
2246
2247         Reviewed by Sam Weinig.
2248
2249         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2250         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm: Added.
2251         (TEST):
2252
2253 2015-01-26  David Kilzer  <ddkilzer@apple.com>
2254
2255         Add iOS EWS to build.webkit.org/dashboard
2256         <http://webkit.org/b/140627>
2257
2258         Reviewed by Alexey Proskuryakov.
2259
2260         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png: Add.
2261         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png: Add.
2262         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
2263         (BubbleQueueServer): Add ios-ews queue info.
2264         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2265         Add iOS8Device platform.
2266         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2267         (table.queue-grid tr.platform.ios-8 img.logo): Add CSS to draw
2268         iOS device logo.
2269
2270 2015-01-26  Filip Pizlo  <fpizlo@apple.com>
2271
2272         copy-webkitlibraries-to-product-directory's hack to build LLVM from source should be hardened for Xcode deciding it needs SDKROOT set
2273         https://bugs.webkit.org/show_bug.cgi?id=140896
2274
2275         Reviewed by Michael Saboff.
2276         
2277         I've encountered some Xcode setups where you need to set SDKROOT to get llvm to build. This
2278         makes our script do this.
2279         
2280         Note that an alternative would be to run clang via "xcrun clang" rather than directly, but
2281         this would be harder given llvm's autoconf setup.
2282
2283         * Scripts/copy-webkitlibraries-to-product-directory:
2284
2285 2015-01-26  Alexey Proskuryakov  <ap@apple.com>
2286
2287         Update bot assignments.
2288
2289         * BuildSlaveSupport/build.webkit.org-config/config.json:
2290
2291 2015-01-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2292
2293         Integrate WP python server into WebKit test framework
2294         https://bugs.webkit.org/show_bug.cgi?id=127094
2295
2296         Reviewed by Ryosuke Niwa.
2297
2298         This patch adds W3C web server (wptserver) as a new HTTP server.
2299         wptserver is used to serve all tests inside LayoutTests/imported/w3c/wpt.
2300         wptserver implementation should be imported within the import of the Web Platform Test suite (to ensure keeping server and tests in sync) in LayoutTests/imported/w3c/wpt.
2301
2302         Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py serves as main entry point to wpt spawned process.
2303         Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py is responsible to start/stop the wpt server process.
2304         It also sets up the server config and testharness.js/testharnessreport.js files at start and stop of the wpt server.
2305
2306         * Scripts/webkitpy/common/system/executive_mock.py:
2307         (MockProcess.communicate):
2308         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py: Adding start/stop of web platform test server according boolean parameter.
2309         (LayoutTestRunner.__init__):
2310         (LayoutTestRunner.run_tests):
2311         (LayoutTestRunner.start_servers):
2312         (LayoutTestRunner.stop_servers):
2313         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py: Updated to check for wpt server start/stop.
2314         (LayoutTestRunnerTests._run_tests):
2315         (LayoutTestRunnerTests.test_servers_started.start_web_platform_test_server):
2316         (LayoutTestRunnerTests.test_servers_started.stop_web_platform_test_server):
2317         (LayoutTestRunnerTests):
2318         (LayoutTestRunnerTests.test_servers_started):
2319         * Scripts/webkitpy/layout_tests/controllers/manager.py:  Updated to check whether a test is a wpt test and whether wpt server launch is needed.
2320         (Manager.__init__):
2321         (Manager._is_http_test):
2322         (Manager._is_web_platform_test):
2323         (Manager._run_tests):
2324         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
2325         (ManagerTest.test_needs_servers.get_wpt_doc_root):
2326         (ManagerTest.test_needs_servers.get_manager):
2327         (ManagerTest.test_needs_servers):
2328         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Added an option to control the doc_root of the wpt server.
2329         (parse_args):
2330         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py: Added.
2331         (main):
2332         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py: Added.
2333         (doc_root):
2334         (base_url):
2335         (WebPlatformTestServer):
2336         (WebPlatformTestServer.__init__):
2337         (WebPlatformTestServer._set_start_cmd):
2338         (WebPlatformTestServer._copy_webkit_test_files):
2339         (WebPlatformTestServer._clean_webkit_test_files):
2340         (WebPlatformTestServer._prepare_config):
2341         (WebPlatformTestServer._spawn_process):
2342         (WebPlatformTestServer._stop_running_server):
2343         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py: Added.
2344         (TestWebPlatformTestServer):
2345         (TestWebPlatformTestServer.test_start_cmd):
2346         * Scripts/webkitpy/port/base.py:
2347         (Port.__init__):
2348         (Port.to.start_web_platform_test_server):
2349         (Port.to):
2350         (Port.to.web_platform_test_server_doc_root):
2351         (Port.to.web_platform_test_server_base_url):
2352         (Port.to.stop_web_platform_test_server):
2353         * Scripts/webkitpy/port/driver.py: Updated the test name <-> test URL conversion routines.
2354         (Driver.__init__):
2355         (Driver.is_web_platform_test):
2356         (Driver.test_to_uri):
2357         (Driver.uri_to_test):
2358         (Driver._command_from_driver_input):
2359         * Scripts/webkitpy/port/driver_unittest.py:  Updated tests according new conversion rules.
2360         (DriverTest.test_test_to_uri):
2361         (DriverTest.test_uri_to_test):
2362
2363 2015-01-26  Daniel Bates  <dabates@apple.com>
2364
2365         Teach run-webkit-app --simulator how to install custom built app
2366         https://bugs.webkit.org/show_bug.cgi?id=140691
2367
2368         Reviewed by David Kilzer.
2369
2370         We should teach run-webkit-app --simulator how to install a custom built app.
2371
2372         Currently run-webkit-app --simulator can only run a system app or an app that
2373         was installed using the simctl command line tool. For convenience we should
2374         teach run-webkit-app --simulator how to install a custom built app.
2375
2376         As a side effect of this change run-safari --simulator will install and run
2377         a custom built of MobileSafari (if it exists).
2378
2379         * Scripts/webkitdirs.pm:
2380         (iOSSimulatorDevices): Added FIXME comment to decouple device representation in
2381         Perl from the structure of the device.plist file.
2382         (plistPathFromBundle): Fix if-statement condition so that we actually perform a
2383         file system check to determine the plist path for a Mac app bundle.
2384         (appIdentifierFromBundle): Pass absolute files system path to defaults(1). Otherwise,
2385         it will complain that it cannot find the file: "Domain ... does not exist".
2386         (appDisplayNameFromBundle): Ditto.
2387         (waitUntilIOSSimulatorDeviceIsInState): Added; helper function that does not return
2388         until a simulator device is the specified state.
2389         (relaunchIOSSimulator): Renamed; formerly named openIOSSimulator. Quits iOS Simulator
2390         (if it's open) before opening it again so as to ensure that the iOS Simulator boots
2391         the specified device.
2392         (quitIOSSimulator): Added optional parameter, $waitForShutdownOfSimulatedDeviceUDID.
2393         As implied by its name, this function will not return until the specified simulator
2394         device UDID is in the shutdown state.
2395         (iosSimulatorDeviceByUDID): Added; returns the device dictionary object for the simulator
2396         device with the specified UDID.
2397         (isIOSSimulatorSystemInstalledApp): Resolve symbolic links in iosSimulatorApplicationsPath()
2398         before using it as part of a prefix match to avoid a mismatch. In the public iOS 8.1 SDK the
2399         return value of iosSimulatorApplicationsPath(), which returns a result analogous to the shell
2400         expression echo `xcrun --sdk iphonesimulator --show-sdk-path`/Applications/, contains a
2401         symbolic link. Specifically, echo `xcrun --sdk iphonesimulator --show-sdk-path` returns
2402         /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk,
2403         which is a symbolic link to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk.
2404         (hasUserInstalledAppInSimulatorDevice): Added.
2405         (isSimulatorDeviceBooted): Added; returns whether the specified simulator device is in the
2406         "Booted" state.
2407         (runIOSWebKitAppInSimulator): Modified to install a custom built app (if needed). For now,
2408         switching between a system installed app and a custom built version of the same app (e.g.
2409         custom build of MobileSafari) will erase all contents and settings in the simulator device.
2410         (eraseIOSSimulatorDevice): Deleted; inline implementation into runIOSWebKitAppInSimulator()
2411         as that was the only caller of this function.
2412         (bootedIOSSimulatorDevice): Deleted.
2413         (openIOSSimulator): Deleted.
2414
2415 2015-01-26  Alexey Proskuryakov  <ap@apple.com>
2416
2417         Update bot assignments.
2418
2419         * BuildSlaveSupport/build.webkit.org-config/config.json:
2420
2421 2015-01-26  Alexey Proskuryakov  <ap@apple.com>
2422
2423         Leaks bot shouldn't run JSC tests
2424         https://bugs.webkit.org/show_bug.cgi?id=140877
2425
2426         Reviewed by Darin Adler.
2427
2428         Shaves off 48 minutes of time.
2429
2430         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2431         (TestLeaksFactory): Slim down the leaks queue.
2432
2433         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2434         * Scripts/webkitpy/port/ios.py:
2435         (IOSSimulatorPort.print_leaks_summary):
2436         * Scripts/webkitpy/port/mac.py:
2437         (MacPort.print_leaks_summary):
2438         Don't yell when leaks are detected.
2439
2440 2015-01-26  Csaba Osztrogonác  <ossy@webkit.org>
2441
2442         Refactor run-javascriptcore-tests
2443         https://bugs.webkit.org/show_bug.cgi?id=140824
2444
2445         Reviewed by Darin Adler.
2446
2447         Separated mozilla, stress test code paths and
2448         determining skipped mozilla tests into subroutines.
2449
2450         * Scripts/run-javascriptcore-tests:
2451         (runMozillaTests):
2452         (runJSCStressTests):
2453         (defaultJsDriverArgsForMozillaTests):
2454
2455 2015-01-26  Csaba Osztrogonác  <ossy@webkit.org>
2456
2457         [buildbot] Fix grammar of TestWithFailureCount
2458         https://bugs.webkit.org/show_bug.cgi?id=140884
2459
2460         Reviewed by Alexey Proskuryakov.
2461
2462         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2463         (TestWithFailureCount):
2464         (TestWithFailureCount.commandComplete):
2465         (TestWithFailureCount.getText2):
2466         (RunUnitTests):
2467         (RunPythonTests):
2468         (RunPerlTests):
2469         (RunLLINTCLoopTests):
2470         (Run32bitJSCTests):
2471         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2472         (RunLLINTCLoopTestsTest.test_failure):
2473         (Run32bitJSCTestsTest.test_failure):
2474         (RunUnitTestsTest.assertFailures):
2475
2476 2015-01-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2477
2478         Unreviewed. Moving myself to the committer section.
2479
2480         * Scripts/webkitpy/common/config/contributors.json:
2481
2482 2015-01-26  Michael Catanzaro  <mcatanzaro@igalia.com> and Carlos Garcia Campos  <cgarcia@igalia.com>
2483
2484         [GTK] gtkdoc does not appear in DevHelp
2485         https://bugs.webkit.org/show_bug.cgi?id=139369
2486
2487         Reviewed by Philippe Normand.
2488
2489         * gtk/generate-gtkdoc: Create the generators in the main function
2490         and use them to get the local cross renference dependencies. Also
2491         pass the generator module name to webkitdom.write_doc_files().
2492         (get_gtkdoc_module_paths): Receive a list of local cross reference
2493         dependencies.
2494         (get_generator_for_config): Set the main_sgml_file property of the
2495         GtkDoc object from the configuration file.
2496         (generate_documentation): Generate the documentation for the given
2497         generator.
2498         (generate_documentation_for_config): Deleted.
2499         * gtk/manifest.txt.in: Expect the API version in the gtkdoc filenames.
2500         * gtk/webkitdom.py:
2501         (write_doc_files): Receive the module name used to build the
2502         -sections.txt filename.
2503
2504 2015-01-26  Commit Queue  <commit-queue@webkit.org>
2505
2506         Unreviewed, rolling out r179107.
2507         https://bugs.webkit.org/show_bug.cgi?id=140880
2508
2509         The GCC in the bots doesn't support the AsyncTask
2510         implementation (Requested by KaL on #webkit).
2511
2512         Reverted changeset:
2513
2514         "[GTK] Enable IndexedDB"
2515         https://bugs.webkit.org/show_bug.cgi?id=98932
2516         http://trac.webkit.org/changeset/179107
2517
2518 2015-01-26  Csaba Osztrogonác  <ossy@webkit.org>
2519
2520         [EFL] Bump libseccomp version to 2.1.1
2521         https://bugs.webkit.org/show_bug.cgi?id=140357
2522
2523         Reviewed by Gyuyoung Kim.
2524
2525         * efl/jhbuild.modules:
2526
2527 2015-01-25  Carlos Garcia Campos  <cgarcia@igalia.com>
2528
2529         [GTK] Enable IndexedDB
2530         https://bugs.webkit.org/show_bug.cgi?id=98932
2531
2532         Reviewed by Žan Doberšek.
2533
2534         * Scripts/webkitperl/FeatureList.pm: Enable IndexedDB for the GTK port.
2535
2536 2015-01-25  Alexey Proskuryakov  <ap@apple.com>
2537
2538         Would like leaks bot results at build.webkit.org/dashboard
2539         https://bugs.webkit.org/show_bug.cgi?id=122657
2540
2541         Reviewed by Darin Adler.
2542
2543         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2544         Record links provided by buildbot steps. Currently, the dashboard hardcodes more links
2545         than necessary, could use the ones from buildbot in more places.
2546
2547         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2548         (BuildbotQueue): Reflect configuration option for leaks queues.
2549
2550         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
2551         Add leaks queues to performance column. First, leaks are about performance indeed,
2552         and second, this is where we have some space to spare.
2553
2554         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2555         (WebKitBuildbot): Added Yosemite Leaks queue, which was sitting neglected for at
2556         least a year.
2557
2558         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2559         (table.queue-grid td): Moved height from queue-view - we can now have more than one
2560         queue view per cell. The heigt is needed to avoid ugly overlapping while loading
2561         results - once the results are loaded, all rows are currently higher than that.
2562
2563         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css:
2564         (.leaks-popover): Added.
2565
2566         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotLeaksQueueView.js:
2567         Added.
2568
2569         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html:
2570         Load BuildbotLeaksQueueView.js.
2571
2572 2015-01-25  peavo@outlook.com  <peavo@outlook.com>
2573
2574         [Win] Add WebKit message loop interface.
2575         https://bugs.webkit.org/show_bug.cgi?id=140857
2576
2577         Reviewed by Brent Fulgham.
2578
2579         Added message loop interface which will run the message loop,
2580         and perform required tasks (like calling CFRunLoopRunInMode)
2581         on each iteration of the loop.
2582
2583         * WinLauncher/WinMain.cpp:
2584         (wWinMain): Use new message loop interface.
2585
2586 2015-01-24  Dan Bernstein  <mitz@apple.com>
2587
2588         update-webkit’s --internal option is unused
2589         https://bugs.webkit.org/show_bug.cgi?id=140861
2590
2591         Reviewed by Anders Carlsson.
2592
2593         * Scripts/update-webkit: Removed the option.
2594
2595 2015-01-24  Brent Fulgham  <bfulgham@apple.com>
2596
2597         DumpRenderTree needs to run with Windows native controls on Windows
2598         https://bugs.webkit.org/show_bug.cgi?id=25592
2599
2600         Reviewed by Anders Carlsson.
2601
2602         * DumpRenderTree/win/DumpRenderTree.cpp:
2603         (resetWebPreferencesToConsistentValues): Tell DRT to use native controls.
2604         (prepareConsistentTestingEnvironment): Ditto.
2605
2606 2015-01-23  David Kilzer  <ddkilzer@apple.com>
2607
2608         test-webkitpy: webkitpy.tool.commands.earlywarningsystem_unittest.EarlyWarningSystemTest.test_ewses fails on EFL, GTK, Win ports
2609         <http://webkit.org/b/140787>
2610
2611         Reviewed by Daniel Bates.
2612
2613         * Scripts/webkitpy/port/ios.py:
2614         (IOSPort.determine_full_port_name): Instead of checking the type
2615         of the current host, test if /usr/bin/xcrun exists before trying
2616         to use it.
2617
2618 2015-01-23  Csaba Osztrogonác  <ossy@webkit.org>
2619
2620         Fix the false positive build failures on the Windows buildbots
2621         https://bugs.webkit.org/show_bug.cgi?id=140819
2622
2623         Reviewed by Brent Fulgham.
2624
2625         Increase the build timeout (without producing output) to 2 hours for Windows bots,
2626         the default 20 minutes is enough for others since they produce output during the build.
2627
2628         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2629         (BuildFactory.__init__):
2630
2631 2015-01-23  Brent Fulgham  <bfulgham@apple.com>
2632
2633         [Win] Teach WebKit to provide IAccessible2 'get_language' and access AXLanguage
2634         https://bugs.webkit.org/show_bug.cgi?id=140839
2635
2636         Reviewed by Dean Jackson.
2637
2638         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2639         (AccessibilityUIElement::language): Retrieve the 'language' BSTR
2640         from the IA2Locale structure and pass it to DRT.
2641
2642 2015-01-23  Brent Fulgham  <bfulgham@apple.com>
2643
2644         [Win] Update DRT Accessibility implementation to better match Mac.
2645         https://bugs.webkit.org/show_bug.cgi?id=140830
2646
2647         Reviewed by Dean Jackson.
2648
2649         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2650         (AccessibilityUIElement::titleUIElement):
2651         (AccessibilityUIElement::parentElement):
2652         (convertToDRTLabel):
2653         (AccessibilityUIElement::role):
2654         (AccessibilityUIElement::title):
2655         (AccessibilityUIElement::description):
2656         (AccessibilityUIElement::stringValue):
2657         (AccessibilityUIElement::helpText):
2658         (AccessibilityUIElement::isFocused):
2659
2660 2015-01-23  Sergio Villar Senin  <svillar@igalia.com>
2661
2662         REGRESSION: run-perf-tests --profiler= seems to have broken
2663         https://bugs.webkit.org/show_bug.cgi?id=113528
2664
2665         Reviewed by Daniel Bates.
2666
2667         The problem is that "perf --record" (or the equivalent call for
2668         other profilers) is never called whenever there is a wrapper
2669         option in the port. We should inject the profiler call first
2670         (should it exists) and then use the port wrapper.
2671
2672         * Scripts/webkitpy/port/driver.py:
2673         (Driver._command_wrapper):
2674         * Scripts/webkitpy/port/driver_unittest.py:
2675         (DriverTest.test_profiler_and_wrapper): New unit test.
2676
2677 2015-01-22  David Kilzer  <ddkilzer@apple.com>
2678
2679         configure-xcode-for-ios-development needs to import webkitdirs.pm
2680         <http://webkit.org/b/140704>
2681
2682         Fixes the following runtime error:
2683
2684             Undefined subroutine &main::exitStatus called at ./Tools/Scripts/configure-xcode-for-ios-development line 167.
2685
2686         * Scripts/configure-xcode-for-ios-development: Add back code to
2687         import webkitdirs.pm for the exitStatus() method.  Not sure why
2688         I removed it before patch review.
2689
2690 2015-01-22  Timothy Horton  <timothy_horton@apple.com>
2691
2692         REGRESSION (r178847): Yosemite 32-bit bot isn't doing any work
2693         https://bugs.webkit.org/show_bug.cgi?id=140795
2694
2695         Reviewed by Jon Honeycutt.
2696
2697         * BuildSlaveSupport/build.webkit.org-config/config.json:
2698         r178847 accidentally remove the scheduler for this bot. Re-add it to the
2699         Yosemite scheduler.
2700
2701 2015-01-22  Brent Fulgham  <bfulgham@apple.com>
2702
2703         [Win] Expose missing editing features through WebView interface
2704         https://bugs.webkit.org/show_bug.cgi?id=140773
2705         <rdar://problem/19565421>
2706
2707         Reviewed by Dean Jackson.
2708
2709         Connect the various WebView editing delegate methods to our
2710         test infrastructure. Also prefer _bstr_t to raw BSTR types
2711         to simplify life cycle management.
2712
2713         * DumpRenderTree/win/DumpRenderTree.cpp:
2714         (resetWebViewToConsistentStateBeforeTesting):
2715         * DumpRenderTree/win/EditingDelegate.cpp:
2716         (EditingDelegate::QueryInterface):
2717         (dumpPath):
2718         (dump):
2719         (EditingDelegate::shouldBeginEditingInDOMRange):
2720         (EditingDelegate::shouldEndEditingInDOMRange):
2721         (EditingDelegate::shouldInsertNode):
2722         (EditingDelegate::shouldInsertText):
2723         (EditingDelegate::shouldDeleteDOMRange):
2724         (EditingDelegate::shouldChangeSelectedDOMRange):
2725         (EditingDelegate::shouldApplyStyle):
2726         (EditingDelegate::shouldChangeTypingStyle):
2727         (EditingDelegate::doPlatformCommand):
2728         (EditingDelegate::webViewDidBeginEditing):
2729         (EditingDelegate::webViewDidChange):
2730         (EditingDelegate::webViewDidEndEditing):
2731         (EditingDelegate::webViewDidChangeTypingStyle):
2732         (EditingDelegate::webViewDidChangeSelection):
2733         (EditingDelegate::checkSpellingOfString):
2734         (EditingDelegate::onNotify):
2735         * DumpRenderTree/win/EditingDelegate.h:
2736
2737 2015-01-22  Ryosuke Niwa  <rniwa@webkit.org>
2738
2739         Add a build flag for ES6 class syntax
2740         https://bugs.webkit.org/show_bug.cgi?id=140760
2741
2742         Reviewed by Michael Saboff.
2743
2744         * Scripts/webkitperl/FeatureList.pm:
2745
2746 2015-01-22  Daniel Bates  <dabates@apple.com>
2747
2748         [iOS] run-webkit-tests --ios-sim dies with an error; fails to parse Apple Internal
2749         runtime in simctl output
2750         https://bugs.webkit.org/show_bug.cgi?id=140751
2751
2752         Reviewed by David Kilzer.
2753
2754         Following the fix for <rdar://problem/19444383>, run-webkit-tests --ios-sim dies
2755         with an error because it does not know how to parse the output of the simctl tool
2756         to identify an Apple Internal runtime.
2757
2758         * Scripts/webkitpy/xcode/simulator.py:
2759         (Runtime.__init__): Add parameter is_internal_runtime (defaults to False).
2760         (Runtime.__eq__): Take is_internal_runtime when comparing two Runtime objects for equality.
2761         (Runtime.__repr__): Update printable representation of Runtime object to indicate whether
2762         the runtime is an internal runtime.
2763         (Simulator): Update regular expressions runtime_re and version_re to match an internal runtime.
2764         (Simulator._parse_runtimes): Pass is_internal_runtime to the Runtime constructor with the
2765         appropriate value.
2766         (Simulator._parse_devices): Pass argument is_internal_runtime to Simulator.runtime() so that
2767         it updates the appropriate Runtime object.
2768         (Simulator.runtime): Added optional parameter, is_internal_runtime. Modified to support
2769         looking up a Runtime object for an internal runtime.
2770
2771 2015-01-22  Alexey Proskuryakov  <ap@apple.com>
2772
2773         LeaksViewer doesn't show recent builds if there are less than 10
2774         https://bugs.webkit.org/show_bug.cgi?id=140716
2775
2776         Reviewed by Tim Horton.
2777
2778         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
2779
2780 2015-01-22  Lucas Forschler  <lforschler@apple.com>
2781
2782         Add Apple build slaves.
2783         Fixed text alignment for slave list.
2784         
2785         Unreviewed.
2786         
2787         * BuildSlaveSupport/build.webkit.org-config/config.json:
2788
2789 2015-01-21  Lucas Forschler  <lforschler@apple.com>
2790
2791         Teach build.webkit.org about bot308 and bot309.
2792         
2793         Unreviewed.
2794         
2795         * BuildSlaveSupport/build.webkit.org-config/config.json:
2796
2797 2015-01-21  Lucas Forschler  <lforschler@apple.com>
2798
2799         Add two Apple Mavericks slaves.
2800         
2801         Unreviewed.
2802         
2803         * BuildSlaveSupport/build.webkit.org-config/config.json:
2804
2805 2015-01-21  Daniel Bates  <dabates@apple.com>
2806
2807         Add iOS WebKit1 TestExpectation file
2808         https://bugs.webkit.org/show_bug.cgi?id=140739
2809
2810         Reviewed by David Kilzer.
2811
2812         Teach run-webkit-tests to look for iOS WebKit1-specific test results and
2813         expectations in directory LayoutTests/platform/ios-simulator-wk1.
2814
2815         * Scripts/webkitpy/port/ios.py:
2816         (IOSSimulatorPort.default_baseline_search_path):
2817
2818 2015-01-21  David Kilzer  <ddkilzer@apple.com>
2819
2820         [iOS] Update configure-xcode-for-ios-development to copy missing headers to iphoneos SDK
2821         <http://webkit.org/b/140704>
2822
2823         Reviewed by Daniel Bates.
2824
2825         * Scripts/configure-xcode-for-ios-development:
2826         - Update copyright.
2827         - Remove FIXME addressed by r178709.
2828         - Call copyMissingHeadersToIPhoneOSSDKIfNeeded().
2829         (copyMissingHeadersToIPhoneOSSDKIfNeeded): Add method to copy
2830         missing headers from iphonesimulator SDK to iphoneos SDK.
2831         (sdkDirectory): Add method that returns SDK directory.
2832         (sdkPlatformDirectory): Extract method from
2833         xcodeSDKSpecificationsPath() that returns SDK platform
2834         directory.
2835         (xcodeSDKSpecificationsPath): Update to use
2836         sdkPlatformDirectory().
2837
2838 2015-01-21  Alexey Proskuryakov  <ap@apple.com>
2839
2840         https://build.webkit.org/dashboard/metrics.html fails because of ios-ews
2841         https://bugs.webkit.org/show_bug.cgi?id=140731
2842
2843         Reviewed by Tim Horton.
2844
2845         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:
2846         (Analyzer.prototype._analyzeAllBubblesPerformance): Corrected a typo.
2847
2848 2015-01-21  Brent Fulgham  <bfulgham@apple.com>
2849
2850         [Win] eventSender does not support scalePageBy
2851         https://bugs.webkit.org/show_bug.cgi?id=140726
2852         <rdar://problem/19549865>
2853
2854         Reviewed by Dean Jackson.
2855
2856         * DumpRenderTree/win/EventSender.cpp:
2857         (scalePageByCallback): Provide implementation using new WebView method.
2858
2859 2015-01-21  Lucas Forschler  <lforschler@apple.com>
2860
2861         Remove Apple Mountain Lion Build & Test slaves.
2862         
2863         Unreviewed.
2864
2865         * BuildSlaveSupport/build.webkit.org-config/config.json:
2866
2867 2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
2868
2869         Remove ENABLE(INSPECTOR) ifdef guards
2870         https://bugs.webkit.org/show_bug.cgi?id=140668
2871
2872         Reviewed by Darin Adler.
2873
2874         * DumpRenderTree/mac/TestRunnerMac.mm:
2875         (TestRunner::showWebInspector):
2876         (TestRunner::closeWebInspector):
2877         (TestRunner::evaluateInWebInspector):
2878         * Scripts/webkitperl/FeatureList.pm:
2879         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2880         (WTR::TestRunner::showWebInspector):
2881         (WTR::TestRunner::closeWebInspector):
2882         (WTR::TestRunner::evaluateInWebInspector):
2883         * WebKitTestRunner/TestInvocation.cpp:
2884         (WTR::TestInvocation::invoke):
2885
2886 2015-01-20  Alexey Proskuryakov  <ap@apple.com>
2887
2888         Update build.webkit.org/dashboard to match current Mac queues.
2889
2890         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion.png: Removed.
2891         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion@2x.png: Removed.
2892         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion.png: Removed.
2893         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion@2x.png: Removed.
2894         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2895         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2896         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2897         (table.queue-grid tr.platform.mac-os-x-mountain-lion img.logo): Deleted.
2898         (table.queue-grid tr.platform.mac-os-x-lion img.logo): Deleted.
2899
2900 2015-01-20  Lucas Forschler  <lforschler@apple.com>
2901
2902         Update Apple MountainLion Leaks slave to Yosemite
2903         Update Apple MountainLion Release (32-bit) Build slave to Yosemite
2904         
2905         Unreviewed.
2906
2907         * BuildSlaveSupport/build.webkit.org-config/config.json:
2908
2909 2015-01-20  Lucas Forschler  <lforschler@apple.com>
2910
2911         Update LeaksViewer from MountainLion to Yosemite
2912         
2913         Reviewed by Alexey Proskuryakov.
2914
2915         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
2916         (LeaksViewer._displayURLPrompt):
2917
2918 2015-01-20  Jake Nielsen  <jacob_nielsen@apple.com>
2919
2920         Fix EWS python unit tests and address code comments as per 140476
2921         https://bugs.webkit.org/show_bug.cgi?id=140637
2922
2923         Reviewed by David Kilzer.
2924
2925         * Scripts/webkitpy/port/base.py:
2926         (Port):
2927         (Port.__init__):
2928         Adds DEFAULT_ARCHITECTURE member.
2929         (Port.architecture):
2930         Removes architecture member and instead uses
2931         self.get_option('architecture'). Also removes redundant architecture
2932         method.
2933         (Port.set_architecture):
2934         Adds a setter for the architecture variable to be able to set a flag
2935         upon modification.
2936         (Port.test_configuration):
2937         Uses self.architecture() instead of self._architecture.
2938         * Scripts/webkitpy/port/ios.py:
2939         Overrides DEFAULT_ARCHITECTURE.
2940         (IOSPort):
2941         (IOSPort.determine_full_port_name):
2942         Uses subprocess.check_output instead of Popen. Uses rstrip instead of
2943         strip. Fixes regex to not match arbitrary characters after the
2944         relevent digits are matched.
2945         (IOSPort.__init__):
2946         Removes old _architecture defaulting strategy.
2947         (IOSPort._build_driver_flags):
2948         Uses self.architecture() instead of self._architecture.
2949         (IOSSimulatorPort):
2950         Overrides DEFAULT_ARCHITECTURE.
2951         (IOSSimulatorPort.__init__):
2952         Removes old _architecture defaulting strategy.
2953         * Scripts/webkitpy/port/mac.py:
2954         (MacPort):
2955         Overrides DEFAULT_ARCHITECTURE.
2956         (MacPort.__init__):
2957         Removes old _architecture defaulting strategy.
2958         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
2959         (AbstractEarlyWarningSystem.run_command):
2960         Checks the did_override_architecture flag to determine whether to add
2961         the --architecture option.
2962         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
2963         Uses ews.architecture rather than trying to discern the correct
2964         architecture using a port object.
2965         (EarlyWarningSystemTest._default_expected_logs):
2966         * Scripts/webkitpy/tool/commands/queues.py:
2967         Removes use of optparse, and removes the import statement.
2968         (AbstractQueue.__init__):
2969         (PatchProcessingQueue.begin_work_queue):
2970
2971 2015-01-20  Sam Weinig  <sam@webkit.org>
2972
2973         Attempt to fix Mountain Lion and EFL tests.
2974
2975         * WebKitTestRunner/TestController.cpp:
2976         (WTR::TestController::initialize):
2977         Disable Process-per-tab and network process on Mountain Lion and EFL.
2978
2979 2015-01-20  Darin Adler  <darin@apple.com>
2980
2981         Remove SVGElementInstanceList, m_instanceUnderMouse, DUMP_INSTANCE_TREE, DUMP_SHADOW_TREE
2982         https://bugs.webkit.org/show_bug.cgi?id=140679
2983
2984         Reviewed by Anders Carlsson.
2985
2986         * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
2987         Removed a reference to SVGElementInstanceList.
2988
2989 2015-01-20  Michael Catanzaro  <mcatanzaro@igalia.com>
2990
2991         [GTK] WebViewTest should prohibit overriding initializeWebExtensions()
2992         https://bugs.webkit.org/show_bug.cgi?id=140028
2993
2994         Reviewed by Carlos Garcia Campos.
2995
2996         This won't work as expected, since this function is called before the
2997         WebViewTest constructor completes.
2998
2999         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
3000
3001 2015-01-20  David Kilzer  <ddkilzer@apple.com>
3002
3003         configure-xcode-for-ios-development needs to update iPhoneOS SDK
3004         <http://webkit.org/b/140661>
3005
3006         Reviewed by Daniel Bates.
3007
3008         * Scripts/configure-xcode-for-ios-development: Add for() loop to
3009         run createXcodeSpecificationFilesForSDKIfNeeded() for both
3010         "iphoneos" and "iphonesimulator" SDKs.
3011         (createXcodeSpecificationFilesForSDKIfNeeded): Extracted from
3012         the main body of the script.
3013
3014 2015-01-20  Tomas Popela  <tpopela@redhat.com>
3015
3016         [GTK] Add API to set the web view editable into WebKit2 GTK+ API
3017         https://bugs.webkit.org/show_bug.cgi?id=139443
3018
3019         Reviewed by Carlos Garcia Campos.
3020
3021         Create the new test cases for setting the editable property on the web
3022         view and on the contenteditable enabled document. Also rework the
3023         current tests that are expecting that the web view is editable.
3024
3025         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
3026         (loadTestHtml):
3027         (testWebViewEditorCutCopyPasteNonEditable):
3028         (testWebViewEditorCutCopyPasteEditable):
3029         (testWebViewEditorSelectAllNonEditable):
3030         (testWebViewEditorSelectAllEditable):
3031         (runEditorEditableCutTests):
3032         (testWebViewEditorEditableOnNonEditable):
3033         (testWebViewEditorEditableOnContentEditable):
3034         (testWebViewEditorNonEditable):
3035         (beforeAll):
3036         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3037         (WebViewTest::isEditable):
3038         (WebViewTest::setEditable):
3039
3040 2015-01-20  Carlos Garcia Campos  <cgarcia@igalia.com>
3041
3042         [GTK] Add an option to create WebKitWebView snapshots with transparent background
3043         https://bugs.webkit.org/show_bug.cgi?id=140617
3044
3045         Reviewed by Gustavo Noronha Silva.
3046
3047         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3048         (testWebViewSnapshot): Check that the same snapshot with
3049         transparent background is different than the default one filled
3050         with white.
3051
3052 2015-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
3053
3054         [GTK] Add API to change the WebKitWebView background color
3055         https://bugs.webkit.org/show_bug.cgi?id=140610
3056
3057         Reviewed by Gustavo Noronha Silva.
3058
3059         Add --bg-color command line option to MiniBrowser to be able to
3060         manually test the API passing any RGBA color to MiniBrowser.
3061         Also add a simple unit test to check that getting and setting
3062         colors from the API point of view.
3063
3064         * MiniBrowser/gtk/BrowserWindow.c:
3065         (browser_window_set_background_color):
3066         * MiniBrowser/gtk/BrowserWindow.h:
3067         * MiniBrowser/gtk/main.c:
3068         (createBrowserWindow):
3069         (parseBackgroundColor):
3070         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3071         (testWebViewBackgroundColor):
3072         (beforeAll):
3073
3074 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
3075
3076         [Win] Layout Test fast/xmlhttprequest/xmlhttprequest-no-file-access.html is failing
3077         https://bugs.webkit.org/show_bug.cgi?id=140665
3078
3079         Reviewed by Brian Burg.
3080
3081         * DumpRenderTree/win/UIDelegate.cpp:
3082         (UIDelegate::webViewAddMessageToConsole): Correct string search and concatenation to
3083         match expected test output.
3084
3085 2015-01-19  Benjamin Poulain  <bpoulain@apple.com>
3086
3087         Remove the support for custom suffixes on ChangeLog
3088         https://bugs.webkit.org/show_bug.cgi?id=140648
3089
3090         Reviewed by David Kilzer.
3091
3092         Custom suffixes were used for the iOS branch of WebKit.
3093         Now that everything is opensource, there is no need for it.
3094
3095         * Scripts/VCSUtils.pm:
3096         (changeLogSuffix): Deleted.
3097         (changeLogFileName): Deleted.
3098         * Scripts/commit-log-editor:
3099         * Scripts/prepare-ChangeLog:
3100         (getLatestChangeLogs):
3101         (generateNewChangeLogs):
3102         (generateFileList):
3103         * Scripts/resolve-ChangeLogs:
3104         (findChangeLog):
3105
3106 2015-01-19  Timothy Horton  <timothy_horton@apple.com>
3107
3108         Adjust naming of action menu SPI
3109         https://bugs.webkit.org/show_bug.cgi?id=140644
3110         <rdar://problem/19448129>
3111
3112         Reviewed by Brian Weinstein.
3113
3114         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
3115         (-[ActionMenusTestWKView runMenuSequenceAtPoint:preDidCloseMenuHandler:]):
3116         (TestWebKitAPI::TEST):
3117
3118 2015-01-19  Michael Catanzaro  <mcatanzaro@igalia.com>
3119
3120         [GTK] Generate the make dist manifest from a CMake template file
3121         https://bugs.webkit.org/show_bug.cgi?id=139387
3122
3123         Reviewed by Martin Robinson.
3124
3125         Remove the code that performs variable substitution on manifest.txt.
3126         Replace the custom variables used in that file with CMake variables.
3127
3128         * gtk/make-dist.py:
3129         (Manifest.add_directory):
3130         (Manifest.get_full_source_path):
3131         (Manifest.process_line):
3132         (Manifest.resolve_variables): Deleted.
3133         (Manifest.get_full_tarball_path): Deleted.
3134         * gtk/manifest.txt.in: Renamed from Tools/gtk/manifest.txt.
3135
3136 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
3137
3138         [Win] Correct merge error in last commit.
3139
3140         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3141         (findAccessibleObjectById): Undo accidental paste made during landing.
3142
3143 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
3144
3145         [Win] Periodic failure in DumpRenderTree related to WebActionPropertyBag::Read
3146         https://bugs.webkit.org/show_bug.cgi?id=139906
3147
3148         Reviewed by Dean Jackson.
3149
3150         WebKit on Windows was creating uninitialized VARIANT structures, then attempting
3151         to use them. This patch fixes that.
3152
3153         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3154         (findAccessibleObjectById):
3155         (AccessibilityController::focusedElement):
3156         (logEventProc):
3157         (notificationListenerProc):
3158         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3159         (AccessibilityUIElement::getChildAtIndex):
3160         (AccessibilityUIElement::titleUIElement):
3161         (self):
3162         (AccessibilityUIElement::role):
3163         (AccessibilityUIElement::valueDescription):
3164         (accessibilityState):
3165         (AccessibilityUIElement::isChecked):
3166         * DumpRenderTree/win/DumpRenderTree.cpp:
3167         (dumpFrameScrollPosition):
3168         (dumpFramesAsText):
3169         * DumpRenderTree/win/PolicyDelegate.cpp:
3170         (PolicyDelegate::decidePolicyForNavigationAction):
3171         * DumpRenderTree/win/UIDelegate.cpp:
3172         (UIDelegate::exceededDatabaseQuota):
3173         * WinLauncher/Common.cpp:
3174         (setWindowText):
3175
3176 2015-01-19  Dean Jackson  <dino@apple.com>
3177
3178         Add "override" to fix the build with newer clangs.
3179
3180         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
3181         (TestWebKitAPI::CalculationDeletionTestNode::operator==):
3182
3183 2015-01-19  David Kilzer  <ddkilzer@apple.com>
3184
3185         [iOS] Do not hard-code iphoneos.internal SDK in buildXCodeProject()
3186         <http://webkit.org/b/140623>
3187
3188         Reviewed by Daniel Bates.
3189
3190         * Scripts/build-webkit: Update help for --device switch.
3191         * Scripts/webkitdirs.pm:
3192         (determineXcodeSDK): When passing --device, prefer the internal
3193         iOS SDK if it exists, else fall back to the external iOS SDK.
3194         (buildXCodeProject): Use xcodeSDK() as -sdk argument for
3195         xcodebuild instead of trying to sanitize values.
3196
3197 2015-01-19  Alexey Proskuryakov  <ap@apple.com>
3198
3199         "Unknown option: sharedworkerglobalscopeconstructorsfile" when running bindings tests.
3200         https://bugs.webkit.org/show_bug.cgi?id=140606
3201
3202         Reviewed by Csaba Osztrogonác.
3203
3204         * Scripts/webkitpy/bindings/main.py:
3205         (BindingsTests.generate_supplemental_dependency):
3206         (BindingsTests.main):
3207
3208 2015-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
3209
3210         [GTK] [WK2] TestWebKitWebView snapshot fails
3211         https://bugs.webkit.org/show_bug.cgi?id=120404
3212
3213         Reviewed by Žan Doberšek.
3214
3215         Rework the test to make sure the snapshot is always created at the
3216         desired size.
3217
3218         * Scripts/run-gtk-tests:
3219         (TestRunner): Unskip /webkit2/WebKitWebView/snapshot.
3220         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3221         (testWebViewSnapshot): Use a fixed size for the document, and
3222         disable scrollbars to make sure the visible area is always the
3223         WebView size.
3224         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3225         (WebViewTest::showInWindowAndWaitUntilMapped): Add optional width
3226         and height parameters to create the window with a given size.
3227         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
3228
3229 2015-01-18  David Kilzer  <ddkilzer@apple.com>
3230
3231         iOS EWS queue name should be consistent
3232         <http://webkit.org/b/140585>
3233
3234         Reviewed by Daniel Bates.
3235
3236         * Scripts/webkitpy/common/config/ews.json: Rename 'ios-device'
3237         to 'ios'.
3238         * Scripts/webkitpy/common/config/ports.py: Ditto.
3239         (DeprecatedPort.port):
3240         (IOSPort):
3241         * Scripts/webkitpy/port/ios.py: Ditto.
3242         (IOSPort):
3243
3244         * Scripts/webkitpy/port/factory.py:
3245         (PortFactory): Re-order PORT_CLASSES so ios.IOSSimulatorPort
3246         appears before ios.IOSPort.  If this is not done,
3247         `run-webkit-tests --ios-simulator` will get the wrong Port class
3248         (IOSPort instead of IOSSimulatorPort) due to the way that
3249         PortFactory.get() uses prefix matching of <Port>.port_name to
3250         find the correct class to use.
3251
3252 2015-01-18  Alexey Proskuryakov  <ap@apple.com>
3253
3254         build.webkit.org/dashboard: OS X EWS is now on Mavericks
3255         https://bugs.webkit.org/show_bug.cgi?id=140595
3256
3257         Reviewed by Csaba Osztrogonác.
3258
3259         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
3260         (BubbleQueueServer):
3261
3262 2015-01-17  David Kilzer  <ddkilzer@apple.com>
3263
3264         Attempt to fix webkitpy tests on Mountain Lion, Mavericks bots
3265
3266         * Scripts/webkitpy/port/ios.py:
3267         (IOSPort): Add 'ios-device-7' to VERSION_FALLBACK_ORDER so that
3268         test-webkitpy doesn't fail since iOS 7.x SDKs are installed on
3269         the Mountain Lion and Mavericks bots.
3270
3271 2015-01-17  David Kilzer  <ddkilzer@apple.com>
3272
3273         Attempt to fix webkitpy tests on GTK Linux ports
3274
3275         * Scripts/webkitpy/port/ios.py:
3276         (IOSPort.determine_full_port_name): Set a sensible default if
3277         not running on a Mac platform or if no iOS SDK is installed.
3278
3279 2015-01-17  Jake Nielsen  <jacob_nielsen@apple.com>
3280
3281         Create iOS-EWS client queue
3282         https://bugs.webkit.org/show_bug.cgi?id=140476
3283
3284         Reviewed by Alexey Proskuryakov.
3285
3286         * EWSTools/start-queue-mac.sh:
3287         Adds call to configure-xcode-for-ios-development for iOS EWS.
3288         * Scripts/webkitpy/common/config/ews.json:
3289         Adds the iOS EWS config entry.
3290         * Scripts/webkitpy/common/config/ports.py:
3291         (DeprecatedPort.port):
3292         Adds IOSPort to the port map.
3293         (IOSPort):
3294         (IOSPort.build_webkit_command):
3295         Adds --sdk=iphoneos to the webkit build command.
3296         * Scripts/webkitpy/port/base.py:
3297         (Port.architecture):
3298         Adds an accessor for the architecture member variable.
3299         * Scripts/webkitpy/port/factory.py:
3300         (PortFactory):
3301         Adds IOSPort to the port class list.
3302         * Scripts/webkitpy/port/ios.py:
3303         Adds the IOSPort to encapsulate iOS-specific things.
3304         (IOSPort):
3305         (IOSPort.determine_full_port_name):
3306         (IOSPort.__init__):
3307         (IOSPort._build_driver_flags):
3308         (IOSPort.operating_system):
3309         * Scripts/webkitpy/tool/commands/download_unittest.py:
3310         Adds the archetecture option to the mock options.
3311         (DownloadCommandsTest._default_options):
3312         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
3313         Appends the archetecture option into calls to webkit-patch.
3314         (AbstractEarlyWarningSystem.review_patch):
3315         (AbstractEarlyWarningSystem.run_command):
3316         (AbstractEarlyWarningSystem.load_ews_classes):
3317         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
3318         Adds logic to soothe the unittest now that --architecture is being
3319         thrown around everywhere.
3320         (EarlyWarningSystemTest._default_expected_logs):
3321         * Scripts/webkitpy/tool/commands/queues.py:
3322         Adds glue code to ferry the --architecture option around.
3323         (AbstractQueue.__init__):
3324         (PatchProcessingQueue.begin_work_queue):
3325         * Scripts/webkitpy/tool/steps/abstractstep.py:
3326         Adds the archetecture option to all AbstractSteps so that
3327         EarlyWarningSystem doesn't start shoving --architecture into
3328         unsuspecting commands.
3329         (AbstractStep.options):
3330         * Scripts/webkitpy/tool/steps/build.py:
3331         Translates the --architecture option into an ARCHS= format to pass to
3332         build-webkit.
3333         (Build.build):
3334         * Scripts/webkitpy/tool/steps/options.py:
3335         Adds a definition for the --architecture option.
3336         (Options):
3337
3338 2015-01-16  Sam Weinig  <sam@webkit.org>
3339
3340         Add a basic configuration object for WKView
3341         https://bugs.webkit.org/show_bug.cgi?id=140559
3342
3343         Reviewed by Anders Carlsson.
3344
3345         Add tests for WKPageConfigurationRef.
3346
3347         * TestWebKitAPI/PlatformWebView.h:
3348         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3349         * TestWebKitAPI/Tests/WebKit2/WKPageConfiguration.cpp: Added.
3350         (TestWebKitAPI::TEST):
3351         (TestWebKitAPI::didFinishLoadForFrame):
3352         (TestWebKitAPI::setPageLoaderClient):
3353         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
3354         (TestWebKitAPI::PlatformWebView::initialize):
3355         (TestWebKitAPI::PlatformWebView::PlatformWebView):
3356
3357 2015-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
3358
3359         WeakPtr functions crash when created with default constructor
3360         https://bugs.webkit.org/show_bug.cgi?id=140479
3361
3362         Reviewed by Andreas Kling.
3363
3364         Add WeakPtr API tests.
3365
3366         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3367         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Added.
3368         * TestWebKitAPI/Tests/WTF/Ref.cpp: Update to not use copy constructor.
3369
3370 2015-01-16  Chris Dumez  <cdumez@apple.com>
3371
3372         Regression(r178586): Caused webkitpy.w3c.test_converter_unittest.W3CTestConverterTest.test_convert_prefixed_properties to fail
3373         https://bugs.webkit.org/show_bug.cgi?id=140568
3374
3375         Reviewed by Alexey Proskuryakov.
3376
3377         Fix the script parsing CSSPropertyNames.in to stop splitting lines
3378         on '=' sign. The '=' sign is also used in StyleBuilder parameters:
3379         e.g. "Longhands=background-position-x|background-position-y".
3380         This would confuse the script and treat this as a CSS property:
3381         "background-position-x|background-position-y".
3382
3383         We now split on white space and treat the first string on the line
3384         to be the property name (this is the syntax in this file).
3385
3386         * Scripts/webkitpy/w3c/test_converter.py:
3387         (_W3CTestConverter.__init__):
3388         (_W3CTestConverter.read_webkit_prefixed_css_property_list):
3389
3390 2015-01-16  Daniel Bates  <dabates@apple.com>
3391
3392         REGRESSION (r171968): run-safari --simulator fails to launch Safari on iOS
3393         https://bugs.webkit.org/show_bug.cgi?id=135589
3394
3395         Reviewed by David Kilzer.
3396
3397         Derived from a patch by David Farler.
3398
3399         Following the removal IPhoneSimulatorNotification.pm in <http://trac.webkit.org/changeset/171968>
3400         run-safari --simulator fails to launch Safari on iOS. We need to implement run-safari
3401         in terms of the simctl command line utility.
3402
3403         * Scripts/webkitdirs.pm: Added constant SIMULATOR_DEVICE_STATE_BOOTED.
3404         (eraseIOSSimulatorDevice): Added.
3405         (bootedIOSSimulatorDevice): Added.
3406         (iosSimulatorApplicationsPath): Added.
3407         (installedMobileSafariBundle): Implemented in terms of iosSimulatorApplicationsPath().
3408         (openIOSSimulator): Modified to launch iOS Simulator using OPEN(1).
3409         (quitIOSSimulator): Added.
3410         (iosSimulatorDeviceByName): Modified to find the first simulator device that matches
3411         the specified name and currently selected iOS runtime.
3412         (isIOSSimulatorSystemInstalledApp): Added.
3413         (runIOSWebKitAppInSimulator): Modified to use simctl launch to launch an app in the simulator.
3414         (deleteiOSSimulatorDevice): Deleted.
3415         (loadIPhoneSimulatorNotificationIfNeeded): Deleted.
3416         (installAndLaunchIOSWebKitAppInSimulator): Deleted.
3417
3418 2015-01-16  Alex Christensen  <alex.christensen@flexsim.com>
3419
3420         Resurrect the WinCairo bot.
3421         https://bugs.webkit.org/show_bug.cgi?id=139908
3422
3423         Reviewed by Csaba Osztrogonác.
3424
3425         * BuildSlaveSupport/build.webkit.org-config/config.json:
3426         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3427         (appendCustomBuildFlags):
3428         * BuildSlaveSupport/test-result-archive:
3429         (archiveTestResults):
3430         Add WinCairo buildbot.
3431
3432 2015-01-16  Chris Dumez  <cdumez@apple.com>
3433
3434         webkit-patch should auto-install the keyring python module
3435         https://bugs.webkit.org/show_bug.cgi?id=140547
3436
3437         Reviewed by David Kilzer.
3438
3439         Auto-install the keyring python module. This is the module that
3440         webkit-patch uses for cross-platform access to the keyring
3441         service.
3442
3443         Without this module, if the password if not in the keychain,
3444         webkit-patch will keep asking for your username / password and
3445         never remember them.
3446
3447         * Scripts/webkitpy/common/net/credentials.py:
3448         * Scripts/webkitpy/thirdparty/__init__.py:
3449         (AutoinstallImportHook.find_module):
3450         (AutoinstallImportHook._install_keyring):
3451
3452 2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
3453
3454         Remove ENABLE(SQL_DATABASE) guards
3455         https://bugs.webkit.org/show_bug.cgi?id=140434
3456
3457         Reviewed by Darin Adler.
3458
3459         * Scripts/webkitperl/FeatureList.pm:
3460
3461 2015-01-15  Daniel Bates  <dabates@apple.com>
3462
3463         [iOS] REGRESSION (r174642): DumpRenderTree.app test may dump result twice
3464         https://bugs.webkit.org/show_bug.cgi?id=139685
3465         <rdar://problem/19281317>
3466
3467         Reviewed by Simon Fraser.
3468
3469         Fixes an issue where a test in DumpRenderTree.app may dump its result twice. In particular,
3470         the test LayoutTests/fast/dom/gc-10.html may dump its result twice.
3471
3472         Following <http://trac.webkit.org/changeset/174642>, we dump the test result asynchronously
3473         as opposed to synchronously. So, the WebThread or the main thread may perform other tasks
3474         before DRT dumps the output of a test. In particular, the WebThread may start a new page
3475         load (say, as a result of continued JavaScript execution), which will ultimately lead to
3476         dumping the test result again. Instead we want DRT to dump the test result synchronously
3477         such that we capture the state of the web page either when the page is loaded or when
3478         window.testRunner.notifyDone() is called.
3479
3480         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
3481         (createBitmapContextFromWebView): Moved logic to re-enable tile painting and update the
3482         state of the display from here to updateDisplay(). Added call to -[CATransaction flush] to
3483         flush CA transactions to the window.
3484         * DumpRenderTree/mac/DumpRenderTree.mm:
3485         (updateDisplay): Added iOS-specific code to update tiles and tell WebKit to flush
3486         compositing changes to ensure that we have up-to-date tile content for a pixel/ref-test.
3487         (dump): Renamed; formerly named dumpTestResults().
3488         (displayWebView): Removed outdated FIXME comment. Added FIXME comment to investigate
3489         enabling repaint support on iOS.
3490         (-[DumpRenderTree _deferDumpToMainThread]): Deleted.
3491         (-[DumpRenderTree _waitForWebThreadThenDump]): Deleted.
3492         (dumpTestResults): Deleted.
3493
3494 2015-01-15  Brent Fulgham  <bfulgham@apple.com>
3495
3496         [Win] Miscellaneous DRT fixes
3497         https://bugs.webkit.org/show_bug.cgi?id=116562
3498
3499         Reviewed by Tim Horton.
3500
3501         While investigating the cause of several Windows crashes, I found:
3502         (1) Messy conversions to and from BSTR types
3503         (2) Weird mixes of wide-string and narrow string conversions
3504         (3) Passing nullptr to some CoreFoundation routines that do not
3505             permit null arguments.
3506         (4) Commands to link the executable to the VS2005 runtime.
3507
3508         This patch cleans up these issues to improve DRT reliability on
3509         Windows.
3510
3511         * DumpRenderTree/cg/ImageDiffCG.cpp:
3512         (main): Get rid of VS2005 runtime linking.
3513         * DumpRenderTree/win/DumpRenderTree.cpp:
3514         (urlSuitableForTestResult): Protect against being asked
3515         to process an empty URL.
3516         (dumpHistoryItem): Do BSTR string building using _bstr_t, rather
3517         than converting to/from wchar_t buffers.
3518         (runTest): Simplify string and BSTR handling.
3519         (createWebViewAndOffscreenWindow): Ditto.
3520         (main): Get rid of VS2005 runtime linking.
3521         * DumpRenderTree/win/TestRunnerWin.cpp:
3522         (jsStringRefToWString): Simplify code.
3523         (TestRunner::pathToLocalResource):
3524         (TestRunner::setUserStyleSheetLocation):
3525         * TestWebKitAPI/win/main.cpp: Get rid of
3526         VS2005 runtime linking.
3527         * win/DLLLauncher/DLLLauncherMain.cpp:
3528         (wWinMain): Ditto.
3529
3530 2015-01-15  Alexey Proskuryakov  <ap@apple.com>
3531
3532         Stop hardcoding mac-mountainlion in commit queue
3533         https://bugs.webkit.org/show_bug.cgi?id=140492
3534
3535         Reviewed by Anders Carlsson.
3536
3537         Use "mac", not "mac-<platform>". This matches how EWS queues are initialized, and
3538         there should be no change in behavior, because:
3539         1. PatchProcessingQueue converts the name with _new_port_name_from_old() before
3540         using it to create a port object.
3541         2. Although it doesn't convert the name before using DeprecatedPort.port(), it
3542         is actually correct to use "mac" for the name there. We only used to get the expected
3543         behavior with "mac-mountainlion" accidentally, because of a fallback to "mac"
3544         for unknown deprecated port names.
3545
3546         * Scripts/webkitpy/tool/commands/queues.py: (CommitQueue):
3547
3548 2015-01-14  Jake Nielsen  <jacob_nielsen@apple.com>
3549
3550         Create iOS-EWS server queue
3551         https://bugs.webkit.org/show_bug.cgi?id=140473
3552
3553         Reviewed by Benjamin Poulain.
3554
3555         * QueueStatusServer/app.yaml: Updates the SVN version number.
3556         * QueueStatusServer/config/queues.py: Add ios-ews queue.
3557         * QueueStatusServer/model/queues.py:         
3558         (Queue.display_name): Makes sure the display name is pretty!
3559
3560 2015-01-14  Daniel Bates  <dabates@apple.com>
3561
3562         [iOS] run-webkit-tests --ios hangs trying to launch iOS Simulator with unavailable runtime
3563         https://bugs.webkit.org/show_bug.cgi?id=140301
3564         <rdar://problem/19389266>
3565
3566         Reviewed by Jon Honeycutt.
3567
3568         Fixes an issue where run-webkit-tests --ios will hang when trying to launch iOS Simulator
3569         with an unavailable runtime.
3570
3571         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3572         (_set_up_derived_options): Modified to access property Simulator.latest_available_runtime,
3573         which was formerly called Simulator.latest_runtime. Additionally, raise an exception if the
3574         specified runtime cannot be used because it is unavailable.
3575         * Scripts/webkitpy/port/ios.py:
3576         (IOSSimulatorPort.testing_device): Modified to call Simulator.lookup_or_create_device(),
3577         which was formerly named testing_device.
3578         * Scripts/webkitpy/xcode/simulator.py:
3579         (Device.create): Modified to lookup created device by the UDID returned by simctl, which is
3580         more robust than looking up the simulator device by name and runtime. This approach also
3581         avoids returning the wrong device due to <rdar://problem/19444383> (simctl list shows
3582         unavailable runtimes under the same iOS heading it would use to show it as available).
3583         (Simulator.find_device_by_udid): Added.
3584         (Simulator.device): Added optional parameter should_ignore_unavailable_devices (defaults
3585         to False) to ignore devices that are unavailable (say, because their runtime is unavailable).
3586         (Simulator.available_runtimes): Added.
3587         (Simulator.latest_available_runtime): Renamed; formerly named latest_runtime. Take advantage
3588         of the reverse=True argument to sorted() to sort the list of available runtimes such that the
3589         first element of the sorted list is the runtime with the highest version number.
3590         (Simulator.lookup_or_create_device): Renamed; formerly named testing_device.
3591
3592 2015-01-14  Csaba Osztrogonác  <ossy@webkit.org>
3593
3594         Remove WK2 Windows cruft
3595         https://bugs.webkit.org/show_bug.cgi?id=140440
3596
3597         Reviewed by Anders Carlsson.
3598
3599         * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp: Removed.
3600         * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp: Removed.
3601         * WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp: Removed.
3602
3603 2015-01-13  Hunseop Jeong  <hs85.jeong@samsung.com>
3604
3605         Fix TestWTF failed in TestWebKitAPI
3606         https://bugs.webkit.org/show_bug.cgi?id=140333
3607
3608         Reviewed by Sam Weinig.
3609
3610         Clear the std::ostringstream before starting test.
3611
3612         * TestWebKitAPI/Tests/WTF/RefLogger.h:
3613         (TestWebKitAPI::DerivedRefLogger::DerivedRefLogger):
3614
3615 2015-01-13  Michael Catanzaro  <mcatanzaro@igalia.com>
3616
3617         TestWebKitWebContext depends on British English spellcheck dictionary
3618         https://bugs.webkit.org/show_bug.cgi?id=140403
3619
3620         Reviewed by Martin Robinson.
3621
3622         Install all English hunspell dictionaries on Fedora and Arch.
3623
3624         * gtk/install-dependencies:
3625
3626 2015-01-13  Michael Catanzaro  <mcatanzaro@igalia.com>
3627
3628         [GTK] install-dependencies should grok dnf
3629         https://bugs.webkit.org/show_bug.cgi?id=140396
3630
3631         Reviewed by Martin Robinson.
3632
3633         Fedora: install dependencies with dnf if yum is not installed.
3634
3635         * gtk/install-dependencies:
3636
3637 2015-01-12  Hunseop Jeong  <hs85.jeong@samsung.com>
3638
3639         [EFL][GTK] Fix build after r178309  
3640         https://bugs.webkit.org/show_bug.cgi?id=140381
3641
3642         Reviewed by Gyuyoung Kim.
3643
3644         * TestWebKitAPI/CMakeLists.txt: Added the API directory
3645
3646 2015-01-11  Sam Weinig  <sam@webkit.org>
3647
3648         Remove support for SharedWorkers
3649         https://bugs.webkit.org/show_bug.cgi?id=140344
3650
3651         Reviewed by Anders Carlsson.
3652
3653         * Scripts/webkitperl/FeatureList.pm:
3654
3655 2015-01-12  Anders Carlsson  <andersca@apple.com>
3656
3657         Make delegates conform to formal delegate protocols
3658         https://bugs.webkit.org/show_bug.cgi?id=140370
3659
3660         Reviewed by Dan Bernstein.
3661
3662         * DumpRenderTree/mac/TestRunnerMac.mm:
3663         (TestRunner::numberOfPendingGeolocationPermissionRequests):
3664         (TestRunner::setGeolocationPermission):
3665
3666 2015-01-10  Michael Catanzaro  <mcatanzaro@igalia.com>
3667
3668         build-webkit: silence output of 'which'
3669         https://bugs.webkit.org/show_bug.cgi?id=140278
3670
3671         Reviewed by Daniel Bates.
3672
3673         Use a more elegent test for the existance of ninja and eclipse.
3674
3675         * Scripts/webkitdirs.pm:
3676         (commandExists): Don't assume the command supports --version
3677         (canUseNinja): Use commandExists()
3678         (canUseEclipse): Use commandExists()
3679
3680 2015-01-09  Sam Weinig  <sam@webkit.org>
3681
3682         Update the output format for run-api-tests
3683         https://bugs.webkit.org/show_bug.cgi?id=140332
3684
3685         Reviewed by Dan Bernstein.
3686
3687         Changes the output format for run-api-tests be a bit simpler (no longer 
3688         indented based on suite, as we were not really using suite very well) but
3689         also include details in the case of failure.
3690
3691         Changes verbose mode to no longer spew out the gtest default printer output,
3692         as the custom printer now includes the failure information.
3693
3694         * Scripts/run-api-tests:
3695         (runTestsBySuite):
3696         (runTest):
3697         Augment the custom gtest printer by replacing the tokens "**PASS**" and "**FAIL**"
3698         with colorized variants and strip out leaks spew (the leaks can be added back using
3699         the new --show-leaks argument).
3700
3701         * TestWebKitAPI/TestsController.cpp:
3702         (TestWebKitAPI::Printer::OnTestPartResult):
3703         (TestWebKitAPI::Printer::OnTestEnd):
3704         (TestWebKitAPI::TestsController::run):
3705         Implement a custom result printer that just prints out the information we want.
3706
3707 2015-01-09  Sam Weinig  <sam@webkit.org>
3708
3709         TestWebKitAPI should print out the lists that fail at the end
3710         https://bugs.webkit.org/show_bug.cgi?id=140329
3711
3712         Reviewed by Tim Horton.
3713
3714         * Scripts/run-api-tests:
3715         (runTestsBySuite):
3716         Print out failures and timeouts in all modes, not just verbose.
3717
3718 2015-01-07  Geoffrey Garen  <ggaren@apple.com>
3719
3720         Make bmalloc work with ASan
3721         https://bugs.webkit.org/show_bug.cgi?id=140194
3722
3723         Reviewed by Mark Lam.
3724
3725         * asan/asan.xcconfig: No need to disable FastMalloc; bmalloc supports
3726         ASan automatically (by forwarding to system malloc at runtime).
3727
3728 2015-01-09  Daniel Bates  <dabates@apple.com>
3729
3730         [iOS] Make DumpRenderTree build with public SDK
3731         https://bugs.webkit.org/show_bug.cgi?id=140311
3732
3733         Reviewed by Sam Weinig.
3734
3735         Use CGRound() instead of the obsolete macro function _ROUNDF_ (defined in
3736         header UIKit/UIMath.h), and std::max() instead of the macro function MAX.
3737         Additionally, remove unused header CoreGraphics/CGFontDB.h.
3738
3739         * DumpRenderTree/mac/DumpRenderTree.mm:
3740         (-[ScrollViewResizerDelegate view:didSetFrame:oldFrame:asResultOfZoom:]):
3741
3742 2015-01-09  Alexey Proskuryakov  <ap@apple.com>
3743
3744         platform/mac-wk2/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html fails on Retina machines
3745         https://bugs.webkit.org/show_bug.cgi?id=140300
3746
3747         Reviewed by Simon Fraser.
3748
3749         * WebKitTestRunner/TestController.cpp:
3750         (WTR::TestController::createOtherPage):
3751         (WTR::TestController::updateWindowScaleForTest):
3752         (WTR::TestController::configureViewForTest):
3753         * WebKitTestRunner/TestController.h:
3754
3755 2015-01-09  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
3756
3757         Unreviewed. Moving myself to the committer section.
3758
3759         * Scripts/webkitpy/common/config/contributors.json:
3760
3761 2015-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
3762
3763         Add a script to check for platform layering violations
3764         https://bugs.webkit.org/show_bug.cgi?id=140248
3765
3766         Reviewed by Darin Adler.
3767
3768         It prints all the cases where files inside platform include
3769         headers that are not in platform directory.
3770
3771         * Scripts/check-for-platform-layering-violations: Added.
3772         (get_platform_headers):
3773         (check_source_file):
3774
3775 2015-01-08  Alexey Proskuryakov  <ap@apple.com>
3776
3777         [Mac WK2] Test snapshots are 1600x1200 on Retina devices
3778         https://bugs.webkit.org/show_bug.cgi?id=139884
3779
3780         Reviewed by Tim Horton.
3781
3782         * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
3783         Tell CGWindowListCreateImage to use the correct resolution. I don't really understand
3784         what the "nominal resolution" is, but this appears to work in practice.
3785
3786 2015-01-08  Brent Fulgham  <bfulgham@apple.com>
3787
3788         [Win] DumpRenderTree is always using 800x600 size, even if tests need other size.
3789         https://bugs.webkit.org/show_bug.cgi?id=140256
3790
3791         Reviewed by Anders Carlsson.
3792
3793         * DumpRenderTree/win/DumpRenderTree.cpp:
3794         (resetWebPreferencesToConsistentValues): Drive-by fix of a buffer overrun found while
3795         running with heap validation checks.
3796         (sizeWebViewForCurrentTest): Check both path separators ('/' and '\\') when checking for
3797         the "svg\\W3C-SVG-1.1" test directory.
3798         (removeFontFallbackIfPresent): Use nullptr instead of 0.
3799         * DumpRenderTree/win/TestRunnerWin.cpp:
3800         (TestRunner::clearPersistentUserStyleSheet): Ditto.
3801
3802 2015-01-08  Alexey Proskuryakov  <ap@apple.com>
3803
3804         Follow-up to:  When WebProcess is slow to respond to IPC, that's mistakenly reported as crash
3805         https://bugs.webkit.org/show_bug.cgi?id=140218
3806
3807         * Scripts/webkitpy/port/driver.py: (Driver._check_for_driver_crash_or_unresponsiveness):
3808         Undone an accidental change - check for self.has_crashed() again. This code path
3809         is for ports that don't have a signal handler printing #CRASHED when main process
3810         crashes.
3811
3812         * Scripts/webkitpy/port/driver_unittest.py:
3813         (DriverTest.test_check_for_driver_crash.assert_crash):
3814         (DriverTest.test_check_for_driver_crash):
3815         Updated the tests, all changes are expected.
3816
3817 2015-01-08  Alexey Proskuryakov  <ap@apple.com>
3818
3819         When WebProcess is slow to respond to IPC, that's mistakenly reported as crash
3820         https://bugs.webkit.org/show_bug.cgi?id=140218
3821
3822         Reviewed by Darin Adler.
3823
3824         * Scripts/webkitpy/port/driver.py:
3825         (Driver.__init__): Removed _subprocess_was_unresponsive that was a modifier for
3826         "process crashed" condition. These don't make sense together - it's either a crash
3827         or a timeout, and we should detect those properly at a much lower level.
3828         (Driver.run_test): Ditto.
3829         (Driver._check_for_driver_crash_or_unresponsiveness): Split crash and unresponsiveness
3830         cases.
3831
3832         * WebKitTestRunner/TestController.h:
3833         * WebKitTestRunner/TestController.cpp:
3834         (WTR::TestController::webProcessName): 
3835         (WTR::TestController::processDidCrash):
3836         Factored out hardcoded child process names, as we now use these in two places.
3837
3838         * WebKitTestRunner/TestInvocation.cpp:
3839         (WTR::TestInvocation::dumpWebProcessUnresponsiveness): Dump an accurate child
3840         process name, so that it can be sampled (fixes sampling on Mavericks and above).
3841
3842 2015-01-08  Zan Dobersek  <zdobersek@igalia.com>
3843
3844         Reorder my list of email addresses, keeping the Bugzilla address at the
3845         top since Bugzilla and other webkitpy scripts rely on that ordering.
3846
3847         * Scripts/webkitpy/common/config/contributors.json:
3848
3849 2015-01-08  Zan Dobersek  <zdobersek@igalia.com>
3850
3851         Moving myself to the reviewers section and updating
3852         the list of my email addresses.
3853
3854         * Scripts/webkitpy/common/config/contributors.json:
3855
3856 2015-01-07  Michael Catanzaro  <mcatanzaro@igalia.com>
3857
3858         [GTK] Build gtk-doc without gtkdoc-mktmpl
3859         https://bugs.webkit.org/show_bug.cgi?id=140225
3860
3861         Reviewed by Darin Adler.
3862
3863         Stop calling gtkdoc-mktmpl. It's being removed upstream, and since we
3864         don't modify the tmpl files that it generates, it's not doing anything
3865         for us.
3866
3867         * gtk/gtkdoc.py:
3868         (GTKDoc.generate):
3869         (GTKDoc._run_gtkdoc_scangobj):
3870         (GTKDoc._run_gtkdoc_mktmpl): Deleted.
3871
3872 2015-01-07  Gwang Yoon Hwang  <yoon@igalia.com>
3873
3874         [GTK][ThreadedCompositor] Add support for threaded compositor.
3875         https://bugs.webkit.org/show_bug.cgi?id=118265
3876
3877         Reviewed by Martin Robinson.
3878
3879         Added the ENABLE_THREADED_COMPOSITOR feature flag to the cmake and
3880         autotools build systems. The feature is disabled by default.
3881         And remove deprecated the WTF_USE_TILED_BACKING_STORE feature flag
3882         from the feature flags.
3883
3884         * Scripts/webkitperl/FeatureList.pm:
3885
3886 2015-01-07  Daniel Bates  <dabates@apple.com>
3887
3888         [iOS] Make WebKit2 build with public iOS SDK and more build fixes for DRT
3889         https://bugs.webkit.org/show_bug.cgi?id=137371
3890
3891         Reviewed by David Kilzer.
3892
3893         Use SPI wrapper headers instead of directly referencing private SPI headers.
3894
3895         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
3896         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
3897         * DumpRenderTree/mac/Configurations/Base.xcconfig: Append directory Source/WebKit2/Platform/spi/ios
3898         to the list of iOS header search directories so that we can include header UIKitSPI.h.
3899         * DumpRenderTree/mac/DumpRenderTree.mm:
3900         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
3901         * DumpRenderTree/mac/EventSendingController.mm:
3902         * DumpRenderTree/mac/TestRunnerMac.mm:
3903
3904 2015-01-07  Commit Queue  <commit-queue@webkit.org>
3905
3906         Unreviewed, rolling out r178068.
3907         https://bugs.webkit.org/show_bug.cgi?id=140235
3908
3909         Breaks the iOS build (Requested by enrica on #webkit).
3910
3911         Reverted changeset:
3912
3913         "[iOS] Make WebKit2 build with public iOS SDK and more build
3914         fixes for DRT"
3915         https://bugs.webkit.org/show_bug.cgi?id=137371
3916         http://trac.webkit.org/changeset/178068
3917
3918 2015-01-07  Daniel Bates  <dabates@apple.com>
3919
3920         [iOS] Make WebKit2 build with public iOS SDK and more build fixes for DRT
3921         https://bugs.webkit.org/show_bug.cgi?id=137371
3922
3923         Reviewed by David Kilzer.
3924
3925         Use SPI wrapper headers instead of directly referencing private SPI headers.
3926
3927         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
3928         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
3929         * DumpRenderTree/mac/Configurations/Base.xcconfig: Append directory Source/WebKit2/Platform/spi/ios
3930         to the list of header search directories so that we can include header UIKitSPI.h.
3931         * DumpRenderTree/mac/DumpRenderTree.mm:
3932         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
3933         * DumpRenderTree/mac/EventSendingController.mm:
3934         * DumpRenderTree/mac/TestRunnerMac.mm:
3935
3936 2015-01-07  Brent Fulgham  <bfulgham@apple.com>
3937
3938         [Win] Unreviewed test change to improve run reproducibility
3939
3940         * Scripts/webkitpy/port/win.py:
3941         (WinPort.default_child_processes): Run a single DRT instance to help
3942         identify failures caused by earlier test runs.
3943
3944 2015-01-07  Myles C. Maxfield  <mmaxfield@apple.com>
3945
3946         Myles C. Maxfield is a reviewer now
3947         https://bugs.webkit.org/show_bug.cgi?id=140196
3948
3949         Reviewed by Dean Jackson.
3950
3951         * Scripts/webkitpy/common/config/contributors.json:
3952
3953 2015-01-07  Myles C. Maxfield  <mmaxfield@apple.com>
3954
3955         Make webkit-patch try harder to find keychain credentials
3956         https://bugs.webkit.org/show_bug.cgi?id=140170
3957
3958         Reviewed by Ryosuke Niwa.
3959
3960         When the user manually enters a password into webkit-patch, we hand that off to the
3961         Keyring Python module. However, that module creates a generic password entry instead
3962         of an internet password entry. We should look for both kinds.
3963
3964         * Scripts/webkitpy/common/net/credentials.py:
3965         (Credentials._run_security_tool):
3966         (Credentials._credentials_from_keychain):
3967         * Scripts/webkitpy/common/net/credentials_unittest.py:
3968         (test_security_output_parse_entry_not_found):
3969         (_assert_security_call):
3970
3971 2015-01-06  Anders Carlsson  <andersca@apple.com>
3972
3973         Try to fix the Mountain Lion build.
3974
3975         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
3976         (TestWebKitAPI::didGetImageForMatchResult):
3977
3978 2015-01-06  Alexey Proskuryakov  <ap@apple.com>
3979
3980         Debug ASan builds frequently crash in Register::jsValue under DFG::prepareOSREntry
3981         https://bugs.webkit.org/show_bug.cgi?id=140095
3982
3983         Reviewed by Anders Carlsson.
3984
3985         * asan/webkit-asan-ignore.txt: Blacklist a function that gets inlined in release
3986         builds, but not in debug ones.
3987
3988 2015-01-06  Brent Fulgham  <bfulgham@apple.com>
3989
3990         [Win] Extend WinLauncher with support for Page Zoom
3991         https://bugs.webkit.org/show_bug.cgi?id=140152
3992
3993         Reviewed by Anders Carlsson.
3994
3995         * WinLauncher/Common.cpp:
3996         (WndProc):
3997         * WinLauncher/WinLauncher.cpp:
3998         (WinLauncher::resetZoom):
3999         (WinLauncher::zoomIn):
4000         (WinLauncher::zoomOut):
4001         * WinLauncher/WinLauncher.h:
4002         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc:
4003         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h:
4004         * win/DLLLauncher/DLLLauncherMain.cpp:
4005         (wWinMain):
4006
4007 2015-01-06  Anders Carlsson  <andersca@apple.com>
4008
4009         Fix API tests that are broken under HiDPI
4010         https://bugs.webkit.org/show_bug.cgi?id=140146
4011
4012         Reviewed by Tim Horton.
4013
4014         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
4015         (TestWebKitAPI::didGetImageForMatchResult):
4016         NSImages are measured in points, so grab the underlying bitmap image and get its size in pixels.
4017
4018         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
4019         (TestWebKitAPI::DeviceScaleFactorOnBack::runTest):
4020         Don't assume that a web view not in a window has a backing scale factor of 1. Instead, always have web views start
4021         out in a window that has a backing scale factor of 1.
4022  
4023         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
4024         (TestWebKitAPI::DynamicDeviceScaleFactor::runTest):
4025         Ditto.
4026
4027 2015-01-06  Alexey Proskuryakov  <ap@apple.com>
4028
4029         ADDRESS_SANITIZER macro is overloaded
4030         https://bugs.webkit.org/show_bug.cgi?id=140130
4031
4032         Reviewed by Anders Carlsson.
4033
4034         * WebKitTestRunner/TestController.cpp: Use the new macro.
4035
4036 2015-01-05  Joseph Pecoraro  <pecoraro@apple.com>
4037
4038         Remove some stale class names in check-for-inappropriate-objc-class-names
4039         https://bugs.webkit.org/show_bug.cgi?id=140104
4040
4041         Reviewed by Darin Adler.
4042
4043         * Scripts/check-for-inappropriate-objc-class-names:
4044         These UIWK* classes no longer exist.
4045
4046 2015-01-05  Anders Carlsson  <andersca@apple.com>
4047
4048         heap-buffer-overflow on fast/loader/reload-zero-byte-plugin.html
4049         https://bugs.webkit.org/show_bug.cgi?id=140096
4050         rdar://problem/19368938
4051
4052         Reviewed by Alexey Proskuryakov.
4053
4054         When creating a new page, don't pass clientInfo when setting up the frame and policy clients,
4055         since clientInfo points to a web view, not the test controller.
4056
4057         * WebKitTestRunner/TestController.cpp:
4058         (WTR::TestController::createOtherPage):
4059
4060 2015-01-05  Hunseop Jeong  <hs85.jeong@samsung.com>
4061
4062         [EFL][GTK] WKPreferencesDefaults test failed after r177506 
4063         https://bugs.webkit.org/show_bug.cgi?id=140077
4064
4065         Reviewed by Csaba Osztrogonác.
4066
4067         WebKit C SPI is available on EFL,GTK.
4068         Changed the define order to pass the API test.
4069
4070         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
4071         (TestWebKitAPI::TEST):
4072
4073 2015-01-01  Alexey Proskuryakov  <ap@apple.com>
4074
4075         Simplify WebKitTestRunner timeout tracking
4076         https://bugs.webkit.org/show_bug.cgi?id=140036
4077
4078         Reviewed by Darin Adler.
4079
4080         The code for configuring timeouts was mostly dead, because run-webkit-tests never
4081         passes the --timeout option to WebKitTestRunner.
4082
4083         * WebKitTestRunner/Options.h:
4084         * WebKitTestRunner/Options.cpp:
4085         (WTR::Options::Options):
4086         (WTR::OptionsHandler::OptionsHandler):
4087         (WTR::handleOptionTimeout): Deleted.
4088         Removed support for --timeout. Timeouts are passed for each test individually,
4089         and defaults are good enough for the rare cases where WebKitTestRunner is run
4090         manually without run-webkit-tests.
4091
4092         * WebKitTestRunner/TestController.cpp:
4093         (WTR::TestController::TestController):
4094         (WTR::TestController::initialize):
4095         (WTR::TestController::resetStateToConsistentValues):
4096         (WTR::TestController::reattachPageToWebProcess):
4097         (WTR::TestController::runUntil):
4098         * WebKitTestRunner/TestController.h:
4099         Simplified runUntil by passing the actual timeout, not an enum.
4100         Increased short timeout for ASan enabled builds, as WebProcess launching takes
4101         quite a while.
4102
4103         * WebKitTestRunner/TestInvocation.cpp:
4104         (WTR::TestInvocation::invoke): Removed dead code that handled a timeout from NoTimeout.
4105
4106         * WebKitTestRunner/efl/TestControllerEfl.cpp:
4107         (WTR::TestController::platformRunUntil):
4108         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
4109         (WTR::TestController::platformRunUntil):
4110         Build fixes.
4111
4112 2015-01-02  Anders Carlsson  <andersca@apple.com>
4113
4114         Remove now unused storage tracker glue from DumpRenderTree
4115         https://bugs.webkit.org/show_bug.cgi?id=140045
4116
4117         Reviewed by Darin Adler.
4118
4119         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4120         * DumpRenderTree/StorageTrackerDelegate.h: Removed.
4121         * DumpRenderTree/StorageTrackerDelegate.mm: Removed.
4122         * DumpRenderTree/TestRunner.cpp:
4123         (TestRunner::staticFunctions):
4124         (syncLocalStorageCallback): Deleted.
4125         (observeStorageTrackerNotificationsCallback): Deleted.
4126         (deleteAllLocalStorageCallback): Deleted.
4127         (deleteLocalStorageForOriginCallback): Deleted.
4128         (localStorageDiskUsageForOriginCallback): Deleted.
4129         (originsWithLocalStorageCallback): Deleted.
4130         * DumpRenderTree/TestRunner.h:
4131         * DumpRenderTree/mac/DumpRenderTree.mm:
4132         (allocateGlobalControllers):
4133         (releaseGlobalControllers):
4134         * DumpRenderTree/mac/DumpRenderTreeMac.h:
4135         * DumpRenderTree/mac/TestRunnerMac.mm:
4136         (TestRunner::syncLocalStorage): Deleted.
4137         (TestRunner::localStorageDiskUsageForOrigin): Deleted.
4138         (TestRunner::observeStorageTrackerNotifications): Deleted.
4139         (TestRunner::deleteAllLocalStorage): Deleted.
4140         (TestRunner::originsWithLocalStorage): Deleted.
4141         (TestRunner::deleteLocalStorageForOrigin): Deleted.
4142         * DumpRenderTree/win/TestRunnerWin.cpp:
4143         (TestRunner::syncLocalStorage): Deleted.
4144         (TestRunner::localStorageDiskUsageForOrigin): Deleted.
4145         (TestRunner::observeStorageTrackerNotifications): Deleted.
4146         (TestRunner::deleteAllLocalStorage): Deleted.
4147         (TestRunner::originsWithLocalStorage): Deleted.
4148         (TestRunner::deleteLocalStorageForOrigin): Deleted.
4149
4150 2015-01-01  Darin Adler  <darin@apple.com>
4151
4152         We often misspell identifier as "identifer"
4153         https://bugs.webkit.org/show_bug.cgi?id=140025
4154
4155         Reviewed by Michael Saboff.
4156
4157         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
4158         * Scripts/webkitdirs.pm:
4159         (appIdentifierFromBundle):
4160         (installAndLaunchIOSWebKitAppInSimulator):
4161         Fix misspellings
4162
4163 2015-01-01  Zalan Bujtas  <zalan@apple.com>
4164
4165         Saturated arithmetics: Incorrect float/double clamping.
4166         https://bugs.webkit.org/show_bug.cgi?id=139888
4167         rdar://problem/19330885
4168
4169         Reviewed by Simon Fraser.
4170
4171         Clamp float and double values correctly when applying saturated arithmetics.
4172
4173         * TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:
4174         (TestWebKitAPI::TEST):
4175
4176 2014-12-30  Krzysztof Czech  <k.czech@samsung.com>
4177
4178         [EFL] Bump version of ATK used by jhbuild to 2.15.2
4179         https://bugs.webkit.org/show_bug.cgi?id=139816
4180
4181         Reviewed by Gyuyoung Kim.
4182
4183         Bump version of ATK used by jhbuild to 2.15.2
4184
4185         * efl/jhbuild.modules:
4186
4187 2014-12-29  Fabien Vallée  <fvallee@connected-labs.com>
4188
4189         [jhBuild] cairo build error (-flto)
4190         https://bugs.webkit.org/show_bug.cgi?id=139056
4191
4192         Reviewed by Philippe Normand.
4193
4194         cairo fails to link  with gcc 4.9 due to lto
4195         related issue. This problem has been partially
4196         addressed by cairo:
4197         http://cgit.freedesktop.org/cairo/commit/?id=c3645d97ebd24c6f7ad850785d585aebc706a11c
4198         use the cairo --disable-lto option and remove jhbuild
4199         makeargs fixes the issue.
4200
4201         * gtk/jhbuild.modules:
4202         * gtk/patches/cairo-1.12.8-add_disable-lto.patch: Added.
4203
4204 2014-12-27  Myles C. Maxfield  <mmaxfield@apple.com>
4205         [Mac] Enable kerning, ligatures, and printer fonts 
4206         https://bugs.webkit.org/show_bug.cgi?id=139970
4207
4208         Rubber stamped by Simon Fraser.
4209
4210         Flip the switch.
4211
4212         * DumpRenderTree/mac/DumpRenderTree.mm:
4213         * WebKitTestRunner/TestController.cpp:
4214         * WebKitTestRunner/mac/main.mm:
4215
4216 2014-12-26  Dan Bernstein  <mitz@apple.com>
4217
4218         <rdar://problem/19348208> REGRESSION (r177027): iOS builds use the wrong toolchain
4219         https://bugs.webkit.org/show_bug.cgi?id=139950
4220
4221         Reviewed by David Kilzer.
4222
4223         * asan/asan.xcconfig: Only define TOOLCHAINS when building for OS X, doing so
4224         in a manner that works with Xcode 5.1.1.
4225
4226 2014-12-24  Dan Bernstein  <mitz@apple.com>
4227
4228         Engineering builds of MiniBrowser ignore deprecated declaration warnings
4229         https://bugs.webkit.org/show_bug.cgi?id=139941
4230
4231         Reviewed by Darin Adler.
4232
4233         * MiniBrowser/Configurations/Base.xcconfig: Added semicolon.
4234         * MiniBrowser/Configurations/DebugRelease.xcconfig: Set GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS
4235         to YES.
4236         * MiniBrowser/mac/AppDelegate.m:
4237         (-[BrowserAppDelegate openDocument:]): Use NSFileHandlingPanelOKButton instead of
4238         deprecated NSOKButton.
4239
4240 2014-12-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
4241
4242         W3C test importer should have an option to disable testharness.js/testharnessreport.js link conversion
4243         https://bugs.webkit.org/show_bug.cgi?id=134763
4244
4245         Reviewed by Ryosuke Niwa.
4246
4247         Adding an option to disable test harness link conversion.
4248
4249         * Scripts/webkitpy/w3c/test_converter.py:
4250         (convert_for_webkit):
4251         (_W3CTestConverter.__init__):
4252         (_W3CTestConverter.convert_attributes_if_needed):
4253         * Scripts/webkitpy/w3c/test_importer.py:
4254         (parse_args):
4255         (TestImporter.import_tests):
4256
4257 2014-12-23  Alexey Proskuryakov  <ap@apple.com>
4258
4259         DumpRenderTree crashes are mis-reported as timeouts on Yosemite
4260         https://bugs.webkit.org/show_bug.cgi?id=139933
4261
4262         Reviewed by Daniel Bates.
4263
4264         Crash logs take a very long time to be generated on Yosemite (rdar://problem/18701447),
4265         and there is no way for run-webkit-tests to tell a crashed process from a frozen one
4266         until ReportCrash lets it go.
4267
4268         Reuse existing machinery that tells run-webkit-tests about crashes. The script may
4269         even get the actual crash log eventually - even when it times out waiting for the log, it
4270         makes a second lookup at the very end, after all tests finish. There may be further
4271         improvements needed here, but this small fix addresses most cases that happen in practice.
4272
4273         * DumpRenderTree/mac/DumpRenderTree.mm:
4274         (writeCrashedMessageOnFatalError):
4275         (dumpRenderTree):
4276         Removed PLATFORM(IOS) ifdefs, this code is just as helpful on Mac.
4277
4278         * Scripts/webkitpy/port/driver.py: (Driver._check_for_driver_crash): Removed an
4279         unhelpful comment.
4280
4281 2014-12-23  Alexey Proskuryakov  <ap@apple.com>
4282
4283         Don't force -O1 for debug ASan builds
4284         https://bugs.webkit.org/show_bug.cgi?id=139926
4285
4286         Reviewed by Darin Adler.
4287
4288         * asan/asan.xcconfig:
4289
4290 2014-12-23  Alexey Proskuryakov  <ap@apple.com>
4291
4292         Simplify building with ASan
4293         https://bugs.webkit.org/show_bug.cgi?id=139916
4294
4295         Reviewed by Mark Rowe.
4296
4297         * Scripts/set-webkit-configuration: Store ASan state into a new configuration file.
4298         We could also update Configuration file format, but that's a little scary because
4299         of how many places in code read it.
4300
4301         * Scripts/webkitdirs.pm:
4302         (determineASanIsEnabled): Read it from ASan configuration file.
4303         (argumentsForConfiguration): Added a FIXME.
4304         (asanIsEnabled): A caching wrapper similar to what we have for other configuration options.
4305         (XcodeOptions): Pass the options needed for ASan.
4306
4307         * asan/asan.xcconfig: Use the right toolchains. Made warnings fatal again, as there
4308       &nbs