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