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