[Win] Expose missing editing features through WebView interface
[WebKit-https.git] / Tools / ChangeLog
1 2015-01-22  Brent Fulgham  <bfulgham@apple.com>
2
3         [Win] Expose missing editing features through WebView interface
4         https://bugs.webkit.org/show_bug.cgi?id=140773
5         <rdar://problem/19565421>
6
7         Reviewed by Dean Jackson.
8
9         Connect the various WebView editing delegate methods to our
10         test infrastructure. Also prefer _bstr_t to raw BSTR types
11         to simplify life cycle management.
12
13         * DumpRenderTree/win/DumpRenderTree.cpp:
14         (resetWebViewToConsistentStateBeforeTesting):
15         * DumpRenderTree/win/EditingDelegate.cpp:
16         (EditingDelegate::QueryInterface):
17         (dumpPath):
18         (dump):
19         (EditingDelegate::shouldBeginEditingInDOMRange):
20         (EditingDelegate::shouldEndEditingInDOMRange):
21         (EditingDelegate::shouldInsertNode):
22         (EditingDelegate::shouldInsertText):
23         (EditingDelegate::shouldDeleteDOMRange):
24         (EditingDelegate::shouldChangeSelectedDOMRange):
25         (EditingDelegate::shouldApplyStyle):
26         (EditingDelegate::shouldChangeTypingStyle):
27         (EditingDelegate::doPlatformCommand):
28         (EditingDelegate::webViewDidBeginEditing):
29         (EditingDelegate::webViewDidChange):
30         (EditingDelegate::webViewDidEndEditing):
31         (EditingDelegate::webViewDidChangeTypingStyle):
32         (EditingDelegate::webViewDidChangeSelection):
33         (EditingDelegate::checkSpellingOfString):
34         (EditingDelegate::onNotify):
35         * DumpRenderTree/win/EditingDelegate.h:
36
37 2015-01-22  Ryosuke Niwa  <rniwa@webkit.org>
38
39         Add a build flag for ES6 class syntax
40         https://bugs.webkit.org/show_bug.cgi?id=140760
41
42         Reviewed by Michael Saboff.
43
44         * Scripts/webkitperl/FeatureList.pm:
45
46 2015-01-22  Daniel Bates  <dabates@apple.com>
47
48         [iOS] run-webkit-tests --ios-sim dies with an error; fails to parse Apple Internal
49         runtime in simctl output
50         https://bugs.webkit.org/show_bug.cgi?id=140751
51
52         Reviewed by David Kilzer.
53
54         Following the fix for <rdar://problem/19444383>, run-webkit-tests --ios-sim dies
55         with an error because it does not know how to parse the output of the simctl tool
56         to identify an Apple Internal runtime.
57
58         * Scripts/webkitpy/xcode/simulator.py:
59         (Runtime.__init__): Add parameter is_internal_runtime (defaults to False).
60         (Runtime.__eq__): Take is_internal_runtime when comparing two Runtime objects for equality.
61         (Runtime.__repr__): Update printable representation of Runtime object to indicate whether
62         the runtime is an internal runtime.
63         (Simulator): Update regular expressions runtime_re and version_re to match an internal runtime.
64         (Simulator._parse_runtimes): Pass is_internal_runtime to the Runtime constructor with the
65         appropriate value.
66         (Simulator._parse_devices): Pass argument is_internal_runtime to Simulator.runtime() so that
67         it updates the appropriate Runtime object.
68         (Simulator.runtime): Added optional parameter, is_internal_runtime. Modified to support
69         looking up a Runtime object for an internal runtime.
70
71 2015-01-22  Alexey Proskuryakov  <ap@apple.com>
72
73         LeaksViewer doesn't show recent builds if there are less than 10
74         https://bugs.webkit.org/show_bug.cgi?id=140716
75
76         Reviewed by Tim Horton.
77
78         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
79
80 2015-01-22  Lucas Forschler  <lforschler@apple.com>
81
82         Add Apple build slaves.
83         Fixed text alignment for slave list.
84         
85         Unreviewed.
86         
87         * BuildSlaveSupport/build.webkit.org-config/config.json:
88
89 2015-01-21  Lucas Forschler  <lforschler@apple.com>
90
91         Teach build.webkit.org about bot308 and bot309.
92         
93         Unreviewed.
94         
95         * BuildSlaveSupport/build.webkit.org-config/config.json:
96
97 2015-01-21  Lucas Forschler  <lforschler@apple.com>
98
99         Add two Apple Mavericks slaves.
100         
101         Unreviewed.
102         
103         * BuildSlaveSupport/build.webkit.org-config/config.json:
104
105 2015-01-21  Daniel Bates  <dabates@apple.com>
106
107         Add iOS WebKit1 TestExpectation file
108         https://bugs.webkit.org/show_bug.cgi?id=140739
109
110         Reviewed by David Kilzer.
111
112         Teach run-webkit-tests to look for iOS WebKit1-specific test results and
113         expectations in directory LayoutTests/platform/ios-simulator-wk1.
114
115         * Scripts/webkitpy/port/ios.py:
116         (IOSSimulatorPort.default_baseline_search_path):
117
118 2015-01-21  David Kilzer  <ddkilzer@apple.com>
119
120         [iOS] Update configure-xcode-for-ios-development to copy missing headers to iphoneos SDK
121         <http://webkit.org/b/140704>
122
123         Reviewed by Daniel Bates.
124
125         * Scripts/configure-xcode-for-ios-development:
126         - Update copyright.
127         - Remove FIXME addressed by r178709.
128         - Call copyMissingHeadersToIPhoneOSSDKIfNeeded().
129         (copyMissingHeadersToIPhoneOSSDKIfNeeded): Add method to copy
130         missing headers from iphonesimulator SDK to iphoneos SDK.
131         (sdkDirectory): Add method that returns SDK directory.
132         (sdkPlatformDirectory): Extract method from
133         xcodeSDKSpecificationsPath() that returns SDK platform
134         directory.
135         (xcodeSDKSpecificationsPath): Update to use
136         sdkPlatformDirectory().
137
138 2015-01-21  Alexey Proskuryakov  <ap@apple.com>
139
140         https://build.webkit.org/dashboard/metrics.html fails because of ios-ews
141         https://bugs.webkit.org/show_bug.cgi?id=140731
142
143         Reviewed by Tim Horton.
144
145         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:
146         (Analyzer.prototype._analyzeAllBubblesPerformance): Corrected a typo.
147
148 2015-01-21  Brent Fulgham  <bfulgham@apple.com>
149
150         [Win] eventSender does not support scalePageBy
151         https://bugs.webkit.org/show_bug.cgi?id=140726
152         <rdar://problem/19549865>
153
154         Reviewed by Dean Jackson.
155
156         * DumpRenderTree/win/EventSender.cpp:
157         (scalePageByCallback): Provide implementation using new WebView method.
158
159 2015-01-21  Lucas Forschler  <lforschler@apple.com>
160
161         Remove Apple Mountain Lion Build & Test slaves.
162         
163         Unreviewed.
164
165         * BuildSlaveSupport/build.webkit.org-config/config.json:
166
167 2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
168
169         Remove ENABLE(INSPECTOR) ifdef guards
170         https://bugs.webkit.org/show_bug.cgi?id=140668
171
172         Reviewed by Darin Adler.
173
174         * DumpRenderTree/mac/TestRunnerMac.mm:
175         (TestRunner::showWebInspector):
176         (TestRunner::closeWebInspector):
177         (TestRunner::evaluateInWebInspector):
178         * Scripts/webkitperl/FeatureList.pm:
179         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
180         (WTR::TestRunner::showWebInspector):
181         (WTR::TestRunner::closeWebInspector):
182         (WTR::TestRunner::evaluateInWebInspector):
183         * WebKitTestRunner/TestInvocation.cpp:
184         (WTR::TestInvocation::invoke):
185
186 2015-01-20  Alexey Proskuryakov  <ap@apple.com>
187
188         Update build.webkit.org/dashboard to match current Mac queues.
189
190         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion.png: Removed.
191         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion@2x.png: Removed.
192         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion.png: Removed.
193         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion@2x.png: Removed.
194         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
195         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
196         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
197         (table.queue-grid tr.platform.mac-os-x-mountain-lion img.logo): Deleted.
198         (table.queue-grid tr.platform.mac-os-x-lion img.logo): Deleted.
199
200 2015-01-20  Lucas Forschler  <lforschler@apple.com>
201
202         Update Apple MountainLion Leaks slave to Yosemite
203         Update Apple MountainLion Release (32-bit) Build slave to Yosemite
204         
205         Unreviewed.
206
207         * BuildSlaveSupport/build.webkit.org-config/config.json:
208
209 2015-01-20  Lucas Forschler  <lforschler@apple.com>
210
211         Update LeaksViewer from MountainLion to Yosemite
212         
213         Reviewed by Alexey Proskuryakov.
214
215         * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
216         (LeaksViewer._displayURLPrompt):
217
218 2015-01-20  Jake Nielsen  <jacob_nielsen@apple.com>
219
220         Fix EWS python unit tests and address code comments as per 140476
221         https://bugs.webkit.org/show_bug.cgi?id=140637
222
223         Reviewed by David Kilzer.
224
225         * Scripts/webkitpy/port/base.py:
226         (Port):
227         (Port.__init__):
228         Adds DEFAULT_ARCHITECTURE member.
229         (Port.architecture):
230         Removes architecture member and instead uses
231         self.get_option('architecture'). Also removes redundant architecture
232         method.
233         (Port.set_architecture):
234         Adds a setter for the architecture variable to be able to set a flag
235         upon modification.
236         (Port.test_configuration):
237         Uses self.architecture() instead of self._architecture.
238         * Scripts/webkitpy/port/ios.py:
239         Overrides DEFAULT_ARCHITECTURE.
240         (IOSPort):
241         (IOSPort.determine_full_port_name):
242         Uses subprocess.check_output instead of Popen. Uses rstrip instead of
243         strip. Fixes regex to not match arbitrary characters after the
244         relevent digits are matched.
245         (IOSPort.__init__):
246         Removes old _architecture defaulting strategy.
247         (IOSPort._build_driver_flags):
248         Uses self.architecture() instead of self._architecture.
249         (IOSSimulatorPort):
250         Overrides DEFAULT_ARCHITECTURE.
251         (IOSSimulatorPort.__init__):
252         Removes old _architecture defaulting strategy.
253         * Scripts/webkitpy/port/mac.py:
254         (MacPort):
255         Overrides DEFAULT_ARCHITECTURE.
256         (MacPort.__init__):
257         Removes old _architecture defaulting strategy.
258         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
259         (AbstractEarlyWarningSystem.run_command):
260         Checks the did_override_architecture flag to determine whether to add
261         the --architecture option.
262         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
263         Uses ews.architecture rather than trying to discern the correct
264         architecture using a port object.
265         (EarlyWarningSystemTest._default_expected_logs):
266         * Scripts/webkitpy/tool/commands/queues.py:
267         Removes use of optparse, and removes the import statement.
268         (AbstractQueue.__init__):
269         (PatchProcessingQueue.begin_work_queue):
270
271 2015-01-20  Sam Weinig  <sam@webkit.org>
272
273         Attempt to fix Mountain Lion and EFL tests.
274
275         * WebKitTestRunner/TestController.cpp:
276         (WTR::TestController::initialize):
277         Disable Process-per-tab and network process on Mountain Lion and EFL.
278
279 2015-01-20  Darin Adler  <darin@apple.com>
280
281         Remove SVGElementInstanceList, m_instanceUnderMouse, DUMP_INSTANCE_TREE, DUMP_SHADOW_TREE
282         https://bugs.webkit.org/show_bug.cgi?id=140679
283
284         Reviewed by Anders Carlsson.
285
286         * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
287         Removed a reference to SVGElementInstanceList.
288
289 2015-01-20  Michael Catanzaro  <mcatanzaro@igalia.com>
290
291         [GTK] WebViewTest should prohibit overriding initializeWebExtensions()
292         https://bugs.webkit.org/show_bug.cgi?id=140028
293
294         Reviewed by Carlos Garcia Campos.
295
296         This won't work as expected, since this function is called before the
297         WebViewTest constructor completes.
298
299         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
300
301 2015-01-20  David Kilzer  <ddkilzer@apple.com>
302
303         configure-xcode-for-ios-development needs to update iPhoneOS SDK
304         <http://webkit.org/b/140661>
305
306         Reviewed by Daniel Bates.
307
308         * Scripts/configure-xcode-for-ios-development: Add for() loop to
309         run createXcodeSpecificationFilesForSDKIfNeeded() for both
310         "iphoneos" and "iphonesimulator" SDKs.
311         (createXcodeSpecificationFilesForSDKIfNeeded): Extracted from
312         the main body of the script.
313
314 2015-01-20  Tomas Popela  <tpopela@redhat.com>
315
316         [GTK] Add API to set the web view editable into WebKit2 GTK+ API
317         https://bugs.webkit.org/show_bug.cgi?id=139443
318
319         Reviewed by Carlos Garcia Campos.
320
321         Create the new test cases for setting the editable property on the web
322         view and on the contenteditable enabled document. Also rework the
323         current tests that are expecting that the web view is editable.
324
325         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
326         (loadTestHtml):
327         (testWebViewEditorCutCopyPasteNonEditable):
328         (testWebViewEditorCutCopyPasteEditable):
329         (testWebViewEditorSelectAllNonEditable):
330         (testWebViewEditorSelectAllEditable):
331         (runEditorEditableCutTests):
332         (testWebViewEditorEditableOnNonEditable):
333         (testWebViewEditorEditableOnContentEditable):
334         (testWebViewEditorNonEditable):
335         (beforeAll):
336         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
337         (WebViewTest::isEditable):
338         (WebViewTest::setEditable):
339
340 2015-01-20  Carlos Garcia Campos  <cgarcia@igalia.com>
341
342         [GTK] Add an option to create WebKitWebView snapshots with transparent background
343         https://bugs.webkit.org/show_bug.cgi?id=140617
344
345         Reviewed by Gustavo Noronha Silva.
346
347         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
348         (testWebViewSnapshot): Check that the same snapshot with
349         transparent background is different than the default one filled
350         with white.
351
352 2015-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
353
354         [GTK] Add API to change the WebKitWebView background color
355         https://bugs.webkit.org/show_bug.cgi?id=140610
356
357         Reviewed by Gustavo Noronha Silva.
358
359         Add --bg-color command line option to MiniBrowser to be able to
360         manually test the API passing any RGBA color to MiniBrowser.
361         Also add a simple unit test to check that getting and setting
362         colors from the API point of view.
363
364         * MiniBrowser/gtk/BrowserWindow.c:
365         (browser_window_set_background_color):
366         * MiniBrowser/gtk/BrowserWindow.h:
367         * MiniBrowser/gtk/main.c:
368         (createBrowserWindow):
369         (parseBackgroundColor):
370         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
371         (testWebViewBackgroundColor):
372         (beforeAll):
373
374 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
375
376         [Win] Layout Test fast/xmlhttprequest/xmlhttprequest-no-file-access.html is failing
377         https://bugs.webkit.org/show_bug.cgi?id=140665
378
379         Reviewed by Brian Burg.
380
381         * DumpRenderTree/win/UIDelegate.cpp:
382         (UIDelegate::webViewAddMessageToConsole): Correct string search and concatenation to
383         match expected test output.
384
385 2015-01-19  Benjamin Poulain  <bpoulain@apple.com>
386
387         Remove the support for custom suffixes on ChangeLog
388         https://bugs.webkit.org/show_bug.cgi?id=140648
389
390         Reviewed by David Kilzer.
391
392         Custom suffixes were used for the iOS branch of WebKit.
393         Now that everything is opensource, there is no need for it.
394
395         * Scripts/VCSUtils.pm:
396         (changeLogSuffix): Deleted.
397         (changeLogFileName): Deleted.
398         * Scripts/commit-log-editor:
399         * Scripts/prepare-ChangeLog:
400         (getLatestChangeLogs):
401         (generateNewChangeLogs):
402         (generateFileList):
403         * Scripts/resolve-ChangeLogs:
404         (findChangeLog):
405
406 2015-01-19  Timothy Horton  <timothy_horton@apple.com>
407
408         Adjust naming of action menu SPI
409         https://bugs.webkit.org/show_bug.cgi?id=140644
410         <rdar://problem/19448129>
411
412         Reviewed by Brian Weinstein.
413
414         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
415         (-[ActionMenusTestWKView runMenuSequenceAtPoint:preDidCloseMenuHandler:]):
416         (TestWebKitAPI::TEST):
417
418 2015-01-19  Michael Catanzaro  <mcatanzaro@igalia.com>
419
420         [GTK] Generate the make dist manifest from a CMake template file
421         https://bugs.webkit.org/show_bug.cgi?id=139387
422
423         Reviewed by Martin Robinson.
424
425         Remove the code that performs variable substitution on manifest.txt.
426         Replace the custom variables used in that file with CMake variables.
427
428         * gtk/make-dist.py:
429         (Manifest.add_directory):
430         (Manifest.get_full_source_path):
431         (Manifest.process_line):
432         (Manifest.resolve_variables): Deleted.
433         (Manifest.get_full_tarball_path): Deleted.
434         * gtk/manifest.txt.in: Renamed from Tools/gtk/manifest.txt.
435
436 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
437
438         [Win] Correct merge error in last commit.
439
440         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
441         (findAccessibleObjectById): Undo accidental paste made during landing.
442
443 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
444
445         [Win] Periodic failure in DumpRenderTree related to WebActionPropertyBag::Read
446         https://bugs.webkit.org/show_bug.cgi?id=139906
447
448         Reviewed by Dean Jackson.
449
450         WebKit on Windows was creating uninitialized VARIANT structures, then attempting
451         to use them. This patch fixes that.
452
453         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
454         (findAccessibleObjectById):
455         (AccessibilityController::focusedElement):
456         (logEventProc):
457         (notificationListenerProc):
458         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
459         (AccessibilityUIElement::getChildAtIndex):
460         (AccessibilityUIElement::titleUIElement):
461         (self):
462         (AccessibilityUIElement::role):
463         (AccessibilityUIElement::valueDescription):
464         (accessibilityState):
465         (AccessibilityUIElement::isChecked):
466         * DumpRenderTree/win/DumpRenderTree.cpp:
467         (dumpFrameScrollPosition):
468         (dumpFramesAsText):
469         * DumpRenderTree/win/PolicyDelegate.cpp:
470         (PolicyDelegate::decidePolicyForNavigationAction):
471         * DumpRenderTree/win/UIDelegate.cpp:
472         (UIDelegate::exceededDatabaseQuota):
473         * WinLauncher/Common.cpp:
474         (setWindowText):
475
476 2015-01-19  Dean Jackson  <dino@apple.com>
477
478         Add "override" to fix the build with newer clangs.
479
480         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
481         (TestWebKitAPI::CalculationDeletionTestNode::operator==):
482
483 2015-01-19  David Kilzer  <ddkilzer@apple.com>
484
485         [iOS] Do not hard-code iphoneos.internal SDK in buildXCodeProject()
486         <http://webkit.org/b/140623>
487
488         Reviewed by Daniel Bates.
489
490         * Scripts/build-webkit: Update help for --device switch.
491         * Scripts/webkitdirs.pm:
492         (determineXcodeSDK): When passing --device, prefer the internal
493         iOS SDK if it exists, else fall back to the external iOS SDK.
494         (buildXCodeProject): Use xcodeSDK() as -sdk argument for
495         xcodebuild instead of trying to sanitize values.
496
497 2015-01-19  Alexey Proskuryakov  <ap@apple.com>
498
499         "Unknown option: sharedworkerglobalscopeconstructorsfile" when running bindings tests.
500         https://bugs.webkit.org/show_bug.cgi?id=140606
501
502         Reviewed by Csaba Osztrogonác.
503
504         * Scripts/webkitpy/bindings/main.py:
505         (BindingsTests.generate_supplemental_dependency):
506         (BindingsTests.main):
507
508 2015-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
509
510         [GTK] [WK2] TestWebKitWebView snapshot fails
511         https://bugs.webkit.org/show_bug.cgi?id=120404
512
513         Reviewed by Žan Doberšek.
514
515         Rework the test to make sure the snapshot is always created at the
516         desired size.
517
518         * Scripts/run-gtk-tests:
519         (TestRunner): Unskip /webkit2/WebKitWebView/snapshot.
520         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
521         (testWebViewSnapshot): Use a fixed size for the document, and
522         disable scrollbars to make sure the visible area is always the
523         WebView size.
524         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
525         (WebViewTest::showInWindowAndWaitUntilMapped): Add optional width
526         and height parameters to create the window with a given size.
527         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
528
529 2015-01-18  David Kilzer  <ddkilzer@apple.com>
530
531         iOS EWS queue name should be consistent
532         <http://webkit.org/b/140585>
533
534         Reviewed by Daniel Bates.
535
536         * Scripts/webkitpy/common/config/ews.json: Rename 'ios-device'
537         to 'ios'.
538         * Scripts/webkitpy/common/config/ports.py: Ditto.
539         (DeprecatedPort.port):
540         (IOSPort):
541         * Scripts/webkitpy/port/ios.py: Ditto.
542         (IOSPort):
543
544         * Scripts/webkitpy/port/factory.py:
545         (PortFactory): Re-order PORT_CLASSES so ios.IOSSimulatorPort
546         appears before ios.IOSPort.  If this is not done,
547         `run-webkit-tests --ios-simulator` will get the wrong Port class
548         (IOSPort instead of IOSSimulatorPort) due to the way that
549         PortFactory.get() uses prefix matching of <Port>.port_name to
550         find the correct class to use.
551
552 2015-01-18  Alexey Proskuryakov  <ap@apple.com>
553
554         build.webkit.org/dashboard: OS X EWS is now on Mavericks
555         https://bugs.webkit.org/show_bug.cgi?id=140595
556
557         Reviewed by Csaba Osztrogonác.
558
559         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
560         (BubbleQueueServer):
561
562 2015-01-17  David Kilzer  <ddkilzer@apple.com>
563
564         Attempt to fix webkitpy tests on Mountain Lion, Mavericks bots
565
566         * Scripts/webkitpy/port/ios.py:
567         (IOSPort): Add 'ios-device-7' to VERSION_FALLBACK_ORDER so that
568         test-webkitpy doesn't fail since iOS 7.x SDKs are installed on
569         the Mountain Lion and Mavericks bots.
570
571 2015-01-17  David Kilzer  <ddkilzer@apple.com>
572
573         Attempt to fix webkitpy tests on GTK Linux ports
574
575         * Scripts/webkitpy/port/ios.py:
576         (IOSPort.determine_full_port_name): Set a sensible default if
577         not running on a Mac platform or if no iOS SDK is installed.
578
579 2015-01-17  Jake Nielsen  <jacob_nielsen@apple.com>
580
581         Create iOS-EWS client queue
582         https://bugs.webkit.org/show_bug.cgi?id=140476
583
584         Reviewed by Alexey Proskuryakov.
585
586         * EWSTools/start-queue-mac.sh:
587         Adds call to configure-xcode-for-ios-development for iOS EWS.
588         * Scripts/webkitpy/common/config/ews.json:
589         Adds the iOS EWS config entry.
590         * Scripts/webkitpy/common/config/ports.py:
591         (DeprecatedPort.port):
592         Adds IOSPort to the port map.
593         (IOSPort):
594         (IOSPort.build_webkit_command):
595         Adds --sdk=iphoneos to the webkit build command.
596         * Scripts/webkitpy/port/base.py:
597         (Port.architecture):
598         Adds an accessor for the architecture member variable.
599         * Scripts/webkitpy/port/factory.py:
600         (PortFactory):
601         Adds IOSPort to the port class list.
602         * Scripts/webkitpy/port/ios.py:
603         Adds the IOSPort to encapsulate iOS-specific things.
604         (IOSPort):
605         (IOSPort.determine_full_port_name):
606         (IOSPort.__init__):
607         (IOSPort._build_driver_flags):
608         (IOSPort.operating_system):
609         * Scripts/webkitpy/tool/commands/download_unittest.py:
610         Adds the archetecture option to the mock options.
611         (DownloadCommandsTest._default_options):
612         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
613         Appends the archetecture option into calls to webkit-patch.
614         (AbstractEarlyWarningSystem.review_patch):
615         (AbstractEarlyWarningSystem.run_command):
616         (AbstractEarlyWarningSystem.load_ews_classes):
617         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
618         Adds logic to soothe the unittest now that --architecture is being
619         thrown around everywhere.
620         (EarlyWarningSystemTest._default_expected_logs):
621         * Scripts/webkitpy/tool/commands/queues.py:
622         Adds glue code to ferry the --architecture option around.
623         (AbstractQueue.__init__):
624         (PatchProcessingQueue.begin_work_queue):
625         * Scripts/webkitpy/tool/steps/abstractstep.py:
626         Adds the archetecture option to all AbstractSteps so that
627         EarlyWarningSystem doesn't start shoving --architecture into
628         unsuspecting commands.
629         (AbstractStep.options):
630         * Scripts/webkitpy/tool/steps/build.py:
631         Translates the --architecture option into an ARCHS= format to pass to
632         build-webkit.
633         (Build.build):
634         * Scripts/webkitpy/tool/steps/options.py:
635         Adds a definition for the --architecture option.
636         (Options):
637
638 2015-01-16  Sam Weinig  <sam@webkit.org>
639
640         Add a basic configuration object for WKView
641         https://bugs.webkit.org/show_bug.cgi?id=140559
642
643         Reviewed by Anders Carlsson.
644
645         Add tests for WKPageConfigurationRef.
646
647         * TestWebKitAPI/PlatformWebView.h:
648         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
649         * TestWebKitAPI/Tests/WebKit2/WKPageConfiguration.cpp: Added.
650         (TestWebKitAPI::TEST):
651         (TestWebKitAPI::didFinishLoadForFrame):
652         (TestWebKitAPI::setPageLoaderClient):
653         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
654         (TestWebKitAPI::PlatformWebView::initialize):
655         (TestWebKitAPI::PlatformWebView::PlatformWebView):
656
657 2015-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
658
659         WeakPtr functions crash when created with default constructor
660         https://bugs.webkit.org/show_bug.cgi?id=140479
661
662         Reviewed by Andreas Kling.
663
664         Add WeakPtr API tests.
665
666         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
667         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Added.
668         * TestWebKitAPI/Tests/WTF/Ref.cpp: Update to not use copy constructor.
669
670 2015-01-16  Chris Dumez  <cdumez@apple.com>
671
672         Regression(r178586): Caused webkitpy.w3c.test_converter_unittest.W3CTestConverterTest.test_convert_prefixed_properties to fail
673         https://bugs.webkit.org/show_bug.cgi?id=140568
674
675         Reviewed by Alexey Proskuryakov.
676
677         Fix the script parsing CSSPropertyNames.in to stop splitting lines
678         on '=' sign. The '=' sign is also used in StyleBuilder parameters:
679         e.g. "Longhands=background-position-x|background-position-y".
680         This would confuse the script and treat this as a CSS property:
681         "background-position-x|background-position-y".
682
683         We now split on white space and treat the first string on the line
684         to be the property name (this is the syntax in this file).
685
686         * Scripts/webkitpy/w3c/test_converter.py:
687         (_W3CTestConverter.__init__):
688         (_W3CTestConverter.read_webkit_prefixed_css_property_list):
689
690 2015-01-16  Daniel Bates  <dabates@apple.com>
691
692         REGRESSION (r171968): run-safari --simulator fails to launch Safari on iOS
693         https://bugs.webkit.org/show_bug.cgi?id=135589
694
695         Reviewed by David Kilzer.
696
697         Derived from a patch by David Farler.
698
699         Following the removal IPhoneSimulatorNotification.pm in <http://trac.webkit.org/changeset/171968>
700         run-safari --simulator fails to launch Safari on iOS. We need to implement run-safari
701         in terms of the simctl command line utility.
702
703         * Scripts/webkitdirs.pm: Added constant SIMULATOR_DEVICE_STATE_BOOTED.
704         (eraseIOSSimulatorDevice): Added.
705         (bootedIOSSimulatorDevice): Added.
706         (iosSimulatorApplicationsPath): Added.
707         (installedMobileSafariBundle): Implemented in terms of iosSimulatorApplicationsPath().
708         (openIOSSimulator): Modified to launch iOS Simulator using OPEN(1).
709         (quitIOSSimulator): Added.
710         (iosSimulatorDeviceByName): Modified to find the first simulator device that matches
711         the specified name and currently selected iOS runtime.
712         (isIOSSimulatorSystemInstalledApp): Added.
713         (runIOSWebKitAppInSimulator): Modified to use simctl launch to launch an app in the simulator.
714         (deleteiOSSimulatorDevice): Deleted.
715         (loadIPhoneSimulatorNotificationIfNeeded): Deleted.
716         (installAndLaunchIOSWebKitAppInSimulator): Deleted.
717
718 2015-01-16  Alex Christensen  <alex.christensen@flexsim.com>
719
720         Resurrect the WinCairo bot.
721         https://bugs.webkit.org/show_bug.cgi?id=139908
722
723         Reviewed by Csaba Osztrogonác.
724
725         * BuildSlaveSupport/build.webkit.org-config/config.json:
726         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
727         (appendCustomBuildFlags):
728         * BuildSlaveSupport/test-result-archive:
729         (archiveTestResults):
730         Add WinCairo buildbot.
731
732 2015-01-16  Chris Dumez  <cdumez@apple.com>
733
734         webkit-patch should auto-install the keyring python module
735         https://bugs.webkit.org/show_bug.cgi?id=140547
736
737         Reviewed by David Kilzer.
738
739         Auto-install the keyring python module. This is the module that
740         webkit-patch uses for cross-platform access to the keyring
741         service.
742
743         Without this module, if the password if not in the keychain,
744         webkit-patch will keep asking for your username / password and
745         never remember them.
746
747         * Scripts/webkitpy/common/net/credentials.py:
748         * Scripts/webkitpy/thirdparty/__init__.py:
749         (AutoinstallImportHook.find_module):
750         (AutoinstallImportHook._install_keyring):
751
752 2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
753
754         Remove ENABLE(SQL_DATABASE) guards
755         https://bugs.webkit.org/show_bug.cgi?id=140434
756
757         Reviewed by Darin Adler.
758
759         * Scripts/webkitperl/FeatureList.pm:
760
761 2015-01-15  Daniel Bates  <dabates@apple.com>
762
763         [iOS] REGRESSION (r174642): DumpRenderTree.app test may dump result twice
764         https://bugs.webkit.org/show_bug.cgi?id=139685
765         <rdar://problem/19281317>
766
767         Reviewed by Simon Fraser.
768
769         Fixes an issue where a test in DumpRenderTree.app may dump its result twice. In particular,
770         the test LayoutTests/fast/dom/gc-10.html may dump its result twice.
771
772         Following <http://trac.webkit.org/changeset/174642>, we dump the test result asynchronously
773         as opposed to synchronously. So, the WebThread or the main thread may perform other tasks
774         before DRT dumps the output of a test. In particular, the WebThread may start a new page
775         load (say, as a result of continued JavaScript execution), which will ultimately lead to
776         dumping the test result again. Instead we want DRT to dump the test result synchronously
777         such that we capture the state of the web page either when the page is loaded or when
778         window.testRunner.notifyDone() is called.
779
780         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
781         (createBitmapContextFromWebView): Moved logic to re-enable tile painting and update the
782         state of the display from here to updateDisplay(). Added call to -[CATransaction flush] to
783         flush CA transactions to the window.
784         * DumpRenderTree/mac/DumpRenderTree.mm:
785         (updateDisplay): Added iOS-specific code to update tiles and tell WebKit to flush
786         compositing changes to ensure that we have up-to-date tile content for a pixel/ref-test.
787         (dump): Renamed; formerly named dumpTestResults().
788         (displayWebView): Removed outdated FIXME comment. Added FIXME comment to investigate
789         enabling repaint support on iOS.
790         (-[DumpRenderTree _deferDumpToMainThread]): Deleted.
791         (-[DumpRenderTree _waitForWebThreadThenDump]): Deleted.
792         (dumpTestResults): Deleted.
793
794 2015-01-15  Brent Fulgham  <bfulgham@apple.com>
795
796         [Win] Miscellaneous DRT fixes
797         https://bugs.webkit.org/show_bug.cgi?id=116562
798
799         Reviewed by Tim Horton.
800
801         While investigating the cause of several Windows crashes, I found:
802         (1) Messy conversions to and from BSTR types
803         (2) Weird mixes of wide-string and narrow string conversions
804         (3) Passing nullptr to some CoreFoundation routines that do not
805             permit null arguments.
806         (4) Commands to link the executable to the VS2005 runtime.
807
808         This patch cleans up these issues to improve DRT reliability on
809         Windows.
810
811         * DumpRenderTree/cg/ImageDiffCG.cpp:
812         (main): Get rid of VS2005 runtime linking.
813         * DumpRenderTree/win/DumpRenderTree.cpp:
814         (urlSuitableForTestResult): Protect against being asked
815         to process an empty URL.
816         (dumpHistoryItem): Do BSTR string building using _bstr_t, rather
817         than converting to/from wchar_t buffers.
818         (runTest): Simplify string and BSTR handling.
819         (createWebViewAndOffscreenWindow): Ditto.
820         (main): Get rid of VS2005 runtime linking.
821         * DumpRenderTree/win/TestRunnerWin.cpp:
822         (jsStringRefToWString): Simplify code.
823         (TestRunner::pathToLocalResource):
824         (TestRunner::setUserStyleSheetLocation):
825         * TestWebKitAPI/win/main.cpp: Get rid of
826         VS2005 runtime linking.
827         * win/DLLLauncher/DLLLauncherMain.cpp:
828         (wWinMain): Ditto.
829
830 2015-01-15  Alexey Proskuryakov  <ap@apple.com>
831
832         Stop hardcoding mac-mountainlion in commit queue
833         https://bugs.webkit.org/show_bug.cgi?id=140492
834
835         Reviewed by Anders Carlsson.
836
837         Use "mac", not "mac-<platform>". This matches how EWS queues are initialized, and
838         there should be no change in behavior, because:
839         1. PatchProcessingQueue converts the name with _new_port_name_from_old() before
840         using it to create a port object.
841         2. Although it doesn't convert the name before using DeprecatedPort.port(), it
842         is actually correct to use "mac" for the name there. We only used to get the expected
843         behavior with "mac-mountainlion" accidentally, because of a fallback to "mac"
844         for unknown deprecated port names.
845
846         * Scripts/webkitpy/tool/commands/queues.py: (CommitQueue):
847
848 2015-01-14  Jake Nielsen  <jacob_nielsen@apple.com>
849
850         Create iOS-EWS server queue
851         https://bugs.webkit.org/show_bug.cgi?id=140473
852
853         Reviewed by Benjamin Poulain.
854
855         * QueueStatusServer/app.yaml: Updates the SVN version number.
856         * QueueStatusServer/config/queues.py: Add ios-ews queue.
857         * QueueStatusServer/model/queues.py:         
858         (Queue.display_name): Makes sure the display name is pretty!
859
860 2015-01-14  Daniel Bates  <dabates@apple.com>
861
862         [iOS] run-webkit-tests --ios hangs trying to launch iOS Simulator with unavailable runtime
863         https://bugs.webkit.org/show_bug.cgi?id=140301
864         <rdar://problem/19389266>
865
866         Reviewed by Jon Honeycutt.
867
868         Fixes an issue where run-webkit-tests --ios will hang when trying to launch iOS Simulator
869         with an unavailable runtime.
870
871         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
872         (_set_up_derived_options): Modified to access property Simulator.latest_available_runtime,
873         which was formerly called Simulator.latest_runtime. Additionally, raise an exception if the
874         specified runtime cannot be used because it is unavailable.
875         * Scripts/webkitpy/port/ios.py:
876         (IOSSimulatorPort.testing_device): Modified to call Simulator.lookup_or_create_device(),
877         which was formerly named testing_device.
878         * Scripts/webkitpy/xcode/simulator.py:
879         (Device.create): Modified to lookup created device by the UDID returned by simctl, which is
880         more robust than looking up the simulator device by name and runtime. This approach also
881         avoids returning the wrong device due to <rdar://problem/19444383> (simctl list shows
882         unavailable runtimes under the same iOS heading it would use to show it as available).
883         (Simulator.find_device_by_udid): Added.
884         (Simulator.device): Added optional parameter should_ignore_unavailable_devices (defaults
885         to False) to ignore devices that are unavailable (say, because their runtime is unavailable).
886         (Simulator.available_runtimes): Added.
887         (Simulator.latest_available_runtime): Renamed; formerly named latest_runtime. Take advantage
888         of the reverse=True argument to sorted() to sort the list of available runtimes such that the
889         first element of the sorted list is the runtime with the highest version number.
890         (Simulator.lookup_or_create_device): Renamed; formerly named testing_device.
891
892 2015-01-14  Csaba Osztrogonác  <ossy@webkit.org>
893
894         Remove WK2 Windows cruft
895         https://bugs.webkit.org/show_bug.cgi?id=140440
896
897         Reviewed by Anders Carlsson.
898
899         * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp: Removed.
900         * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp: Removed.
901         * WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp: Removed.
902
903 2015-01-13  Hunseop Jeong  <hs85.jeong@samsung.com>
904
905         Fix TestWTF failed in TestWebKitAPI
906         https://bugs.webkit.org/show_bug.cgi?id=140333
907
908         Reviewed by Sam Weinig.
909
910         Clear the std::ostringstream before starting test.
911
912         * TestWebKitAPI/Tests/WTF/RefLogger.h:
913         (TestWebKitAPI::DerivedRefLogger::DerivedRefLogger):
914
915 2015-01-13  Michael Catanzaro  <mcatanzaro@igalia.com>
916
917         TestWebKitWebContext depends on British English spellcheck dictionary
918         https://bugs.webkit.org/show_bug.cgi?id=140403
919
920         Reviewed by Martin Robinson.
921
922         Install all English hunspell dictionaries on Fedora and Arch.
923
924         * gtk/install-dependencies:
925
926 2015-01-13  Michael Catanzaro  <mcatanzaro@igalia.com>
927
928         [GTK] install-dependencies should grok dnf
929         https://bugs.webkit.org/show_bug.cgi?id=140396
930
931         Reviewed by Martin Robinson.
932
933         Fedora: install dependencies with dnf if yum is not installed.
934
935         * gtk/install-dependencies:
936
937 2015-01-12  Hunseop Jeong  <hs85.jeong@samsung.com>
938
939         [EFL][GTK] Fix build after r178309  
940         https://bugs.webkit.org/show_bug.cgi?id=140381
941
942         Reviewed by Gyuyoung Kim.
943
944         * TestWebKitAPI/CMakeLists.txt: Added the API directory
945
946 2015-01-11  Sam Weinig  <sam@webkit.org>
947
948         Remove support for SharedWorkers
949         https://bugs.webkit.org/show_bug.cgi?id=140344
950
951         Reviewed by Anders Carlsson.
952
953         * Scripts/webkitperl/FeatureList.pm:
954
955 2015-01-12  Anders Carlsson  <andersca@apple.com>
956
957         Make delegates conform to formal delegate protocols
958         https://bugs.webkit.org/show_bug.cgi?id=140370
959
960         Reviewed by Dan Bernstein.
961
962         * DumpRenderTree/mac/TestRunnerMac.mm:
963         (TestRunner::numberOfPendingGeolocationPermissionRequests):
964         (TestRunner::setGeolocationPermission):
965
966 2015-01-10  Michael Catanzaro  <mcatanzaro@igalia.com>
967
968         build-webkit: silence output of 'which'
969         https://bugs.webkit.org/show_bug.cgi?id=140278
970
971         Reviewed by Daniel Bates.
972
973         Use a more elegent test for the existance of ninja and eclipse.
974
975         * Scripts/webkitdirs.pm:
976         (commandExists): Don't assume the command supports --version
977         (canUseNinja): Use commandExists()
978         (canUseEclipse): Use commandExists()
979
980 2015-01-09  Sam Weinig  <sam@webkit.org>
981
982         Update the output format for run-api-tests
983         https://bugs.webkit.org/show_bug.cgi?id=140332
984
985         Reviewed by Dan Bernstein.
986
987         Changes the output format for run-api-tests be a bit simpler (no longer 
988         indented based on suite, as we were not really using suite very well) but
989         also include details in the case of failure.
990
991         Changes verbose mode to no longer spew out the gtest default printer output,
992         as the custom printer now includes the failure information.
993
994         * Scripts/run-api-tests:
995         (runTestsBySuite):
996         (runTest):
997         Augment the custom gtest printer by replacing the tokens "**PASS**" and "**FAIL**"
998         with colorized variants and strip out leaks spew (the leaks can be added back using
999         the new --show-leaks argument).
1000
1001         * TestWebKitAPI/TestsController.cpp:
1002         (TestWebKitAPI::Printer::OnTestPartResult):
1003         (TestWebKitAPI::Printer::OnTestEnd):
1004         (TestWebKitAPI::TestsController::run):
1005         Implement a custom result printer that just prints out the information we want.
1006
1007 2015-01-09  Sam Weinig  <sam@webkit.org>
1008
1009         TestWebKitAPI should print out the lists that fail at the end
1010         https://bugs.webkit.org/show_bug.cgi?id=140329
1011
1012         Reviewed by Tim Horton.
1013
1014         * Scripts/run-api-tests:
1015         (runTestsBySuite):
1016         Print out failures and timeouts in all modes, not just verbose.
1017
1018 2015-01-07  Geoffrey Garen  <ggaren@apple.com>
1019
1020         Make bmalloc work with ASan
1021         https://bugs.webkit.org/show_bug.cgi?id=140194
1022
1023         Reviewed by Mark Lam.
1024
1025         * asan/asan.xcconfig: No need to disable FastMalloc; bmalloc supports
1026         ASan automatically (by forwarding to system malloc at runtime).
1027
1028 2015-01-09  Daniel Bates  <dabates@apple.com>
1029
1030         [iOS] Make DumpRenderTree build with public SDK
1031         https://bugs.webkit.org/show_bug.cgi?id=140311
1032
1033         Reviewed by Sam Weinig.
1034
1035         Use CGRound() instead of the obsolete macro function _ROUNDF_ (defined in
1036         header UIKit/UIMath.h), and std::max() instead of the macro function MAX.
1037         Additionally, remove unused header CoreGraphics/CGFontDB.h.
1038
1039         * DumpRenderTree/mac/DumpRenderTree.mm:
1040         (-[ScrollViewResizerDelegate view:didSetFrame:oldFrame:asResultOfZoom:]):
1041
1042 2015-01-09  Alexey Proskuryakov  <ap@apple.com>
1043
1044         platform/mac-wk2/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html fails on Retina machines
1045         https://bugs.webkit.org/show_bug.cgi?id=140300
1046
1047         Reviewed by Simon Fraser.
1048
1049         * WebKitTestRunner/TestController.cpp:
1050         (WTR::TestController::createOtherPage):
1051         (WTR::TestController::updateWindowScaleForTest):
1052         (WTR::TestController::configureViewForTest):
1053         * WebKitTestRunner/TestController.h:
1054
1055 2015-01-09  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
1056
1057         Unreviewed. Moving myself to the committer section.
1058
1059         * Scripts/webkitpy/common/config/contributors.json:
1060
1061 2015-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1062
1063         Add a script to check for platform layering violations
1064         https://bugs.webkit.org/show_bug.cgi?id=140248
1065
1066         Reviewed by Darin Adler.
1067
1068         It prints all the cases where files inside platform include
1069         headers that are not in platform directory.
1070
1071         * Scripts/check-for-platform-layering-violations: Added.
1072         (get_platform_headers):
1073         (check_source_file):
1074
1075 2015-01-08  Alexey Proskuryakov  <ap@apple.com>
1076
1077         [Mac WK2] Test snapshots are 1600x1200 on Retina devices
1078         https://bugs.webkit.org/show_bug.cgi?id=139884
1079
1080         Reviewed by Tim Horton.
1081
1082         * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
1083         Tell CGWindowListCreateImage to use the correct resolution. I don't really understand
1084         what the "nominal resolution" is, but this appears to work in practice.
1085
1086 2015-01-08  Brent Fulgham  <bfulgham@apple.com>
1087
1088         [Win] DumpRenderTree is always using 800x600 size, even if tests need other size.
1089         https://bugs.webkit.org/show_bug.cgi?id=140256
1090
1091         Reviewed by Anders Carlsson.
1092
1093         * DumpRenderTree/win/DumpRenderTree.cpp:
1094         (resetWebPreferencesToConsistentValues): Drive-by fix of a buffer overrun found while
1095         running with heap validation checks.
1096         (sizeWebViewForCurrentTest): Check both path separators ('/' and '\\') when checking for
1097         the "svg\\W3C-SVG-1.1" test directory.
1098         (removeFontFallbackIfPresent): Use nullptr instead of 0.
1099         * DumpRenderTree/win/TestRunnerWin.cpp:
1100         (TestRunner::clearPersistentUserStyleSheet): Ditto.
1101
1102 2015-01-08  Alexey Proskuryakov  <ap@apple.com>
1103
1104         Follow-up to:  When WebProcess is slow to respond to IPC, that's mistakenly reported as crash
1105         https://bugs.webkit.org/show_bug.cgi?id=140218
1106
1107         * Scripts/webkitpy/port/driver.py: (Driver._check_for_driver_crash_or_unresponsiveness):
1108         Undone an accidental change - check for self.has_crashed() again. This code path
1109         is for ports that don't have a signal handler printing #CRASHED when main process
1110         crashes.
1111
1112         * Scripts/webkitpy/port/driver_unittest.py:
1113         (DriverTest.test_check_for_driver_crash.assert_crash):
1114         (DriverTest.test_check_for_driver_crash):
1115         Updated the tests, all changes are expected.
1116
1117 2015-01-08  Alexey Proskuryakov  <ap@apple.com>
1118
1119         When WebProcess is slow to respond to IPC, that's mistakenly reported as crash
1120         https://bugs.webkit.org/show_bug.cgi?id=140218
1121
1122         Reviewed by Darin Adler.
1123
1124         * Scripts/webkitpy/port/driver.py:
1125         (Driver.__init__): Removed _subprocess_was_unresponsive that was a modifier for
1126         "process crashed" condition. These don't make sense together - it's either a crash
1127         or a timeout, and we should detect those properly at a much lower level.
1128         (Driver.run_test): Ditto.
1129         (Driver._check_for_driver_crash_or_unresponsiveness): Split crash and unresponsiveness
1130         cases.
1131
1132         * WebKitTestRunner/TestController.h:
1133         * WebKitTestRunner/TestController.cpp:
1134         (WTR::TestController::webProcessName): 
1135         (WTR::TestController::processDidCrash):
1136         Factored out hardcoded child process names, as we now use these in two places.
1137
1138         * WebKitTestRunner/TestInvocation.cpp:
1139         (WTR::TestInvocation::dumpWebProcessUnresponsiveness): Dump an accurate child
1140         process name, so that it can be sampled (fixes sampling on Mavericks and above).
1141
1142 2015-01-08  Zan Dobersek  <zdobersek@igalia.com>
1143
1144         Reorder my list of email addresses, keeping the Bugzilla address at the
1145         top since Bugzilla and other webkitpy scripts rely on that ordering.
1146
1147         * Scripts/webkitpy/common/config/contributors.json:
1148
1149 2015-01-08  Zan Dobersek  <zdobersek@igalia.com>
1150
1151         Moving myself to the reviewers section and updating
1152         the list of my email addresses.
1153
1154         * Scripts/webkitpy/common/config/contributors.json:
1155
1156 2015-01-07  Michael Catanzaro  <mcatanzaro@igalia.com>
1157
1158         [GTK] Build gtk-doc without gtkdoc-mktmpl
1159         https://bugs.webkit.org/show_bug.cgi?id=140225
1160
1161         Reviewed by Darin Adler.
1162
1163         Stop calling gtkdoc-mktmpl. It's being removed upstream, and since we
1164         don't modify the tmpl files that it generates, it's not doing anything
1165         for us.
1166
1167         * gtk/gtkdoc.py:
1168         (GTKDoc.generate):
1169         (GTKDoc._run_gtkdoc_scangobj):
1170         (GTKDoc._run_gtkdoc_mktmpl): Deleted.
1171
1172 2015-01-07  Gwang Yoon Hwang  <yoon@igalia.com>
1173
1174         [GTK][ThreadedCompositor] Add support for threaded compositor.
1175         https://bugs.webkit.org/show_bug.cgi?id=118265
1176
1177         Reviewed by Martin Robinson.
1178
1179         Added the ENABLE_THREADED_COMPOSITOR feature flag to the cmake and
1180         autotools build systems. The feature is disabled by default.
1181         And remove deprecated the WTF_USE_TILED_BACKING_STORE feature flag
1182         from the feature flags.
1183
1184         * Scripts/webkitperl/FeatureList.pm:
1185
1186 2015-01-07  Daniel Bates  <dabates@apple.com>
1187
1188         [iOS] Make WebKit2 build with public iOS SDK and more build fixes for DRT
1189         https://bugs.webkit.org/show_bug.cgi?id=137371
1190
1191         Reviewed by David Kilzer.
1192
1193         Use SPI wrapper headers instead of directly referencing private SPI headers.
1194
1195         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
1196         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
1197         * DumpRenderTree/mac/Configurations/Base.xcconfig: Append directory Source/WebKit2/Platform/spi/ios
1198         to the list of iOS header search directories so that we can include header UIKitSPI.h.
1199         * DumpRenderTree/mac/DumpRenderTree.mm:
1200         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
1201         * DumpRenderTree/mac/EventSendingController.mm:
1202         * DumpRenderTree/mac/TestRunnerMac.mm:
1203
1204 2015-01-07  Commit Queue  <commit-queue@webkit.org>
1205
1206         Unreviewed, rolling out r178068.
1207         https://bugs.webkit.org/show_bug.cgi?id=140235
1208
1209         Breaks the iOS build (Requested by enrica on #webkit).
1210
1211         Reverted changeset:
1212
1213         "[iOS] Make WebKit2 build with public iOS SDK and more build
1214         fixes for DRT"
1215         https://bugs.webkit.org/show_bug.cgi?id=137371
1216         http://trac.webkit.org/changeset/178068
1217
1218 2015-01-07  Daniel Bates  <dabates@apple.com>
1219
1220         [iOS] Make WebKit2 build with public iOS SDK and more build fixes for DRT
1221         https://bugs.webkit.org/show_bug.cgi?id=137371
1222
1223         Reviewed by David Kilzer.
1224
1225         Use SPI wrapper headers instead of directly referencing private SPI headers.
1226
1227         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
1228         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
1229         * DumpRenderTree/mac/Configurations/Base.xcconfig: Append directory Source/WebKit2/Platform/spi/ios
1230         to the list of header search directories so that we can include header UIKitSPI.h.
1231         * DumpRenderTree/mac/DumpRenderTree.mm:
1232         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
1233         * DumpRenderTree/mac/EventSendingController.mm:
1234         * DumpRenderTree/mac/TestRunnerMac.mm:
1235
1236 2015-01-07  Brent Fulgham  <bfulgham@apple.com>
1237
1238         [Win] Unreviewed test change to improve run reproducibility
1239
1240         * Scripts/webkitpy/port/win.py:
1241         (WinPort.default_child_processes): Run a single DRT instance to help
1242         identify failures caused by earlier test runs.
1243
1244 2015-01-07  Myles C. Maxfield  <mmaxfield@apple.com>
1245
1246         Myles C. Maxfield is a reviewer now
1247         https://bugs.webkit.org/show_bug.cgi?id=140196
1248
1249         Reviewed by Dean Jackson.
1250
1251         * Scripts/webkitpy/common/config/contributors.json:
1252
1253 2015-01-07  Myles C. Maxfield  <mmaxfield@apple.com>
1254
1255         Make webkit-patch try harder to find keychain credentials
1256         https://bugs.webkit.org/show_bug.cgi?id=140170
1257
1258         Reviewed by Ryosuke Niwa.
1259
1260         When the user manually enters a password into webkit-patch, we hand that off to the
1261         Keyring Python module. However, that module creates a generic password entry instead
1262         of an internet password entry. We should look for both kinds.
1263
1264         * Scripts/webkitpy/common/net/credentials.py:
1265         (Credentials._run_security_tool):
1266         (Credentials._credentials_from_keychain):
1267         * Scripts/webkitpy/common/net/credentials_unittest.py:
1268         (test_security_output_parse_entry_not_found):
1269         (_assert_security_call):
1270
1271 2015-01-06  Anders Carlsson  <andersca@apple.com>
1272
1273         Try to fix the Mountain Lion build.
1274
1275         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
1276         (TestWebKitAPI::didGetImageForMatchResult):
1277
1278 2015-01-06  Alexey Proskuryakov  <ap@apple.com>
1279
1280         Debug ASan builds frequently crash in Register::jsValue under DFG::prepareOSREntry
1281         https://bugs.webkit.org/show_bug.cgi?id=140095
1282
1283         Reviewed by Anders Carlsson.
1284
1285         * asan/webkit-asan-ignore.txt: Blacklist a function that gets inlined in release
1286         builds, but not in debug ones.
1287
1288 2015-01-06  Brent Fulgham  <bfulgham@apple.com>
1289
1290         [Win] Extend WinLauncher with support for Page Zoom
1291         https://bugs.webkit.org/show_bug.cgi?id=140152
1292
1293         Reviewed by Anders Carlsson.
1294
1295         * WinLauncher/Common.cpp:
1296         (WndProc):
1297         * WinLauncher/WinLauncher.cpp:
1298         (WinLauncher::resetZoom):
1299         (WinLauncher::zoomIn):
1300         (WinLauncher::zoomOut):
1301         * WinLauncher/WinLauncher.h:
1302         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc:
1303         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h:
1304         * win/DLLLauncher/DLLLauncherMain.cpp:
1305         (wWinMain):
1306
1307 2015-01-06  Anders Carlsson  <andersca@apple.com>
1308
1309         Fix API tests that are broken under HiDPI
1310         https://bugs.webkit.org/show_bug.cgi?id=140146
1311
1312         Reviewed by Tim Horton.
1313
1314         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
1315         (TestWebKitAPI::didGetImageForMatchResult):
1316         NSImages are measured in points, so grab the underlying bitmap image and get its size in pixels.
1317
1318         * TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
1319         (TestWebKitAPI::DeviceScaleFactorOnBack::runTest):
1320         Don't assume that a web view not in a window has a backing scale factor of 1. Instead, always have web views start
1321         out in a window that has a backing scale factor of 1.
1322  
1323         * TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
1324         (TestWebKitAPI::DynamicDeviceScaleFactor::runTest):
1325         Ditto.
1326
1327 2015-01-06  Alexey Proskuryakov  <ap@apple.com>
1328
1329         ADDRESS_SANITIZER macro is overloaded
1330         https://bugs.webkit.org/show_bug.cgi?id=140130
1331
1332         Reviewed by Anders Carlsson.
1333
1334         * WebKitTestRunner/TestController.cpp: Use the new macro.
1335
1336 2015-01-05  Joseph Pecoraro  <pecoraro@apple.com>
1337
1338         Remove some stale class names in check-for-inappropriate-objc-class-names
1339         https://bugs.webkit.org/show_bug.cgi?id=140104
1340
1341         Reviewed by Darin Adler.
1342
1343         * Scripts/check-for-inappropriate-objc-class-names:
1344         These UIWK* classes no longer exist.
1345
1346 2015-01-05  Anders Carlsson  <andersca@apple.com>
1347
1348         heap-buffer-overflow on fast/loader/reload-zero-byte-plugin.html
1349         https://bugs.webkit.org/show_bug.cgi?id=140096
1350         rdar://problem/19368938
1351
1352         Reviewed by Alexey Proskuryakov.
1353
1354         When creating a new page, don't pass clientInfo when setting up the frame and policy clients,
1355         since clientInfo points to a web view, not the test controller.
1356
1357         * WebKitTestRunner/TestController.cpp:
1358         (WTR::TestController::createOtherPage):
1359
1360 2015-01-05  Hunseop Jeong  <hs85.jeong@samsung.com>
1361
1362         [EFL][GTK] WKPreferencesDefaults test failed after r177506 
1363         https://bugs.webkit.org/show_bug.cgi?id=140077
1364
1365         Reviewed by Csaba Osztrogonác.
1366
1367         WebKit C SPI is available on EFL,GTK.
1368         Changed the define order to pass the API test.
1369
1370         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
1371         (TestWebKitAPI::TEST):
1372
1373 2015-01-01  Alexey Proskuryakov  <ap@apple.com>
1374
1375         Simplify WebKitTestRunner timeout tracking
1376         https://bugs.webkit.org/show_bug.cgi?id=140036
1377
1378         Reviewed by Darin Adler.
1379
1380         The code for configuring timeouts was mostly dead, because run-webkit-tests never
1381         passes the --timeout option to WebKitTestRunner.
1382
1383         * WebKitTestRunner/Options.h:
1384         * WebKitTestRunner/Options.cpp:
1385         (WTR::Options::Options):
1386         (WTR::OptionsHandler::OptionsHandler):
1387         (WTR::handleOptionTimeout): Deleted.
1388         Removed support for --timeout. Timeouts are passed for each test individually,
1389         and defaults are good enough for the rare cases where WebKitTestRunner is run
1390         manually without run-webkit-tests.
1391
1392         * WebKitTestRunner/TestController.cpp:
1393         (WTR::TestController::TestController):
1394         (WTR::TestController::initialize):
1395         (WTR::TestController::resetStateToConsistentValues):
1396         (WTR::TestController::reattachPageToWebProcess):
1397         (WTR::TestController::runUntil):
1398         * WebKitTestRunner/TestController.h:
1399         Simplified runUntil by passing the actual timeout, not an enum.
1400         Increased short timeout for ASan enabled builds, as WebProcess launching takes
1401         quite a while.
1402
1403         * WebKitTestRunner/TestInvocation.cpp:
1404         (WTR::TestInvocation::invoke): Removed dead code that handled a timeout from NoTimeout.
1405
1406         * WebKitTestRunner/efl/TestControllerEfl.cpp:
1407         (WTR::TestController::platformRunUntil):
1408         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
1409         (WTR::TestController::platformRunUntil):
1410         Build fixes.
1411
1412 2015-01-02  Anders Carlsson  <andersca@apple.com>
1413
1414         Remove now unused storage tracker glue from DumpRenderTree
1415         https://bugs.webkit.org/show_bug.cgi?id=140045
1416
1417         Reviewed by Darin Adler.
1418
1419         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1420         * DumpRenderTree/StorageTrackerDelegate.h: Removed.
1421         * DumpRenderTree/StorageTrackerDelegate.mm: Removed.
1422         * DumpRenderTree/TestRunner.cpp:
1423         (TestRunner::staticFunctions):
1424         (syncLocalStorageCallback): Deleted.
1425         (observeStorageTrackerNotificationsCallback): Deleted.
1426         (deleteAllLocalStorageCallback): Deleted.
1427         (deleteLocalStorageForOriginCallback): Deleted.
1428         (localStorageDiskUsageForOriginCallback): Deleted.
1429         (originsWithLocalStorageCallback): Deleted.
1430         * DumpRenderTree/TestRunner.h:
1431         * DumpRenderTree/mac/DumpRenderTree.mm:
1432         (allocateGlobalControllers):
1433         (releaseGlobalControllers):
1434         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1435         * DumpRenderTree/mac/TestRunnerMac.mm:
1436         (TestRunner::syncLocalStorage): Deleted.
1437         (TestRunner::localStorageDiskUsageForOrigin): Deleted.
1438         (TestRunner::observeStorageTrackerNotifications): Deleted.
1439         (TestRunner::deleteAllLocalStorage): Deleted.
1440         (TestRunner::originsWithLocalStorage): Deleted.
1441         (TestRunner::deleteLocalStorageForOrigin): Deleted.
1442         * DumpRenderTree/win/TestRunnerWin.cpp:
1443         (TestRunner::syncLocalStorage): Deleted.
1444         (TestRunner::localStorageDiskUsageForOrigin): Deleted.
1445         (TestRunner::observeStorageTrackerNotifications): Deleted.
1446         (TestRunner::deleteAllLocalStorage): Deleted.
1447         (TestRunner::originsWithLocalStorage): Deleted.
1448         (TestRunner::deleteLocalStorageForOrigin): Deleted.
1449
1450 2015-01-01  Darin Adler  <darin@apple.com>
1451
1452         We often misspell identifier as "identifer"
1453         https://bugs.webkit.org/show_bug.cgi?id=140025
1454
1455         Reviewed by Michael Saboff.
1456
1457         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
1458         * Scripts/webkitdirs.pm:
1459         (appIdentifierFromBundle):
1460         (installAndLaunchIOSWebKitAppInSimulator):
1461         Fix misspellings
1462
1463 2015-01-01  Zalan Bujtas  <zalan@apple.com>
1464
1465         Saturated arithmetics: Incorrect float/double clamping.
1466         https://bugs.webkit.org/show_bug.cgi?id=139888
1467         rdar://problem/19330885
1468
1469         Reviewed by Simon Fraser.
1470
1471         Clamp float and double values correctly when applying saturated arithmetics.
1472
1473         * TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:
1474         (TestWebKitAPI::TEST):
1475
1476 2014-12-30  Krzysztof Czech  <k.czech@samsung.com>
1477
1478         [EFL] Bump version of ATK used by jhbuild to 2.15.2
1479         https://bugs.webkit.org/show_bug.cgi?id=139816
1480
1481         Reviewed by Gyuyoung Kim.
1482
1483         Bump version of ATK used by jhbuild to 2.15.2
1484
1485         * efl/jhbuild.modules:
1486
1487 2014-12-29  Fabien Vallée  <fvallee@connected-labs.com>
1488
1489         [jhBuild] cairo build error (-flto)
1490         https://bugs.webkit.org/show_bug.cgi?id=139056
1491
1492         Reviewed by Philippe Normand.
1493
1494         cairo fails to link  with gcc 4.9 due to lto
1495         related issue. This problem has been partially
1496         addressed by cairo:
1497         http://cgit.freedesktop.org/cairo/commit/?id=c3645d97ebd24c6f7ad850785d585aebc706a11c
1498         use the cairo --disable-lto option and remove jhbuild
1499         makeargs fixes the issue.
1500
1501         * gtk/jhbuild.modules:
1502         * gtk/patches/cairo-1.12.8-add_disable-lto.patch: Added.
1503
1504 2014-12-27  Myles C. Maxfield  <mmaxfield@apple.com>
1505         [Mac] Enable kerning, ligatures, and printer fonts 
1506         https://bugs.webkit.org/show_bug.cgi?id=139970
1507
1508         Rubber stamped by Simon Fraser.
1509
1510         Flip the switch.
1511
1512         * DumpRenderTree/mac/DumpRenderTree.mm:
1513         * WebKitTestRunner/TestController.cpp:
1514         * WebKitTestRunner/mac/main.mm:
1515
1516 2014-12-26  Dan Bernstein  <mitz@apple.com>
1517
1518         <rdar://problem/19348208> REGRESSION (r177027): iOS builds use the wrong toolchain
1519         https://bugs.webkit.org/show_bug.cgi?id=139950
1520
1521         Reviewed by David Kilzer.
1522
1523         * asan/asan.xcconfig: Only define TOOLCHAINS when building for OS X, doing so
1524         in a manner that works with Xcode 5.1.1.
1525
1526 2014-12-24  Dan Bernstein  <mitz@apple.com>
1527
1528         Engineering builds of MiniBrowser ignore deprecated declaration warnings
1529         https://bugs.webkit.org/show_bug.cgi?id=139941
1530
1531         Reviewed by Darin Adler.
1532
1533         * MiniBrowser/Configurations/Base.xcconfig: Added semicolon.
1534         * MiniBrowser/Configurations/DebugRelease.xcconfig: Set GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS
1535         to YES.
1536         * MiniBrowser/mac/AppDelegate.m:
1537         (-[BrowserAppDelegate openDocument:]): Use NSFileHandlingPanelOKButton instead of
1538         deprecated NSOKButton.
1539
1540 2014-12-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1541
1542         W3C test importer should have an option to disable testharness.js/testharnessreport.js link conversion
1543         https://bugs.webkit.org/show_bug.cgi?id=134763
1544
1545         Reviewed by Ryosuke Niwa.
1546
1547         Adding an option to disable test harness link conversion.
1548
1549         * Scripts/webkitpy/w3c/test_converter.py:
1550         (convert_for_webkit):
1551         (_W3CTestConverter.__init__):
1552         (_W3CTestConverter.convert_attributes_if_needed):
1553         * Scripts/webkitpy/w3c/test_importer.py:
1554         (parse_args):
1555         (TestImporter.import_tests):
1556
1557 2014-12-23  Alexey Proskuryakov  <ap@apple.com>
1558
1559         DumpRenderTree crashes are mis-reported as timeouts on Yosemite
1560         https://bugs.webkit.org/show_bug.cgi?id=139933
1561
1562         Reviewed by Daniel Bates.
1563
1564         Crash logs take a very long time to be generated on Yosemite (rdar://problem/18701447),
1565         and there is no way for run-webkit-tests to tell a crashed process from a frozen one
1566         until ReportCrash lets it go.
1567
1568         Reuse existing machinery that tells run-webkit-tests about crashes. The script may
1569         even get the actual crash log eventually - even when it times out waiting for the log, it
1570         makes a second lookup at the very end, after all tests finish. There may be further
1571         improvements needed here, but this small fix addresses most cases that happen in practice.
1572
1573         * DumpRenderTree/mac/DumpRenderTree.mm:
1574         (writeCrashedMessageOnFatalError):
1575         (dumpRenderTree):
1576         Removed PLATFORM(IOS) ifdefs, this code is just as helpful on Mac.
1577
1578         * Scripts/webkitpy/port/driver.py: (Driver._check_for_driver_crash): Removed an
1579         unhelpful comment.
1580
1581 2014-12-23  Alexey Proskuryakov  <ap@apple.com>
1582
1583         Don't force -O1 for debug ASan builds
1584         https://bugs.webkit.org/show_bug.cgi?id=139926
1585
1586         Reviewed by Darin Adler.
1587
1588         * asan/asan.xcconfig:
1589
1590 2014-12-23  Alexey Proskuryakov  <ap@apple.com>
1591
1592         Simplify building with ASan
1593         https://bugs.webkit.org/show_bug.cgi?id=139916
1594
1595         Reviewed by Mark Rowe.
1596
1597         * Scripts/set-webkit-configuration: Store ASan state into a new configuration file.
1598         We could also update Configuration file format, but that's a little scary because
1599         of how many places in code read it.
1600
1601         * Scripts/webkitdirs.pm:
1602         (determineASanIsEnabled): Read it from ASan configuration file.
1603         (argumentsForConfiguration): Added a FIXME.
1604         (asanIsEnabled): A caching wrapper similar to what we have for other configuration options.
1605         (XcodeOptions): Pass the options needed for ASan.
1606
1607         * asan/asan.xcconfig: Use the right toolchains. Made warnings fatal again, as there
1608         no warnings to avoid. Removed explicit linking options, as -fsanitize=address does
1609         that automatically.
1610
1611 2014-12-23  Alexey Proskuryakov  <ap@apple.com>
1612
1613         TestWebKitAPI build is broken when ASan is enabled
1614         https://bugs.webkit.org/show_bug.cgi?id=139902
1615
1616         Reviewed by Darin Adler.
1617
1618         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
1619         * TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig:
1620         Inherit linker flags from DebugRelease, which respects ASAN.
1621
1622 2014-12-22  Simon Fraser  <simon.fraser@apple.com>
1623
1624         Sort the Xcode project file.
1625
1626         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1627
1628 2014-12-22  Lucas Forschler  <lforschler@apple.com>
1629
1630         Update apple-mac-114 to bot629.
1631         
1632         Unreviewed.
1633         
1634         * BuildSlaveSupport/build.webkit.org-config/config.json:
1635
1636 2014-12-22  Lucas Forschler  <lforschler@apple.com>
1637
1638         Replace Apple bot104 with bot124.
1639         
1640         Unreviewed.
1641         
1642         * BuildSlaveSupport/build.webkit.org-config/config.json:
1643
1644 2014-12-22  Csaba Osztrogonác  <ossy@webkit.org>
1645
1646         URTBF after r177639.
1647
1648         * TestWebKitAPI/CMakeLists.txt:
1649
1650 2014-12-22  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
1651
1652         [EFL] MiniBrowser steals web view's focus
1653         https://bugs.webkit.org/show_bug.cgi?id=139482
1654
1655         Reviewed by Gyuyoung Kim.
1656
1657         Although we set focus on ewk_view while MiniBrowser initialization
1658         Ecore steals it in a favor of main window. As a result
1659         focused element on web page is unable to receive events.
1660
1661         * MiniBrowser/efl/main.c:
1662         (window_create):
1663         Prevent window from stealing web view's focus on start up.
1664
1665 2014-12-19  Brent Fulgham  <bfulgham@apple.com>
1666
1667         [Win] Revise DRT logic to match Mac.
1668
1669         Rubberstamped by Anders Carlsson.
1670
1671         Update the Windows logic to perform initialization of preferences and WebKit
1672         settings to match Mac. Also make sure that we only ever emit #EOF tokens under
1673         the same circumstances as the Mac version.
1674
1675         * DumpRenderTree/win/DumpRenderTree.cpp:
1676         (dump):
1677         (resetWebPreferencesToConsistentValues):
1678         (setDefaultsToConsistentValuesForTesting):
1679         (resetWebViewToConsistentStateBeforeTesting):
1680         (sizeWebViewForCurrentTest):
1681         (runTest):
1682         (createWebViewAndOffscreenWindow):
1683         (allocateGlobalControllers):
1684         (prepareConsistentTestingEnvironment):
1685         (main):
1686         (resetDefaultsToConsistentValues): Deleted.
1687
1688 2014-12-19  Roger Fong  <roger_fong@apple.com>
1689
1690         Unreviewed. Rollout r177605.
1691
1692         * EWSTools/start-queue-win.sh:
1693
1694 2014-12-19  Roger Fong  <roger_fong@apple.com>
1695
1696         Unreviewed. Try running EWS scripts without —no-confirm, since it defaults to true.
1697
1698         * EWSTools/start-queue-win.sh:
1699
1700 2014-12-19  Daniel Bates  <dabates@apple.com>
1701
1702         [iOS] Add WebKitSystemInterface for iOS 8.1
1703         https://bugs.webkit.org/show_bug.cgi?id=139831
1704
1705         Reviewed by Alexey Proskuryakov.
1706
1707         Implement support in copy-webkitlibraries-to-product-directory to copy
1708         WebKitSystemInterface for iOS to the product directory and have build-webkit
1709         pass --wksi to copy-webkitlibraries-to-product-directory when building for iOS.
1710
1711         * Scripts/build-webkit:
1712         * Scripts/copy-webkitlibraries-to-product-directory:
1713
1714 2014-12-19  Daniel Bates  <dabates@apple.com>
1715
1716         copy-webkitlibraries-to-product-directory uses wrong SDK when called from build-webkit
1717         https://bugs.webkit.org/show_bug.cgi?id=139829
1718
1719         Reviewed by Alexey Proskuryakov.
1720
1721         The script build-webkit calls script copy-webkitlibraries-to-product-directory with
1722         argument --sdk to specify the Xcode SDK to use, but copy-webkitlibraries-to-product-directory
1723         expects the Xcode SDK to be specified using the --sdk-name command line argument.
1724
1725         Currently copy-webkitlibraries-to-product-directory has its own logic to handle
1726         parsing for a specified Xcode SDK. Instead we should make use of the webkitdirs.pm
1727         logic to both avoid duplicating effort and make the command line options for
1728         copy-webkitlibraries-to-product-directory for specify the Xcode SDK consistent
1729         with the approach used in other WebKit tools.
1730
1731         As a side effect of making use of the webkitdirs.pm logic for determining the Xcode SDK
1732         copy-webkitlibraries-to-product-directory now recognizes --device and --simulator
1733         shorthands for --sdk=iphoneos.internal and --sdk=iphonesimulator, respectively.
1734
1735         * Scripts/copy-webkitlibraries-to-product-directory: Also, renamed some variables to
1736         improve the readability of the code.
1737         (executeRanlib): Added; convenience function that calls the RANLIB(1) with the appropriate
1738         Xcode SDK. We pass -no_warning_for_no_symbols to RANLIB(1) when using an Xcode SDK
1739         for iOS since it's acceptable that an empty object file (say, for a Mac-specific feature)
1740         be included in a library.
1741         (unpackIfNecessary): Modified to call executeRanlib().
1742
1743 2014-12-19  Alexey Proskuryakov  <ap@apple.com>
1744
1745         REGRESSION (177368): Some tests started to immediately time out
1746         https://bugs.webkit.org/show_bug.cgi?id=139826
1747
1748         Reviewed by Daniel Bates.
1749
1750         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::done):
1751         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::dump):
1752         Move invalidateWaitToDumpWatchdogTimer() call from dump() to done(). When a test
1753         ends in a load failure, we don't dump, so we used to leak the timer.
1754         
1755         * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::notifyDone):
1756         Added a comment.
1757
1758 2014-12-19  Brent Fulgham  <bfulgham@apple.com>
1759
1760         [Win] Add accessor for serializing HTTP loads
1761         https://bugs.webkit.org/show_bug.cgi?id=139817
1762
1763         Reviewed by Mark Lam.
1764
1765         * DumpRenderTree/win/DumpRenderTree.cpp: Reset serialized HTTP loads in our reset method.
1766         * DumpRenderTree/win/TestRunnerWin.cpp: Provide implementation for serializing HTTP. Also
1767         remove some redundant code from the destructor.
1768
1769 2014-12-19  Alexey Proskuryakov  <ap@apple.com>
1770
1771         Clean up a fix for performance test bot failing to build
1772         https://bugs.webkit.org/show_bug.cgi?id=139818
1773
1774         Reviewed by Csaba Osztrogonác.
1775
1776         The "_1" in step name was annoying.
1777
1778         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1779         (CleanBuildIfScheduled.start):
1780         (RunAndUploadPerfTests):
1781         (DownloadAndPerfTestFactory.__init__):
1782         (DownloadAndPerfTestWebKit2Factory.__init__):
1783         (CleanBuildUnconditionally): Deleted.
1784         (CleanBuildUnconditionally.start): Deleted.
1785
1786 2014-12-19  Csaba Osztrogonác  <ossy@webkit.org>
1787
1788         REGRESSION(r177535): It broke the GTK performance bot
1789         https://bugs.webkit.org/show_bug.cgi?id=139811
1790
1791         Reviewed by Carlos Garcia Campos.
1792
1793         Trigger clean build only on mac platform.
1794
1795         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1796         (DownloadAndPerfTestFactory.__init__):
1797         (DownloadAndPerfTestWebKit2Factory.__init__):
1798
1799 2014-12-18  KwangHyuk Kim  <hyuki.kim@samsung.com>
1800
1801         Unreviewed, moved myself to the list of committers.
1802
1803         * Scripts/webkitpy/common/config/contributors.json:
1804
1805 2014-12-18  Brent Fulgham  <bfulgham@apple.com>
1806
1807         [Win] Update DumpRenderTree to more closely match Mac version
1808         https://bugs.webkit.org/show_bug.cgi?id=139799
1809
1810         Reviewed by Tim Horton.
1811
1812         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1813         (AccessibilityController::accessibleElementById): Correct
1814         use of BSTR to avoid leak.
1815         * DumpRenderTree/win/DumpRenderTree.cpp: Reorder methods and
1816         update to match Mac version more closely.
1817         (dumpFramesAsText):
1818         (dump):
1819         (resetDefaultsToConsistentValues):
1820         (resetWebViewToConsistentStateBeforeTesting):
1821         (sizeWebViewForCurrentTest):
1822         (runTest):
1823         (openWindows):
1824         (windowToWebViewMap):
1825         (createWebViewAndOffscreenWindow):
1826         (sharedCFURLCache):
1827         (initializeGlobalsFromCommandLineOptions):
1828         (main):
1829         * DumpRenderTree/win/TestRunnerWin.cpp: Ditto.
1830         (TestRunner::addDisallowedURL):
1831         (TestRunner::applicationCacheDiskUsageForOrigin):
1832         (TestRunner::syncLocalStorage):
1833         (TestRunner::localStorageDiskUsageForOrigin):
1834         (TestRunner::observeStorageTrackerNotifications):
1835         (TestRunner::clearApplicationCacheForOrigin):
1836         (TestRunner::originsWithApplicationCache):
1837         (TestRunner::deleteAllLocalStorage):
1838         (TestRunner::setStorageDatabaseIdleInterval):
1839         (TestRunner::closeIdleLocalStorageDatabases):
1840         (TestRunner::originsWithLocalStorage):
1841         (TestRunner::deleteLocalStorageForOrigin):
1842         (TestRunner::copyDecodedHostName):
1843         (TestRunner::copyEncodedHostName):
1844         (TestRunner::keepWebHistory):
1845         (TestRunner::numberOfPendingGeolocationPermissionRequests):
1846         (TestRunner::setAppCacheMaximumSize):
1847         (TestRunner::setCustomPolicyDelegate):
1848         (TestRunner::goBack):
1849         (TestRunner::setDefersLoading):
1850         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
1851         (TestRunner::setMockDeviceOrientation):
1852         (TestRunner::setMockGeolocationPosition):
1853         (TestRunner::setMockGeolocationPositionUnavailableError):
1854         (TestRunner::setIconDatabaseEnabled):
1855         (TestRunner::setMainFrameIsFirstResponder):
1856         (TestRunner::setSpatialNavigationEnabled):
1857         (TestRunner::setPluginsEnabled):
1858         (TestRunner::setAutomaticLinkDetectionEnabled):
1859         (TestRunner::setUseDashboardCompatibilityMode):
1860         (TestRunner::dispatchPendingLoadRequests):
1861         (TestRunner::findString):
1862         (TestRunner::setCacheModel):
1863         (TestRunner::apiTestNewWindowDataLoadBaseURL):
1864         (TestRunner::setWebViewEditable):
1865         (TestRunner::authenticateSession):
1866         (TestRunner::abortModal):
1867         (TestRunner::setSerializeHTTPLoads):
1868         (TestRunner::addChromeInputField):
1869         (TestRunner::removeChromeInputField):
1870         (TestRunner::focusWebView):
1871         (TestRunner::setBackingScaleFactor):
1872         (TestRunner::grantWebNotificationPermission):
1873         (TestRunner::denyWebNotificationPermission):
1874         (TestRunner::removeAllWebNotificationPermissions):
1875         (TestRunner::simulateWebNotificationClick):
1876
1877 2014-12-18  Gavin Barraclough  <barraclough@apple.com>
1878
1879         Add strong typing to RefCounter interface, return value as a bool.
1880         https://bugs.webkit.org/show_bug.cgi?id=139776
1881
1882         Reviewed by Geoff Garen.
1883
1884         Currently all token vended by a RefCounter have the same type - Ref<RefCounter::Count>.
1885         This means there is no compile time type checking to prevent mistakes. Update the count()
1886         method to token<>(), templated on type used to identify the token being returned.
1887         Calls to token<T>() will return a result of type RefCounter::Token<T>.
1888
1889         There are a few problems with the fact the counter will return you an exact count of the
1890         number of outstanding tokens:
1891           - It is desirable to only fire the callback on zero-edge changes; it is more consistent
1892             to do so if the value is only readable as a boolean.
1893           - It is desirable to provide the value as an argument to the callback, however to make
1894             this useful for integer values it is also necessary to indicate the direction of change
1895             (0->1 is often interesting where 2->1 is not).
1896           - There is a mismatch between the precision of returning a count, and the inherent
1897             imprecision of a token based mechanism, where it may be difficult to guarantee
1898             absolutely no unnecessary refcount churn, and thus unintentional counter values.
1899
1900         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
1901         (TestWebKitAPI::TEST):
1902             - update API test.
1903
1904 2014-12-18  Alexey Proskuryakov  <ap@apple.com>
1905
1906         Disable retries on Mac Release WK2 testers
1907         https://bugs.webkit.org/show_bug.cgi?id=139798
1908
1909         Reviewed by Simon Fraser.
1910
1911         * BuildSlaveSupport/build.webkit.org-config/config.json:
1912
1913 2014-12-18  Alexey Proskuryakov  <ap@apple.com>
1914
1915         Perf tests frequently fail saying "build not up to date"
1916         https://bugs.webkit.org/show_bug.cgi?id=139786
1917
1918         Illegitimately yet authoritatively reviewed by Lucas Forschler.
1919
1920         Undo the rest of the first fix, and implement the behavior differently.
1921
1922         is_clean isn't automatically forwarded from config.json to properties.
1923
1924         * BuildSlaveSupport/build.webkit.org-config/config.json:
1925         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1926         (CleanBuildUnconditionally):
1927         (CleanBuildUnconditionally.start):
1928         (DownloadAndPerfTestFactory.__init__):
1929         (DownloadAndPerfTestWebKit2Factory.__init__):
1930
1931 2014-12-18  Alexey Proskuryakov  <ap@apple.com>
1932
1933         Roll out part of the previous patch - BuildAndPerfTestWebKit2 is used by Efl.
1934         I thought that it was unused because grepping for BuildAndPerfTestWebKit2Factory
1935         found nothing.
1936
1937         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1938         (BuildAndPerfTestFactory):
1939         (BuildAndPerfTestWebKit2Factory):
1940
1941 2014-12-18  Alexey Proskuryakov  <ap@apple.com>
1942
1943         Perf tests frequently fail saying "build not up to date"
1944         https://bugs.webkit.org/show_bug.cgi?id=139786
1945
1946         Reviewed by Ryosuke Niwa.
1947
1948         Perf tests only build DumpRenderTree, not WebKit itself. Just clean the build
1949         directory to get rid of stale precompiled headers, and let it rebuild
1950         DumpRenderTree each time, that's fast.
1951
1952         Also, removed unused "build and perf test" code.
1953
1954         * BuildSlaveSupport/build.webkit.org-config/config.json:
1955
1956 2014-12-18  Brent Fulgham  <bfulgham@apple.com>
1957
1958         [Win] Unreviewed gardening. Reorder file contents to match Mac version.
1959
1960         Reorder the contents of the TestRunnerWin so that it matches TestRunnerMac. This makes
1961         it easier to see what steps are missing when running under Windows.
1962
1963         * DumpRenderTree/win/TestRunnerWin.cpp:
1964         (TestRunner::callShouldCloseOnWebView):
1965         (TestRunner::clearAllApplicationCaches):
1966         (TestRunner::applicationCacheDiskUsageForOrigin):
1967         (TestRunner::syncLocalStorage):
1968         (TestRunner::localStorageDiskUsageForOrigin):
1969         (TestRunner::observeStorageTrackerNotifications):
1970         (TestRunner::clearApplicationCacheForOrigin):
1971         (TestRunner::originsWithApplicationCache):
1972         (TestRunner::clearAllDatabases):
1973         (TestRunner::deleteAllLocalStorage):
1974         (TestRunner::setStorageDatabaseIdleInterval):
1975         (TestRunner::closeIdleLocalStorageDatabases):
1976         (TestRunner::originsWithLocalStorage):
1977         (TestRunner::deleteLocalStorageForOrigin):
1978         (TestRunner::numberOfPendingGeolocationPermissionRequests):
1979         (jsStringRefToWString):
1980         (TestRunner::setAppCacheMaximumSize):
1981         (TestRunner::setDatabaseQuota):
1982         (TestRunner::goBack):
1983         (TestRunner::setDefersLoading):
1984         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
1985         (TestRunner::setAutomaticLinkDetectionEnabled):
1986         (TestRunner::dispatchPendingLoadRequests):
1987         (TestRunner::overridePreference):
1988         (TestRunner::removeAllVisitedLinks):
1989         (TestRunner::waitForPolicyDelegate):
1990         (TestRunner::resetPageVisibility):
1991         (TestRunner::setPageVisibility):
1992         (TestRunner::grantWebNotificationPermission):
1993         (TestRunner::denyWebNotificationPermission):
1994         (TestRunner::removeAllWebNotificationPermissions):
1995         (TestRunner::simulateWebNotificationClick):
1996         (TestRunner::simulateLegacyWebNotificationClick):
1997
1998 2014-12-18  Brent Fulgham  <bfulgham@apple.com>
1999
2000         [Win] Correct Windows tests after Bug 139149 (edit)
2001         https://bugs.webkit.org/show_bug.cgi?id=139781
2002
2003         Reviewed by Anders Carlsson.
2004
2005         * DumpRenderTree/win/TestRunnerWin.cpp:
2006         (TestRunner::clearAllApplicationCaches): Use new WebApplicationCache
2007         interface.
2008
2009 2014-12-18  Simon Fraser  <simon.fraser@apple.com>
2010
2011         [iOS] Remove the various aliases for --ios-simulator (--sim, --simulator, --ios-sim) in arguments for build and test scripts
2012         https://bugs.webkit.org/show_bug.cgi?id=139748
2013
2014         Reviewed by Daniel Bates.
2015         
2016         Staging change to support --ios-sim and --ios-simulator temporarily until the bots
2017         have all been updated.
2018
2019         * Scripts/webkitpy/port/factory.py:
2020         (platform_options):
2021
2022 2014-12-18  Simon Fraser  <simon.fraser@apple.com>
2023
2024         Build more of TestWebKitAPI for iOS
2025         https://bugs.webkit.org/show_bug.cgi?id=139747
2026
2027         Reviewed by Daniel Bates.
2028         
2029         Base.xcconfig removed many test files from the iOS build via EXCLUDED_SOURCE_FILE_NAMES,
2030         which excluded some tests that should be run for iOS.
2031         
2032         Fix by removing some patterns from EXCLUDED_SOURCE_FILE_NAMES, and #ifdeffing
2033         source files instead. config.h defines WK_HAVE_C_SPI when the WebKit C SPI is
2034         available (i.e. Mac OS X), and most files use that. Some files with Mac-only
2035         functionality (ActionMenus, Downloads) use #if PLATFORM(MAC).
2036         
2037         Added PlatformUtilitiesCocoa.mm and moved WeakObjCPtr.mm into a cocoa directory
2038         to share code between Mac and iOS.
2039
2040         * TestWebKitAPI/Configurations/Base.xcconfig:
2041         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
2042         * TestWebKitAPI/InjectedBundleController.cpp:
2043         * TestWebKitAPI/InjectedBundleMain.cpp:
2044         * TestWebKitAPI/JavaScriptTest.cpp:
2045         * TestWebKitAPI/PlatformUtilities.cpp:
2046         * TestWebKitAPI/PlatformUtilities.h:
2047         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2048         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
2049         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
2050         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
2051         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp:
2052         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp:
2053         * TestWebKitAPI/Tests/WebKit2/CloseThenTerminate.cpp:
2054         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
2055         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp:
2056         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
2057         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp:
2058         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
2059         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls.cpp:
2060         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp:
2061         * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp:
2062         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
2063         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
2064         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
2065         * TestWebKitAPI/Tests/WebKit2/EphemeralSessionPushStateNoHistoryCallback.cpp:
2066         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
2067         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
2068         * TestWebKitAPI/Tests/WebKit2/Find.cpp:
2069         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm:
2070         * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp:
2071         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
2072         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
2073         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
2074         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback.cpp:
2075         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback_Bundle.cpp:
2076         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
2077         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp:
2078         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
2079         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp:
2080         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp:
2081         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp:
2082         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins.cpp:
2083         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins_Bundle.cpp:
2084         * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp:
2085         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp:
2086         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp:
2087         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp:
2088         * TestWebKitAPI/Tests/WebKit2/LoadPageOnCrash.cpp:
2089         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
2090         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp:
2091         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp:
2092         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp:
2093         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp:
2094         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp:
2095         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp:
2096         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp:
2097         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp:
2098         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp:
2099         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
2100         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
2101         * TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp:
2102         * TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp:
2103         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications.mm:
2104         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications_Bundle.cpp:
2105         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
2106         * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp:
2107         * TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp:
2108         * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp:
2109         * TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp:
2110         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
2111         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp:
2112         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
2113         * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp:
2114         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp:
2115         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp:
2116         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp:
2117         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
2118         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp:
2119         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp:
2120         * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp:
2121         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp:
2122         * TestWebKitAPI/Tests/WebKit2/UserMessage_Bundle.cpp:
2123         * TestWebKitAPI/Tests/WebKit2/WKImageCreateCGImageCrash.cpp:
2124         * TestWebKitAPI/Tests/WebKit2/WKPageGetScaleFactorNotZero.cpp:
2125         * TestWebKitAPI/Tests/WebKit2/WKPageIsPlayingAudio.cpp:
2126         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
2127         (TestWebKitAPI::TEST):
2128         * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
2129         * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
2130         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
2131         * TestWebKitAPI/Tests/WebKit2/WebArchive_Bundle.cpp:
2132         * TestWebKitAPI/Tests/WebKit2/WebCoreStatisticsWithNoWebProcess.cpp:
2133         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp:
2134         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp:
2135         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent.cpp:
2136         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp:
2137         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm: Renamed from Tools/TestWebKitAPI/Tests/WebKit2/mac/WeakObjCPtr.mm.
2138         (TEST):
2139         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
2140         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
2141         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
2142         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenusBundle.mm:
2143         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
2144         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp:
2145         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
2146         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
2147         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp:
2148         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
2149         * TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm: Copied from Tools/TestWebKitAPI/Tests/WebKit2/WKImageCreateCGImageCrash.cpp.
2150         (TestWebKitAPI::Util::run):
2151         (TestWebKitAPI::Util::sleep):
2152         (TestWebKitAPI::Util::toSTD):
2153         * TestWebKitAPI/config.h:
2154         * TestWebKitAPI/mac/JavaScriptTestMac.mm:
2155         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
2156         (TestWebKitAPI::Util::run): Deleted.
2157         (TestWebKitAPI::Util::sleep): Deleted.
2158         (TestWebKitAPI::Util::toSTD): Deleted.
2159
2160 2014-12-18  Dániel Bátyai  <dbatyai.u-szeged@partner.samsung.com>
2161
2162         [GTK] Add support for FTL JIT on ARM64
2163         https://bugs.webkit.org/show_bug.cgi?id=139677
2164
2165         Reviewed by Csaba Osztrogonác.
2166
2167         * gtk/jhbuild-optional.modules:
2168         * gtk/patches/llvm-elf-add-stackmaps-arm64.patch: Added.
2169         * gtk/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Added.
2170
2171 2014-12-18  Adrian Perez de Castro  <aperez@igalia.com>
2172
2173         [GTK] Implement webkit_web_view_is_playing_audio()
2174         https://bugs.webkit.org/show_bug.cgi?id=138918
2175
2176         Reviewed by Carlos Garcia Campos.
2177
2178         Add test case case for webkit_web_view_is_playing_audio() and the
2179         WebKitWebView::is-playing-audio property.
2180
2181         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2182         (urlForResource): Utility function to get URLs pointing to resources
2183         under the Tools/TestWebKitAPI/Tests/WebKit2/ directory.
2184         (testWebViewIsPlayingAudio): Added.
2185         (beforeAll):
2186         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
2187         (getResourcesDir): Allow passing a flag to choose from the WebKit2 GTK
2188         API tests resources directory, or the WebKit2 C API tests resources
2189         directory. The default value of the flag is to use the WebKit2 GTK
2190         one, to avoid having to change existing tests.
2191         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2192         (isPlayingAudioChanged): Added.
2193         (WebViewTest::waitUntilIsPlayingAudioChanged): Added.
2194         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
2195
2196 2014-12-18  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2197
2198         [GTK] [EFL] Enable per_test_timeout
2199         https://bugs.webkit.org/show_bug.cgi?id=139771
2200
2201         Reviewed by Csaba Osztrogonác.
2202
2203         This is needed to make WKTR use either the default port timeout, or the
2204         user supplied timeout via the "--time-out-ms" parameter of run-webkit-tests.
2205         Otherwise WTR will use the default (30 seconds after r177363 and r177471).
2206
2207         * Scripts/webkitpy/port/efl.py:
2208         (EflPort.supports_per_test_timeout): Enabled.
2209         * Scripts/webkitpy/port/gtk.py:
2210         (GtkPort.supports_per_test_timeout): Enabled.
2211
2212 2014-12-17  Lucas Forschler  <lforschler@apple.com>
2213
2214         Move Apple buildbot slaves to their new home.
2215         
2216         Reviewed by Roger Fong.
2217
2218         * BuildSlaveSupport/build.webkit.org-config/config.json:
2219
2220 2014-12-17  Alexey Proskuryakov  <ap@apple.com>
2221
2222         REGRESSION (r177363): Gtk and Efl testing is broken
2223         https://bugs.webkit.org/show_bug.cgi?id=139734
2224
2225         Reviewed by Simon Fraser.
2226
2227         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
2228         (SingleTestRunner.__init__): Remove timeout adjustment from here, because it
2229         affected both script and tool timeout. This is still the right place for this logic,
2230         but it would be a larger refactoring than I can do right now.
2231
2232         * Scripts/webkitpy/port/base.py:
2233         (Port.supports_per_test_timeout): Added a FIXME.
2234         (Port.default_timeout_ms): Now that the effective timeout is longer, change this
2235         to avoid making tests take more time.
2236
2237         * Scripts/webkitpy/port/driver.py:
2238         (Driver.run_test): Adjust script timeout here.
2239         (Driver._check_for_driver_timeout): Fix the timeout detection.
2240         (Driver._read_block): Actually use the timeout detection code.
2241
2242         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting):
2243         Use TestRunner default timeout when there isn't a timeout passed from command line for the test.
2244
2245         * Scripts/webkitpy/port/port_testcase.py: (PortTestCase.test_default_timeout_ms):
2246         Update results for the new default.
2247
2248         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
2249         (RunTest.test_hung_thread): Restore a test that I previously deleted, it was
2250         actually a good one.
2251
2252 2014-12-17  Commit Queue  <commit-queue@webkit.org>
2253
2254         Unreviewed, rolling out r177456.
2255         https://bugs.webkit.org/show_bug.cgi?id=139749
2256
2257         Broke webkitpy and Mac tests (Requested by ap on #webkit).
2258
2259         Reverted changeset:
2260
2261         "REGRESSION (r177363): Gtk and Efl testing is broken"
2262         https://bugs.webkit.org/show_bug.cgi?id=139734
2263         http://trac.webkit.org/changeset/177456
2264
2265 2014-12-17  Alexey Proskuryakov  <ap@apple.com>
2266
2267         REGRESSION (r177363): Gtk and Efl testing is broken
2268         https://bugs.webkit.org/show_bug.cgi?id=139734
2269
2270         Reviewed by Simon Fraser.
2271
2272         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
2273         (SingleTestRunner.__init__): Remove timeout adjustment from here, because it
2274         affected both script and tool timeout. This is still the right place for this logic,
2275         but it would be a larger refactoring than I can do right now.
2276
2277         * Scripts/webkitpy/port/base.py:
2278         (Port.supports_per_test_timeout): Added a FIXME.
2279         (Port.default_timeout_ms): Now that the effective timeout is longer, change this
2280         to avoid making tests take more time.
2281
2282         * Scripts/webkitpy/port/driver.py: (Driver.run_test): Adjust script timeout here.
2283
2284         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting):
2285         Use TestRunner default timeout when there isn't a timeout passed from command line for the test.
2286
2287 2014-12-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2288
2289         [GTK] Simplify timeout handling in TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded
2290         https://bugs.webkit.org/show_bug.cgi?id=139725
2291
2292         Reviewed by Martin Robinson.
2293
2294         The timeout is already in milliseconds, so we don't need to do any conversion.
2295
2296         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
2297         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2298
2299 2014-12-17  Hunseop Jeong  <hs85.jeong@samsung.com>
2300
2301         [EFL]Fix build warning in MiniBrowser
2302         https://bugs.webkit.org/show_bug.cgi?id=139723
2303
2304         Reviewed by Darin Adler.
2305
2306         The warning is caused by the compiler wanting the first argument to be a
2307         string literal, not a dynamically created string.
2308
2309         * MiniBrowser/efl/main.c:
2310         (quit):
2311
2312 2014-12-16  Sam Weinig  <sam@webkit.org>
2313
2314         TestWebKitAPI should use a static lib to support both Mac and iOS cleanly
2315         https://bugs.webkit.org/show_bug.cgi?id=139718
2316
2317         Reviewed by Mark Rowe.
2318
2319         Change TestWebKitAPI to be more like DumpRenderTree by moving all the source
2320         files into a static lib which the command line utility can link link against.
2321         This will allow us to create a TestWebKitAPI.app that can run on iOS.
2322
2323         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2324         * TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig: Added.
2325         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2326
2327 2014-12-16  Alexey Proskuryakov  <ap@apple.com>
2328
2329         Sort out timeout implementations in DRT and WKTR
2330         https://bugs.webkit.org/show_bug.cgi?id=139671
2331
2332         Remove an obsolete test that doesn't capture how run-webkit-tests interacts
2333         with the tool.
2334
2335         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
2336         (RunTest.test_hung_thread):
2337
2338 2014-12-15  Alexey Proskuryakov  <ap@apple.com>
2339
2340         Sort out timeout implementations in DRT and WKTR
2341         https://bugs.webkit.org/show_bug.cgi?id=139671
2342
2343         Reviewed by Simon Fraser.
2344
2345         Test timeout implementation had many deficiencies, please see the bug for details.
2346         Most notably, we shouldn't have the tool confused about timeouts vs. failures, and
2347         [ Slow ] modifiers should work a lot better.
2348
2349         * DumpRenderTree/TestRunner.cpp: (TestRunner::TestRunner):
2350         * DumpRenderTree/TestRunner.h: (TestRunner::setCustomTimeout):
2351         * DumpRenderTree/mac/DumpRenderTree.mm: (runTest):
2352         * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setWaitToDump):
2353         DumpRenderTree already read the --timeout option from command line, and webkitpy
2354         was already configured to pass it on Mac and iOS. Let's actually use it.
2355         TestCommand already had the same 30 second default, so this doesn't change behavior
2356         when DRT is ran manually without the option.
2357         Windows DumpRenderTree will need to be fixed separately (that's easy).
2358
2359         * DumpRenderTree/TestRunner.cpp: (TestRunner::waitToDumpWatchdogTimerFired()):
2360         Don't print the timeout message to stdout to match WebKitTestRunner. It would be
2361         slightly better to use stderr in both, as this is an out of band message, but
2362         that's a larger refactoring, and the difference is minimal in practice.
2363
2364         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
2365         (SingleTestRunner.__init__): Ensure that script and tool timeouts are substantially
2366         different. We want the tool to reliably detect timeouts that can be detected, and
2367         not race with the script for that.
2368
2369         * Scripts/webkitpy/port/base.py: (Port.default_timeout_ms): Don't make WebKit2
2370         timeout longer than WebKit1 one, I doubt that this is necessary. Now that the value
2371         is honored inmore cases, that could make tests run slower.
2372         * Scripts/webkitpy/port/driver.py:
2373         (Driver.__init__):
2374         (Driver.run_test):
2375         (Driver.cmd_line):
2376         (Driver._check_for_driver_timeout):
2377         Detect tests that have the timeout output, and make these have the proper Timeout result.
2378
2379         * Scripts/webkitpy/port/ios.py: (IOSSimulatorPort.default_timeout_ms): Remove an
2380         incorrect recent change - 80 * 1000 is 80 seconds, not 80 milliseconds.
2381
2382         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2383         (WTR::TestRunner::setCustomTimeout): Deleted.
2384         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2385         (WTR::TestRunner::setCustomTimeout):
2386         * WebKitTestRunner/InjectedBundle/efl/TestRunnerEfl.cpp:
2387         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2388         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
2389         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2390         * WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp:
2391         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2392         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
2393         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2394         Updated to use a timeout passed from UI process, which used to be ignored.
2395
2396         * WebKitTestRunner/TestController.cpp:
2397         (WTR::TestController::TestController):
2398         (WTR::TestController::runUntil):
2399         (WTR::TestController::getCustomTimeout): Deleted.
2400         * WebKitTestRunner/TestController.h:
2401         Delete unused m_timeout. First, it was always 0, and second, we don't need it at all.
2402         Changed default message timeouts to match new run-webkit-tests timeout. These don't
2403         affect ports where timeout is passed per test (shouldn't they all be like that?).
2404
2405         * WebKitTestRunner/TestInvocation.cpp:
2406         (WTR::TestInvocation::invoke):
2407         (WTR::TestInvocation::setCustomTimeout): Deleted.
2408         * WebKitTestRunner/TestInvocation.h:
2409         (WTR::TestInvocation::setCustomTimeout):
2410         (WTR::TestInvocation::customTimeout):
2411         Ditto.
2412
2413 2014-12-16  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2414
2415         [EFL] Add logging domain for MiniBrowser
2416         https://bugs.webkit.org/show_bug.cgi?id=139642
2417
2418         Reviewed by Gyuyoung Kim.
2419
2420         Similarly to EWebKit2, provide logging facility for MiniBrowser
2421         based on Eina Log module to have a convenient way to display
2422         all/subset/none messages for EFL based libraries and MiniBrowser.
2423
2424         Usage:
2425         1. Disable all messages:
2426            EINA_LOG_LEVEL=0 ./Tools/Scripts/run-launcher --efl
2427
2428         2. Enable all messages:
2429            EINA_LOG_LEVEL=7 ./Tools/Scripts/run-launcher --efl
2430
2431         3. Enable MiniBrowser and EWebkit2 messages only:
2432            EINA_LOG_LEVELS="minibrowser:7,ewebkit2:7" ./Tools/Scripts/run-launcher --efl
2433
2434         More information and examples you can find here:
2435         http://docs.enlightenment.org/auto/eet/tutorial_log_page.html
2436
2437         * MiniBrowser/efl/main.c:
2438         (on_mouse_wheel):
2439         (on_window_resize):
2440         (save_page_contents_callback):
2441         (script_execute_callback):
2442         (on_key_down):
2443         (on_download_request):
2444         (on_download_finished):
2445         (on_download_failed):
2446         (quit):
2447         (on_refresh_button_clicked):
2448         (on_stop_button_clicked):
2449         (navigation_button_longpress_process):
2450         (on_popup_menu_item_clicked):
2451         (popup_menu_populate):
2452         (on_popup_menu_show):
2453         (on_window_create):
2454         (context_menu_item_selected_cb):
2455         (context_menu_populate):
2456         (on_context_menu_show):
2457         (on_context_menu_hide):
2458         (on_navigation_policy_decision):
2459         (window_create):
2460         (parse_cookies_policy):
2461         (elm_main):
2462         (has_scheme):
2463         (list_item_label_get):
2464         (on_popup_menu_hide):
2465         (on_window_close):
2466         (on_home_button_clicked):
2467         Replace locally info() macro with newly introduced
2468         one which uses Eina Log module. There is no logic change.
2469
2470 2014-12-15  Dániel Bátyai  <dbatyai.u-szeged@partner.samsung.com>
2471
2472         [EFL] FTL JIT not working on ARM64
2473         https://bugs.webkit.org/show_bug.cgi?id=139295
2474
2475         Reviewed by Michael Saboff.
2476
2477         Added patches for llvm to add ARM64 support for FTL JIT
2478
2479         * efl/jhbuild.modules:
2480         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Added.
2481         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Added.
2482
2483 2014-12-15  Timothy Horton  <timothy_horton@apple.com>
2484
2485         Move Said to the committers section.
2486
2487         * Scripts/webkitpy/common/config/contributors.json:
2488
2489 2014-12-15  Timothy Horton  <timothy_horton@apple.com>
2490
2491         Implement Data Detectors immediate actions for WebKit2
2492         https://bugs.webkit.org/show_bug.cgi?id=139617
2493         <rdar://problem/19198539>
2494
2495         Reviewed by Beth Dakin.
2496
2497         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
2498         (TestWebKitAPI::TEST):
2499         Temporarily disable the action menu tests while the
2500         underlying code is in flux.
2501
2502 2014-12-14  Andreas Kling  <akling@apple.com>
2503
2504         Replace PassRef with Ref/Ref&& across the board.
2505         <https://webkit.org/b/139587>
2506
2507         Reviewed by Darin Adler.
2508
2509         * TestWebKitAPI/Tests/WTF/Ref.cpp:
2510         (TestWebKitAPI::passWithRef):
2511         (TestWebKitAPI::TEST):
2512         (TestWebKitAPI::passWithPassRef): Deleted.
2513         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
2514         (TestWebKitAPI::TEST):
2515         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
2516         (TestWebKitAPI::TEST):
2517         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
2518         (TestWebKitAPI::createTestValue):
2519
2520 2014-12-13  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2521
2522         [EFL] MiniBrowser's window_create may return NULL
2523         https://bugs.webkit.org/show_bug.cgi?id=139585
2524
2525         Reviewed by Gyuyoung Kim.
2526
2527         Move NULL checking before using object which window_create
2528         returns.
2529
2530         * MiniBrowser/efl/main.c:
2531         (elm_main):
2532
2533 2014-12-12  Alexey Proskuryakov  <ap@apple.com>
2534
2535         Layout Test http/tests/loading/307-after-303-after-post.html is flaky
2536         https://bugs.webkit.org/show_bug.cgi?id=73030
2537
2538         Reviewed by Anders Carlsson.
2539
2540         * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize): Set icon
2541         database to empty to avoid having it fetch default favicons at random times.
2542         DumpRenderTree also disables it, and also it has a way for tests to temporarily
2543         enable it.
2544
2545 2014-12-12  Lucas Forschler  <lforschler@apple.com>
2546
2547         Update Apple owned build slaves after infrastructure update.
2548         
2549         Reviewed by Ryosuke Niwa.
2550
2551         * BuildSlaveSupport/build.webkit.org-config/config.json:
2552
2553 2014-12-11  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2554
2555         [GTK] REGRESSION(r175555) GTK API Tests run outside the JHBuild.
2556         https://bugs.webkit.org/show_bug.cgi?id=139537
2557
2558         Reviewed by Carlos Garcia Campos.
2559
2560         * jhbuild/jhbuild-wrapper: Pass the port name in the invocation
2561         of get_dependencies_path().
2562         * jhbuild/jhbuildutils.py:
2563         (get_dependencies_path): Fix the function to return the new
2564         dependencies path: DependenciesPORT.
2565         (enter_jhbuild_environment_if_available): Pass the port name
2566         when invoking get_dependencies_path().
2567
2568 2014-12-10  Lucas Forschler  <lforschler@apple.com>
2569
2570         Update Apple owned build slaves.
2571         
2572         Rubber-stamped by Dana Burkart.
2573         
2574         * BuildSlaveSupport/build.webkit.org-config/config.json:
2575
2576 2014-12-10  Daniel Bates  <dabates@apple.com>
2577
2578         [iOS] REGRESSION (r174642): Watchdog timer expiration reported as DumpRenderTree.app
2579         timeout instead of test failure
2580         https://bugs.webkit.org/show_bug.cgi?id=139525
2581
2582         Reviewed by Zalan Bujtas.
2583
2584         Increase the default process timeout limit in run-webkit-tests to 80ms to prevent
2585         run-webkit-tests from prematurely terminating DumpRenderTree.app before it dumps
2586         output.
2587
2588         Following <http://trac.webkit.org/changeset/174642>, DumpRenderTree.app waits
2589         for the WebThread to spin its run loop before dumping its output. A test that
2590         calls testRunner.waitUntilDone() and does not subsequently call testRunner.notifyDone()
2591         before DumpRenderTree.app's watchdog timer expires may be incorrectly reported
2592         by run-webkit-tests as a DumpRenderTree.app timeout instead of a test failure
2593         because run-webkit-tests may terminate a DumpRenderTree.app process when it
2594         exceeds its process time limit (defaults to 35ms) regardless of whether such
2595         a DumpRenderTree.app process was waiting for the WebThread to run so as to dump output.
2596
2597         * Scripts/webkitpy/port/ios.py:
2598         (IOSSimulatorPort.default_timeout_ms):
2599
2600 2014-12-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
2601
2602         [GTK][WK2] Add HTML5 Notifications support
2603         https://bugs.webkit.org/show_bug.cgi?id=61140
2604
2605         Reviewed by Carlos Garcia Campos.
2606
2607         * Scripts/webkitperl/FeatureList.pm: enable notifications for GTK+.
2608         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2609         (testWebViewNotification):
2610         (beforeAll):
2611         * MiniBrowser/gtk/BrowserWindow.c: also handle notification permission requests.
2612         (permissionRequestDialogCallback):
2613         (webViewDecidePermissionRequest):
2614         (geolocationRequestDialogCallback): Deleted.
2615
2616 2014-12-09  Benjamin Poulain  <bpoulain@apple.com>
2617
2618         Fix webkitpy test expectation
2619
2620         Not sure what I messed up, but TOTAL_SKIPS was not right.
2621
2622         * Scripts/webkitpy/port/test.py:
2623
2624 2014-12-09  Benjamin Poulain  <bpoulain@apple.com>
2625
2626         Remove virtual test support from webkitpy
2627         https://bugs.webkit.org/show_bug.cgi?id=139427
2628
2629         Reviewed by Alexey Proskuryakov.
2630
2631         It seems that the only concrete client of virtual tests is the unit tests :D
2632
2633         This patch tries to clean as much useless code as possible.
2634
2635         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
2636         (RunTest.test_tolerance):
2637         (RunTest.test_virtual): Deleted.
2638         * Scripts/webkitpy/layout_tests/views/printing.py:
2639         (Printer._print_test_trace):
2640         * Scripts/webkitpy/port/base.py:
2641         (Port.expected_filename):
2642         (Port.tests):
2643         (Port.test_isfile):
2644         (Port.test_isdir):
2645         (Port.sample_process):
2646         (Port.find_system_pid):
2647         (Port.test_expectations_file_position):
2648         (Port.virtual_test_suites): Deleted.
2649         (Port): Deleted.
2650         (Port.populated_virtual_test_suites): Deleted.
2651         (Port._virtual_tests): Deleted.
2652         (Port.lookup_virtual_test_base): Deleted.
2653         (Port.lookup_virtual_test_args): Deleted.
2654         (VirtualTestSuite): Deleted.
2655         (VirtualTestSuite.__init__): Deleted.
2656         (VirtualTestSuite.__repr__): Deleted.
2657         * Scripts/webkitpy/port/base_unittest.py:
2658         (PortTest.test_test_exists):
2659         (PortTest.test_test_isfile):
2660         (PortTest.test_test_isdir):
2661         (PortTest.test_tests):
2662         * Scripts/webkitpy/port/driver.py:
2663         (DriverProxy.run_test): Deleted.
2664         * Scripts/webkitpy/port/test.py:
2665         (TestPort._skipped_tests_for_unsupported_features):
2666         (TestPort.all_baseline_variants):
2667         (TestPort.virtual_test_suites): Deleted.
2668         * Scripts/webkitpy/tool/commands/queries.py:
2669         (PrintBaselines.__init__):
2670         (PrintBaselines.execute):
2671         * Scripts/webkitpy/tool/commands/queries_unittest.py:
2672         (PrintBaselinesTest.test_basic):
2673         (PrintBaselinesTest.test_multiple):
2674         (PrintBaselinesTest.test_csv):
2675
2676 2014-12-09  Csaba Osztrogonác  <ossy@webkit.org>
2677
2678         Blink Merge: Remove 'http_lock' code from webkitpy
2679         https://bugs.webkit.org/show_bug.cgi?id=136722
2680
2681         Reviewed by Alexey Proskuryakov.
2682
2683         Based on Blink commit by Dirk Pranke <dpranke@chromium.org>
2684         https://chromium.googlesource.com/chromium/blink/+/196f8146a948275c2f1594b13e30ab19a6e6fd66
2685
2686         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
2687         (LayoutTestRunner.__init__):
2688         (LayoutTestRunner.run_tests):
2689         (LayoutTestRunner.start_servers): Renamed from start_servers_with_lock.
2690         (LayoutTestRunner.stop_servers): Renamed from stop_servers_with_lock.
2691         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py:
2692         (FakePrinter.flush):
2693         (LayoutTestRunnerTests._runner):
2694         (LayoutTestRunnerTests._run_tests):
2695         (LayoutTestRunnerTests.test_servers_started):
2696         (LockCheckingRunner): Deleted.
2697         (LockCheckingRunner.__init__): Deleted.
2698         (LockCheckingRunner.handle_finished_list): Deleted.
2699         (LayoutTestRunnerTests.test_http_locking): Deleted.
2700         * Scripts/webkitpy/port/base.py:
2701         (Port.__init__):
2702         (Port.to.http_server_supports_ipv6):
2703         (Port.to.stop_websocket_server):
2704         (Port.to.acquire_http_lock): Deleted.
2705         (Port.to.release_http_lock): Deleted.
2706         * Scripts/webkitpy/port/http_lock.py: Removed.
2707         * Scripts/webkitpy/port/http_lock_unittest.py: Removed.
2708         * Scripts/webkitpy/port/ios.py:
2709         (IOSSimulatorPort.show_results_html_file):
2710         (IOSSimulatorPort.acquire_http_lock): Deleted.
2711         (IOSSimulatorPort): Deleted.
2712         (IOSSimulatorPort.release_http_lock): Deleted.
2713         * Scripts/webkitpy/port/mac.py:
2714         (MacPort.show_results_html_file):
2715         (MacPort): Deleted.
2716         (MacPort.acquire_http_lock): Deleted.
2717         (MacPort.release_http_lock): Deleted.
2718         * Scripts/webkitpy/port/mock_drt.py:
2719         (MockDRTPort.start_websocket_server):
2720         (MockDRTPort.stop_websocket_server):
2721         (MockDRTPort.acquire_http_lock): Deleted.
2722         (MockDRTPort.release_http_lock): Deleted.
2723         * Scripts/webkitpy/port/mock_drt_unittest.py:
2724         (MockDRTPortTest.test_uses_apache):
2725         (MockDRTPortTest.integration_test_http_lock): Deleted.
2726         * Scripts/webkitpy/port/port_testcase.py:
2727         (PortTestCase.assert_servers_are_up):
2728         (PortTestCase.integration_test_http_lock): Deleted.
2729         * Scripts/webkitpy/port/test.py:
2730         (TestPort.start_websocket_server):
2731         (TestPort.stop_websocket_server):
2732         (TestPort.acquire_http_lock): Deleted.
2733         (TestPort.release_http_lock): Deleted.
2734
2735 2014-12-09  Alberto Garcia  <berto@igalia.com>
2736
2737         convertToUTF8String converts null string to empty string
2738         https://bugs.webkit.org/show_bug.cgi?id=133904
2739
2740         Reviewed by Carlos Garcia Campos.
2741
2742         Test that trying to get the value of a non-existent attribute
2743         returns 0 instead of an empty string.
2744
2745         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2746         (WebKitDOMNodeTest::testInsertion):
2747
2748 2014-12-09  Joanmarie Diggs  <jdiggs@igalia.com>
2749
2750         [GTK] Bump minimum version of ATK used by jhbuild to at least 2.15.2
2751         https://bugs.webkit.org/show_bug.cgi?id=139070
2752
2753         Reviewed by Carlos Garcia Campos.
2754
2755         * gtk/jhbuild.modules:
2756
2757 2014-12-08  Tim Horton  <timothy_horton@apple.com>
2758
2759         Add action menu tests
2760         https://bugs.webkit.org/show_bug.cgi?id=139156
2761
2762         Reviewed by Dean Jackson.
2763
2764         * TestWebKitAPI/PlatformWebView.h:
2765         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
2766         (TestWebKitAPI::PlatformWebView::PlatformWebView):
2767         Add a mechanism allowing tests to provide their own WKView subclass.
2768
2769         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2770         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Added.
2771         Add a file with lots of menu targets.
2772
2773         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm: Added.
2774         (-[ActionMenusTestWKView _actionMenuItemsForHitTestResult:withType:defaultActionMenuItems:userData:]):
2775         (-[ActionMenusTestWKView runMenuSequenceAtPoint:preMenuNeedsUpdateHandler:preWillOpenMenuHandler:preDidCloseMenuHandler:]):
2776         (-[ActionMenusTestWKView runMenuSequenceAtPoint:preDidCloseMenuHandler:]):
2777         Run through the normal sequence of callbacks, recording what items and type were returned, and give clients a chance to do work at various points in the process.
2778
2779         (-[ActionMenusTestWKView _setOverrideActionMenuItems:]):
2780
2781         (TestWebKitAPI::didFinishLoadForFrameCallback):
2782         (TestWebKitAPI::didFinishDownloadCallback):
2783         (TestWebKitAPI::didCreateDownloadDestinationCallback):
2784         Watch downloads and ensure that they match the content we expect.
2785
2786         (TestWebKitAPI::watchPasteboardForString):
2787         (TestWebKitAPI::watchPasteboardForImage):
2788         (TestWebKitAPI::JavaScriptStringCallbackContext::JavaScriptStringCallbackContext):
2789         (TestWebKitAPI::JavaScriptBoolCallbackContext::JavaScriptBoolCallbackContext):
2790         (TestWebKitAPI::javaScriptStringCallback):
2791         (TestWebKitAPI::javaScriptBoolCallback):
2792         (TestWebKitAPI::callJavaScriptReturningString):
2793         (TestWebKitAPI::callJavaScriptReturningBool):
2794         (TestWebKitAPI::watchEditableAreaForString):
2795         (TestWebKitAPI::waitForVideoReady):
2796         (TestWebKitAPI::retrieveSelection):
2797         (TestWebKitAPI::retrieveSelectionInElement):
2798         (TestWebKitAPI::performMenuItemAtIndexOfTypeAsync):
2799         (TestWebKitAPI::ensureMenuItemAtIndexOfTypeIsDisabled):
2800         Add many helpers for testing, especially to make asynchronous things synchronous.
2801
2802         (TestWebKitAPI::windowPointForTarget):
2803         (TestWebKitAPI::inset8):
2804         Hard-code points in action-menu-targets.html for hit testing.
2805
2806         (TestWebKitAPI::TEST):
2807         Add a suite of tests for WebKit2 action menus.
2808
2809         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenusBundle.mm: Added.
2810         (TestWebKitAPI::createActionContextForPhoneNumber):
2811         (TestWebKitAPI::ActionMenuTest::ActionMenuTest):
2812         (TestWebKitAPI::ActionMenuTest::prepareForActionMenu):
2813         (TestWebKitAPI::ActionMenuTest::actionContextForResultAtPoint):
2814         (TestWebKitAPI::ActionMenuTest::drawRect):
2815         (TestWebKitAPI::ActionMenuTest::didCreatePage):
2816         Add a bundle with a PageOverlay and a actionContextForResultAtPoint override,
2817         so that we can test that infrastructure.
2818
2819 2014-12-08  Philippe Normand  <pnormand@igalia.com>
2820
2821         [GTK] UserMedia Permission Request API
2822         https://bugs.webkit.org/show_bug.cgi?id=136449
2823
2824         Reviewed by Carlos Garcia Campos.
2825
2826         The GTK version of the MiniBrowser has gained UserMedia permission
2827         request support.
2828
2829         * MiniBrowser/gtk/BrowserWindow.c: Show a popup when the page
2830         requires user permission to access audio/video devices.
2831         (permissionRequestDialogCallback):
2832         (webViewDecidePermissionRequest):
2833         (geolocationRequestDialogCallback): Deleted.
2834
2835 2014-12-08  Anders Carlsson  <andersca@apple.com>
2836
2837         Add a stubbed out method for clearing out the website data store
2838         https://bugs.webkit.org/show_bug.cgi?id=139404
2839
2840         Reviewed by Antti Koivisto.
2841
2842         Add a debug menu item for testing clearing of website data.
2843
2844         * MiniBrowser/mac/MainMenu.xib:
2845         * MiniBrowser/mac/WK2BrowserWindowController.m:
2846         (-[WK2BrowserWindowController clearWebsiteData:]):
2847
2848 2014-12-07  Gwang Yoon Hwang  <yoon@igalia.com>
2849
2850         Update style checker to deal with "const override"
2851         https://bugs.webkit.org/show_bug.cgi?id=139371
2852
2853         Reviewed by Csaba Osztrogonác.
2854
2855         check-webkit-style shouldn't complain about an open brace to start a
2856         line after a function definition with const override.
2857
2858         * Scripts/webkitpy/style/checkers/cpp.py:
2859         (check_braces):
2860         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2861         (CppStyleTest.test_brace_at_begin_of_line):
2862
2863 2014-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2864
2865         [GTK] Fix GObject DOM bindings API break tests after r176920
2866         https://bugs.webkit.org/show_bug.cgi?id=139368
2867
2868         Reviewed by Gustavo Noronha Silva.
2869
2870         Remove the @version from the symbol name before comparing.
2871
2872         * gtk/check-for-webkitdom-api-breaks:
2873         (read_expected_api):
2874
2875 2014-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2876
2877         Remove the option to automatically update the GObject DOM bindings symbols file
2878         https://bugs.webkit.org/show_bug.cgi?id=139366
2879
2880         Reviewed by Martin Robinson.
2881
2882         It's currently broken, because symbols now need to be in a
2883         specific order. Now that the symbols file only contains stable
2884         API, it's not a problem to manually update it every time new API
2885         is added.
2886
2887         * gtk/check-for-webkitdom-api-breaks:
2888         (read_expected_api):
2889         (check_api):
2890         (write_expected_api): Deleted.
2891
2892 2014-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2893
2894         [GTK] Use GMainLoopSource in WebKitTestRunner
2895         https://bugs.webkit.org/show_bug.cgi?id=138831
2896
2897         Reviewed by Sergio Villar Senin.
2898
2899         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2900         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
2901         (WTR::TestRunner::platformInitialize):
2902         (WTR::TestRunner::invalidateWaitToDumpWatchdogTimer):
2903         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2904         (WTR::waitToDumpWatchdogTimerCallback): Deleted.
2905         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2906         (WTR::TestController::notifyDone):
2907         (WTR::TestController::platformRunUntil):
2908         (WTR::cancelTimeout): Deleted.
2909
2910 2014-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2911
2912         [GTK] Missing API detected in GObject DOM bindings after r176630
2913         https://bugs.webkit.org/show_bug.cgi?id=139201
2914
2915         Reviewed by Gustavo Noronha Silva.
2916
2917         Handle deprecated symbols again when generating the GObject DOM
2918         bindings documentation.
2919
2920         * gtk/webkitdom.py:
2921         (WebKitDOMDocGenerator):
2922         (WebKitDOMDocGenerator.is_deprecated_symbol_file):
2923         (WebKitDOMDocGenerator.generate):
2924         (WebKitDOMDocGeneratorSections.__init__):
2925         (WebKitDOMDocGeneratorSections._find_deprecated_symbols):
2926         (WebKitDOMDocGeneratorSections.write_section):
2927
2928 2014-12-07  Csaba Osztrogonác  <ossy@webkit.org>
2929
2930         [EFL][jhbuild] Fix libsoup build with clang
2931         https://bugs.webkit.org/show_bug.cgi?id=139088
2932
2933         Reviewed by Gyuyoung Kim.
2934
2935         * efl/jhbuild.modules:
2936         * efl/patches/soup-clang-warning-fix1.patch: Added.
2937         * efl/patches/soup-clang-warning-fix2.patch: Added.
2938
2939 2014-12-06  Alexey Proskuryakov  <ap@apple.com>
2940
2941         [Mac] DumpRenderTree sets storage directory incorrectly
2942         https://bugs.webkit.org/show_bug.cgi?id=139347
2943
2944         Reviewed by Dan Bernstein.
2945
2946         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
2947         Don't use user defaults to pass per-instance paths, as user defaults are shared
2948         across all instances.
2949
2950 2014-12-05  Chris Fleizach  <cfleizach@apple.com>
2951
2952         AX: I cannot activate links on the mobile version of news.google.com
2953         https://bugs.webkit.org/show_bug.cgi?id=139330
2954
2955         Reviewed by Simon Fraser.
2956
2957         Implement press for iOS.
2958
2959         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2960         (AccessibilityUIElement::press):
2961
2962 2014-12-05  Daniel Bates  <dabates@apple.com>
2963
2964         [iOS] Query -[WAKWindow screenScale] instead of using WKGetScreenScaleFactor()
2965         https://bugs.webkit.org/show_bug.cgi?id=139326
2966
2967         Reviewed by Anders Carlsson.
2968
2969         Ask the window for its screen scale factor instead of calling WKGetScreenScaleFactor()
2970         to query the OS for it. This approach will ensure DumpRenderTree takes the snapshot
2971         using the same scale factor as used in WebKit.
2972
2973         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
2974         (createBitmapContextFromWebView):
2975
2976 2014-12-05  Anders Carlsson  <andersca@apple.com>
2977
2978         REGRESSION (r176677): All tests crash on Windows
2979         https://bugs.webkit.org/show_bug.cgi?id=139321
2980
2981         Reviewed by Alexey Proskuryakov.
2982
2983         * DumpRenderTree/win/DumpRenderTree.cpp:
2984         (runTest):
2985         Don't call CFRelease on the url while we have an outstanding pointer to its string,
2986         and use the right number of bytes when allocating the testURL buffer.
2987
2988 2014-12-05  Daniel Bates  <dabates@apple.com>
2989
2990         [iOS] DumpRenderTree produces many reference test mismatches
2991         https://bugs.webkit.org/show_bug.cgi?id=139314
2992
2993         Reviewed by Simon Fraser.
2994
2995         Fixes an issue where the scale factor used to render the snapshot taken by
2996         DumpRenderTree may differ from the device scale factor. In particular, the
2997         scale factor used to render a snapshot of a test may differ from the scale
2998         factor used to render the snapshot of its expected result.
2999
3000         Currently DumpRenderTree uses SPI, -[UIView newSnapshotForRect], on iOS to
3001         snapshot the UIWebBrowserView. This SPI always render using a scale factor
3002         of one when the backing store for the LegacyTileLayer objects were out-of-
3003         date regardless of the device scale factor. Instead we should use UIImage
3004         and CALayer API to perform the snapshot with respect to the device scale
3005         factor.
3006
3007         Additionally write iOS pixel dump support logic in terms of existing
3008         DumpRenderTree abstractions so as to support generating and comparing
3009         pixel dump checksums as well as make the iOS code more consistent with
3010         the logic used by other ports.
3011
3012         * DumpRenderTree/PixelDumpSupport.cpp:
3013         (dumpWebViewAsPixelsAndCompareWithExpected): Removed !PLATFORM(IOS)-guard.
3014         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
3015         (BitmapContext::createFromUIImage): Added.
3016         (BitmapContext::pixelData): Added.
3017         (BitmapContext::BitmapContext): Added.
3018         (computeMD5HashStringForBitmapContext): Added.
3019         (dumpBitmap): Added.
3020         (createBitmapContextFromWebView): Moved logic from dumpWebViewAsPixelsAndCompareWithExpected() to here.
3021         (dumpWebViewAsPixelsAndCompareWithExpected): Deleted.
3022
3023 2014-12-05  Anders Carlsson  <andersca@apple.com>
3024
3025         Give all web pages a website data store
3026         https://bugs.webkit.org/show_bug.cgi?id=139317
3027
3028         Reviewed by Tim Horton.
3029
3030         * MiniBrowser/mac/AppDelegate.m:
3031         (-[BrowserAppDelegate newPrivateWindow:]):
3032         Don't release the controller - it's implicitly retained by the window.
3033
3034 2014-12-05  Daniel Bates  <dabates@apple.com>
3035
3036         [iOS] DumpRenderTree fails to render every other test when pixel tests are on
3037         https://bugs.webkit.org/show_bug.cgi?id=137581
3038         <rdar://problem/18642906>
3039
3040         Reviewed by Simon Fraser.
3041
3042         Fixes an issue where the DumpRenderTree snapshot may reflect the rendered content
3043         of the test that proceeded the currently running test.
3044
3045         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
3046         (dumpWebViewAsPixelsAndCompareWithExpected): Ensure that UIKit has performed a layout
3047         of the UIWebBrowserView view. Also, remove unnecessary call to -[UIWebDocumentView layoutTilesNow]
3048         as -[UIWebDocumentView newSnapshotWithRect] will layout the tiles.
3049
3050 2014-12-05  Jer Noble  <jer.noble@apple.com>
3051
3052         [WTF] MediaTime should support round-tripping from and to doubles.
3053         https://bugs.webkit.org/show_bug.cgi?id=139248
3054
3055         Reviewed by Eric Carlson.
3056
3057         Add API tests for new features of MediaTime. Update the LLDB python provider to correctly display
3058         the MediaTimes after this change.
3059
3060         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
3061         (WTF::operator<<):
3062         (TestWebKitAPI::TEST):
3063         * lldb/lldb_webkit.py:
3064         (WTFMediaTime_SummaryProvider):
3065         (WTFMediaTimeProvider.timeValueAsDouble):
3066         (WTFMediaTimeProvider.isIndefinite):
3067         (WTFMediaTimeProvider):
3068         (WTFMediaTimeProvider.hasDoubleValue):
3069
3070 2014-12-05  Anders Carlsson  <andersca@apple.com>
3071
3072         Add a private browsing mode to MiniBrowser
3073         https://bugs.webkit.org/show_bug.cgi?id=139308
3074
3075         Reviewed by Sam Weinig.
3076
3077         * MiniBrowser/mac/AppDelegate.m:
3078         (defaultConfiguration):
3079         (-[BrowserAppDelegate newWindow:]):
3080         (-[BrowserAppDelegate newPrivateWindow:]):
3081         * MiniBrowser/mac/MainMenu.xib:
3082         * MiniBrowser/mac/WK2BrowserWindowController.h:
3083         * MiniBrowser/mac/WK2BrowserWindowController.m:
3084         (-[WK2BrowserWindowController awakeFromNib]):
3085         (-[WK2BrowserWindowController initWithConfiguration:]):
3086         (-[WK2BrowserWindowController dealloc]):
3087         (-[WK2BrowserWindowController observeValueForKeyPath:ofObject:change:context:]):
3088
3089 2014-12-04  Alexey Proskuryakov  <ap@apple.com>
3090
3091         Run http tests parallel
3092         https://bugs.webkit.org/show_bug.cgi?id=138958
3093
3094         Reviewed by Daniel Bates.
3095
3096         Remove the concept of "locked shard". Now http tests are just like any other tests.
3097         We start HTTP and WebSocket servers at the start if we need them, and terminate them
3098         when done with all the tests (not when the last http test runs, which is unnecessarily
3099         unpredictable).
3100
3101         This makes debug tests run in 8 minutes and 12 seconds on my Mac Pro. Without the
3102         patch, they used to take over 15 minutes.
3103
3104         As part of the fix, we no longer pass the number of servers to Apache. I don't
3105         think that these parameters did what we wanted them to do; Apache handles the load
3106         just fine without them.
3107
3108         The change applies to all platforms. I fixed everything I could find on Mac, and
3109         Ossy told me that he's been running http tests in parallel for a long time. If
3110         there is increased instability for some ports, it will need to be fixed - there is
3111         generally nothing special about http tests at this point, and most code is
3112         cross-platform in WebKit2.
3113
3114         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
3115         (LayoutTestRunner.__init__):
3116         (LayoutTestRunner.run_tests):
3117         (LayoutTestRunner.start_servers_with_lock):
3118         (LayoutTestRunner._handle_started_test):
3119         (Worker.handle):
3120         (Sharder.__init__):
3121         (Sharder.shard_tests):
3122         (Sharder._shard_every_file):
3123         (Sharder._shard_by_directory):
3124         (LayoutTestRunner._handle_finished_test_list): Deleted.
3125         (LayoutTestRunner._handle_finished_test_list.find): Deleted.
3126         (Sharder._shard_in_two): Deleted.
3127         (Sharder): Deleted.
3128         (Sharder._resize_shards): Deleted.
3129         (Sharder._resize_shards.divide_and_round_up): Deleted.
3130         (Sharder._resize_shards.extract_and_flatten): Deleted.
3131         (Sharder._resize_shards.split_at): Deleted.
3132         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py:
3133         (FakePrinter.print_workers_and_shards):
3134         (LayoutTestRunnerTests.test_servers_started.start_http_server):
3135         (LayoutTestRunnerTests.test_servers_started):
3136         (SharderTests.get_shards):
3137         (SharderTests.test_shard_by_dir):
3138         (SharderTests.test_shard_every_file):
3139         (SharderTests): Deleted.
3140         (SharderTests.test_shard_in_two): Deleted.
3141         (SharderTests.test_shard_in_two_has_no_locked_shards): Deleted.
3142         (SharderTests.test_shard_in_two_has_no_unlocked_shards): Deleted.
3143         (SharderTests.test_multiple_locked_shards): Deleted.
3144         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
3145         (ManagerTest.test_needs_servers.get_manager):
3146         (ManagerTest.integration_test_needs_servers.get_manager):
3147         (ManagerTest.test_look_for_new_crash_logs.get_manager):
3148         (ManagerTest):
3149         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3150         (_set_up_derived_options):
3151         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3152         (RunTest.test_batch_size):
3153         (RunTest.test_max_locked_shards): Deleted.
3154         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
3155         (LayoutTestApacheHttpd.__init__):
3156         * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
3157         (TestLayoutTestApacheHttpd.test_start_cmd):
3158         * Scripts/webkitpy/layout_tests/servers/http_server.py:
3159         (Lighttpd.__init__):
3160         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
3161         (HttpServerBase.__init__):
3162         * Scripts/webkitpy/layout_tests/views/printing.py:
3163         (Printer.print_workers_and_shards):
3164         * Scripts/webkitpy/port/base.py:
3165         (Port.default_child_processes):
3166         (Port.to.start_http_server):
3167         (Port.default_max_locked_shards): Deleted.
3168         * Scripts/webkitpy/port/port_testcase.py:
3169         (PortTestCase.make_port):
3170         (PortTestCase.test_default_max_locked_shards): Deleted.
3171         * Scripts/webkitpy/port/test.py:
3172         (TestPort.start_http_server):
3173
3174 2014-12-04  Alexey Proskuryakov  <ap@apple.com>
3175
3176         Don't lock perf tests in run-webkit-tests
3177         https://bugs.webkit.org/show_bug.cgi?id=139264
3178
3179         Reviewed by Daniel Bates.
3180
3181         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
3182         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py:
3183         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3184         * Scripts/webkitpy/layout_tests/models/test_input.py:
3185         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
3186
3187 2014-12-03  Alexey Proskuryakov  <ap@apple.com>
3188
3189         http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html fails unless certain other tests run before it
3190         https://bugs.webkit.org/show_bug.cgi?id=139243
3191
3192         Reviewed by Anders Carlsson.
3193
3194         We didn't get WKPageLoaderClient calls in secondary windows, so we didn't have a
3195         chance to allow untrusted certificates.
3196
3197         * WebKitTestRunner/TestController.cpp: (WTR::TestController::createOtherPage):
3198         Set up more client objects for secondary windows. We may be able to share some of the
3199         code with main view creation function, but it's not exactly the same (notably, we
3200         do not focus a secondary window when it's done loading).
3201
3202 2014-12-03  Joanmarie Diggs  <jdiggs@igalia.com>
3203
3204         AX: [ATK] Inline text elements with accessible object attributes and/or event handlers are not exposed
3205         https://bugs.webkit.org/show_bug.cgi?id=139071
3206
3207         Reviewed by Chris Fleizach.
3208
3209         Add string value for ATK_ROLE_STATIC in roleToString.
3210
3211         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3212
3213 2014-12-03  Renato Nagy  <rnagy@inf.u-szeged.hu>
3214
3215         check-webkit-style is confused by ternary expression inside first member initializer
3216         https://bugs.webkit.org/show_bug.cgi?id=136442
3217
3218         Reviewed by Csaba Osztrogonác.
3219
3220         * Scripts/webkitpy/style/checkers/cpp.py:
3221         (check_member_initialization_list):
3222
3223 2014-12-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3224
3225         [GTK] [JHBuild] gst-plugins-bad fails to build if the GNUStep libraries are installed.
3226         https://bugs.webkit.org/show_bug.cgi?id=139220
3227
3228         Reviewed by Philippe Normand.
3229
3230         * gtk/jhbuild.modules:
3231         * gtk/patches/gst-plugins-bad-remove-gnustep-support.patch: Added.
3232
3233 2014-12-03  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
3234
3235         Remove unused JSC runtime options
3236         https://bugs.webkit.org/show_bug.cgi?id=133070
3237
3238         Reviewed by Csaba Osztrogonác.
3239
3240         * Scripts/run-jsc-stress-tests:
3241
3242 2014-12-03  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3243
3244         [EFL] Add subtle crypto to the build system
3245         https://bugs.webkit.org/show_bug.cgi?id=138612
3246
3247         Reviewed by Csaba Osztrogonác.
3248
3249         * Scripts/webkitperl/FeatureList.pm:
3250
3251 2014-12-02  Joanmarie Diggs  <jdiggs@igalia.com>
3252
3253         AX: [ATK] Table captions and table rows are missing from the accessible hierarchy
3254         https://bugs.webkit.org/show_bug.cgi?id=139005
3255
3256         Reviewed by Chris Fleizach.
3257
3258         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3259         Add mapping for ATK_ROLE_CAPTION to roleToString
3260
3261 2014-12-02  Alexey Proskuryakov  <ap@apple.com>
3262
3263         http/tests/appcache/main-resource-fallback-for-network-error-crash.html can break subsequent tests
3264         https://bugs.webkit.org/show_bug.cgi?id=139149
3265
3266         Reviewed by Anders Carlsson.
3267
3268         WebKit2 already cleared application caches between runs (although it wasn't entirely
3269         effective without WebCore changes in this patch).
3270
3271         * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Clear applicaiton caches between runs.
3272
3273         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ditto (unfortunately, this
3274         function is not implemented on Windows, see below).
3275
3276         * DumpRenderTree/win/TestRunnerWin.cpp: (TestRunner::clearAllApplicationCaches):
3277         Ameded a FIXME.
3278
3279 2014-12-02  Gavin Barraclough  <barraclough@apple.com>
3280
3281         Generalize PageActivityAssertionToken
3282         https://bugs.webkit.org/show_bug.cgi?id=139106
3283
3284         Reviewed by Sam Weinig.
3285
3286         Add an API test for WTF::RefCounter.
3287
3288         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3289         * TestWebKitAPI/Tests/WTF/RefCounter.cpp: Added.
3290         (TestWebKitAPI::TEST):
3291             - added RefCounter test.
3292
3293 2014-12-02  Alexey Proskuryakov  <ap@apple.com>
3294
3295         [Mac, iOS] Crash log application information contains latest main frame URL instead of test URL
3296         https://bugs.webkit.org/show_bug.cgi?id=139174
3297
3298         Reviewed by Simon Fraser.
3299
3300         * DumpRenderTree/TestRunner.cpp:
3301         * DumpRenderTree/TestRunner.h:
3302         Renamed testPathOrURL to testURL, because this variable always contains a URL.
3303
3304         * DumpRenderTree/mac/DumpRenderTree.mm:
3305         (sizeWebViewForCurrentTest): Updated for testPathOrURL renaming.
3306         (testPathFromURL): Moved from FrameLoadDelegate.mm.
3307         (runTest): Set crash reporter information here, as we know the exact test URL.
3308
3309         * DumpRenderTree/mac/FrameLoadDelegate.mm:
3310         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): Don't set crash
3311         reporter information here.
3312
3313         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3314         * DumpRenderTree/mac/TestRunnerMac.mm:
3315         Updated for testPathOrURL renaming.
3316
3317         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3318         (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame): WebProcess doesn't know
3319         test URL until load starts, so save it into TestRunner now. A new TestRunner object
3320         is created for each test.
3321
3322         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3323         (WTR::TestRunner::testURL):
3324         (WTR::TestRunner::setTestURL):
3325         Make TestRunner know the test name. For now, it's good enough to have it once load
3326         starts, but if we ever need it earlier, we can send it with BeginTest message.
3327
3328         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
3329         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
3330         Use test URL, not currently loading URL for CrashReporter.
3331
3332         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
3333         (WTR::setCrashReportApplicationSpecificInformationToURL): Added a space after colon
3334         (WebKit1 already had it right).
3335
3336         * DumpRenderTree/win/DumpRenderTree.cpp:
3337         (sizeWebViewForCurrentTest):
3338         (runTest):
3339         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3340         (ResourceLoadDelegate::willSendRequest):
3341         Changed Windows DumpRenderTree to also use URL in TestRunner.
3342
3343 2014-12-02  Daniel Bates  <dabates@apple.com>
3344
3345         [iOS] run-webkit-tests records most DumpRenderTree.app crashes as time-outs
3346         https://bugs.webkit.org/show_bug.cgi?id=139143
3347
3348         Reviewed by David Kilzer.
3349
3350         Similar to the Windows-specific fix in <https://bugs.webkit.org/show_bug.cgi?id=37859>,
3351         teach DumpRenderTree for iOS to write "#CRASHED" to the standard error stream when it
3352         crashes. Run-webkit-tests will record as crashing the test associated with the
3353         DumpRenderTree instance that wrote that string.
3354
3355         Currently almost all of the DumpRenderTree.app crashes are recorded by run-
3356         webkit-tests as a time-out because ReportCrash(8) delays delivery of the
3357         process exit notification for DumpRenderTree.app to LayoutTestRelay, which
3358         launched DumpRenderTree.app, past the time-out time limit. Notice LayoutTestRelay
3359         was launched by run-webkit-tests. So, run-webkit-tests kills LayoutTestRelay
3360         (since it exceeded the time-out time limit) before it can inform rub-webkit-tests
3361         about a crash.
3362
3363         Additionally, update the crash message format written to standard error when LayoutTestRelay
3364         detects that {WebKitTestRunner, DumpRenderTree}.app crashed so as to be similar to the
3365         crash message format used by WebKitTestRunner when it detects that the WebProcess crashed.
3366         Then run-webkit-tests will collect the crash logs for {WebKitTestRunner, DumpRenderTree}.app
3367         when they crash in their test machinery logic/UI process code.
3368
3369         * DumpRenderTree/mac/DumpRenderTree.mm:
3370         (writeCrashedMessageOnFatalError): Added.
3371         (dumpRenderTree): Register signal handler, writeCrashedMessageOnFatalError(), for signals:
3372         SIGILL, SIGFPE, SIGBUS and SIGSEGV.
3373         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
3374         (-[LTRelayController didCrashWithMessage:]): Emit a crash message with a format
3375         similar to the format used by WebKitTestRunner so that run-webkit-tests will collect
3376         the crash logs for WebKitTestRunner/DumpRenderTree.app.
3377         * Scripts/webkitpy/port/driver.py:
3378         (Driver.__init__): Update comment.
3379         (Driver._check_for_driver_crash): Ditto.
3380         * Scripts/webkitpy/port/ios.py:
3381         (IOSSimulatorPort): Add class constant SUBPROCESS_CRASH_REGEX, which represents a compiled
3382         regular expression. This constant is used as an optimization to avoid compiling the same
3383         regular expression across invocations of _get_crash_log().
3384         (IOSSimulatorPort._get_crash_log): Modified to parse the WebKitTestRunner-like crash message
3385         for the subprocess name and pid. Also, moved variables crash_log, crash_logs, and now to be
3386         closer to where they are used.
3387
3388 2014-12-01  Anders Carlsson  <andersca@apple.com>
3389
3390         Remove WKBundleRemoveAllVisitedLinks
3391         https://bugs.webkit.org/show_bug.cgi?id=139163
3392
3393         Reviewed by Sam Weinig.
3394
3395         Remove the call to WKBundleRemoveAllVisitedLinks and add a FIXME instead.
3396
3397         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3398         (WTR::InjectedBundle::beginTesting):
3399         * WebKitTestRunner/TestInvocation.cpp:
3400         (WTR::TestInvocation::invoke):
3401
3402 2014-12-02  Anders Carlsson  <andersca@apple.com>
3403
3404         Fix Windows build.
3405
3406         * DumpRenderTree/win/DumpRenderTree.cpp:
3407         (setAlwaysAcceptCookies):
3408
3409 2014-12-02  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
3410
3411         [EFL] Remove edbus dependency from jhbuild
3412         https://bugs.webkit.org/show_bug.cgi?id=139130
3413
3414         Reviewed by Gyuyoung Kim.
3415
3416         After http://trac.webkit.org/changeset/176555 we
3417         don't need it anymore.
3418
3419         * efl/jhbuild.modules:
3420
3421 2014-12-02  Philippe Normand  <pnormand@igalia.com>
3422
3423         [jhbuild] wrong Dependencies path
3424         https://bugs.webkit.org/show_bug.cgi?id=139176
3425
3426         Reviewed by Martin Robinson.
3427
3428         * Scripts/webkitpy/port/base.py:
3429         (Port._should_use_jhbuild):
3430
3431 2014-12-02  Philippe Normand  <pnormand@igalia.com>
3432
3433         [GStreamer] Bump internal jhbuild versions to 1.4.4
3434         https://bugs.webkit.org/show_bug.cgi?id=138866
3435
3436         Reviewed by Carlos Garcia Campos.
3437
3438         * gtk/jhbuild.modules:
3439         * gtk/patches/gst-events-arent-gstobjects.patch: Removed.
3440         * gtk/patches/gst-plugins-base-fix-build-gcc-4.9-x86.patch: Removed.
3441         * gtk/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
3442
3443 2014-12-01  Commit Queue  <commit-queue@webkit.org>
3444
3445         Unreviewed, rolling out r176566.
3446         https://bugs.webkit.org/show_bug.cgi?id=139124
3447
3448         It broke the GTK performance tests. (Requested by clopez on
3449         #webkit).
3450
3451         Reverted changeset:
3452
3453         "[GTK] Use GMainLoopSource in WebKitTestRunner"
3454         https://bugs.webkit.org/show_bug.cgi?id=138831
3455         http://trac.webkit.org/changeset/176566
3456
3457 2014-11-29  Anders Carlsson  <andersca@apple.com>
3458
3459         Crash when calling WKPageClose on the originated page from within createNewPage callback
3460         https://bugs.webkit.org/show_bug.cgi?id=139099
3461         <rdar://problem/19052564>
3462
3463         Reviewed by Sam Weinig.
3464
3465         Add a test.
3466
3467         * TestWebKitAPI/PlatformWebView.h:
3468         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3469         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp: Added.
3470         (TestWebKitAPI::runJavaScriptAlert):
3471         (TestWebKitAPI::createNewPage):
3472         (TestWebKitAPI::TEST):
3473         * TestWebKitAPI/Tests/WebKit2/close-from-within-create-page.html: Added.
3474         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
3475         (TestWebKitAPI::PlatformWebView::PlatformWebView):
3476
3477 2014-11-28  Commit Queue  <commit-queue@webkit.org>
3478
3479         Unreviewed, rolling out r176564.
3480         https://bugs.webkit.org/show_bug.cgi?id=139093
3481
3482         massive failures on release test bot (Requested by philn on
3483         #webkit).
3484
3485         Reverted changeset:
3486
3487         "[GStreamer] Bump internal jhbuild versions to 1.4.4"
3488         https://bugs.webkit.org/show_bug.cgi?id=138866
3489         http://trac.webkit.org/changeset/176564
3490
3491 2014-11-28  Carlos Garcia Campos  <cgarcia@igalia.com>
3492
3493         [GTK] Use GMainLoopSource in WebKitTestRunner
3494         https://bugs.webkit.org/show_bug.cgi?id=138831
3495
3496         Reviewed by Sergio Villar Senin.
3497
3498         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3499         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
3500         (WTR::TestRunner::platformInitialize):
3501         (WTR::TestRunner::invalidateWaitToDumpWatchdogTimer):
3502         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
3503         (WTR::waitToDumpWatchdogTimerCallback): Deleted.
3504         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3505         (WTR::TestController::notifyDone):
3506         (WTR::TestController::platformRunUntil):
3507         (WTR::cancelTimeout): Deleted.
3508
3509 2014-11-24  Philippe Normand  <pnormand@igalia.com>
3510
3511         [GStreamer] Bump internal jhbuild versions to 1.4.4
3512         https://bugs.webkit.org/show_bug.cgi?id=138866
3513
3514         Reviewed by Carlos Garcia Campos.
3515
3516         * gtk/jhbuild.modules:
3517         * gtk/patches/gst-events-arent-gstobjects.patch: Removed.
3518         * gtk/patches/gst-plugins-base-fix-build-gcc-4.9-x86.patch: Removed.
3519         * gtk/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
3520
3521 2014-11-28  Carlos Garcia Campos  <cgarcia@igalia.com>
3522
3523         [GTK] Use custom JavaScript instead of DBus to implement WebProcess tests
3524         https://bugs.webkit.org/show_bug.cgi?id=138834
3525
3526         Reviewed by Sergio Villar Senin.
3527
3528         It makes everyting simpler and the tests run faster too, since we
3529         don't need to spawn the private bus and wait until the DBus name
3530         is registered. The web extension registers a new JavaSCript class
3531         with a status method to run the tests, similar to the DBus
3532         method. In the UI process side, tests use webkit_web_view_run_java_script()
3533         instead of sending a DBus message.
3534
3535         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
3536         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
3537         (WebKitDOMNodeFilterTest::create):
3538         (WebKitDOMNodeFilterTest::testTreeWalker):
3539         (WebKitDOMNodeFilterTest::testNodeIterator):
3540         (WebKitDOMNodeFilterTest::webPageFromArgs): Deleted.
3541         (WebKitDOMNodeFilterTest::runTest): Deleted.
3542         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
3543         (WebKitDOMNodeTest::create):
3544         (WebKitDOMNodeTest::testHierarchyNavigation):
3545         (WebKitDOMNodeTest::testInsertion):
3546         (WebKitDOMNodeTest::testTagNames):
3547         (WebKitDOMNodeTest::webPageFromArgs): Deleted.
3548         (WebKitDOMNodeTest::runTest): Deleted.
3549         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp:
3550         (WebKitDOMXPathNSResolverTest::create):
3551         (WebKitDOMXPathNSResolverTest::testXPathNSResolverNative):
3552         (WebKitDOMXPathNSResolverTest::testXPathNSResolverCustom):
3553         (WebKitDOMXPathNSResolverTest::webPageFromArgs): Deleted.
3554         (WebKitDOMXPathNSResolverTest::runTest): Deleted.
3555         * TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp:
3556         (WebKitFrameTest::create):
3557         (WebKitFrameTest::testMainFrame):
3558         (WebKitFrameTest::testURI):
3559         (WebKitFrameTest::testJavaScriptContext):
3560         (WebKitFrameTest::webPageFromArgs): Deleted.
3561         (WebKitFrameTest::runTest): Deleted.
3562         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
3563         (testWebKitDOMNodeHierarchyNavigation):
3564         (testWebKitDOMNodeInsertion):
3565         (testWebKitDOMNodeTagNames):
3566         (beforeAll):
3567         (afterAll):
3568         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNodeFilter.cpp:
3569         (runTest):
3570         (beforeAll):
3571         (afterAll):
3572         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp:
3573         (testWebKitDOMXPathNSResolverNative):
3574         (testWebKitDOMXPathNSResolverCustom):
3575         (beforeAll):
3576         (afterAll):
3577         (runTest): Deleted.
3578         * TestWebKitAPI/Tests/WebKit2Gtk/TestFrame.cpp:
3579         (webkitFrameTestRun):
3580         (beforeAll):
3581         (afterAll):
3582         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
3583         (testsMap):
3584         (WebProcessTest::add):
3585         (WebProcessTest::create):
3586         (runTest):
3587         (windowObjectClearedCallback):
3588         (webkit_web_extension_initialize):
3589         (methodCallCallback): Deleted.
3590         (webkit_web_extension_initialize_with_user_data): Deleted.
3591         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
3592         * TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.cpp: Removed.
3593         * TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.h: Removed.
3594         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3595         (WebViewTest::runWebProcessTest):
3596         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
3597
3598 2014-11-28  Csaba Osztrogonác  <ossy@webkit.org>
3599
3600         [EFL] libseccomp should pick up CC environment variable to be conform to other jhbuild modules
3601         https://bugs.webkit.org/show_bug.cgi?id=139086
3602
3603         Reviewed by Gyuyoung Kim.
3604
3605         * efl/jhbuild.modules:
3606         * efl/patches/libseccomp-pick-up-CC.patch: Added.
3607
3608 2014-11-28  Bartlomiej Gajda  <b.gajda@samsung.com>
3609
3610         [EFL] Add warning if CMake version is too old for building with ninja.
3611         https://bugs.webkit.org/show_bug.cgi?id=139055
3612
3613         Reviewed by Gyuyoung Kim.
3614
3615         CMake need to be >= 2.8.10 to build WebKit using ninja, some repos don't have
3616         that version in their repositories.
3617
3618         * efl/install-dependencies:
3619
3620 2014-11-28  Andrzej Badowski  <a.badowski@samsung.com>
3621
3622         [ATK] Allowing the use of AccessibilityUIElement::columnHeaders method for table.
3623         https://bugs.webkit.org/show_bug.cgi?id=139044
3624