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