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