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