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