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