460d553da3a975cbe27432d2de2a9a7583925ef4
[WebKit-https.git] / Tools / ChangeLog
1 2014-02-18  Jinwoo Song  <jinwoo7.song@samsung.com>
2
3         [EFL][MiniBrowser] Remove view_mode parameter in window_create()
4         https://bugs.webkit.org/show_bug.cgi?id=128960
5
6         Reviewed by Gyuyoung Kim.
7
8         As view source code is removed in r164254, window_create() also should remove view_mode.
9
10         * MiniBrowser/efl/main.c:
11         (on_key_down):
12         (on_window_create):
13         (window_create):
14         (elm_main):
15
16 2014-02-18  Diego Pino García  <dpino@igalia.com>
17
18         [GTK] Minibrowser: Add shortcut to open Web Inspector
19         https://bugs.webkit.org/show_bug.cgi?id=128813
20
21         Reviewed by Anders Carlsson.
22
23         Added shortcuts Ctrl+Shift+I and F12 for toggling Web Inspector.
24
25         * MiniBrowser/gtk/BrowserWindow.c:
26         (toggleWebInspector):
27         (browser_window_init):
28
29 2014-02-18  Dan Bernstein  <mitz@apple.com>
30
31         Stop using PLATFORM(MAC) except where it means “OS X but not iOS”
32         https://bugs.webkit.org/show_bug.cgi?id=128952
33
34         Reviewed by Anders Carlsson.
35
36         * TestWebKitAPI/JavaScriptTest.h: Changed PLATFORM(MAC) to PLATFORM(COCOA) and changed to
37         use OBJC_CLASS.
38         * TestWebKitAPI/PlatformUtilities.h: Changed PLATFORM(MAC) to USE(FOUNDATION) and changed
39         to use OBJC_CLASS.
40         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: Changed PLATFORM(MAC) to
41         PLATFORM(COCOA).
42         (TestWebKitAPI::TEST):
43         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
44         (TestWebKitAPI::TEST): Added expected default font-family values for iOS.
45         * TestWebKitAPI/config.h: Changed PLATFORM(MAC) to PLATFORM(COCOA).
46         * WebKitTestRunner/EventSenderProxy.h: Ditto.
47         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: Ditto.
48         * WebKitTestRunner/InjectedBundle/AccessibilityController.h: Ditto.
49         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp: Ditto.
50         (WTR::AccessibilityTextMarker::platformTextMarker):
51         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.h: Ditto.
52         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp: Ditto.
53         (WTR::AccessibilityTextMarkerRange::platformTextMarkerRange):
54         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.h: Ditto.
55         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: Ditto.
56         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: Ditto.
57         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Ditto.
58         * WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
59         * WebKitTestRunner/PlatformWebView.h: Ditto.
60         * WebKitTestRunner/TestController.cpp: Ditto.
61         (WTR::TestController::resetStateToConsistentValues):
62         (WTR::TestController::processDidCrash):
63         * WebKitTestRunner/TestInvocation.cpp: Ditto.
64         (WTR::updateThreadedScrollingForCurrentTest):
65         (WTR::TestInvocation::dumpWebProcessUnresponsiveness):
66         * WebKitTestRunner/cg/TestInvocationCG.cpp: Ditto.
67         (WTR::computeMD5HashStringForContext):
68
69 2014-02-17  Dan Bernstein  <mitz@apple.com>
70
71         Stop using PLATFORM(MAC) in DumpRenderTree except where it means “OS X but not iOS”
72         https://bugs.webkit.org/show_bug.cgi?id=128950
73
74         Reviewed by Anders Carlsson.
75
76         Changed all PLATFORM(MAC) instances that were not excluding iOS to PLATFORM(COCOA).
77
78         * DumpRenderTree/AccessibilityController.h:
79         * DumpRenderTree/AccessibilityTextMarker.h:
80         * DumpRenderTree/AccessibilityUIElement.cpp:
81         * DumpRenderTree/AccessibilityUIElement.h:
82         * DumpRenderTree/DumpRenderTree.h:
83         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
84         (computeMD5HashStringForBitmapContext):
85         * DumpRenderTree/cg/PixelDumpSupportCG.h:
86         (BitmapContext::~BitmapContext):
87         * DumpRenderTree/config.h:
88
89 2014-02-17  Filip Pizlo  <fpizlo@apple.com>
90
91         More ARM FTL glue
92         https://bugs.webkit.org/show_bug.cgi?id=128948
93
94         Reviewed by Sam Weinig.
95
96         * Scripts/configure-llvm: Removed. This isn't really practical now that we require a separate build directory.
97         * Scripts/copy-webkitlibraries-to-product-directory: Switch to using a separate build directory, and for setting a PATH before running LLVM's make.
98
99 2014-02-17  Brent Fulgham  <bfulgham@apple.com>
100
101         [Win] There's another Windows SDK. Make sure we recognize it.
102         https://bugs.webkit.org/show_bug.cgi?id=128932
103
104         Reviewed by Tim Horton.
105
106         * Scripts/webkitpy/port/win.py:
107         (WinPort._ntsd_location):
108
109 2014-02-17  Ryosuke Niwa  <rniwa@webkit.org>
110
111         webkitpy test fix on Mac after r164244.
112
113         It's somewhat crazy that we're trying to run unittests for Windows on Mac but whatever.
114
115         * Scripts/webkitpy/port/win.py:
116         (WinPort._ntsd_location):
117
118 2014-02-17  Brent Fulgham  <bfulgham@apple.com>
119
120         [Win] Fall back to Windows symbol servers when necessary
121         https://bugs.webkit.org/show_bug.cgi?id=128926
122
123         Reviewed by Ryosuke Niwa.
124
125         * Scripts/webkitpy/port/win.py:
126         (WinPort):
127         (setup_crash_log_saving): Fall back to Microsoft Symbol Server when local symbols are
128         not specified.
129
130 2014-02-17  László Langó  <llango.u-szeged@partner.samsung.com>
131
132         Fix typos in Tools/efl/jhbuild.modules.
133         https://bugs.webkit.org/show_bug.cgi?id=128908
134
135         Reviewed by Csaba Osztrogonác.
136
137         * efl/jhbuild.modules: 's/<deb /<dep /g'
138
139 2014-02-15  Ryuan Choi  <ryuan.choi@samsung.com>
140
141         Build break when disabled ACCESSIBILITY since r162986
142         https://bugs.webkit.org/show_bug.cgi?id=128880
143
144         Unreviewed build fix.
145
146         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
147         Added dummy implementations for newly added methods.
148         (WTR::AccessibilityUIElement::rowHeaders):
149         (WTR::AccessibilityUIElement::columnHeaders):
150         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
151
152 2014-02-15  Filip Pizlo  <fpizlo@apple.com>
153
154         Vector with inline capacity should work with non-PODs
155         https://bugs.webkit.org/show_bug.cgi?id=128864
156
157         Reviewed by Michael Saboff.
158         
159         This test experiences really bizarre behavior on trunk without the rest of
160         this fix. On my machine, it usually times out because it gets itself into an
161         infinite loop of some kind. With the fix, it passes.
162
163         * TestWebKitAPI/Tests/WTF/Vector.cpp:
164         (TestWebKitAPI::TEST):
165
166 2014-02-15  Ryuan Choi  <ryuan.choi@samsung.com>
167
168         [EFL][WK1] Do not include cairo header in the public headers
169         https://bugs.webkit.org/show_bug.cgi?id=128779
170
171         Reviewed by Gyuyoung Kim.
172
173         * DumpRenderTree/PlatformEfl.cmake:
174         * DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
175         (createBitmapContextFromWebView):
176         Used ewk_view_screenshot_contents_get instead of ewk_view_paint.
177         * EWebLauncher/main.c:
178         (print_history): Replaced ewk_history_item_icon_surface_get to ewk_history_item_icon_object_add
179         (on_key_down):
180         * Scripts/webkitpy/style/checker.py:
181         Added -runtime/ctype_function for EWebLauncher because EWebLauncher is sample
182         and it does not use WTF.
183
184 2014-02-15  Samuel White  <samuel_white@apple.com>
185
186         AX: Add ability to specify descendant type when using AXUIElementsForSearchPredicate.
187         https://bugs.webkit.org/show_bug.cgi?id=128747
188
189         Reviewed by Chris Fleizach.
190
191         Updated uiElementCountForSearchPredicate and uiElementForSearchPredicate test methods to support 'immediate descendant only' searching.
192
193         * DumpRenderTree/AccessibilityUIElement.cpp:
194         (uiElementCountForSearchPredicateCallback):
195         (uiElementForSearchPredicateCallback):
196         * DumpRenderTree/AccessibilityUIElement.h:
197         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
198         (AccessibilityUIElement::uiElementCountForSearchPredicate):
199         (AccessibilityUIElement::uiElementForSearchPredicate):
200         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
201         (AccessibilityUIElement::uiElementCountForSearchPredicate):
202         (AccessibilityUIElement::uiElementForSearchPredicate):
203         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
204         (searchPredicateParameterizedAttributeForSearchCriteria):
205         (AccessibilityUIElement::uiElementCountForSearchPredicate):
206         (AccessibilityUIElement::uiElementForSearchPredicate):
207         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
208         (AccessibilityUIElement::uiElementCountForSearchPredicate):
209         (AccessibilityUIElement::uiElementForSearchPredicate):
210         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
211         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
212         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
213         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
214         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
215         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
216         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
217         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
218         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
219         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
220         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
221         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
222         (WTR::searchPredicateParameterizedAttributeForSearchCriteria):
223         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
224         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
225
226 2014-02-15  Ryosuke Niwa  <rniwa@webkit.org>
227
228         CQ fix after r164105.
229
230         * DumpRenderTree/mac/EventSendingController.mm:
231         * WebKitTestRunner/mac/EventSenderProxy.mm:
232
233 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
234
235         Another build fix after r164149.
236
237         * Scripts/webkitpy/port/port_testcase.py:
238         (test_apache_config_file_name_for_platform):
239
240 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
241
242         Build fix after r164148.
243
244         * Scripts/webkitpy/port/base.py:
245         (Port._apache_config_file_name_for_platform):
246
247 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
248
249         run-webkit-tests doesn't work with Apache 2.4
250         https://bugs.webkit.org/show_bug.cgi?id=128861
251
252         Reviewed by Andreas Kling.
253
254         Use apache<version>-httpd.conf like we do on Fedora and Debian.
255
256         * Scripts/webkitpy/port/base.py:
257         (Port._apache_config_file_name_for_platform):
258
259 2014-02-14  Brent Fulgham  <bfulgham@apple.com>
260
261         [Win] Make tests more consistent with Mac platform
262         https://bugs.webkit.org/show_bug.cgi?id=128848
263
264         Reviewed by Simon Fraser.
265
266         * DumpRenderTree/win/DumpRenderTree.cpp:
267         (resetDefaultsToConsistentValues): Turn CSS regions on,
268         turn mock scrollbars on, and allow screen font
269         substitution.
270
271 2014-02-14  Mark Hahnenberg  <mhahnenberg@apple.com>
272
273         Save ARGV in a local to avoid repeated lookups
274
275         Rubber stamped by Joseph Pecoraro.
276
277         * jsc-cli/jsc-cli/CLIInstance.m:
278         (-[CLIInstance didReceiveArguments:atOffset:withLength:]):
279
280 2014-02-14  Mark Hahnenberg  <mhahnenberg@apple.com>
281
282         jsc-cli should allow scripts to access argv
283         https://bugs.webkit.org/show_bug.cgi?id=127486
284
285         Reviewed by Oliver Hunt.
286
287         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj:
288         * jsc-cli/jsc-cli/CLIInstance.h:
289         * jsc-cli/jsc-cli/CLIInstance.m:
290         (-[CLIInstance init]):
291         (-[CLIInstance loadFile:]):
292         (-[CLIInstance didReceiveArguments:atOffset:withLength:]):
293         * jsc-cli/jsc-cli/JSRunLoopThread.h:
294         * jsc-cli/jsc-cli/JSRunLoopThread.m:
295         (-[JSRunLoopThread initWithContext:]):
296         (-[JSRunLoopThread loadFile:]):
297         (-[JSRunLoopThread start]):
298         * jsc-cli/jsc-cli/main.m:
299         (printUsage):
300         (main):
301
302 2014-02-14  Andreas Kling  <akling@apple.com>
303
304         Purge remaining ENABLE(SHADOW_DOM) cruft.
305         <https://webkit.org/b/128827>
306
307         Reviewed by Antti Koivisto.
308
309         * DumpRenderTree/gtk/DumpRenderTree.cpp:
310         (resetDefaultsToConsistentValues):
311         * Scripts/webkitperl/FeatureList.pm:
312         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
313         (WTR::InjectedBundle::beginTesting):
314
315 2014-02-13  Brent Fulgham  <bfulgham@apple.com>
316
317         Create some latched scrolling tests.
318         https://bugs.webkit.org/show_bug.cgi?id=127606
319         <rdar://problem/15911348>
320
321         Reviewed by Simon Fraser.
322
323         * DumpRenderTree/mac/EventSendingController.mm:
324         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize
325         the new "mouseScrollByX:andY:withWheel:andMomentumPhases:" selector.
326         (+[EventSendingController webScriptNameForSelector:]): Ditto.
327         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Implement
328         the new wheel event sender.
329         * WebKitTestRunner/EventSenderProxy.h:
330         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Add declaration
331         of new mouseScrollByWithWheelAndMomentumPhases method.
332         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
333         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases): Added
334         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
335         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
336         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Add stub for iOS.
337         * WebKitTestRunner/TestController.cpp:
338         (WTR::TestController::didReceiveMessageFromInjectedBundle): Handle the new
339         mouseScrollByWithWheelAndMomentumPhases message.
340         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): Handle the
341         new mouseScrollByWithWheelAndMomentumPhases.
342         * WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
343         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide stub that
344         relays to the standard mouse wheel handler.
345         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
346         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Ditto.
347         * WebKitTestRunner/mac/EventSenderProxy.mm:
348         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide implementation
349         of mouse wheel gesture method.
350
351 2014-02-13  David Farler  <dfarler@apple.com>
352
353         DumpRenderTree fails to build: Perl support module building for OS X but linking for the simulator
354         https://bugs.webkit.org/show_bug.cgi?id=128780
355
356         Reviewed by Simon Fraser.
357
358         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL:
359         Use `xcrun -find clang` instead of `xcrun --sdk $ENV{SDKROOT} -find clang,
360         which will pick up SDKROOT=iphonesimulator from building the Xcode aggregate target.
361
362 2014-02-13  Commit Queue  <commit-queue@webkit.org>
363
364         Unreviewed, rolling out r164073 and r164080.
365         http://trac.webkit.org/changeset/164073
366         http://trac.webkit.org/changeset/164080
367         https://bugs.webkit.org/show_bug.cgi?id=128781
368
369         Broke Mac builds (Requested by rniwa on #webkit).
370
371         * DumpRenderTree/mac/EventSendingController.mm:
372         (+[EventSendingController isSelectorExcludedFromWebScript:]):
373         (+[EventSendingController webScriptNameForSelector:]):
374         * WebKitTestRunner/EventSenderProxy.h:
375         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
376         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
377         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
378         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
379         * WebKitTestRunner/TestController.cpp:
380         (WTR::TestController::didReceiveMessageFromInjectedBundle):
381         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
382         * WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
383         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
384         * WebKitTestRunner/mac/EventSenderProxy.mm:
385
386 2014-02-13  Brent Fulgham  <bfulgham@apple.com>
387
388         Unreviewed build fix for Mountain Lion.
389
390         * DumpRenderTree/mac/EventSendingController.mm: Provide definition
391         for kCGScrollWheelEventScrollPhase if it isn't found in the
392         system headers.
393
394 2014-02-04  Gustavo Noronha Silva  <gns@gnome.org>
395
396         [GTK][CMake] Generate GObject DOM bindings .symbols files
397         https://bugs.webkit.org/show_bug.cgi?id=126210
398
399         Reviewed by Martin Robinson.
400
401         * gtk/check-gdom-symbols: Added. Checks symbols compatibility.
402         (should_update_symbols_file):
403
404 2014-02-13  Brent Fulgham  <bfulgham@apple.com>
405
406         Create some latched scrolling tests.
407         https://bugs.webkit.org/show_bug.cgi?id=127606
408         <rdar://problem/15911348>
409
410         Reviewed by Simon Fraser.
411
412         * DumpRenderTree/mac/EventSendingController.mm:
413         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize
414         the new "mouseScrollByX:andY:withWheel:andMomentumPhases:" selector.
415         (+[EventSendingController webScriptNameForSelector:]): Ditto.
416         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Implement
417         the new wheel event sender.
418         * WebKitTestRunner/EventSenderProxy.h:
419         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Add declaration
420         of new mouseScrollByWithWheelAndMomentumPhases method.
421         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
422         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases): Added
423         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
424         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm:
425         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Add stub for iOS.
426         * WebKitTestRunner/TestController.cpp:
427         (WTR::TestController::didReceiveMessageFromInjectedBundle): Handle the new
428         mouseScrollByWithWheelAndMomentumPhases message.
429         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): Handle the
430         new mouseScrollByWithWheelAndMomentumPhases.
431         * WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
432         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide stub that
433         relays to the standard mouse wheel handler.
434         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
435         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Ditto.
436         * WebKitTestRunner/mac/EventSenderProxy.mm:
437         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Provide implementation
438         of mouse wheel gesture method.
439
440 2014-02-13  Antoine Quint  <graouts@webkit.org>
441
442         Unreviewed. changing my email address.
443
444         * Scripts/webkitpy/common/config/contributors.json:
445         * Scripts/webkitpy/common/config/watchlist:
446
447 2014-02-13  Alexey Proskuryakov  <ap@apple.com>
448
449         [Mac] Add a WebKit1 SPI to get WebCrypto master key from a client
450         https://bugs.webkit.org/show_bug.cgi?id=128725
451
452         Reviewed by Anders Carlsson.
453
454         * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webCryptoMasterKeyForWebView:]):
455         Use the SPI to specify a key.
456
457 2014-02-13  Sergio Villar Senin  <svillar@igalia.com>
458
459         Unreviewed. Moved myself to the list of reviewers.
460
461         * Scripts/webkitpy/common/config/contributors.json:
462
463 2014-02-13  Tim Horton  <timothy_horton@apple.com>
464
465         Speculative build fix after r163998.
466
467         * DumpRenderTree/ios/PerlSupport/Makefile:
468
469 2014-02-12  Alexey Proskuryakov  <ap@apple.com>
470
471         [WK2] Add a C API to get WebCrypto master key from a client
472         https://bugs.webkit.org/show_bug.cgi?id=128702
473
474         Reviewed by Anders Carlsson.
475
476         * WebKitTestRunner/TestController.cpp:
477         (WTR::copyWebCryptoMasterKey):
478         (WTR::TestController::initialize):
479         Return a hardcoded key.
480
481 2014-02-12  David Farler  <dfarler@apple.com>
482
483         Upstream iOS old-run-webkit-tests for use with DumpRenderTree in the iOS Simulator
484         https://bugs.webkit.org/show_bug.cgi?id=127694
485
486         Reviewed by Simon Fraser.
487
488         This is a short-term effort to get layout tests working in the iOS simulator again.
489
490         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
491         Pass PLATFORM_NAME to the makefile.
492         * DumpRenderTree/ios/PerlSupport/Makefile:
493         Cleanup.
494         * Scripts/old-run-webkit-tests:
495         Added functions and some exceptions for the simulator.
496         (installAndLaunchDumpRenderTreeAppUsingNotification):
497         (openIPhoneSimulator):
498         (quitDumpRenderTreeAppUsingNotification):
499         (quitIPhoneSimulator):
500         (simulatorSessionUUID):
501         (openDiffTool):
502         (buildDumpTool):
503         (openDumpTool):
504         (closeDumpTool):
505         (dumpToolDidCrash):
506         (expectedDirectoryForTest):
507         (buildPlatformResultHierarchy):
508         * Scripts/webkitdirs.pm:
509         Support functions for old-run-webkit-tests.
510         (determineIPhoneSimulatorVersion):
511         (iPhoneSimulatorVersion):
512
513 2014-02-12  Mark Hahnenberg  <mhahnenberg@apple.com>
514
515         Basic framework for a modern jsc CLI
516         https://bugs.webkit.org/show_bug.cgi?id=127435
517
518         Rubber stamped by Geoffrey Garen.
519
520         * Scripts/build-jsc:
521         * jsc-cli: Added.
522         * jsc-cli/jsc-cli: Added.
523         * jsc-cli/jsc-cli.xcodeproj: Added.
524         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Added.
525         * jsc-cli/jsc-cli/CLIInstance.h: Added.
526         * jsc-cli/jsc-cli/CLIInstance.m: Added.
527         (-[CLIInstance init]):
528         (-[CLIInstance loadFile:]):
529         (-[CLIInstance run]):
530         * jsc-cli/jsc-cli/JSModule.h: Added.
531         * jsc-cli/jsc-cli/JSModule.m: Added.
532         (coreModules):
533         (isCoreModule):
534         (classForModule):
535         (coreModuleFullPath):
536         (resolveModuleAsFile):
537         (resolveModuleAsDirectory):
538         (nodeModulePaths):
539         (resolveAsNodeModule):
540         (+[JSModule resolve:atPath:]):
541         (globalModuleCache):
542         (isCached):
543         (cachedModule):
544         (cacheModule):
545         (+[JSModule require:atPath:]):
546         (+[JSModule require:atPath:inContext:]):
547         (-[JSModule platformObjectInContext:]):
548         (-[JSModule initWithId:filename:context:]):
549         (-[JSModule dealloc]):
550         (-[JSModule didStartLoading]):
551         (-[JSModule didFinishLoading]):
552         (-[JSModule require:]):
553         (-[JSModule exports]):
554         * jsc-cli/jsc-cli/JSRunLoopThread.h: Added.
555         * jsc-cli/jsc-cli/JSRunLoopThread.m: Added.
556         (jsThreadMain):
557         (+[JSRunLoopThread threadMain]):
558         (-[JSRunLoopThread initWithFiles:andContext:]):
559         (-[JSRunLoopThread startRunLoop]):
560         (-[JSRunLoopThread start]):
561         (-[JSRunLoopThread join]):
562         (-[JSRunLoopThread didReceiveInput:]):
563         (-[JSRunLoopThread performCallback:withError:]):
564         (-[JSRunLoopThread performCallback:withArguments:]):
565         (-[JSRunLoopThread didFinishRunLoopInitialization]):
566         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Added.
567         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Added.
568         (-[ReadEvalPrintLoop initWithJSThread:]):
569         (prompt):
570         (escapeStringForOutput):
571         (-[ReadEvalPrintLoop processNextInput]):
572         (-[ReadEvalPrintLoop run]):
573         * jsc-cli/jsc-cli/RunLoopThread.h: Added.
574         * jsc-cli/jsc-cli/RunLoopThread.m: Added.
575         (+[RunLoopThread threadMain]):
576         (-[RunLoopThread init]):
577         (-[RunLoopThread dealloc]):
578         (-[RunLoopThread didFinishRunLoopInitialization]):
579         (-[RunLoopThread start]):
580         (-[RunLoopThread join]):
581         * jsc-cli/jsc-cli/ScriptInputSource.h: Added.
582         * jsc-cli/jsc-cli/ScriptInputSource.m: Added.
583         (scriptInputSourceScheduleRoutine):
584         (scriptInputSourcePerformRoutine):
585         (scriptInputSourceCancelRoutine):
586         (-[ScriptInputSource initWithContext:]):
587         (-[ScriptInputSource dealloc]):
588         (-[ScriptInputSource addToCurrentRunLoop]):
589         (-[ScriptInputSource removeFromRemoteRunLoop]):
590         (-[ScriptInputSource didReceiveScript:]):
591         (-[ScriptInputSource didReceiveSignal]):
592         (-[ScriptInputSource runScriptRemotely:]):
593         (-[ScriptInputSource finishAsyncCallback:withResult:]):
594         * jsc-cli/jsc-cli/main.m: Added.
595         (main):
596
597 2014-02-12  Ryosuke Niwa  <rniwa@webkit.org>
598
599         One more build fix after r163979.
600
601         * Scripts/webkitpy/port/mac_unittest.py:
602         (test_baseline_search_path):
603
604 2014-02-12  Ryosuke Niwa  <rniwa@webkit.org>
605
606         Add a mac-wk1 platform directory and TestExpectations file
607         https://bugs.webkit.org/show_bug.cgi?id=128676
608
609         Build fix. Put mac-wk1 between mac-mountainlion and mac.
610
611         * Scripts/webkitpy/port/mac.py:
612         (MacPort.default_baseline_search_path):
613         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
614         (TestRebaselineTest.test_baseline_directory):
615
616 2014-02-12  Brady Eidson  <beidson@apple.com>
617
618         Add a mac-wk1 platform directory and TestExpectations file
619         https://bugs.webkit.org/show_bug.cgi?id=128676
620
621         Reviewed by Alexey Proskuryakov.
622
623         * Scripts/webkitpy/port/mac.py:
624         (MacPort.default_baseline_search_path): When running WK1 tests on Mac,
625           make mac-wk1 be the frontmost search path.
626
627 2014-02-11  Oliver Hunt  <oliver@apple.com>
628
629         Make it possible to implement JS builtins in JS
630         https://bugs.webkit.org/show_bug.cgi?id=127887
631
632         Reviewed by Michael Saboff.
633
634         CMake updates
635
636         * DumpRenderTree/CMakeLists.txt:
637         * WebKitTestRunner/CMakeLists.txt:
638         * WinCELauncher/CMakeLists.txt:
639
640 2014-02-11  Filip Pizlo  <fpizlo@apple.com>
641
642         It should be possible to force copy-webkitlibraries-blahblah to copy things regardless of timestamp
643         https://bugs.webkit.org/show_bug.cgi?id=128646
644
645         Reviewed by Mark Rowe.
646
647         * Scripts/copy-webkitlibraries-to-product-directory:
648         (unpackIfNecessary):
649         (dittoHeaders):
650
651 2014-02-11  Brian Burg  <bburg@apple.com>
652
653         Web Replay: upstream replay input code generator and EncodedValue class
654         https://bugs.webkit.org/show_bug.cgi?id=128215
655
656         Reviewed by Joseph Pecoraro.
657
658         Add an executable script to launch the replay input generator tests.
659         Add a test harness for running the code generator tests, mostly taken
660         from the bindings test harness (but simplified).
661
662         * Scripts/run-input-generator-tests: Added.
663         (main):
664         * Scripts/webkitpy/replay/__init__.py: Added.
665         * Scripts/webkitpy/replay/main.py: Added.
666         (InputGeneratorTests):
667         (InputGeneratorTests.__init__):
668         (InputGeneratorTests.generate_from_json):
669         (InputGeneratorTests.write_error_file):
670         (InputGeneratorTests.detect_changes):
671         (InputGeneratorTests.run_tests):
672         (InputGeneratorTests.main):
673
674 2014-02-11  James Craig  <jcraig@apple.com>
675
676         Web Inspector: AX: Accessibility Node Inspection
677         https://bugs.webkit.org/show_bug.cgi?id=127447
678
679         Reviewed by Chris Fleizach.
680
681         Resolving build failure caused by r163891.
682
683         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
684         (WTR::AccessibilityUIElement::computedRoleString):
685
686 2014-02-11  Alex Christensen  <achristensen@webkit.org>
687
688         Fixed pointer truncation on Win64.
689         https://bugs.webkit.org/show_bug.cgi?id=128211
690
691         Reviewed by Brent Fulgham.
692
693         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
694         (AccessibilityController::rootElement):
695         * DumpRenderTree/win/TestRunnerWin.cpp:
696         (TestRunner::setWindowIsKey):
697         Removed all casts from &HWND to OLE_HANDLE*.
698
699 2014-02-11  Samuel White  <samuel_white@apple.com>
700
701         AX: Add text replacement activity support to NSAccessibilitySelectTextWithCriteriaParameterizedAttribute.
702         https://bugs.webkit.org/show_bug.cgi?id=128397
703
704         Reviewed by Chris Fleizach.
705
706         Updated testing methods to accept a replacement string. This enables us to test text
707         replacement support for the AXSelectTextWithCriteria parameterized attribute.
708
709         * DumpRenderTree/AccessibilityUIElement.cpp:
710         (selectTextWithCriteriaCallback):
711         * DumpRenderTree/AccessibilityUIElement.h:
712         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
713         (AccessibilityUIElement::selectTextWithCriteria):
714         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
715         (AccessibilityUIElement::selectTextWithCriteria):
716         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
717         (selectTextParameterizedAttributeForCriteria):
718         (AccessibilityUIElement::selectTextWithCriteria):
719         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
720         (AccessibilityUIElement::selectTextWithCriteria):
721         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
722         (WTR::AccessibilityUIElement::selectTextWithCriteria):
723         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
724         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
725         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
726         (WTR::AccessibilityUIElement::selectTextWithCriteria):
727         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
728         (WTR::AccessibilityUIElement::selectTextWithCriteria):
729         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
730         (WTR::selectTextParameterizedAttributeForCriteria):
731         (WTR::AccessibilityUIElement::selectTextWithCriteria):
732
733 2014-02-11  David Kilzer  <ddkilzer@apple.com>
734
735         [ASan] Fix build failures in Tools due to missing $(inherited) values
736         <http://webkit.org/b/128485>
737
738         Reviewed by Dean Jackson.
739
740         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
741         - Move $(inherited) from OTHER_LDFLAGS_macosx to OTHER_LDFLAGS.
742
743         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
744         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig:
745         - Add $(inherited) to OTHER_LDFLAGS.
746
747         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
748         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
749         - Add $(inherited) to OTHER_LDFLAGS, or move from
750           OTHER_LDFLAGS_BASE to OTHER_LDFLAGS.
751         - Extract $(OTHER_LDFLAGS_BASE) from platform-specific settings
752           into OTHER_LDFLAGS.
753
754 2014-02-11  James Craig  <jcraig@apple.com>
755
756         Web Inspector: AX: Accessibility Node Inspection
757         https://bugs.webkit.org/show_bug.cgi?id=127447
758
759         Reviewed by Timothy Hatcher.
760
761         New computedRoleString interfaces in DumpRenderTree/WebKitTestRunner
762         to support LayoutTest coverage of AccessibilityObject::computedRoleString()
763
764         * DumpRenderTree/AccessibilityUIElement.cpp:
765         * DumpRenderTree/AccessibilityUIElement.h:
766         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
767         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
768         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
769         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
770         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
771         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
772         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
773         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
774         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
775
776 2014-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
777
778         Unreviewed. Fix /webkit2/WebKitWebExtension/isolated-world after r163797.
779
780         Use a global variable for the script result.
781
782         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
783         (scriptDialogCallback):
784         (testWebExtensionIsolatedWorld):
785
786 2014-02-10  Filip Pizlo  <fpizlo@apple.com>
787
788         Make it possible to run tests with --llvmSimpleOpt=false
789         https://bugs.webkit.org/show_bug.cgi?id=128571
790
791         Reviewed by Mark Lam.
792         
793         This also makes it so all run functions for the FTL are safe to call with FTL disabled,
794         because they do their own $enableFTL check.
795
796         * Scripts/run-jsc-stress-tests:
797
798 2014-02-10  Gavin Barraclough  <barraclough@apple.com>
799
800         Remove WKPageSetVisibilityState
801         https://bugs.webkit.org/show_bug.cgi?id=128551
802
803         Reviewed by Anders Carlsson.
804
805         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
806         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView):
807         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::runTest):
808             - visibilityState of offs-creen WKView is automatically prerender.
809         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
810         (WTR::InjectedBundle::setHidden):
811         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
812         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
813         (WTR::TestRunner::setPageVisibility):
814         (WTR::TestRunner::resetPageVisibility):
815         * WebKitTestRunner/TestController.cpp:
816         * WebKitTestRunner/TestController.h:
817         * WebKitTestRunner/TestInvocation.cpp:
818         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
819             - removed calls to WKPageSetVisibilityState.
820
821 2014-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
822
823         [GLIB] Add GUniqueOutPtr and use it instead of GOwnPtr
824         https://bugs.webkit.org/show_bug.cgi?id=127554
825
826         Reviewed by Gustavo Noronha Silva.
827
828         Use GUniqueOutPtr instead of GOwnPtr.
829
830         * DumpRenderTree/gtk/DumpRenderTree.cpp:
831         * DumpRenderTree/gtk/EventSender.cpp:
832         (createKeyPressEvent):
833         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp:
834         (TestWebKitAPI::returnOutChar):
835         (TestWebKitAPI::TEST):
836         * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp:
837         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
838         (testInspectorServerPageList):
839         (openRemoteDebuggingSession):
840         (sendIncompleteRequest):
841         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
842         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
843         (testWebExtensionWindowObjectCleared):
844         (testWebExtensionIsolatedWorld):
845         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
846         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
847         (testWebViewRunJavaScript):
848         (testWebViewSave):
849         (testWebViewPageVisibility):
850         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
851         (isStyleSheetInjectedForURLAtPath):
852         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
853         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
854         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
855         * TestWebKitAPI/Tests/gtk/InputMethodFilter.cpp:
856         (TestWebKitAPI::TestInputMethodFilter::sendKeyEventToFilter):
857         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
858         (TestWebKitAPI::doKeyStroke):
859         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
860         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
861         (WebKitTestBus::run):
862         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
863         (resourceGetDataCallback):
864         (WebViewTest::keyStroke):
865         (onSnapshotReady):
866         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
867         (WTR::EventSenderProxy::keyDown):
868
869 2014-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
870
871         [GTK] Add API to create a webview related to another one
872         https://bugs.webkit.org/show_bug.cgi?id=128498
873
874         Reviewed by Gustavo Noronha Silva.
875
876         * MiniBrowser/gtk/BrowserWindow.c:
877         (webViewCreate): Use webkit_web_view_new_with_related_view() when
878         creating a new web view for window.open().
879         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
880         (testMultiprocessWebViewCreateReadyClose): Add test case to check
881         that window.open() works when creating the new WebView related to
882         the existing one, and that no new web process is spawned when
883         using webkit_web_view_new_with_related_view().
884         (beforeAll):
885
886 2014-02-10  Eva Balazsfalvi  <balazsfalvi.eva@stud.u-szeged.hu>
887
888         If not running on Mac, build-webkit should not print Safari related output
889         https://bugs.webkit.org/show_bug.cgi?id=127169
890
891         Reviewed by Darin Adler.
892
893         * Scripts/build-webkit:
894         (writeCongrats):
895         * Scripts/webkitdirs.pm:
896         (isAppleWebKit):
897         (isAppleMacWebKit):
898         (isAppleWinWebKit):
899         (launcherName):
900
901 2014-02-10  Diego Pino Garcia  <dpino@igalia.com>
902
903         [GTK] Minibrowser: During text search, make navigation through list of matched words circular
904         https://bugs.webkit.org/show_bug.cgi?id=128463
905
906         Reviewed by Carlos Garcia Campos.
907
908         Initialize search options to WEBKIT_FIND_OPTIONS_WRAP_AROUND to make navigation
909         circular.
910
911         * MiniBrowser/gtk/BrowserSearchBar.c:
912         (doSearch):
913
914 2014-02-10  Tamas Gergely  <tgergely.u-szeged@partner.samsung.com>
915
916         Code cleanup: Remove BUILDING_ON / TARGETING definitions.
917         https://bugs.webkit.org/show_bug.cgi?id=128242
918
919         Reviewed by Brent Fulgham.
920
921         The BUILDING_ON_* and TARGETING_* macros have not been used for a while.
922         According to the FIXME: they are removed.
923
924         * DumpRenderTree/config.h:
925
926 2014-02-10  Zan Dobersek  <zdobersek@igalia.com>
927
928         Fix a few mistakes that landed with r163749.
929
930         Rubber-stamped by Carlos Garcia Campos.
931
932         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
933         (WTR::EventSenderProxy::addTouchPoint): Avoid using the GUniquePtr<GdkEvent> after it's been moved
934         into the event vector since moving it invalidates the variable.
935
936 2014-02-09  Carlos Garnacho  <carlosg@gnome.org>
937
938         [GTK] Fix modifiers on EventSenderProxy::keyDown
939         https://bugs.webkit.org/show_bug.cgi?id=128496
940
941         Reviewed by Carlos Garcia Campos.
942
943         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
944         (WTR::EventSenderProxy::keyDown): do not attempt to doubly transform modifiers
945         into GTK+ ones.
946
947 2014-02-09  Carlos Garnacho  <carlosg@gnome.org>
948
949         [GTK] Enable touch features
950         https://bugs.webkit.org/show_bug.cgi?id=98931
951
952         Reviewed by Carlos Garcia Campos.
953
954         * WebKitTestRunner/EventSenderProxy.h:
955         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
956         (WTR::updateEventCoordinates):
957         (WTR::EventSenderProxy::createTouchEvent):
958         (WTR::EventSenderProxy::addTouchPoint):
959         (WTR::EventSenderProxy::updateTouchPoint):
960         (WTR::EventSenderProxy::sendUpdatedTouchEvents):
961         (WTR::EventSenderProxy::setTouchPointRadius):
962         (WTR::EventSenderProxy::setTouchModifier): Implement touch event proxying.
963
964 2014-02-08  Andreas Kling  <akling@apple.com>
965
966         Let Instruments time profiler run until tests finish.
967         <https://webkit.org/b/128488>
968
969         Pass "-T 0" to iprofiler to ensure that we get a time profile of the
970         entire performance test run instead of just the first 10 seconds.
971
972         Reviewed by Brady Eidson.
973
974         * Scripts/webkitpy/common/system/profiler.py:
975         (IProfiler.attach_to_pid):
976
977 2014-02-08  Rajaram Gaunker  <zimbabao@gmail.com>
978
979         [GTK] Add stdlib include file to fix ImageDiff build with libc++
980         https://bugs.webkit.org/show_bug.cgi?id=128454
981
982         Reviewed by Darin Adler.
983
984         * ImageDiff/gtk/ImageDiff.cpp:
985
986 2014-02-08  Diego Pino Garcia  <dpino@igalia.com>
987
988         [GTK] Minibrowser: Matched words of a searched text are not highlighted after reopening search bar
989         https://bugs.webkit.org/show_bug.cgi?id=128380
990
991         Reviewed by Carlos Garcia Campos.
992
993         When open the search bar, perform last search if there is any.
994
995         * MiniBrowser/gtk/BrowserSearchBar.c:
996         (browser_search_bar_open):
997
998 2014-02-08  Adrian Perez de Castro  <aperez@igalia.com>
999
1000         [GTK] Make process model names properly meaningful
1001         https://bugs.webkit.org/show_bug.cgi?id=128389
1002
1003         Reviewed by Carlos Garcia Campos.
1004
1005         The name WEBKIT_PROCESS_MODEL_ONE_SECONDARY_PROCESS_PER_WEB_VIEW
1006         is misleading because there are situations in which web views may
1007         share the same web process even when multi-process mode is enabled;
1008         for example when opening a related view and both interact using JS.
1009
1010         * MiniBrowser/gtk/main.c:
1011         (main):
1012         Update usage of WebKitProcessModel enum values.
1013         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
1014         (beforeAll):
1015         Ditto.
1016
1017 2014-02-08  Diego Pino Garcia  <dpino@igalia.com>
1018
1019         [GTK] build-webkit script always generate-gtk-doc even if '--disable-gtk-doc' param is passed
1020         https://bugs.webkit.org/show_bug.cgi?id=128376
1021
1022         Reviewed by Carlos Garcia Campos.
1023
1024         * Scripts/webkitdirs.pm:
1025         (buildAutotoolsProject):
1026
1027 2014-02-06  Filip Pizlo  <fpizlo@apple.com>
1028
1029         More FTL build scaffolding
1030         https://bugs.webkit.org/show_bug.cgi?id=128330
1031
1032         Reviewed by Geoffrey Garen.
1033
1034         * Scripts/copy-webkitlibraries-to-product-directory:
1035
1036 2014-02-07  Tim Horton  <timothy_horton@apple.com>
1037
1038         Touch Minibrowser for a hopeful build fix.
1039
1040         * MiniBrowser/mac/WK2BrowserWindowController.m:
1041
1042 2014-02-07  Krzysztof Czech  <k.czech@samsung.com>
1043
1044         Build fix after r163632
1045
1046         Unreviewed EFL build fix
1047
1048         Added empty stub to WKTR to not break EFL build.
1049
1050         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1051         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1052
1053 2014-02-07  Samuel White  <samuel_white@apple.com>
1054
1055         AX: Find and select text with respect to insertion point using accessibility API.
1056         https://bugs.webkit.org/show_bug.cgi?id=128026
1057
1058         Reviewed by Chris Fleizach.
1059
1060         Added method to AccessibilityUIElement to enable testing of accessibility text selection.
1061
1062         * DumpRenderTree/AccessibilityUIElement.cpp:
1063         (selectTextWithCriteriaCallback):
1064         (AccessibilityUIElement::getJSClass):
1065         * DumpRenderTree/AccessibilityUIElement.h:
1066         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1067         (AccessibilityUIElement::selectTextWithCriteria):
1068         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1069         (AccessibilityUIElement::selectTextWithCriteria):
1070         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1071         (selectTextParameterizedAttributeForCriteria):
1072         (AccessibilityUIElement::selectTextWithCriteria):
1073         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1074         (AccessibilityUIElement::selectTextWithCriteria):
1075         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1076         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1077         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1078         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1079         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1080         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
1081         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
1082         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1083         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1084         (WTR::selectTextParameterizedAttributeForCriteria):
1085         (WTR::AccessibilityUIElement::selectTextWithCriteria):
1086
1087 2014-02-07  Manuel Rego Casasnovas  <rego@igalia.com>
1088
1089         [GTK] Disable gtk-doc in EWS
1090         https://bugs.webkit.org/show_bug.cgi?id=128370
1091
1092         Reviewed by Carlos Garcia Campos.
1093
1094         Disable gtk-doc generation in EWS due to http://webkit.org/b/128369.
1095
1096         * Scripts/webkitpy/common/config/ports.py:
1097         (GtkPort.build_webkit_command): Add --disable-gtk-doc arg.
1098         (GtkWK2Port.build_webkit_command): Ditto.
1099         * Scripts/webkitpy/common/config/ports_unittest.py:
1100         (DeprecatedPortTest.test_gtk_port): Ditto.
1101         (DeprecatedPortTest.test_gtk_wk2_port): Ditto.
1102
1103 2014-02-07  Jinwoo Song  <jinwoo7.song@samsung.com>
1104
1105         [EFL][WK2] WebView should be able to configure to set fixed layout
1106         https://bugs.webkit.org/show_bug.cgi?id=128300
1107
1108         Reviewed by Gyuyoung Kim.
1109
1110         * MiniBrowser/efl/main.c:
1111         (window_create):
1112         (elm_main): Add command argument option to use fixed layout.
1113
1114 2014-02-06  Ryosuke Niwa  <rniwa@webkit.org>
1115
1116         Fix DoYouEvenBench after r163429.
1117
1118         * Scripts/webkitpy/performance_tests/perftest.py:
1119
1120 2014-02-06  Jozsef Berta  <jberta.u-szeged@partner.samsung.com>
1121
1122         Add support for multiple sources for AutoInstaller
1123         https://bugs.webkit.org/show_bug.cgi?id=124848
1124
1125         Reviewed by Ryosuke Niwa.
1126
1127         The autoinstaller in the webkitpy currently fails if the download source of a package is unavailable.
1128         This patch adds support for multiple sources to the script. The sources are provided in three environment variables.
1129         If it exists, the script will look at a local cache. If not, it will try to download the package from the original url.
1130         If it fails, it gets a mirror from the corresponding environment variable.(One for sourceforge.org and one for pypi.python.org)
1131
1132         * Scripts/webkitpy/common/system/autoinstall.py:
1133         (AutoInstaller._copy_unpackaged_files_from_local_cache):  If the package is not packaged in its original form,
1134         this method will copy it to the scratch directory. Otherwise it would be deleted from the cache, which we do not want.
1135         (AutoInstaller._prepare_package): If the package is not zipped or tarred, and the file is in the cache, the
1136         _copy_unpackaged_files_from_local_cache function is called.
1137         (AutoInstaller._parse_colon_separated_mirrors_from_env): This will read the mirrors from the environment variables if possible,
1138         and prepares them for further use.
1139         (AutoInstaller):
1140         (AutoInstaller._replace_domain_with_next_mirror): If the original download url fails, it is replaced by a mirror provided
1141         in the environment variables. The function identifies the original source, and replaces it with a mirror. If it can't be done,
1142         the return url will be None, indicating that no mirrors are provided, or none of them could be reached.
1143         (AutoInstaller._download_to_stream): The timeout for one try is now limited to 30 seconds. Without this, the script waited for
1144         roughly 4 minutes before retrying. After three failiures the script will try to switch to a mirror.
1145         (AutoInstaller._check_package_in_local_autoinstall_cache): This method searches the cache for the currently downloaded module.
1146         If it's found there, its path is returned.
1147         (AutoInstaller._download):  Before downloading the module, it is looked up in the cache. If it's not found there,
1148         the script will continue with the download, and cache the module.
1149
1150 2014-02-06  Benjamin Poulain  <benjamin@webkit.org>
1151
1152         Remove run-test-webkit-api
1153         https://bugs.webkit.org/show_bug.cgi?id=118145
1154
1155         Reviewed by Csaba Osztrogonác.
1156
1157         Having two scripts doing the same thing is confusing. There are also cases failing
1158         on run-test-webkit-api since it does not restart a new process for each test.
1159
1160         * Scripts/run-test-webkit-api: Removed.
1161         * Scripts/webkitdirs.pm:
1162
1163 2014-02-06  Commit Queue  <commit-queue@webkit.org>
1164
1165         Unreviewed, rolling out r163530.
1166         http://trac.webkit.org/changeset/163530
1167         https://bugs.webkit.org/show_bug.cgi?id=128311
1168
1169         It broke run-gtk-tests (Requested by Ossy on #webkit).
1170
1171         * efl/common.py: Copied from Tools/gtk/jhbuildrc.
1172         (script_path):
1173         (top_level_path):
1174         * efl/jhbuildrc:
1175         * gtk/common.py:
1176         (script_path):
1177         (top_level_path):
1178         * gtk/find-make-dist-errors:
1179         (get_missing_headers):
1180         * gtk/generate-gtkdoc:
1181         (get_webkit2_options):
1182         (get_webkit1_options.src_path):
1183         (get_webkit1_options):
1184         (get_webkitdom_options.src_path):
1185         (get_webkitdom_options):
1186         * gtk/generate-inspector-gresource-manifest.py:
1187         * gtk/jhbuildrc:
1188         * jhbuild/jhbuildrc_common.py: Removed.
1189         * nix/common.py: Copied from Tools/nix/jhbuildrc.
1190         (script_path):
1191         (top_level_path):
1192         * nix/jhbuildrc:
1193
1194 2014-02-06  Denis Nomiyama  <d.nomiyama@samsung.com>
1195
1196         Unreviewed. Add myself as a committer.
1197
1198         * Scripts/webkitpy/common/config/contributors.json:
1199
1200 2014-02-06  Peter Szanka  <h868064@stud.u-szeged.hu>
1201
1202         Extract common parts from jhbuildrc files.
1203         https://bugs.webkit.org/show_bug.cgi?id=125986
1204
1205         Reviewed by Csaba Osztrogonác.
1206
1207         * efl/common.py: Removed.
1208         * efl/jhbuildrc:
1209         * gtk/common.py:
1210         (binary_build_path):
1211         * gtk/find-make-dist-errors:
1212         (get_missing_headers):
1213         * gtk/generate-gtkdoc:
1214         (get_webkit2_options):
1215         (get_webkit1_options.src_path):
1216         (get_webkit1_options):
1217         (get_webkitdom_options.src_path):
1218         (get_webkitdom_options):
1219         * gtk/generate-inspector-gresource-manifest.py:
1220         * gtk/jhbuildrc:
1221         * jhbuild/jhbuildrc_common.py: Added.
1222         (script_path):
1223         (top_level_path):
1224         (init):
1225         * nix/common.py: Removed.
1226         * nix/jhbuildrc:
1227
1228 2014-02-06  Csaba Osztrogonác  <ossy@webkit.org>
1229
1230         Unreviewed fix after r163520, remove Andrei from committers list, because
1231         he is reviewer now, and webkit-patch doesn't like duplicated entries.
1232
1233         * Scripts/webkitpy/common/config/contributors.json:
1234
1235 2014-02-06  Andrei Bucur  <abucur@adobe.com>
1236
1237         Adding myself as a reviewer.
1238
1239         Unreviewed.
1240
1241         * Scripts/webkitpy/common/config/contributors.json:
1242
1243 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
1244
1245         Remove the WTF_COMPILER_SUPPORTS_CXX_GENERALIZED_INITIALIZERS macro
1246         https://bugs.webkit.org/show_bug.cgi?id=128267
1247
1248         Reviewed by Andreas Kling.
1249
1250         Remove the COMPILER_SUPPORTS(CXX_GENERALIZED_INITIALIZERS) as the underlying macro is also
1251         being removed since the feature is supported by all the compilers the project approves.
1252
1253         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1254         (TestWebKitAPI::TEST):
1255         * TestWebKitAPI/Tests/WTF/Vector.cpp:
1256         (TestWebKitAPI::TEST):
1257
1258 2014-02-05  Jinwoo Song  <jinwoo7.song@samsung.com>
1259
1260         [EFL][WK2] Remove legacy behavior mode in MiniBrowser
1261         https://bugs.webkit.org/show_bug.cgi?id=128298
1262
1263         Reviewed by Gyuyoung Kim.
1264
1265         MiniBrowser is crashing when the legacy mode is set in creating webview.
1266         As EFL application cannot use this API for creating webview after r146265,
1267         it would be better to remove this invalid option.
1268
1269         * MiniBrowser/efl/main.c:
1270         (window_create): Do not create webview with WKViewCreate API.
1271         (elm_main): Remove 'legacy' option.
1272
1273 2014-02-05  Andreas Kling  <akling@apple.com>
1274
1275         Remove ENABLE(DIRECTORY_UPLOAD).
1276         <https://webkit.org/b/128275>
1277
1278         Rubber-stamped by Ryosuke Niwa.
1279
1280         * Scripts/webkitperl/FeatureList.pm:
1281
1282 2014-02-05  Filip Pizlo  <fpizlo@apple.com>
1283
1284         Rename useExperimentalFTL to useFTLJIT.
1285
1286         Rubber stamped by Mark Hahnenberg.
1287
1288         * Scripts/run-jsc-stress-tests:
1289
1290 2014-02-05  Filip Pizlo  <fpizlo@apple.com>
1291
1292         JSC on Mac should pull LLVM from prefix=/usr/local/LLVMForJavaScriptCore and not /usr/local
1293         https://bugs.webkit.org/show_bug.cgi?id=128269
1294
1295         Reviewed by Mark Hahnenberg.
1296
1297         * Scripts/copy-webkitlibraries-to-product-directory:
1298
1299 2014-02-05  Manuel Rego Casasnovas  <rego@igalia.com>
1300
1301         Create CSS Grid Layout watchlist
1302         https://bugs.webkit.org/show_bug.cgi?id=128241
1303
1304         Reviewed by Andreas Kling.
1305
1306         Add Sergio Villar, Javier Fernandez and myself to it.
1307
1308         Add Javier Fernandez as contributor.
1309
1310         * Scripts/webkitpy/common/config/contributors.json:
1311         * Scripts/webkitpy/common/config/watchlist:
1312
1313 2014-02-05  Alexey Proskuryakov  <ap@apple.com>
1314
1315         Copying failing test paths from build.webkit.org/dashboard popovers also copies non-selectable links
1316         https://bugs.webkit.org/show_bug.cgi?id=128236
1317
1318         Reviewed by Timothy Hatcher.
1319
1320         Work around bug 80159 - copying should always respect user-select:none, but it doesn't yet.
1321
1322         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1323         When copying, temporarily make non-selectable parts invisible, and put text of
1324         the selection onto pasteboard. Since we immediately make everything visible again,
1325         there is even no blinking.
1326
1327 2014-02-05  Nick Diego Yamane  <nick.yamane@openbossa.org>
1328
1329         Unreviewed. Add myself to contributors.json
1330
1331         * Scripts/webkitpy/common/config/contributors.json:
1332
1333 2014-02-05  Sergio Correia  <sergio.correia@openbossa.org>
1334
1335         Unreviewed. Add myself to contributor and watch lists
1336
1337         * Scripts/webkitpy/common/config/contributors.json:
1338         * Scripts/webkitpy/common/config/watchlist:
1339
1340 2014-02-05  Alberto Garcia  <berto@igalia.com>
1341
1342         Unreviewed. Add myself to some watchlists.
1343
1344         * Scripts/webkitpy/common/config/watchlist:
1345
1346 2014-02-05  Gabor Rapcsanyi  <rgabor@webkit.org>
1347
1348         Fix WaitForSVNServer build step after r163372.
1349
1350         Rubber-stamped by Csaba Osztrogonác.
1351
1352         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1353         (WaitForSVNServer.evaluateCommand): add missing return SUCCESS
1354
1355 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
1356
1357         Remove ENABLE(SVG) guards
1358         https://bugs.webkit.org/show_bug.cgi?id=127991
1359
1360         Reviewed by Sam Weinig.
1361
1362         * Scripts/webkitperl/FeatureList.pm:
1363         * TestWebKitAPI/GNUmakefile.am:
1364
1365 2014-02-04  Andreas Kling  <akling@apple.com>
1366
1367         Remove <iframe seamless> support.
1368         <https://webkit.org/b/128213>
1369
1370         Rubber-stamped by Antti Koivisto.
1371
1372         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
1373         (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
1374         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1375         (resetDefaultsToConsistentValues):
1376         * DumpRenderTree/mac/DumpRenderTree.mm:
1377         (resetWebPreferencesToConsistentValues):
1378         * DumpRenderTree/win/DumpRenderTree.cpp:
1379         (resetDefaultsToConsistentValues):
1380         * Scripts/webkitperl/FeatureList.pm:
1381         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1382         (WTR::InjectedBundle::beginTesting):
1383
1384 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
1385
1386         Fix build when the script is called from Xcode.
1387
1388         * Scripts/copy-webkitlibraries-to-product-directory:
1389
1390 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
1391
1392         DFG PutByVal on typed arrays should detect OutOfBounds sooner
1393         https://bugs.webkit.org/show_bug.cgi?id=128162
1394
1395         Reviewed by Mark Hahnenberg.
1396         
1397         Add a defautNoEagerRun, which is intended to be used for convergence tests.
1398
1399         * Scripts/run-jsc-stress-tests:
1400
1401 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
1402
1403         export-llvm-build should work with git checkouts
1404         https://bugs.webkit.org/show_bug.cgi?id=128217
1405
1406         Reviewed by Mark Hahnenberg.
1407         
1408         If svn export fails, just do ditto.
1409
1410         * Scripts/export-llvm-build:
1411
1412 2014-02-04  Carlos Garnacho  <carlosg@gnome.org>
1413
1414         [Automake] Add missing $(feature_defines) when generating InjectedBundle bindings
1415         https://bugs.webkit.org/show_bug.cgi?id=128170
1416
1417         Reviewed by Carlos Garcia Campos.
1418
1419         * WebKitTestRunner/GNUmakefile.am: Add missing $(feature_defines) when
1420         generating the InjectedBundle bindings. So the various ENABLE_* defines
1421         are available there.
1422
1423 2014-02-04  Carlos Garnacho  <carlosg@gnome.org>
1424
1425         [GTK] Ensure generated events have given modifiers GDK understands
1426         https://bugs.webkit.org/show_bug.cgi?id=128171
1427
1428         Reviewed by Carlos Garcia Campos.
1429
1430         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
1431         (WTR::webkitModifiersToGDKModifiers): Move around
1432         (WTR::EventSenderProxy::createMouseButtonEvent):
1433         (WTR::EventSenderProxy::keyDown): Use webkitModifiersToGDKModifiers to
1434         translate WKEventModifiers.
1435
1436 2014-02-04  Gabor Rapcsanyi  <rgabor@webkit.org>
1437
1438         Fine tuning the ARM EFL bots
1439         https://bugs.webkit.org/show_bug.cgi?id=128168
1440
1441         Reviewed by Csaba Osztrogonác.
1442
1443         * BuildSlaveSupport/build.webkit.org-config/config.json: Add custom SVN mirror.
1444         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1445         (WaitForSVNServer): Make it not to halt before the first repository checkout.
1446         (WaitForSVNServer.evaluateCommand):
1447         (Factory.__init__): Disable kill-old-processes step on EFL ARM bots, because these
1448         bots run on the same machine and they kill the processes of each other.
1449
1450 2014-02-03  Ryosuke Niwa  <rniwa@webkit.org>
1451
1452         kill-old-processes doesn't kill plugin processes
1453         https://bugs.webkit.org/show_bug.cgi?id=128138
1454
1455         Reviewed by Andreas Kling.
1456
1457         Add plugin process names to the list of processes to kill.
1458
1459         * BuildSlaveSupport/kill-old-processes:
1460         (main):
1461
1462 2014-02-03  Dean Jackson  <dino@apple.com>
1463
1464         Feature flag for shape-inside
1465         https://bugs.webkit.org/show_bug.cgi?id=128001
1466
1467         Reviewed by Simon Fraser.
1468
1469         Add CSS_SHAPE_INSIDE flag, and -css-shape-inside build
1470         flag.
1471
1472         * Scripts/webkitperl/FeatureList.pm:
1473
1474 2014-02-03  Zoltan Horvath  <zoltan@webkit.org>
1475
1476         Unreviewed. Reorder my e-mail addresses in contributors.json,
1477         so bugzilla will auto complete my actual bugzilla username.
1478
1479         * Scripts/webkitpy/common/config/contributors.json:
1480
1481 2014-02-03  Daniel Bates  <dabates@apple.com>
1482
1483         WebKit Bot Watcher's Dashboard: Defer subsequent resource loads from access-restricted build bot when
1484         iteration fails to load with HTTP 401 status code
1485         https://bugs.webkit.org/show_bug.cgi?id=128077
1486
1487         Reviewed by Alexey Proskuryakov.
1488
1489         Similar to the fix for <https://bugs.webkit.org/show_bug.cgi?id=127849>, we should only prompt for
1490         the HTTP credentials of a build bot so long as an earlier authentication request wasn't cancelled
1491         (i.e. failed with an HTTP 401 Unauthorized status code). Currently an authentication dialog will be
1492         presented for an iteration each time the update queue timer fires until a person successfully
1493         authenticates. Instead we should update the authentication status of the build bot on receiving an
1494         HTTP 401 response code such that we defer subsequent requests to load any resource from the access-
1495         restricted build bot when the queue update timer fires.
1496
1497         A person must explicitly click the "unauthorized" status line shown for the queue associated with the
1498         iteration in the dashboard and authenticate successfully for the iteration to be loaded once an
1499         authentication request for an iteration is cancelled.
1500
1501         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1502         (BuildbotIteration.prototype.update): Early return if the associated Buildbot was given invalid credentials.
1503         Also notify the associated Buildbot and update the queue view when a load failed with an HTTP 401 status code.
1504         (BuildbotIteration.prototype.loadLayoutTestResults): Ditto.
1505         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1506         (BuildbotQueueView): Modified to call BuildbotQueueView.prototype._unauthorizedAccess instead of
1507         QueueView.prototype._updateSoon when event BuildbotQueue.Event.UnauthorizedAccess is received.
1508         (BuildbotQueueView.prototype._unauthorizedAccess): Added.
1509
1510 2014-02-03  Daniel Bates  <dabates@apple.com>
1511
1512         WebKit Bot Watcher's Dashboard: Teach JSON.load() to interpret third argument as either an
1513         option dictionary or a failure callback
1514         https://bugs.webkit.org/show_bug.cgi?id=128080
1515
1516         Reviewed by Alexey Proskuryakov.
1517
1518         Currently JSON.load() takes a failure callback function as its third argument and
1519         an option dictionary as its fourth argument. So, a caller that wants to ignore errors
1520         and pass an option dictionary must pass null or a reference to an empty function for
1521         the value of third argument. Instead, we should make the third argument polymorphic for
1522         convenience. Then a caller can either pass a failure callback function or an option dictionary.
1523
1524         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
1525
1526 2014-02-03  Krzysztof Czech  <k.czech@samsung.com>
1527
1528         [ATK] Expose aria-controls through ATK_RELATION_CONTROLLER_FOR
1529         https://bugs.webkit.org/show_bug.cgi?id=127908
1530
1531         Reviewed by Chris Fleizach.
1532
1533         Updated AccessibilityUIElement both in WKTR and DRT so that aria-controls support could be tested properly.
1534         Added empty stubs to not break mac builds.
1535
1536         * DumpRenderTree/AccessibilityUIElement.cpp:
1537         (ariaControlsElementAtIndexCallback):
1538         (AccessibilityUIElement::getJSClass):
1539         * DumpRenderTree/AccessibilityUIElement.h:
1540         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
1541         (accessibilityElementAtIndex):
1542         (AccessibilityUIElement::disclosedRowAtIndex):
1543         (AccessibilityUIElement::ariaOwnsElementAtIndex):
1544         (AccessibilityUIElement::ariaFlowToElementAtIndex):
1545         (AccessibilityUIElement::ariaControlsElementAtIndex):
1546         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1547         (AccessibilityUIElement::ariaControlsElementAtIndex):
1548         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1549         (AccessibilityUIElement::ariaControlsElementAtIndex):
1550         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1551         (AccessibilityUIElement::ariaControlsElementAtIndex):
1552         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1553         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1554         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1555         (WTR::accessibilityElementAtIndex):
1556         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
1557         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
1558         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
1559         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
1560         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1561         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
1562         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1563         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
1564
1565 2014-02-02  Daniel Bates  <dabates@apple.com>
1566
1567         WebKit Bot Watcher's Dashboard: Access restricted queue should only prompt for HTTP credentials once per page load
1568         https://bugs.webkit.org/show_bug.cgi?id=127849
1569
1570         I inadvertently used the equality operator instead of the identity operator when comparing the
1571         value of the error HTTP status code with the numeric literal 401.
1572
1573         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1574         (BuildbotQueue.prototype.update):
1575
1576 2014-02-02  Daniel Bates  <dabates@apple.com>
1577
1578         Attempt to fix production dashboard after <http://trac.webkit.org/changeset/163222>
1579
1580         Actually pass option dictionary to JSON.load(); JSON.load() takes four arguments with the
1581         last-most argument being the option dictionary.
1582
1583         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1584         (BuildbotIteration.prototype.update):
1585
1586 2014-02-01  Filip Pizlo  <fpizlo@apple.com>
1587
1588         JSC profiler's stub info profiling support should work again
1589         https://bugs.webkit.org/show_bug.cgi?id=128057
1590
1591         Reviewed by Mark Lam.
1592
1593         * Scripts/display-profiler-output: Just make sure that there's always a space between the origin stack dump and the top bytecode index.
1594
1595 2014-02-01  Filip Pizlo  <fpizlo@apple.com>
1596
1597         JSC profiler should show reasons for jettison
1598         https://bugs.webkit.org/show_bug.cgi?id=128047
1599
1600         Reviewed by Geoffrey Garen.
1601         
1602         Gave the tool a "log" command, that tells you all of the interesting things
1603         that happened to a piece of bytecode, from the standpoint of optimization.
1604         It's a great summary view for seeing how our tier-up machinery works.
1605         
1606         This uses a lot of information that was already available, plus the newly
1607         added jettisonReason field.
1608
1609         * Scripts/display-profiler-output:
1610
1611 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1612
1613         Remove inline member functions of FrameSelection that access m_selection
1614         https://bugs.webkit.org/show_bug.cgi?id=127986
1615
1616         Reviewed by Enrica Casucci.
1617
1618         * TestWebKitAPI/Configurations/Base.xcconfig:
1619
1620 2014-01-31  Anders Carlsson  <andersca@apple.com>
1621
1622         Another attempt at fixing the build.
1623
1624         * TestWebKitAPI/Configurations/Base.xcconfig:
1625
1626 2014-01-31  Oliver Hunt  <oliver@apple.com>
1627
1628         Rollout r163195 and related patches
1629
1630         * DumpRenderTree/CMakeLists.txt:
1631         * WebKitTestRunner/CMakeLists.txt:
1632         * WinCELauncher/CMakeLists.txt:
1633
1634 2014-01-31  Daniel Bates  <dabates@apple.com>
1635
1636         Attempt to fix Production Dashboard after <http://trac.webkit.org/changeset/163213>
1637         (https://bugs.webkit.org/show_bug.cgi?id=127849)
1638
1639         Reviewed by David Farler.
1640
1641         Pass credentials when querying build bot iteration. 
1642
1643         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1644         (BuildbotIteration.prototype.update):
1645         (BuildbotIteration.prototype.loadLayoutTestResults):
1646
1647 2014-01-31  Anders Carlsson  <andersca@apple.com>
1648
1649         Fix iOS build.
1650
1651         * TestWebKitAPI/Configurations/Base.xcconfig:
1652
1653 2014-01-31  Simon Fraser  <simon.fraser@apple.com>
1654
1655         WebKitTestRunner project doesn't show Mac as a valid destination architecture.
1656         
1657         Make sure that SUPPORTED_PLATFORMS is defined in Base.xcconfig.
1658         
1659         Also add BaseTarget.xcconfig to the project.
1660
1661         * WebKitTestRunner/Configurations/Base.xcconfig:
1662         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1663
1664 2014-01-31  Daniel Bates  <dabates@apple.com>
1665
1666         WebKit Bot Watcher's Dashboard: Access restricted queue should only prompt for HTTP credentials once per page load
1667         https://bugs.webkit.org/show_bug.cgi?id=127849
1668
1669         Reviewed by Alexey Proskuryakov.
1670
1671         Currently whenever the dashboard updates the status of a queue whose Buildbot requires authentication
1672         it will cause a browser to prompt for credentials once per update until valid credentials are provided.
1673         Instead we should keep track of Buildbots that respond with an HTTP 401 Unauthorized status code to avoid
1674         subsequently querying them and hence cause a browser to prompt for credentials. Together with an optional
1675         hint provided when instantiating a Buildbot object as to whether it requires authentication, we can make
1676         the dashboard prompt for HTTP credentials exactly once per page load for each queue whose associated
1677         Buildbot requires authentication.
1678
1679         Queues whose Buildbot wasn't authenticated will show in the dashboard as "unauthorized". Clicking on
1680         this status message will cause the browser to prompt for credentials.
1681
1682         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
1683         (Buildbot): Initialize instance variable authenticationStatus to Buildbot.AuthenticationStatus.Unauthenticated.
1684         (Buildbot.prototype.get needsAuthentication): Added.
1685         (Buildbot.prototype.get authenticationStatus): Added.
1686         (Buildbot.prototype.get isAuthenticated): Added.
1687         (Buildbot.prototype.set isAuthenticated): Added.
1688         (Buildbot.prototype.updateQueues): Added.
1689         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
1690         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus): Modified to call
1691         BuildbotQueueView.prototype._appendUnauthorizedLineView() to update the view and show status of the queue as
1692         "unauthorized" if the Buildbot associated with the queue is either unauthenticated or was given invalid credentials.
1693         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1694         (BuildbotQueue.prototype.update): Return immediately if the associated Buildbot requires authentication.
1695         Additionally, if the JSON load fails with an HTTP 401 Unauthorized access error (say, credentials were
1696         invalidated) then update the authentication status of the Buildbot to avoid subsequently prompting a
1697         person for credentials the next time the queue update timer fires.
1698         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1699         (BuildbotQueueView): Register as a listener for event BuildbotQueue.Event.UnauthorizedAccess on each queue
1700         so that the view can be updated to show status "unauthorized".
1701         (BuildbotQueueView.prototype._appendUnauthorizedLineView): Added.
1702         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1703         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1704         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/StatusLineView.js: Added new status, StatusLineView.Status.Unauthorized.
1705         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
1706         (.status-line.unauthorized .bubble): Added.
1707         (.status-line.unauthorized .bubble.pictogram): Added.
1708         (.status-line.unauthorized .message): Added.
1709
1710 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1711
1712         Unreviewed, really make --copy-libraries a no-able option.
1713         
1714         * Scripts/build-jsc:
1715
1716 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1717
1718         Unreviewed, really add the --copy-libraries option.
1719
1720         * Scripts/build-jsc:
1721
1722 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1723
1724         Unreviewed, fix the script for older Rubies.
1725
1726         * Scripts/export-llvm-build:
1727
1728 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1729
1730         Having a custom LLVM checkout should always override all other ways of getting LLVM
1731         https://bugs.webkit.org/show_bug.cgi?id=128015
1732
1733         Reviewed by Oliver Hunt.
1734
1735         * Scripts/copy-webkitlibraries-to-product-directory:
1736
1737 2014-01-31  Daniel Bates  <dabates@apple.com>
1738
1739         WebKit Bot Watcher's Dashboard: Teach JSON.load() to take optional failure callback function
1740         https://bugs.webkit.org/show_bug.cgi?id=127924
1741
1742         Reviewed by Alexey Proskuryakov.
1743
1744         Towards providing better error handling when a JSON load fails with a non-200 HTTP status
1745         code, we should teach JSON.load() to take an optional failure callback function and invoke
1746         it when either a load error or a JSON parsing error occurs.
1747
1748         As a side benefit of having a failure callback function a caller can separate the error handling
1749         logic for a JSON load or parse error from the logic of handling a successful parsing of JSON content.
1750
1751         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1752         (BuildbotIteration.prototype.loadLayoutTestResults): Move JSON parser error logic into failure
1753         callback function.
1754         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
1755         (JSON.load): Modified to take optional failure callback function called failureCallback.
1756
1757 2014-01-29  Oliver Hunt  <oliver@apple.com>
1758
1759         Make it possible to implement JS builtins in JS
1760         https://bugs.webkit.org/show_bug.cgi?id=127887
1761
1762         Reviewed by Michael Saboff.
1763
1764         CMake updates
1765
1766         * DumpRenderTree/CMakeLists.txt:
1767         * WebKitTestRunner/CMakeLists.txt:
1768         * WinCELauncher/CMakeLists.txt:
1769
1770 2014-01-31  Filip Pizlo  <fpizlo@apple.com>
1771
1772         Allow more flexibility for copy-webkitlibraries-to-product-directory
1773         https://bugs.webkit.org/show_bug.cgi?id=128010
1774
1775         Reviewed by Oliver Hunt.
1776         
1777         It's now the case that copy-webkitlibraries-to-product-directory does nothing by
1778         default, but you can tell it to either copy WebKitSystemInterface (--wksi) or LLVM
1779         (--llvm). You can also tell it where to get LLVM from.
1780
1781         * Scripts/build-jsc:
1782         * Scripts/build-webkit:
1783         * Scripts/copy-webkitlibraries-to-product-directory:
1784
1785 2014-01-31  David Farler  <dfarler@apple.com>
1786
1787         DumpRenderTree iOS fails to link: missing rowHeaders and columnHeaders in AccessibilityUIElement
1788         https://bugs.webkit.org/show_bug.cgi?id=128004
1789
1790         Reviewed by Chris Fleizach.
1791
1792         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1793         (AccessibilityUIElement::columnHeaders): Stub added.
1794         (AccessibilityUIElement::rowHeaders): Stub added.
1795
1796 2014-01-31  Zoltan Horvath  <zoltan@webkit.org>
1797
1798         Unreviewed. Update my contributors.json entry.
1799
1800         * Scripts/webkitpy/common/config/contributors.json:
1801
1802 2014-01-31  Anders Carlsson  <andersca@apple.com>
1803
1804         REGRESSION: WebKit2.PageLoadBasic API test is failing
1805         https://bugs.webkit.org/show_bug.cgi?id=127892
1806
1807         Reviewed by Dan Bernstein.
1808
1809         Re-enable test.
1810
1811         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1812
1813 2014-01-31  Csaba Osztrogonác  <ossy@webkit.org>
1814
1815         [jhbuild] Disable escape sequences in EWS output
1816         https://bugs.webkit.org/show_bug.cgi?id=127922
1817
1818         Reviewed by Alexey Proskuryakov.
1819
1820         * Scripts/webkitpy/common/system/environment.py:
1821         (Environment.disable_gcc_smartquotes):
1822         (Environment):
1823         (Environment.disable_jhbuild_VT100_output):
1824         * Scripts/webkitpy/tool/commands/download_unittest.py:
1825         * Scripts/webkitpy/tool/steps/build.py:
1826         (Build.build):
1827
1828 2014-01-30  Martin Robinson  <mrobinson@igalia.com>
1829
1830         [GTK] [CMake] Add support for building against GTK+ 2
1831         https://bugs.webkit.org/show_bug.cgi?id=127959
1832
1833         Reviewed by Anders Carlsson.
1834
1835         * DumpRenderTree/PlatformGTK.cmake: Use the new API version variable and don't use GTK3 directly.
1836         * GtkLauncher/CMakeLists.txt: Ditto.
1837         * ImageDiff/PlatformGTK.cmake: Ditto.
1838         * TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt: Ditto.
1839
1840 2014-01-30  Anders Carlsson  <andersca@apple.com>
1841
1842         Add webView:didFinishLoadingNavigation: delegate method
1843         https://bugs.webkit.org/show_bug.cgi?id=127976
1844
1845         Reviewed by Dan Bernstein.
1846
1847         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1848         (-[NavigationDelegate webView:didCommitNavigation:]):
1849         (-[NavigationDelegate webView:didFinishLoadingNavigation:]):
1850
1851 2014-01-30  Anders Carlsson  <andersca@apple.com>
1852
1853         Add a webView:didCommitNavigation: delegate method
1854         https://bugs.webkit.org/show_bug.cgi?id=127972
1855
1856         Reviewed by Dan Bernstein.
1857
1858         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1859         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
1860         (-[NavigationDelegate webView:didCommitNavigation:]):
1861
1862 2014-01-30  Anders Carlsson  <andersca@apple.com>
1863
1864         Add a webView:didFailProvisionalNavigation:withError: delegate method
1865         https://bugs.webkit.org/show_bug.cgi?id=127968
1866
1867         Reviewed by Dan Bernstein.
1868
1869         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1870         (-[DidFailProvisionalNavigationDelegate webView:didStartProvisionalNavigation:]):
1871         (-[DidFailProvisionalNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1872         (TEST):
1873
1874 2014-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1875
1876         The test server build fixes.
1877
1878         * TestResultServer/model/jsonresults.py:
1879         (JsonResults.merge):
1880         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1881
1882 2014-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1883
1884         NRWT shouldn't say "Finished writing JSON files" if it failed to to so
1885         https://bugs.webkit.org/show_bug.cgi?id=127966
1886
1887         Reviewed by Alexey Proskuryakov.
1888
1889         Don't say "Finished writing JSON files" if we had failed to generate the JSON file.
1890         Also explicitly say this is for test results server as we're generating two JSON files.
1891
1892         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1893         (Manager._upload_json_files):
1894         * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1895         (JSONLayoutResultsGenerator.__init__): Don't generate JSON file implicitly inside the constructor.
1896         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1897         (JSONResultsGenerator.generate_json_output): Return a boolean indicating whether the generation
1898         had succeeded or not.
1899
1900 2014-01-30  Filip Pizlo  <fpizlo@apple.com>
1901
1902         copy-webkitlibraries-to-product-directory should accept command-line arguments for extra work required for optional features rather than relying on environment variables
1903         https://bugs.webkit.org/show_bug.cgi?id=120221
1904
1905         Reviewed by Mark Hahnenberg.
1906
1907         * Scripts/build-jsc:
1908         * Scripts/build-webkit:
1909         * Scripts/copy-webkitlibraries-to-product-directory:
1910
1911 2014-01-30  Anders Carlsson  <andersca@apple.com>
1912
1913         Add a webView:didStartProvisionalNavigation: delegate method
1914         https://bugs.webkit.org/show_bug.cgi?id=127965
1915
1916         Reviewed by Dan Bernstein.
1917
1918         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1919         (-[NavigationDelegate webView:didStartProvisionalNavigation:]):
1920         (TEST):
1921
1922 2014-01-30  Chris Fleizach  <cfleizach@apple.com>
1923
1924         WebKitTestRunner fails to link - missing rowHeaders and columnHeaders
1925         https://bugs.webkit.org/show_bug.cgi?id=127917
1926
1927         Reviewed by Andy Estes.
1928
1929         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1930         (WTR::AccessibilityUIElement::rowHeaders):
1931         (WTR::AccessibilityUIElement::columnHeaders):
1932
1933 2014-01-30  Martin Robinson  <mrobinson@igalia.com>
1934
1935         [GTK] [CMake] Add a "make dist" target
1936         https://bugs.webkit.org/show_bug.cgi?id=116378
1937
1938         Reviewed by Gustavo Noronha Silva.
1939
1940         Added a script that reads a manifest file an produces a tarball. Also add
1941         the manifest.
1942
1943         * gtk/make-dist.py: Added.
1944         * gtk/manifest.txt: Added.
1945
1946 2014-01-30  David Farler  <dfarler@apple.com>
1947
1948         Move OTHER_LDFLAGS erasure to DumpRenderTreeLibrary.xcconfig.
1949         https://bugs.webkit.org/show_bug.cgi?id=127935
1950
1951         Reviewed by Andy Estes.
1952
1953         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1954         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
1955         Move OTHER_LDFLAGS erasure to the static library's xcconfig.
1956
1957 2014-01-30  David Farler  <dfarler@apple.com>
1958
1959         DumpRenderTree fails to build with ASAN: -fsanitize=address passed to static DRT target
1960         https://bugs.webkit.org/show_bug.cgi?id=127935
1961
1962         Reviewed by Andy Estes.
1963
1964         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1965         Clear OTHER_LDFLAGS at the project level for the static library target.
1966         No other linker flags were inherited from DebugRelease.
1967
1968 2014-01-30  David Farler  <dfarler@apple.com>
1969
1970         package-root shouldn't prefix simulator roots with the SDK path
1971         http://bugs.webkit.org/show_bug.cgi?id=127923
1972
1973         Reviewed by Dan Bernstein.
1974
1975         * Scripts/package-root: Don't add an install path prefix.
1976
1977 2014-01-30  Gabor Rapcsanyi  <rgabor@webkit.org>
1978
1979         Add ARM EFL Linux builder bots to Apple buildmaster
1980         https://bugs.webkit.org/show_bug.cgi?id=127472
1981
1982         Reviewed by Csaba Osztrogonác.
1983
1984         There is no ARM buildslaves after removing the Qt builders.
1985
1986         * BuildSlaveSupport/build.webkit.org-config/config.json:
1987
1988 2014-01-30  Andy Estes  <aestes@apple.com>
1989
1990         REGRESSION (r163037): WebKit2.PageLoadBasic API test failing on Mountain Lion
1991         https://bugs.webkit.org/show_bug.cgi?id=127934
1992
1993         Disable the failing test on Mountain Lion.
1994
1995         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1996         (TestWebKitAPI::TEST):
1997
1998 2014-01-30  Anders Carlsson  <andersca@apple.com>
1999
2000         Add WKNavigationDelegate class
2001         https://bugs.webkit.org/show_bug.cgi?id=127927
2002
2003         Reviewed by Dan Bernstein.
2004
2005         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
2006         (TEST):
2007
2008 2014-01-30  David Farler  <dfarler@apple.com>
2009
2010         Enable iOS Tools builds by default
2011         https://bugs.webkit.org/show_bug.cgi?id=127919
2012
2013         Reviewed by Andy Estes.
2014
2015         * Makefile:
2016         Build all the tools except MiniBrowser on iOS
2017         * Scripts/build-webkit:
2018         Ditto.
2019         Build WebKitTestRunnerApp target on iOS.
2020
2021 2014-01-30  David Farler  <dfarler@apple.com>
2022
2023         Make TestWebKitAPI build and run for iOS
2024         https://bugs.webkit.org/show_bug.cgi?id=127925
2025
2026         Reviewed by Andy Estes.
2027
2028         * TestWebKitAPI/Configurations/Base.xcconfig:
2029         - Don't warn on 64-32 bit conversion on x86_64 and arm64
2030         - Don't build mac/*
2031         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2032         - Link WebKit2 on all platforms
2033
2034 2014-01-30  David Farler  <dfarler@apple.com>
2035
2036         package-root should copy ./usr from the build products directory
2037         https://bugs.webkit.org/show_bug.cgi?id=127878
2038
2039         Reviewed by Daniel Bates.
2040
2041         * Scripts/package-root:
2042         Copy ./usr in addition to the frameworks.
2043
2044 2014-01-30  Andrei Bucur  <abucur@adobe.com>
2045
2046         Remove the ACCELERATED_COMPOSITING flag
2047         https://bugs.webkit.org/show_bug.cgi?id=127833
2048
2049         Reviewed by Antti Koivisto.
2050
2051         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
2052         mandatory.
2053
2054         * DumpRenderTree/efl/DumpRenderTree.cpp:
2055         (initEcoreEvas):
2056         * EWebLauncher/main.c:
2057         (windowCreate):
2058         * MiniBrowser/efl/main.c:
2059         (elm_main):
2060         * TestWebKitAPI/efl/PlatformWebView.cpp:
2061         (TestWebKitAPI::initEcoreEvas):
2062         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
2063         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2064         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2065         (WTR::initEcoreEvas):
2066
2067 2014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
2068
2069         Remove ENABLE(JAVASCRIPT_DEBUGGER) leftovers
2070         https://bugs.webkit.org/show_bug.cgi?id=127845
2071
2072         Reviewed by Joseph Pecoraro.
2073
2074         * Scripts/webkitperl/FeatureList.pm:
2075
2076 2014-01-29  Anders Carlsson  <andersca@apple.com>
2077
2078         -[WKWebView loadRequest:] should return a WKNavigation
2079         https://bugs.webkit.org/show_bug.cgi?id=127873
2080
2081         Reviewed by Dan Bernstein.
2082
2083         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2084         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm: Added.
2085         (TEST):
2086
2087 2014-01-29  Tim Horton  <timothy_horton@apple.com>
2088
2089         WebKit2 View Gestures (Swipe): Update rubberBandsAt{Left,Right} when WebKit swipe is enabled
2090         https://bugs.webkit.org/show_bug.cgi?id=127855
2091         <rdar://problem/15933878>
2092
2093         Reviewed by Anders Carlsson.
2094
2095         * MiniBrowser/mac/WK2BrowserWindowController.m:
2096         (-[WK2BrowserWindowController awakeFromNib]):
2097         Enable swipe in MiniBrowser for testing purposes.
2098
2099 2014-01-29  Daniel Bates  <dabates@apple.com>
2100
2101         Fix JSONP requests made by the WebKit Bot Watcher's Dashboard following <http://trac.webkit.org/changeset/163034>
2102         (https://bugs.webkit.org/show_bug.cgi?id=127784)
2103
2104         Use dot-notation instead of array index notation to access the dictionary value for key jsonpCallbackName
2105         in the specified options dictionary.
2106
2107         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
2108         (JSON.load):
2109
2110 2014-01-29  Daniel Bates  <dabates@apple.com>
2111
2112         WebKit Bot Watcher's Dashboard: Add support for using HTTP authentication with Buildbot
2113         https://bugs.webkit.org/show_bug.cgi?id=127784
2114
2115         Reviewed by Alexey Proskuryakov.
2116
2117         Implement support for querying a Buildbot that requires HTTP authentication to access it.
2118
2119         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2120         (Buildbot): Add optional argument, options, to pass a dictionary of Buildbot options.
2121         For now, we only support a single option, needsAuthentication, to indicate whether the
2122         Buildbots requires HTTP authentication (defaults to false - HTTP authentication is
2123         not required).
2124         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2125         (BuildbotIteration.prototype.loadLayoutTestResults): Modified to pass JSONP callback name
2126         to JSON.load() using the option dictionary.
2127         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2128         (BuildbotQueue.prototype.update): Modified to pass withCredentials to JSON.load().
2129         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
2130         (JSON.load): Removed optional argument jsonpCallbackName and added optional argument options,
2131         which is a dictionary. The argument jsonpCallbackName is now specified as an entry in the
2132         options dictionary. Added boolean options withCredentials to toggle querying with HTTP
2133         authentication credentials.
2134
2135 2014-01-29  Alexey Proskuryakov  <ap@apple.com>
2136
2137         build.webkit.org/dashboard links to an old failing build rather than the most recent
2138         https://bugs.webkit.org/show_bug.cgi?id=127765
2139         <rdar://problem/15795228>
2140
2141         Reviewed by Timothy Hatcher.
2142
2143         This patch changes builder view to not show how many failures there were in a row,
2144         because it is not very relevant, and complicates the UI. Instead, we just show the
2145         latest failing build and the latest successful one.
2146
2147         The patch also removes commit history popovers from revisions that can not be correlated
2148         with any change. These popovers are only helpful in the first line, when there is
2149         another line for comparison below. In this case, it's useful to see what changed
2150         between the revisions, but even then, only if it was an actual failure, not a buildbot
2151         exception.
2152
2153         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
2154         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus):
2155         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2156         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2157         (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
2158         (BuildbotQueueView.prototype._revisionPopoverContentForIteration):
2159         (BuildbotQueueView.prototype.revisionContentForIteration):
2160         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2161         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2162
2163 2014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
2164
2165         Remove ENABLE(JAVASCRIPT_DEBUGGER) guards
2166         https://bugs.webkit.org/show_bug.cgi?id=127840
2167
2168         Reviewed by Mark Lam.
2169
2170         * Scripts/webkitperl/FeatureList.pm:
2171
2172 2014-01-29  Krzysztof Czech  <k.czech@samsung.com>
2173
2174         [ATK] Expose aria-describedby with ATK_RELATION_DESCRIBED_BY
2175         https://bugs.webkit.org/show_bug.cgi?id=121684
2176
2177         Reviewed by Mario Sanchez Prada.
2178
2179         Implementing helpText by using relation ATK_RELATION_DESCRIBED_BY.
2180
2181         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
2182         (AccessibilityUIElement::helpText):
2183         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2184         (WTR::AccessibilityUIElement::helpText):
2185
2186 2014-01-27  Chris Fleizach  <cfleizach@apple.com>
2187
2188         AX: Support @scope in HTML tables
2189         https://bugs.webkit.org/show_bug.cgi?id=127688
2190
2191         Reviewed by Mario Sanchez Prada.
2192
2193         Add support for rowHeaders and columnHeaders.
2194
2195         * DumpRenderTree/AccessibilityUIElement.cpp:
2196         (convertElementsToObjectArray):
2197         (columnHeadersCallback):
2198         (rowHeadersCallback):
2199         (uiElementArrayAttributeValueCallback):
2200         (AccessibilityUIElement::columnHeaders):
2201         (AccessibilityUIElement::rowHeaders):
2202         (AccessibilityUIElement::getJSClass):
2203         * DumpRenderTree/AccessibilityUIElement.h:
2204         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2205         (AccessibilityUIElement::rowHeaders):
2206         (AccessibilityUIElement::columnHeaders):
2207         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2208         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2209         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2210         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
2211         (WTR::AccessibilityUIElement::rowHeaders):
2212         (WTR::AccessibilityUIElement::columnHeaders):
2213         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2214         (WTR::convertElementsToObjectArray):
2215         (WTR::AccessibilityUIElement::rowHeaders):
2216         (WTR::AccessibilityUIElement::columnHeaders):
2217         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
2218
2219 2014-01-28  Daniel Bates  <dabates@apple.com>
2220
2221         Teach Buildbot dashboard to parse alternative revision format
2222         https://bugs.webkit.org/show_bug.cgi?id=127561
2223
2224         Reviewed by Alexey Proskuryakov.
2225
2226         Add support for extracting the OpenSource and Internal revision numbers when Buildbot
2227         returns a dictionary for the value of property got_revision.
2228
2229         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2230         (isMultiCodebaseGotRevisionProperty): Added.
2231         (parseRevisionProperty): Added; parses Buildbot revision property, which can either be a
2232         string or a dictionary.
2233         (BuildbotIteration.prototype.update.): Modified to call parseRevisionProperty() to determine
2234         the OpenSource and Internal revision numbers.
2235
2236 2014-01-28  Adrian Perez de Castro  <aperez@igalia.com>
2237
2238         [GTK] Add API to allow setting the process model in WebKitWebContext
2239         https://bugs.webkit.org/show_bug.cgi?id=125463
2240
2241         Reviewed by Carlos Garcia Campos.
2242
2243         Implements accessors in WebKitWebContext for the process model.
2244         The default behavior is unchanged, and a single web process is
2245         used. Using WEBKIT_PROCESS_MODEL_ONE_SECONDARY_PROCESS_PER_WEB_VIEW
2246         as the process model will make use one web process for each
2247         WebKitWebView. This also enables the network process. Setting
2248         the process model must be done as early as possible, before the
2249         very first web process is spawned.
2250
2251         * MiniBrowser/gtk/main.c:
2252         (main):
2253         Enable multiple process mode if the MINIBROWSER_MULTIPROCESS
2254         environment variable is defined and not empty.
2255         * TestWebKitAPI/GNUmakefile.am:
2256         Add new TestMultiprocess test case.
2257         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2258         Add new TestMultiprocess test case.
2259         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp: Added.
2260         (loadChanged):
2261         (testMultipleSecondaryProcesses):
2262         (initializeWebExtensions):
2263         (beforeAll):
2264         (afterAll):
2265         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2266         (methodCallCallback):
2267         Implement the GetProcessIdentifier D-Bus method.
2268         (makeBusName):
2269         Choose a different bus name when the web extension is used
2270         from TestMultiprocess.
2271         (webkit_web_extension_initialize_with_user_data):
2272         Use makeBusName() to choose the bus name.
2273
2274 2014-01-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2275
2276         [SOUP] Remove soupURIToKURL
2277         https://bugs.webkit.org/show_bug.cgi?id=127104
2278
2279         Reviewed by Martin Robinson.
2280
2281         * TestWebKitAPI/GNUmakefile.am: Add soup cppflags to WebCore unit
2282         tests, because URL.h now includes GUniquePtrSoup.h.
2283         * TestWebKitAPI/CMakeLists.txt: Ditto.
2284         * WebKitTestRunner/PlatformEfl.cmake: Add soup cppflags to WTR,
2285         because URL.h now includes GUniquePtrSoup.h.
2286
2287 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
2288
2289         [GTK] Make webkit_uri_scheme_request_get_web_view() work with CustomProtocols
2290         https://bugs.webkit.org/show_bug.cgi?id=127614
2291
2292         Reviewed by Gustavo Noronha Silva.
2293
2294         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp: Bring
2295         back the custom URI scheme WebView check.
2296
2297 2014-01-27  Tim Horton  <timothy_horton@apple.com>
2298
2299         Revert yet one more tiny part of r162629 that didn't get reverted in r162883
2300
2301         * WebKitTestRunner/TestController.cpp:
2302         (WTR::TestController::pluginLoadPolicy):
2303         * WebKitTestRunner/TestController.h:
2304
2305 2014-01-27  Tim Horton  <timothy_horton@apple.com>
2306
2307         Revert one more tiny part of r162629 that didn't get reverted in r162883.
2308
2309         ... which was also causing test failures!
2310
2311         * WebKitTestRunner/TestController.cpp:
2312         (WTR::TestController::createWebViewWithOptions):
2313
2314 2014-01-27  David Farler  <dfarler@apple.com>
2315
2316         iOS DumpRenderTree.app dies loading fonts
2317         https://bugs.webkit.org/show_bug.cgi?id=127730
2318
2319         Reviewed by Daniel Bates.
2320
2321         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
2322         - Add Ahem to the __DATA section
2323         * DumpRenderTree/mac/DumpRenderTree.mm:
2324         (activateFontsIOS):
2325         - Load "WeightWatcher100" instead.
2326
2327 2014-01-27  Alexey Proskuryakov  <ap@apple.com>
2328
2329         [Mac] Extra logging output from run-safari --no-saved-state
2330         https://bugs.webkit.org/show_bug.cgi?id=127732
2331
2332         Reviewed by Daniel Bates.
2333
2334         * Scripts/webkitdirs.pm: (argumentsForRunAndDebugMacWebKitApp): Use an option that
2335         disables saved state without logging.
2336
2337 2014-01-27  Tim Horton  <timothy_horton@apple.com>
2338
2339         Revert the parts of r162629 that add a new pluginLoadPolicy and the context menu item.
2340
2341         We're leaving the parts that make us use PDFPlugin instead of showing the blocked
2342         plugin indicator intact, though.
2343
2344         * WebKitTestRunner/TestController.cpp:
2345         (WTR::TestController::createWebViewWithOptions):
2346
2347 2014-01-27  Andy Estes  <aestes@apple.com>
2348
2349         Scrub WebKit API headers of WTF macros
2350         https://bugs.webkit.org/show_bug.cgi?id=127706
2351
2352         Reviewed by David Kilzer.
2353
2354         * Scripts/check-for-inappropriate-macros-in-external-headers: Modified
2355         the regex to require a '(' after the macro name in order to be
2356         considered a match. This prevents things like 'ENABLE_SOME_FEATURE'
2357         from being flagged as an ENABLE() macro.
2358
2359 2014-01-27  Commit Queue  <commit-queue@webkit.org>
2360
2361         Unreviewed, rolling out r162846.
2362         http://trac.webkit.org/changeset/162846
2363         https://bugs.webkit.org/show_bug.cgi?id=127695
2364
2365         "Broke the WebKit Bot Watcher's Dashboard; will fix offline"
2366         (Requested by dydz on #webkit).
2367
2368         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2369         (BuildbotIteration.prototype.update.):
2370
2371 2014-01-27  Daniel Bates  <dabates@apple.com>
2372
2373         Add support for displaying results from multiple Buildbots on WebKit Bot Watcher's Dashboard
2374         https://bugs.webkit.org/show_bug.cgi?id=127564
2375
2376         Reviewed by Alexey Proskuryakov.
2377
2378         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js:
2379         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
2380
2381 2014-01-27  Daniel Bates  <dabates@apple.com>
2382
2383         Teach Buildbot dashboard to parse alternative revision format
2384         https://bugs.webkit.org/show_bug.cgi?id=127561
2385
2386         Reviewed by Alexey Proskuryakov.
2387
2388         Add support for extracting the OpenSource and Internal revision numbers when Buildbot
2389         returns a dictionary for the value of property got_revision.
2390
2391         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2392         (parseRevisionProperty): Added; parses Buildbot revision property, which can either be a
2393         string or a dictionary.
2394         (BuildbotIteration.prototype.update.): Modified to call parseRevisionProperty() to determine
2395         the OpenSource and Internal revision numbers.
2396
2397 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
2398
2399         [GTK] Implement custom URI schemes with CustomProtocols
2400         https://bugs.webkit.org/show_bug.cgi?id=127091
2401
2402         Reviewed by Gustavo Noronha Silva.
2403
2404         Temporarily disable the WebKitWebView check until we figure out
2405         how to implement it with CustomProtocols.
2406
2407         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
2408
2409 2014-01-26  Alexey Proskuryakov  <ap@apple.com>
2410
2411         REGRESSION(r127412): http/tests/misc/link-rel-icon-beforeload.html is broken.
2412
2413         * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setIconDatabaseEnabled):
2414         Fixed an incorrect ifdef.
2415
2416 2014-01-26  Brendan Long  <b.long@cablelabs.com>
2417
2418         [GTK] DumpRenderTree prints out suggesting to set WEBKIT_TOP_LEVEL when fonts are missing but doesn't use it.
2419         https://bugs.webkit.org/show_bug.cgi?id=110602
2420
2421         Reviewed by Philippe Normand.
2422
2423         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2424         (getTopLevelPath): Use WEBKIT_TOP_LEVEL environment variable if it exists.
2425         (initializeFonts): Fix printing of expected font path (fontPath is guaranteed to be null here).
2426
2427 2014-01-24  Andy Estes  <aestes@apple.com>
2428
2429         [iOS] Upstream changes in Tools/DumpRenderTree
2430         https://bugs.webkit.org/show_bug.cgi?id=127412
2431
2432         Reviewed by Simon Fraser.
2433
2434         Upstream all iOS changes. Added a new target called DumpRenderTree.app,
2435         which builds the DumpRenderTree static library into an app bundle as
2436         expected by the iOS Simulator.
2437
2438         * DumpRenderTree/AccessibilityTextMarker.h:
2439         * DumpRenderTree/AccessibilityUIElement.h:
2440         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2441         * DumpRenderTree/DumpRenderTreeFileDraggingSource.h:
2442         * DumpRenderTree/DumpRenderTreePrefix.h:
2443         * DumpRenderTree/PixelDumpSupport.cpp:
2444         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
2445         * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
2446         * DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm:
2447         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
2448         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
2449         * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
2450         * DumpRenderTree/TestNetscapePlugIn/TestObject.h:
2451         * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp:
2452         * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp:
2453         * DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp:
2454         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp:
2455         * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp:
2456         * DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp:
2457         * DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp:
2458         * DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp:
2459         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
2460         * DumpRenderTree/TestRunner.cpp:
2461         * DumpRenderTree/TestRunner.h:
2462         * DumpRenderTree/cg/ImageDiffCG.cpp:
2463         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2464         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
2465         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2466         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h: Added.
2467         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm: Added.
2468         * DumpRenderTree/ios/Info.plist: Added.
2469         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport.c: Added.
2470         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupportPregenerated.pm: Added.
2471         * DumpRenderTree/ios/PerlSupport/DumpRenderTreeSupport_wrapPregenerated.c: Added.
2472         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Changes: Added.
2473         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/IPhoneSimulatorNotification.xs: Added.
2474         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/MANIFEST: Added.
2475         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL: Added.
2476         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/README: Added.
2477         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm: Added.
2478         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/ppport.h: Added.
2479         * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/t/IPhoneSimulatorNotification.t: Added.
2480         * DumpRenderTree/ios/PerlSupport/Makefile: Added.
2481         * DumpRenderTree/ios/PixelDumpSupportIOS.mm: Added.
2482         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
2483         * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
2484         * DumpRenderTree/mac/AppleScriptController.m:
2485         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2486         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2487         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2488         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig: Added.
2489         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
2490         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
2491         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig: Added.
2492         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
2493         * DumpRenderTree/mac/DumpRenderTree.mm:
2494         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
2495         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
2496         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2497         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2498         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2499         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2500         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2501         * DumpRenderTree/mac/EditingDelegate.h:
2502         * DumpRenderTree/mac/EventSendingController.h:
2503         * DumpRenderTree/mac/EventSendingController.mm:
2504         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2505         * DumpRenderTree/mac/HistoryDelegate.h:
2506         * DumpRenderTree/mac/LayoutTestHelper.m:
2507         * DumpRenderTree/mac/MockGeolocationProvider.mm:
2508         * DumpRenderTree/mac/NavigationController.h:
2509         * DumpRenderTree/mac/ObjCPlugin.h:
2510         * DumpRenderTree/mac/ObjCPlugin.m:
2511         * DumpRenderTree/mac/ObjCPluginFunction.h:
2512         * DumpRenderTree/mac/PolicyDelegate.h:
2513         * DumpRenderTree/mac/ResourceLoadDelegate.h:
2514         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2515         * DumpRenderTree/mac/TestRunnerMac.mm:
2516         * DumpRenderTree/mac/TextInputController.h:
2517         * DumpRenderTree/mac/TextInputController.m:
2518         * DumpRenderTree/mac/UIDelegate.h:
2519         * DumpRenderTree/mac/UIDelegate.mm:
2520
2521 2014-01-25  Darin Adler  <darin@apple.com>
2522
2523         Call deprecatedCharacters instead of characters at more call sites
2524         https://bugs.webkit.org/show_bug.cgi?id=127631
2525
2526         Reviewed by Sam Weinig.
2527
2528         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
2529         (TestWebKitAPI::expectBuilderContent):
2530         (TestWebKitAPI::expectEmpty):
2531         (TestWebKitAPI::TEST):
2532         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2533         (TestWebKitAPI::TEST):
2534         Use the new name.
2535
2536 2014-01-25  Anders Carlsson  <andersca@apple.com>
2537
2538         Modernize HashTable threading code
2539         https://bugs.webkit.org/show_bug.cgi?id=127621
2540
2541         Reviewed by Darin Adler.
2542
2543         Explicitly include headers that used to be brought in by HashTable.h
2544
2545         * DumpRenderTree/JavaScriptThreading.cpp:
2546
2547 2014-01-24  Eric Carlson  <eric.carlson@apple.com>
2548
2549         Unreviewed. Add Philip Jägenstedt to watch and contributor lists.
2550
2551         * Scripts/webkitpy/common/config/contributors.json:
2552         * Scripts/webkitpy/common/config/watchlist:
2553
2554 2014-01-23  David Farler  <dfarler@apple.com>
2555
2556         Make WebKitTestRunner work with iOS
2557         https://bugs.webkit.org/show_bug.cgi?id=127448
2558
2559         Reviewed by Simon Fraser.
2560
2561         Combined patch from Simon below with some additional xcconfig cleanups,
2562         rebasing and stubbing out a couple of new functions that popped up
2563         since then.
2564
2565         2013-12-03  Simon Fraser  <simon.fraser@apple.com>
2566
2567                 <rdar://problem/15515469> Get WebKitTestRunner working on iOS
2568
2569                 Get WebKitTestRunner limping on iOS. Main parts:
2570                 - Stub out lots of accessibility-related functions.
2571                 - Stub out EventSender
2572                 - Create target to make a bundled app that runs in the simulator,
2573                   and copy the injected bundle library into it.
2574                 - Make a UIWindow and WKView to load tests in
2575
2576                 It runs, load tests, and dumps results to output. More work will be
2577                 required once we can execute it via the webkitpy scripts.
2578
2579         * WebKitTestRunner/Configurations/Base.xcconfig:
2580         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
2581         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
2582         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2583         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm: Added.
2584         (WTR::AccessibilityController::addNotificationListener):
2585         (WTR::AccessibilityController::removeNotificationListener):
2586         (WTR::AccessibilityController::platformName):
2587         (WTR::AccessibilityController::logAccessibilityEvents):
2588         (WTR::AccessibilityController::resetToConsistentState):
2589         (WTR::findAccessibleObjectById):
2590         (WTR::AccessibilityController::accessibleElementById):
2591         * WebKitTestRunner/InjectedBundle/ios/AccessibilityNotificationHandler.h: Added.
2592         * WebKitTestRunner/InjectedBundle/ios/AccessibilityTextMarkerIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2593         (WTR::AccessibilityTextMarker::isEqual):
2594         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: Added.
2595         (WTR::AccessibilityUIElement::AccessibilityUIElement):
2596         (WTR::AccessibilityUIElement::~AccessibilityUIElement):
2597         (WTR::AccessibilityUIElement::isEqual):
2598         (WTR::AccessibilityUIElement::getLinkedUIElements):
2599         (WTR::AccessibilityUIElement::getDocumentLinks):
2600         (WTR::AccessibilityUIElement::getChildren):
2601         (WTR::AccessibilityUIElement::getChildrenWithRange):
2602         (WTR::AccessibilityUIElement::childrenCount):
2603         (WTR::AccessibilityUIElement::elementAtPoint):
2604         (WTR::AccessibilityUIElement::indexOfChild):
2605         (WTR::AccessibilityUIElement::childAtIndex):
2606         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
2607         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
2608         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
2609         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
2610         (WTR::AccessibilityUIElement::rowAtIndex):
2611         (WTR::AccessibilityUIElement::selectedChildAtIndex):
2612         (WTR::AccessibilityUIElement::selectedChildrenCount):
2613         (WTR::AccessibilityUIElement::selectedRowAtIndex):
2614         (WTR::AccessibilityUIElement::titleUIElement):
2615         (WTR::AccessibilityUIElement::parentElement):
2616         (WTR::AccessibilityUIElement::disclosedByRow):
2617         (WTR::AccessibilityUIElement::attributesOfLinkedUIElements):
2618         (WTR::AccessibilityUIElement::attributesOfDocumentLinks):
2619         (WTR::AccessibilityUIElement::attributesOfChildren):
2620         (WTR::AccessibilityUIElement::allAttributes):
2621         (WTR::AccessibilityUIElement::stringAttributeValue):
2622         (WTR::AccessibilityUIElement::numberAttributeValue):
2623         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
2624         (WTR::AccessibilityUIElement::uiElementAttributeValue):
2625         (WTR::AccessibilityUIElement::boolAttributeValue):
2626         (WTR::AccessibilityUIElement::isAttributeSettable):
2627         (WTR::AccessibilityUIElement::isAttributeSupported):
2628         (WTR::AccessibilityUIElement::parameterizedAttributeNames):
2629         (WTR::AccessibilityUIElement::role):
2630         (WTR::AccessibilityUIElement::subrole):
2631         (WTR::AccessibilityUIElement::roleDescription):
2632         (WTR::AccessibilityUIElement::title):
2633         (WTR::AccessibilityUIElement::description):
2634         (WTR::AccessibilityUIElement::orientation):
2635         (WTR::AccessibilityUIElement::stringValue):
2636         (WTR::AccessibilityUIElement::language):
2637         (WTR::AccessibilityUIElement::helpText):
2638         (WTR::AccessibilityUIElement::x):
2639         (WTR::AccessibilityUIElement::y):
2640         (WTR::AccessibilityUIElement::width):
2641         (WTR::AccessibilityUIElement::height):
2642         (WTR::AccessibilityUIElement::clickPointX):
2643         (WTR::AccessibilityUIElement::clickPointY):
2644         (WTR::AccessibilityUIElement::intValue):
2645         (WTR::AccessibilityUIElement::minValue):
2646         (WTR::AccessibilityUIElement::maxValue):
2647         (WTR::AccessibilityUIElement::valueDescription):
2648         (WTR::AccessibilityUIElement::insertionPointLineNumber):
2649         (WTR::AccessibilityUIElement::isPressActionSupported):
2650         (WTR::AccessibilityUIElement::isIncrementActionSupported):
2651         (WTR::AccessibilityUIElement::isDecrementActionSupported):
2652         (WTR::AccessibilityUIElement::isEnabled):
2653         (WTR::AccessibilityUIElement::isRequired):
2654         (WTR::AccessibilityUIElement::isFocused):
2655         (WTR::AccessibilityUIElement::isSelected):
2656         (WTR::AccessibilityUIElement::isSelectedOptionActive):
2657         (WTR::AccessibilityUIElement::isIndeterminate):
2658         (WTR::AccessibilityUIElement::isExpanded):
2659         (WTR::AccessibilityUIElement::isChecked):
2660         (WTR::AccessibilityUIElement::hierarchicalLevel):
2661         (WTR::AccessibilityUIElement::classList):
2662         (WTR::AccessibilityUIElement::speak):
2663         (WTR::AccessibilityUIElement::ariaIsGrabbed):
2664         (WTR::AccessibilityUIElement::ariaDropEffects):
2665         (WTR::AccessibilityUIElement::lineForIndex):
2666         (WTR::AccessibilityUIElement::rangeForLine):
2667         (WTR::AccessibilityUIElement::rangeForPosition):
2668         (WTR::AccessibilityUIElement::boundsForRange):
2669         (WTR::AccessibilityUIElement::stringForRange):
2670         (WTR::AccessibilityUIElement::attributedStringForRange):
2671         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
2672         (WTR::uiElementCountForSearchPredicate):
2673         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
2674         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
2675         (WTR::AccessibilityUIElement::attributesOfColumnHeaders):
2676         (WTR::AccessibilityUIElement::attributesOfRowHeaders):
2677         (WTR::AccessibilityUIElement::attributesOfColumns):
2678         (WTR::AccessibilityUIElement::attributesOfRows):
2679         (WTR::AccessibilityUIElement::attributesOfVisibleCells):
2680         (WTR::AccessibilityUIElement::attributesOfHeader):
2681         (WTR::AccessibilityUIElement::rowCount):
2682         (WTR::AccessibilityUIElement::columnCount):
2683         (WTR::AccessibilityUIElement::indexInTable):
2684         (WTR::AccessibilityUIElement::rowIndexRange):
2685         (WTR::AccessibilityUIElement::columnIndexRange):
2686         (WTR::AccessibilityUIElement::cellForColumnAndRow):
2687         (WTR::AccessibilityUIElement::horizontalScrollbar):
2688         (WTR::AccessibilityUIElement::verticalScrollbar):
2689         (WTR::AccessibilityUIElement::scrollToMakeVisible):
2690         (WTR::AccessibilityUIElement::selectedTextRange):
2691         (WTR::AccessibilityUIElement::setSelectedTextRange):
2692         (WTR::AccessibilityUIElement::increment):
2693         (WTR::AccessibilityUIElement::decrement):
2694         (WTR::AccessibilityUIElement::showMenu):
2695         (WTR::AccessibilityUIElement::press):
2696         (WTR::AccessibilityUIElement::setSelectedChild):
2697         (WTR::AccessibilityUIElement::accessibilityValue):
2698         (WTR::AccessibilityUIElement::documentEncoding):
2699         (WTR::AccessibilityUIElement::documentURI):
2700         (WTR::AccessibilityUIElement::url):
2701         (WTR::AccessibilityUIElement::addNotificationListener):
2702         (WTR::AccessibilityUIElement::removeNotificationListener):
2703         (WTR::AccessibilityUIElement::isFocusable):
2704         (WTR::AccessibilityUIElement::isSelectable):
2705         (WTR::AccessibilityUIElement::isMultiSelectable):
2706         (WTR::AccessibilityUIElement::isVisible):
2707         (WTR::AccessibilityUIElement::isOffScreen):
2708         (WTR::AccessibilityUIElement::isCollapsed):
2709         (WTR::AccessibilityUIElement::isIgnored):
2710         (WTR::AccessibilityUIElement::hasPopup):
2711         (WTR::AccessibilityUIElement::takeFocus):
2712         (WTR::AccessibilityUIElement::takeSelection):
2713         (WTR::AccessibilityUIElement::addSelection):
2714         (WTR::AccessibilityUIElement::removeSelection):
2715         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
2716         (WTR::AccessibilityUIElement::textMarkerRangeLength):
2717         (WTR::AccessibilityUIElement::previousTextMarker):
2718         (WTR::AccessibilityUIElement::nextTextMarker):
2719         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
2720         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
2721         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
2722         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
2723         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
2724         (WTR::AccessibilityUIElement::startTextMarkerForBounds):
2725         (WTR::AccessibilityUIElement::textMarkerForPoint):
2726         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
2727         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
2728         (WTR::AccessibilityUIElement::indexForTextMarker):
2729         (WTR::AccessibilityUIElement::isTextMarkerValid):
2730         (WTR::AccessibilityUIElement::textMarkerForIndex):
2731         (WTR::AccessibilityUIElement::startTextMarker):
2732         (WTR::AccessibilityUIElement::endTextMarker):
2733         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
2734         (WTR::AccessibilityUIElement::mathPrescriptsDescription):
2735         (WTR::AccessibilityUIElement::pathDescription):
2736         (WTR::AccessibilityUIElement::supportedActions):
2737         * WebKitTestRunner/InjectedBundle/ios/ActivateFontsIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2738         (WTR::activateFonts):
2739         * WebKitTestRunner/InjectedBundle/ios/EventSenderProxyIOS.mm: Added.
2740         (WTR::EventSenderProxy::EventSenderProxy):
2741         (WTR::EventSenderProxy::~EventSenderProxy):
2742         (WTR::EventSenderProxy::updateClickCountForButton):
2743         (WTR::EventSenderProxy::mouseDown):
2744         (WTR::EventSenderProxy::mouseUp):
2745         (WTR::EventSenderProxy::mouseMoveTo):
2746         (WTR::EventSenderProxy::leapForward):
2747         (WTR::EventSenderProxy::keyDown):
2748         (WTR::EventSenderProxy::mouseScrollBy):
2749         (WTR::EventSenderProxy::continuousMouseScrollBy):
2750         (WTR::EventSenderProxy::addTouchPoint):
2751         (WTR::EventSenderProxy::updateTouchPoint):
2752         (WTR::EventSenderProxy::setTouchModifier):
2753         (WTR::EventSenderProxy::setTouchPointRadius):
2754         (WTR::EventSenderProxy::touchStart):
2755         (WTR::EventSenderProxy::touchMove):
2756         (WTR::EventSenderProxy::touchEnd):
2757         (WTR::EventSenderProxy::touchCancel):
2758         (WTR::EventSenderProxy::clearTouchPoints):
2759         (WTR::EventSenderProxy::releaseTouchPoint):
2760         (WTR::EventSenderProxy::cancelTouchPoint):
2761         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2762         (WTR::InjectedBundle::platformInitialize):
2763         * WebKitTestRunner/InjectedBundle/ios/InjectedBundlePageIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2764         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
2765         * WebKitTestRunner/Makefile:
2766         * WebKitTestRunner/TestController.cpp:
2767         (WTR::TestController::initialize):
2768         * WebKitTestRunner/TestController.h:
2769         * WebKitTestRunner/TestInvocation.cpp:
2770         (WTR::TestInvocation::invoke):
2771         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2772         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2773         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.h: Added.
2774         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.m: Added.
2775         (-[AppDelegate application:didFinishLaunchingWithOptions:]):
2776         (-[AppDelegate applicationWillResignActive:]):
2777         (-[AppDelegate applicationDidEnterBackground:]):
2778         (-[AppDelegate applicationWillEnterForeground:]):
2779         (-[AppDelegate applicationDidBecomeActive:]):
2780         (-[AppDelegate applicationWillTerminate:]):
2781         * WebKitTestRunner/WebKitTestRunnerApp/Images.xcassets/AppIcon.appiconset/Contents.json: Added.
2782         * WebKitTestRunner/WebKitTestRunnerApp/Images.xcassets/LaunchImage.launchimage/Contents.json: Added.
2783         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist: Added.
2784         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Prefix.pch: Added.
2785         * WebKitTestRunner/WebKitTestRunnerApp/en.lproj/InfoPlist.strings: Added.
2786         * WebKitTestRunner/WebKitTestRunnerApp/main.m: Added.
2787         (main):
2788         * WebKitTestRunner/WebKitTestRunnerAppTests-Info.plist: Added.
2789         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests-Info.plist: Added.
2790         * WebKitTestRunner/WebKitTestRunnerAppTests/WebKitTestRunnerAppTests.m: Added.
2791         (-[WebKitTestRunnerAppTests setUp]):
2792         (-[WebKitTestRunnerAppTests tearDown]):
2793         (-[WebKitTestRunnerAppTests testExample]):
2794         * WebKitTestRunner/WebKitTestRunnerAppTests/en.lproj/InfoPlist.strings: Added.
2795         * WebKitTestRunner/WebKitTestRunnerPrefix.h:
2796         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2797         * WebKitTestRunner/iOS.xcconfig: Added.
2798         * WebKitTestRunner/ios/PlatformWebViewIOS.mm: Added.
2799         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:relatedToPage:useTiledDrawing:]):
2800         (-[TestRunnerWKView _shouldUseTiledDrawingArea]):
2801         (-[WebKitTestRunnerWindow isKeyWindow]):
2802         (-[WebKitTestRunnerWindow setFrameOrigin:]):
2803         (-[WebKitTestRunnerWindow setFrame:]):
2804         (-[WebKitTestRunnerWindow frameRespectingFakeOrigin]):
2805         (-[WebKitTestRunnerWindow backingScaleFactor]):
2806         (WTR::PlatformWebView::PlatformWebView):
2807         (WTR::PlatformWebView::resizeTo):
2808         (WTR::PlatformWebView::~PlatformWebView):
2809         (WTR::PlatformWebView::page):
2810         (WTR::PlatformWebView::focus):
2811         (WTR::PlatformWebView::windowFrame):
2812         (WTR::PlatformWebView::setWindowFrame):
2813         (WTR::PlatformWebView::didInitializeClients):
2814         (WTR::PlatformWebView::addChromeInputField):
2815         (WTR::PlatformWebView::removeChromeInputField):
2816         (WTR::PlatformWebView::makeWebViewFirstResponder):
2817         (WTR::PlatformWebView::windowSnapshotImage):
2818         (WTR::PlatformWebView::viewSupportsOptions):
2819         * WebKitTestRunner/ios/TestControllerIOS.mm: Added.
2820         (WTR::TestController::notifyDone):
2821         (WTR::TestController::platformInitialize):
2822         (WTR::TestController::platformDestroy):
2823         (WTR::TestController::initializeInjectedBundlePath):
2824         (WTR::TestController::initializeTestPluginDirectory):
2825         (WTR::TestController::platformRunUntil):
2826         (WTR::TestController::platformInitializeContext):
2827         (WTR::TestController::runModal):
2828         (WTR::TestController::platformLibraryPathForTesting):
2829         * WebKitTestRunner/ios/WebArchiveDumpSupportIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2830         (createCFURLResponseFromResponseData):
2831         (supportedNonImageMIMETypes):
2832         * WebKitTestRunner/ios/mainIOS.mm: Copied from Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h.
2833         (-[WebKitTestRunnerApp _runTestController]):
2834         (-[WebKitTestRunnerApp applicationDidFinishLaunching:]):
2835         (main):
2836
2837 2014-01-24  Enrique Ocaña González  <eocanha@igalia.com>
2838
2839         [GTK] Put cache files in XDG_CACHE_HOME
2840         https://bugs.webkit.org/show_bug.cgi?id=123458
2841
2842         Reviewed by Martin Robinson.
2843
2844         * GtkLauncher/main.c:
2845         (createBrowser):
2846
2847 2014-01-23  Max Vujovic  <mvujovic@adobe.com>
2848
2849         Remove CSS Custom Filters code and tests
2850         https://bugs.webkit.org/show_bug.cgi?id=127382
2851
2852         Reviewed by Simon Fraser.
2853
2854         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2855         (resetDefaultsToConsistentValues):
2856         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
2857         (TestRunner::overridePreference):
2858
2859 2014-01-23  Tim Horton  <timothy_horton@apple.com>
2860
2861         PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it's blocked
2862         https://bugs.webkit.org/show_bug.cgi?id=127415
2863         <rdar://problem/12482452>
2864
2865         Reviewed by Sam Weinig.
2866
2867         Adopt the new page loader client plugin load callback.
2868
2869         * WebKitTestRunner/TestController.cpp:
2870         (WTR::TestController::createWebViewWithOptions):
2871         (WTR::TestController::pluginLoadPolicy):
2872         * WebKitTestRunner/TestController.h:
2873
2874 2014-01-23  peavo@outlook.com  <peavo@outlook.com>
2875
2876         [Curl] There is no way to specify cache folder.
2877         https://bugs.webkit.org/show_bug.cgi?id=125028
2878
2879         Reviewed by Brent Fulgham.
2880
2881         Enable disc cache in WinLauncher by setting cache folder location.
2882
2883         * WinLauncher/WinLauncher.cpp:
2884         (getAppDataFolder): Added function to get app data folder.
2885         (setCacheFolder): Added function to set cache folder.
2886         (createCrashReport): Use new getAppDataFolder function.
2887         (wWinMain): Use function setCacheFolder to set cache folder location.
2888
2889 2014-01-23  Daniel Bates  <dabates@apple.com>
2890
2891         build-webkit --sdk=iphonesimulator doesn't think it's building iOS
2892         https://bugs.webkit.org/show_bug.cgi?id=127379
2893
2894         Reviewed by Simon Fraser.
2895
2896         Teach build-webkit to recognize --sdk=X.
2897
2898         Currently, build-webkit recognizes --sdk X to specify X as the Xcode SDK to use, which is also
2899         considered when determining the WebKit port to build. But build-webkit advertises --sdk=X in its
2900         help message. We should teach build-webkit to recognize both --sdk X and --sdk=X to make its handling
2901         of --sdk more consistent with the handling of other build-webkit options that take a value (e.g. --prefix).
2902
2903         * Scripts/webkitdirs.pm:
2904         (checkForArgumentAndRemoveFromArrayRefGettingValue): Added.
2905         (checkForArgumentAndRemoveFromARGVGettingValue): Modified to call checkForArgumentAndRemoveFromArrayRefGettingValue().
2906         * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl: Added.
2907
2908 2014-01-23  Commit Queue  <commit-queue@webkit.org>
2909
2910         Unreviewed, rolling out r162612.
2911         http://trac.webkit.org/changeset/162612
2912         https://bugs.webkit.org/show_bug.cgi?id=127488
2913
2914         broke the build (Requested by mhahnenberg on #webkit).
2915
2916         * Scripts/build-jsc:
2917         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Removed.
2918         * jsc-cli/jsc-cli/CLIInstance.h: Removed.
2919         * jsc-cli/jsc-cli/CLIInstance.m: Removed.
2920         * jsc-cli/jsc-cli/JSModule.h: Removed.
2921         * jsc-cli/jsc-cli/JSModule.m: Removed.
2922         * jsc-cli/jsc-cli/JSRunLoopThread.h: Removed.
2923         * jsc-cli/jsc-cli/JSRunLoopThread.m: Removed.
2924         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Removed.
2925         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Removed.
2926         * jsc-cli/jsc-cli/RunLoopThread.h: Removed.
2927         * jsc-cli/jsc-cli/RunLoopThread.m: Removed.
2928         * jsc-cli/jsc-cli/ScriptInputSource.h: Removed.
2929         * jsc-cli/jsc-cli/ScriptInputSource.m: Removed.
2930         * jsc-cli/jsc-cli/main.m: Removed.
2931
2932 2014-01-23  Mark Hahnenberg  <mhahnenberg@apple.com>
2933
2934         Basic framework for a modern jsc CLI
2935         https://bugs.webkit.org/show_bug.cgi?id=127435
2936
2937         Reviewed by Geoffrey Garen.
2938
2939         The most basic components of a modern jsc command line interface consist of the following:
2940
2941         - A simple REPL to enter commands and receive results
2942         - The ability to define a module (which consists of various internal methods as well as a 
2943           set of externally visible methods)
2944         - The ability to load other modules at runtime
2945         - The ability to interact with the underlying platform to perform various "privileged" 
2946           functions (e.g. opening files, printing to the stdout, etc.)
2947         
2948         The basic architecture will look something like the following:
2949         - If the tool is run in REPL mode (i.e. no command line arguments), it will start the REPL 
2950           on the main thread and start a secondary thread with a run loop to handle various inputs 
2951           from the REPL thread.
2952         - If the tool is given a script to run, it will evaluate that script (and any scripts that 
2953           it might transitively load) within the run loop on the secondary thread while the main 
2954           thread blocks until it has completed.
2955
2956         * Scripts/build-jsc:
2957         * jsc-cli: Added.
2958         * jsc-cli/jsc-cli: Added.
2959         * jsc-cli/jsc-cli.xcodeproj: Added.
2960         * jsc-cli/jsc-cli.xcodeproj/project.pbxproj: Added.
2961         * jsc-cli/jsc-cli/CLIInstance.h: Added.
2962         * jsc-cli/jsc-cli/CLIInstance.m: Added.
2963         (-[CLIInstance init]):
2964         (-[CLIInstance loadFile:]):
2965         (-[CLIInstance run]):
2966         * jsc-cli/jsc-cli/JSModule.h: Added.
2967         * jsc-cli/jsc-cli/JSModule.m: Added.
2968         (coreModules):
2969         (isCoreModule):
2970         (classForModule):
2971         (coreModuleFullPath):
2972         (resolveModuleAsFile):
2973         (resolveModuleAsDirectory):
2974         (nodeModulePaths):
2975         (resolveAsNodeModule):
2976         (+[JSModule resolve:atPath:]):
2977         (globalModuleCache):
2978         (isCached):
2979         (cachedModule):
2980         (cacheModule):
2981         (+[JSModule require:atPath:]):
2982         (+[JSModule require:atPath:inContext:]):
2983         (-[JSModule platformObjectInContext:]):
2984         (-[JSModule initWithId:filename:context:]):
2985         (-[JSModule dealloc]):
2986         (-[JSModule didStartLoading]):
2987         (-[JSModule didFinishLoading]):
2988         (-[JSModule require:]):
2989         (-[JSModule exports]):
2990         * jsc-cli/jsc-cli/JSRunLoopThread.h: Added.
2991         * jsc-cli/jsc-cli/JSRunLoopThread.m: Added.
2992         (jsThreadMain):
2993         (+[JSRunLoopThread threadMain]):
2994         (-[JSRunLoopThread initWithFiles:andContext:]):
2995         (-[JSRunLoopThread startRunLoop]):
2996         (-[JSRunLoopThread start]):
2997         (-[JSRunLoopThread join]):
2998         (-[JSRunLoopThread didReceiveInput:]):
2999         (-[JSRunLoopThread performCallback:withError:]):
3000         (-[JSRunLoopThread performCallback:withArguments:]):
3001         (-[JSRunLoopThread didFinishRunLoopInitialization]):
3002         * jsc-cli/jsc-cli/ReadEvalPrintLoop.h: Added.
3003         * jsc-cli/jsc-cli/ReadEvalPrintLoop.m: Added.
3004         (-[ReadEvalPrintLoop initWithJSThread:]):
3005         (prompt):
3006         (escapeStringForOutput):
3007         (-[ReadEvalPrintLoop processNextInput]):
3008         (-[ReadEvalPrintLoop run]):
3009         * jsc-cli/jsc-cli/RunLoopThread.h: Added.
3010         * jsc-cli/jsc-cli/RunLoopThread.m: Added.
3011         (+[RunLoopThread threadMain]):
3012         (-[RunLoopThread init]):
3013         (-[RunLoopThread dealloc]):
3014         (-[RunLoopThread didFinishRunLoopInitialization]):
3015         (-[RunLoopThread start]):
3016         (-[RunLoopThread join]):
3017         * jsc-cli/jsc-cli/ScriptInputSource.h: Added.
3018         * jsc-cli/jsc-cli/ScriptInputSource.m: Added.
3019         (scriptInputSourceScheduleRoutine):
3020         (scriptInputSourcePerformRoutine):
3021         (scriptInputSourceCancelRoutine):
3022         (-[ScriptInputSource initWithContext:]):
3023         (-[ScriptInputSource dealloc]):
3024         (-[ScriptInputSource addToCurrentRunLoop]):
3025         (-[ScriptInputSource removeFromRemoteRunLoop]):
3026         (-[ScriptInputSource didReceiveScript:]):
3027         (-[ScriptInputSource didReceiveSignal]):
3028         (-[ScriptInputSource runScriptRemotely:]):
3029         (-[ScriptInputSource finishAsyncCallback:withResult:]):
3030         * jsc-cli/jsc-cli/main.m: Added.
3031         (main):
3032
3033 2014-01-23  László Langó  <llango.u-szeged@partner.samsung.com>
3034
3035         Remove a FIXME comment that is already fixed.
3036         https://bugs.webkit.org/show_bug.cgi?id=127468
3037
3038         Reviewed by Csaba Osztrogonác.
3039
3040         * Scripts/webkitpy/style/filereader.py:
3041         (TextFileReader.__init__):
3042
3043 2014-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3044
3045         [GLIB] Use GUniquePtr instead of GOwnPtr
3046         https://bugs.webkit.org/show_bug.cgi?id=127431
3047
3048         Reviewed by Martin Robinson.
3049
3050         GUniquePtr is a template alias of std::unique_ptr with a custom
3051         deleter that replaces GOwnPtr. GOwnPtr is still used for the cases
3052         where the output pointer is needed, but it will also be replaced soon.
3053
3054         * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
3055         (printAccessibilityEvent):
3056         (axObjectEventListener):
3057         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3058         (indexRangeInTable):
3059         (AccessibilityUIElement::role):
3060         (AccessibilityUIElement::title):
3061         (AccessibilityUIElement::description):
3062         (AccessibilityUIElement::stringValue):
3063         (AccessibilityUIElement::language):
3064         (AccessibilityUIElement::lineForIndex):
3065         (AccessibilityUIElement::selectedTextRange):
3066         (AccessibilityUIElement::url):
3067         * DumpRenderTree/efl/AccessibilityControllerEfl.cpp:
3068         (AccessibilityController::accessibleElementById):
3069         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
3070         (AccessibilityController::accessibleElementById):
3071         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3072         (getOutputDir):
3073         (getFontsPath):
3074         (initializeFonts):
3075         (dumpFramesAsText):
3076         (compareHistoryItems):
3077         (dumpHistoryItem):
3078         (soupURIToStringPreservingPassword):
3079         (resetDefaultsToConsistentValues):
3080         (temporaryDatabaseDirectory):
3081         (webViewTitleChanged):
3082         (webFrameLoadStatusNotified):
3083         (pathFromSoupURI):
3084         (convertWebResourceToURLPath):
3085         (urlSuitableForTestResult):
3086         (descriptionSuitableForTestResult):
3087         (willSendRequestCallback):
3088         (frameLoadEventCallback):
3089         * DumpRenderTree/gtk/EditingCallbacks.cpp:
3090         (dumpNodePath):
3091         (dumpRange):
3092         (shouldApplyStyle):
3093         * DumpRenderTree/gtk/EventSender.cpp:
3094         (contextClickCallback):
3095         (beginDragWithFilesCallback):
3096         * DumpRenderTree/gtk/TestRunnerGtk.cpp:
3097         (TestRunner::pathToLocalResource):
3098         (TestRunner::queueLoad):
3099         (TestRunner::removeOriginAccessWhitelistEntry):
3100         (TestRunner::setMockGeolocationPositionUnavailableError):
3101         (TestRunner::setIconDatabaseEnabled):
3102         (TestRunner::findString):
3103         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
3104         (TestRunner::overridePreference):
3105         (TestRunner::addUserScript):
3106         (TestRunner::addUserStyleSheet):
3107         (TestRunner::setTextDirection):
3108         * DumpRenderTree/gtk/TextInputController.cpp:
3109         (setMarkedTextCallback):
3110         (insertTextCallback):
3111         (doCommandCallback):
3112         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3113         (LoadHTMLStringItem::invoke):
3114         * TestWebKitAPI/PlatformGTK.cmake:
3115         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
3116         (WebKitDOMNodeTest::testTagNames):
3117         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
3118         (testBackForwardListLimitAndCache):
3119         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
3120         (testContextMenuSmartSeparators):
3121         * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp:
3122         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
3123         (testDownloadLocalFile):
3124         (testDownloadLocalFileError):
3125         (addContentDispositionHTTPHeaderToResponse):
3126         (serverCallback):
3127         (testDownloadRemoteFileError):
3128         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
3129         (startTestServer):
3130         (testInspectorServerPageList):
3131         (openRemoteDebuggingSession):
3132         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
3133         (testPrintOperationPrint):
3134         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3135         (addCacheHTTPHeadersToResponse):
3136         (serverCallback):
3137         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
3138         (httpsServerCallback):
3139         (httpServerCallback):
3140         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
3141         (testWebViewJavaScriptDialogs):
3142         (testWebViewWindowProperties):
3143         (testWebViewFileChooserRequest):
3144         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
3145         (testWebExtensionWindowObjectCleared):
3146         (testWebExtensionIsolatedWorld):
3147         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp:
3148         (startTestServer):
3149         (checkAtspiAccessible):
3150         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
3151         (serverCallback):
3152         (testClearDatabase):
3153         (testGetFaviconURI):
3154         (webkitFaviconDatabaseFinalizedCallback):
3155         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3156         (testWebContextGetPlugins):
3157         (testWebContextURIScheme):
3158         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3159         (testWebViewRunJavaScript):
3160         (testWebViewMode):
3161         (testWebViewPageVisibility):
3162         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebViewGroup.cpp:
3163         (isStyleSheetInjectedForURLAtPath):
3164         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
3165         (testWebViewEditorCutCopyPasteNonEditable):
3166         (testWebViewEditorCutCopyPasteEditable):
3167         (testWebViewEditorSelectAllNonEditable):
3168         (testWebViewEditorSelectAllEditable):
3169         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3170         (sendRequestCallback):
3171         (methodCallCallback):
3172         * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:
3173         (TestWebKitAPI::Util::createInjectedBundlePath):
3174         (TestWebKitAPI::Util::createURLForResource):
3175         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
3176         (TestWebKitAPI::doKeyStroke):
3177         (TestWebKitAPI::doMouseButtonEvent):
3178         (TestWebKitAPI::PlatformWebView::simulateMouseMove):
3179         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
3180         (loadFailedCallback):
3181         (LoadTrackingTest::loadURI):
3182         (LoadTrackingTest::loadHtml):
3183         (LoadTrackingTest::loadPlainText):
3184         (LoadTrackingTest::loadRequest):
3185         (LoadTrackingTest::reload):
3186         (LoadTrackingTest::goBack):
3187         (LoadTrackingTest::goForward):
3188         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
3189         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp:
3190         (registerGResource):
3191         (removeNonEmptyDirectory):
3192         (main):
3193         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
3194         (Test::getWebKit1TestResoucesDir):
3195         (Test::getResourcesDir):
3196         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
3197         (WebKitTestBus::run):
3198         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
3199         (WebKitTestServer::WebKitTestServer):
3200         (WebKitTestServer::getURIForPath):
3201         * TestWebKitAPI/gtk/WebKit2Gtk/WebProcessTestRunner.cpp:
3202         (WebProcessTestRunner::runTest):
3203         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3204         (resourceGetDataCallback):
3205         (WebViewTest::mainResourceData):
3206         (WebViewTest::mouseMoveTo):
3207         (WebViewTest::keyStroke):
3208         (WebViewTest::doMouseButtonEvent):
3209         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
3210         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
3211         (WTR::AccessibilityController::accessibleElementById):
3212         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3213         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3214         (WTR::AccessibilityUIElement::role):
3215         (WTR::AccessibilityUIElement::title):
3216         (WTR::AccessibilityUIElement::description):
3217         (WTR::AccessibilityUIElement::stringValue):
3218         (WTR::AccessibilityUIElement::language):
3219         (WTR::AccessibilityUIElement::lineForIndex):
3220         (WTR::AccessibilityUIElement::selectedTextRange):
3221         (WTR::AccessibilityUIElement::url):
3222         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
3223         (WTR::getOutputDir):
3224         (WTR::getFontsPath):
3225         (WTR::initializeFontConfigSetting):
3226         * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp:
3227         (WTR::topLevelPath):
3228         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
3229         (WTR::TestRunner::pathToLocalResource):
3230         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3231         (WTR::TestController::initializeInjectedBundlePath):
3232         (WTR::TestController::initializeTestPluginDirectory):
3233
3234 2014-01-05  Martin Robinson  <mrobinson@igalia.com>
3235
3236         [GTK] [CMake] run-webkit-tests should support the CMake build
3237         https://bugs.webkit.org/show_bug.cgi?id=126503
3238
3239         Reviewed by Daniel Bates.
3240
3241         Update run-launcher and gtk.py to work properly when dealing with the CMake port.
3242         run-webkit-tests does not need the --gtkcmake flag, but run-launcher does.
3243
3244         * Scripts/run-launcher: Work properly with the gtkcmake flag.
3245         * Scripts/webkitpy/port/gtk.py:
3246         (GtkPort._is_cmake_build): Added this helper which looks for the CMakeCache
3247         file to detect a CMake build.
3248         (GtkPort._built_executables_path): Added this helper to locate the built executable path.
3249         (GtkPort._built_libraries_path): Added this helper to locate the built library path.
3250         (GtkPort._port_flag_for_scripts): Use --gtkcmake when appropriate.
3251         (GtkPort.setup_environ_for_server): The way CMake builds libraries differs from GTK+.
3252         (GtkPort._path_to_driver): Use the new helper.
3253         (GtkPort._path_to_image_diff): Use the new helper.
3254         (GtkPort._path_to_webcore_library): Use the new helper.
3255         (GtkPort.build_webkit_command): Use --gtkcmake when appropriate.
3256
3257 2014-01-22  Ryuan Choi  <ryuan.choi@samsung.com>
3258
3259         [EFL] Remove unnecessary smart method since ewk_view_tiled removed
3260         https://bugs.webkit.org/show_bug.cgi?id=127417
3261
3262         Reviewed by Gyuyoung Kim.
3263
3264         * EWebLauncher/main.c:
3265         (on_key_down): Removed shortcut to test pre render.
3266
3267 2014-01-22  Myles C. Maxfield  <mmaxfield@apple.com>
3268
3269         Remove CSS3_TEXT_DECORATION define
3270         https://bugs.webkit.org/show_bug.cgi?id=127333
3271
3272         This is required for unprefixing the text-decoration-* CSS properties.
3273
3274         Reviewed by Simon Fraser.
3275
3276         * Configurations/FeatureDefines.xcconfig:
3277
3278 2014-01-22  Andy Estes  <aestes@apple.com>
3279
3280         [iOS] Prepare for upstreaming DumpRenderTree changes
3281         https://bugs.webkit.org/show_bug.cgi?id=127412
3282
3283         Reviewed by Simon Fraser.
3284
3285         Unlike on Mac where DumpRenderTree is a command-line tool, on iOS it is
3286         an application bundle. Instead of upstreaming a separate target for the
3287         app that duplicates the 'Compile Sources' phase of the tool, separate
3288         out the compilation into a static library target that both the
3289         command-line tool and the app can link against. Also, perform some
3290         unrelated cleanup.
3291
3292         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated the
3293         project file format from 2.4- to 3.2-compatible. Removed the
3294         'Copy Headers' build phase and removed all files from the
3295         'Compile Sources' build phase of DumpRenderTree. Added some files that
3296         were missing from the project. Created a 'DumpRenderTree (Library)'
3297         target for building the static library and made the 'DumpRenderTree'
3298         target depend on it. Added a 'Compile Sources' build phase to this
3299         target that builds the same files the DumpRenderTree target used to.
3300         Created DumpRenderTreeMain.mm as the only source file of the
3301         DumpRenderTree target, since targets won't link a binary without at
3302         least one source file. Made DumpRenderTree (Library) use
3303         DumpRenderTreeLibrary.xcconfig and made LayoutTestHelper use
3304         BaseTarget.xcconfig (so that it doesn't try to link libDumpRenderTree.a).
3305         * DumpRenderTree/mac/Configurations/BaseTarget.xcconfig: Moved
3306         definitions of GCC_ENABLE_OBJC_EXCEPTIONS and GCC_PREFIX_HEADER from
3307         DumpRenderTree.xcconfig to here so that LayoutTestHelper can use them.
3308         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Passed
3309         -force_load $(BUILT_PRODUCTS_DIR)libDumpRenderTree.a to OTHER_LDFLAGS.
3310         This is needed to correctly link a static library containing an Objective-C
3311         category (see <https://developer.apple.com/library/mac/qa/qa1490/_index.html>).
3312         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig: Added.
3313         * DumpRenderTree/mac/DumpRenderTree.mm:
3314         (DumpRenderTreeMain): Renamed from main.
3315         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added declaration of DumpRenderTreeMain.
3316         * DumpRenderTree/mac/DumpRenderTreeMain.mm: Added.
3317         (main): Called DumpRenderTreeMain from main.
3318
3319 2014-01-15  Martin Robinson  <mrobinson@igalia.com>
3320
3321         [GTK][CMake] build-webkit should try harder to avoid re-running cmake
3322         https://bugs.webkit.org/show_bug.cgi?id=127073
3323
3324         Reviewed by Daniel Bates.
3325
3326         * Scripts/build-webkit: Unify all the ports that call buildCMakeProjectOrExit with
3327         the new isCMakeBuild conditional. This allows us to share more code between ports.
3328         Pass the build arguments to the removeCMakeCache function.
3329         * Scripts/webkitdirs.pm:
3330         (runAutogenForAutotoolsProjectIfNecessary): Renamed mustReRunAutogen to cachedArgumentFileOutOfDate
3331         because it's now shared with the CMake build.
3332         (cachedArgumentFileOutOfDate): Renamed.
3333         (cmakeCachePath): Added this helper which gets the CMakeCache.txt path.
3334         (shouldRemoveCMakeCache): Tries to preserve current behavior for all ports, 
3335         except GTK+ which examines the OptionsGTK.cmake and OptionsCommon.cmake file
3336         as well as checking if build-webkit has been run with different arguments.
3337         (removeCMakeCache): Call shouldRemoveCMakeCache now.
3338         (generateBuildSystemFromCMakeProject): Exit early if CMakeCache.txt exists for GTK+.
3339         (isCMakeBuild): Added.
3340
3341 2014-01-22  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
3342
3343         [EFL][GTK] Get EFL and GTK compiling with ACCESSIBILITY disabled
3344         https://bugs.webkit.org/show_bug.cgi?id=127119
3345
3346         Reviewed by Mario Sanchez Prada.
3347
3348         Guarding ACCESSIBILITY code in DumpRenderTree and WebKitTestRunner with HAVE(ACCESSIBILITY).
3349
3350         * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
3351         * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
3352         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3353         (resetDefaultsToConsistentValues):
3354         (webViewWindowObjectCleared):
3355         (main):
3356         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
3357         (WTR::AccessibilityController::platformName):
3358         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3359         (WTR::AccessibilityUIElement::isIndeterminate):
3360
3361 2014-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3362
3363
3364         [GTK] Add GUniquePtr
3365         https://bugs.webkit.org/show_bug.cgi?id=127170
3366
3367         Reviewed by Gustavo Noronha Silva.
3368
3369         Add unit tests for GUniquePtr.
3370
3371         * TestWebKitAPI/GNUmakefile.am: Add new file to compilation.
3372         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp: Added.
3373         (log):
3374         (takeLogStr):
3375         (TestWebKitAPI::TEST):
3376
3377 2014-01-22  Jinwoo Song  <jinwoo7.song@samsung.com>
3378
3379         Remove Nix files from Tools
3380         https://bugs.webkit.org/show_bug.cgi?id=127418
3381
3382         Reviewed by Csaba Osztrogonác.
3383
3384         * Scripts/build-webkit:
3385         * Scripts/update-webkit-libs-jhbuild:
3386         * Scripts/webkitdirs.pm:
3387         (determineArchitecture):
3388         (argumentsForConfiguration):
3389         (jscProductDir):
3390         (builtDylibPathForName):
3391         (isAppleWebKit):
3392         (launcherPath):
3393         (launcherName):
3394         (checkRequiredSystemConfig):
3395         (copyInspectorFrontendFiles):
3396         (jhbuildWrapperPrefixIfNeeded):
3397         (buildCMakeProjectOrExit):
3398         (cmakeBasedPortName):
3399         * Scripts/webkitpy/common/config/ports.py:
3400         (DeprecatedPort.port):
3401         (EflWK2Port.build_webkit_command):
3402         * Scripts/webkitpy/port/factory.py:
3403         (platform_options):
3404         (PortFactory):
3405         * Scripts/webkitpy/port/nix.py: Removed.
3406         * Scripts/webkitpy/port/nix_unittest.py: Removed.
3407
3408 2014-01-21  Benjamin Poulain  <benjamin@webkit.org>
3409
3410         Add Ian and Ricky to the contributor list
3411
3412         * Scripts/webkitpy/common/config/contributors.json:
3413         I am too old to remember all those email addresses :)
3414
3415 2014-01-21  David Farler  <dfarler@apple.com>
3416
3417         Upstream package-root for iOS
3418
3419         Reviewed by Daniel bates.
3420
3421         * Scripts/package-root: Added.
3422         (usage):
3423         * Scripts/webkitdirs.pm:
3424         (XcodeSDKPath): Added function.
3425
3426 2014-01-21  Daniel Bates  <dabates@apple.com>
3427
3428         [iOS] Tools/Makefile shouldn't build modules DumpRenderTree, gtest, or TestWebKitAPI
3429         https://bugs.webkit.org/show_bug.cgi?id=127368
3430
3431         Reviewed by Tim Horton.
3432
3433         Similar to the build-webkit change in <https://bugs.webkit.org/show_bug.cgi?id=127364>,
3434         we don't want to build DumpRenderTree, gtest, or TestWebKitAPI when running make in
3435         Tools.
3436
3437         * Makefile:
3438
3439 2014-01-21  Daniel Bates  <dabates@apple.com>
3440
3441         [iOS] Don't build DumpRenderTree, gtest, or TestWebKitAPI
3442         https://bugs.webkit.org/show_bug.cgi?id=127364
3443
3444         Reviewed by Simon Fraser.
3445
3446         For now, don't build DumpRenderTree and TestWebKitAPI for iOS as these
3447         projects fail to build because we need to upstream the relevant iOS changes.
3448         Also, don't build gtest, which is a dependency of TestWebKitAPI since we
3449         aren't building TestWebKitAPI.
3450
3451         * Scripts/build-webkit:
3452
3453 2014-01-21  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
3454
3455         Unreviewed, remove myself from some watchlist entries.
3456
3457         * Scripts/webkitpy/common/config/watchlist:
3458
3459 2014-01-21  Zalan Bujtas  <zalan@apple.com>
3460
3461         Use 64 as the default value for the subpixel denominator.
3462
3463         Reviewed by Simon Fraser.
3464
3465         * lldb/lldb_webkit.py:
3466         (WebCoreLayoutUnitProvider.to_string):
3467
3468 2014-01-21  ChangSeok Oh  <changseok.oh@collabora.com>
3469
3470         [GTK] Fix a c++11 compliance issue for fontconfig
3471         https://bugs.webkit.org/show_bug.cgi?id=127283
3472
3473         Reviewed by Martin Robinson.
3474
3475         fontconfig-2.8.0 is not compliant with C++11. So I propose to apply a
3476         hotfix until bumping fontconfig up.
3477
3478         * gtk/jhbuild.modules:
3479         * gtk/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added.
3480
3481 2014-01-21  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
3482
3483         run-jsc-stress-tests should accept --child-processes option and WEBKIT_TEST_CHILD_PROCESSES env.var
3484         like run_webkit_test does
3485         https://bugs.webkit.org/show_bug.cgi?id=127349
3486
3487         Reviewed by Csaba Osztrogonác.
3488
3489         * Scripts/run-jsc-stress-tests:
3490
3491 2014-01-21  Adrian Perez de Castro  <aperez@igalia.com>
3492
3493         [GTK] Allow passing extra data to web extensions
3494         https://bugs.webkit.org/show_bug.cgi?id=125990
3495
3496         Reviewed by Carlos Garcia Campos.
3497
3498         Allow passing additional information to the injected bundle. On top
3499         of the string containing the path to the web extensions directory,
3500         a GVariant can be set with additional data using
3501         webkit_web_context_set_web_extensions_initialization_user_data().
3502         Also, a new initialize-web-extensions signal is emitted before
3503         launching a new WebProcess to allow setting different user data
3504         for each process. The GVariant is serialized as a string, passed
3505         to the injected bundle, and the injected bundle deserializes back
3506         the data, which is passed to web extensions which define the
3507         webkit_web_extension_initialize_with_user_data() function (for
3508         backwards compatibility, webkit_web_extension_initialize() is
3509         used as a fallback.)
3510
3511         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
3512         (initializeWebExtensions): Handles the initialize-web-extensions
3513         signal, and sets the web extensions directory and the initialization
3514         user data.
3515         (testWebExtensionInitializationUserData): New test case for checking
3516         the user data passed on initialization to web extensions.
3517         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3518         (methodCallCallback): Added implementation for the
3519         GetInitializationUserData D-Bus method, used by
3520         testWebExtensionInitializationUserData().
3521         (webkit_web_extension_initialize_with_user_data): Define the
3522         initialization function with the additional user data parameter.
3523
3524 2014-01-21  Siddharth Mathur  <s.mathur@ieee.org>
3525
3526         Change my email address in contributors.json.
3527
3528         Unreviewed.
3529
3530         * Scripts/webkitpy/common/config/contributors.json:
3531
3532 2014-01-21  Krzysztof Czech  <k.czech@samsung.com>
3533
3534         [ATK] Expose aria-flowto through ATK_RELATION_FLOWS_TO
3535         https://bugs.webkit.org/show_bug.cgi?id=127291
3536
3537         Reviewed by Mario Sanchez Prada.
3538
3539         Implemented AccessibilityUIElement::ariaFlowToElementAtIndex method.
3540
3541         * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
3542         (AccessibilityUIElement::ariaFlowToElementAtIndex):
3543         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3544         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
3545
3546 2014-01-20  Zalan Bujtas  <zalan@apple.com>
3547
3548         Force float division when calculating CSS px value.
3549
3550         Reviewed by Simon Fraser.
3551
3552         Note that in Python 3, this is the default behavior.
3553
3554         * lldb/lldb_webkit.py:
3555         (WebCoreLayoutUnitProvider.to_string):
3556
3557 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
3558
3559         build.webkit.org/dashboard should display information about patches in EWS
3560         https://bugs.webkit.org/show_bug.cgi?id=127006
3561
3562         Reviewed by Ryosuke Niwa.
3563
3564         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html:
3565         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Bugzilla.js: Added.
3566         (Bugzilla.prototype.detailsURLForAttachment):
3567         Added a class for Bugzilla. So far, the only thing it can do is build patch URLs,
3568         which is needed when one wants to do something with a patch EWS is stuck on.
3569
3570         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js:
3571         Create a Bugzilla instance.
3572
3573         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWS.js:
3574         (EWS.prototype.jsonQueueLengthURL):
3575         (EWS.prototype.jsonQueueStatusURL):
3576         Build JSON ULRs here, not in EWSQueue, as this is how other classes are structured.
3577
3578         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueue.js:
3579         (EWSQueue.prototype.get statusPageURL): Changed to use a URL provided by EWS instead
3580         of second guessing.
3581         (EWSQueue.prototype.get chartsPageURL): Added.
3582         (EWSQueue.prototype.get loadedDetailedStatus): Tells whether we currently have
3583         additional data already loaded (it's reset with every update).
3584         (EWSQueue.prototype.get patches): Get patch queue.
3585         (EWSQueue.prototype.get bots): Get bots.
3586         (EWSQueue.prototype.update): Changed to use a specialized cheaper URL.
3587         (EWSQueue.prototype.loadDetailedStatus): Load and transform detailed status JSON.
3588
3589         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/EWSQueueView.js:
3590         (EWSQueueView.prototype.update.appendQueue): Add a popover is there are any patches
3591         in the queue.
3592         (EWSQueueView.prototype.addLinkToRow): A helper to build the popover.
3593         (EWSQueueView.prototype.addTextToRow): Ditto.
3594         (EWSQueueView.prototype._addQueueHeadingToPopover): Ditto.
3595         (EWSQueueView.prototype._addBotsHeadingToPopover): Ditto.
3596         (EWSQueueView.prototype._addDividerToPopover): Ditto.
3597         (EWSQueueView.prototype._timeIntervalString): A helper to format a timestamp into a
3598         relative string.
3599         (EWSQueueView.prototype._popoverContentForEWSQueue): Build the popover.
3600         (EWSQueueView.prototype._presentPopoverForEWSQueue): Start loading data, and present
3601         it when done.
3602
3603         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css:
3604         Added rules for EWS popover. Removed a duplicate rule for build-logs-popover.
3605         Changed a few difficult to read padding styles to padding-left.
3606
3607 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
3608
3609         Fix webkitpy tests.
3610
3611         * Scripts/webkitpy/common/net/web_mock.py: (MockBrowser.set_handle_robots):
3612         Added a mock implementation, as we now call this function.
3613
3614 2014-01-20  Darin Adler  <darin@apple.com>
3615
3616         Update style checker and tests to deal with override instead of OVERRIDE
3617         https://bugs.webkit.org/show_bug.cgi?id=127175
3618
3619         Reviewed by Anders Carlsson.
3620
3621         * Scripts/webkitpy/style/checkers/cpp.py:
3622         (check_braces): Use override instead of OVERRIDE.
3623         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3624         (CppStyleTest.test_brace_at_begin_of_line): Ditto.
3625
3626 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
3627
3628         EWS should provide better information to Dashboard via JSON
3629         https://bugs.webkit.org/show_bug.cgi?id=127265
3630
3631         Reviewed by Ryosuke Niwa.
3632
3633         * QueueStatusServer/app.yaml: Updated version.
3634
3635         * QueueStatusServer/main.py:
3636         * QueueStatusServer/handlers/queuelengthjson.py:
3637         Added a way to cheaply get only the queue length, which is all the dashboard
3638         needs unless a popover is opened.
3639
3640         * QueueStatusServer/handlers/queuestatusjson.py: Updated to return more information
3641         that we will need. Changed some field names to be more meaningful. Fixed bot listing
3642         to understand that a bot can be reprurposed and used in a different queue.
3643
3644 2014-01-20  Alexey Proskuryakov  <ap@apple.com>
3645
3646         Make uploading results to EWS work despite robots.txt
3647         https://bugs.webkit.org/show_bug.cgi?id=127296
3648
3649         Reviewed by Ryosuke Niwa.
3650
3651         * Scripts/webkitpy/common/net/statusserver.py: (StatusServer.__init__): Disable
3652         checking robots.txt.
3653
3654         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py: (Bugzilla._get_browser):
3655         Removed a comment saying that we would want to stop doing this. Not checking
3656         robots.txt is more efficient than checking it.
3657
3658 2014-01-19  Ryuan Choi  <ryuan.choi@samsung.com>
3659
3660         [EFL][WK1] Remove and refactor the APIs which use single and base keyword
3661         https://bugs.webkit.org/show_bug.cgi?id=127214
3662
3663         Reviewed by Gyuyoung Kim.
3664
3665         Followed the changes of API.
3666
3667         * DumpRenderTree/efl/DumpRenderTreeView.cpp:
3668         (drtViewAdd):
3669         * EWebLauncher/main.c:
3670         (windowCreate):
3671
3672 2014-01-19  Eunmi Lee  <eunmi15.lee@samsung.com>
3673
3674         [EFL][WK2] Add touch events option to MiniBrowser.
3675         https://bugs.webkit.org/show_bug.cgi?id=127262
3676
3677         Reviewed by Gyuyoung Kim.
3678
3679         As a default, touch events are disabled and mouse events are enabled.
3680         If touch events option sets to true, touch events are enabled and mouse
3681         events are disabled.
3682
3683         * MiniBrowser/efl/main.c:
3684         (window_create):
3685         (elm_main):
3686
3687 2014-01-19  Zalan Bujtas  <zalan@apple.com>
3688
3689         Pretty print LayoutUnit, LayoutPoint, and LayoutSize in lldb and gdb.
3690         https://bugs.webkit.org/show_bug.cgi?id=126080
3691
3692         Reviewed by Sam Weinig.
3693
3694         This changes the output of printing LayoutUnits to be in px but it also
3695         preserves the original LayoutUnit value.
3696
3697         This will lead to lldb output like: (and it works even when subpixel is disabled)
3698
3699         (const WebCore::LayoutRect) $0 = {
3700             m_location = { x = 2.25px (144), y = 1px (64)}
3701             m_size = { width = 13.75px (880), height = 20px (1280) }
3702
3703
3704         And gdb output like:
3705
3706         m_frameRect = {
3707             m_location = LayoutPoint(0px (0), 0px(0)),
3708             m_size = LayoutSize(8px (512), 5px (320))
3709         }
3710
3711         This patch is based on patch by bjonesbe@adobe.com and for Blink by cbiesinger@chromium.org.
3712
3713         * gdb/webkit.py:
3714         (WebCoreLayoutUnitPrinter):
3715         (WebCoreLayoutUnitPrinter.__init__):
3716         (WebCoreLayoutUnitPrinter.to_string):
3717         (WebCoreLayoutSizePrinter):
3718         (WebCoreLayoutSizePrinter.__init__):
3719         (WebCoreLayoutSizePrinter.to_string):
3720         (WebCoreLayoutPointPrinter):
3721         (WebCoreLayoutPointPrinter.__init__):
3722         (WebCoreLayoutPointPrinter.to_string):
3723         (add_pretty_printers):
3724         * lldb/lldb_webkit.py:
3725         (__lldb_init_module):
3726         (WebCoreLayoutUnit_SummaryProvider):
3727         (WebCoreLayoutSize_SummaryProvider):
3728         (WebCoreLayoutPoint_SummaryProvider):
3729         (WebCoreLayoutUnitProvider):
3730         (WebCoreLayoutUnitProvider.__init__):
3731         (WebCoreLayoutUnitProvider.to_string):
3732         (WebCoreLayoutSizeProvider):
3733         (WebCoreLayoutSizeProvider.__init__):
3734         (WebCoreLayoutSizeProvider.get_width):
3735         (WebCoreLayoutSizeProvider.get_height):
3736         (WebCoreLayoutPointProvider):
3737         (WebCoreLayoutPointProvider.__init__):
3738         (WebCoreLayoutPointProvider.get_x):
3739         (WebCoreLayoutPointProvider.get_y):
3740
3741 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
3742
3743         Add robots.txt to http://webkit-queues.appspot.com
3744         https://bugs.webkit.org/show_bug.cgi?id=127240
3745
3746         * QueueStatusServer/app.yaml: Added required "upload" attribute for robots.txt.
3747
3748 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
3749
3750         Add robots.txt to http://webkit-queues.appspot.com
3751         https://bugs.webkit.org/show_bug.cgi?id=127240
3752
3753         Reviewed by Ryosuke Niwa.
3754
3755         * QueueStatusServer/app.yaml: Added robots.txt as a static file. Updated version.
3756
3757         * QueueStatusServer/robots.txt: Added.
3758
3759 2014-01-18  Alberto Garcia  <berto@igalia.com>
3760
3761         Tools/Scripts/test-webkitperl fails: 'tempdir' can't be called as a method
3762         https://bugs.webkit.org/show_bug.cgi?id=127217
3763
3764         Reviewed by Daniel Bates.
3765
3766         The syntax File::Temp->tempdir() was explicitly made invalid
3767         following <https://github.com/Perl-Toolchain-Gang/File-Temp/commit/c8920b2161ab6900a09e02b9410e0e4c3d74f565>
3768         which was included in File::Temp v2.30, shipped with Perl v5.18.0.
3769
3770         Use File::Temp::tempdir() instead.
3771
3772         * Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
3773
3774 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
3775
3776         build.webkit.org/dashboard should have image diff links in test results popovers
3777         https://bugs.webkit.org/show_bug.cgi?id=127188
3778
3779         Reviewed by Timothy Hatcher.
3780
3781         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3782         (Buildbot.prototype.layoutTestImagesURLForIteration):
3783         (Buildbot.prototype.layoutTestImageDiffURLForIteration):
3784         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3785         (BuildbotIteration.prototype.loadLayoutTestResults):
3786         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3787         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions.addFailureInfoLink):
3788         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions.addFailureInfoText):
3789         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
3790
3791 2014-01-18  Anders Carlsson  <andersca@apple.com>
3792
3793         Remove ENABLE_THREADED_HTML_PARSER defines everywhere
3794         https://bugs.webkit.org/show_bug.cgi?id=127225
3795
3796         Reviewed by Andreas Kling.
3797
3798         This concludes the removal of over 8.8 million lines of threaded parser code.
3799
3800         * Scripts/webkitperl/FeatureList.pm:
3801
3802 2014-01-17  Alexey Proskuryakov  <ap@apple.com>
3803
3804         build.webkit.org/dashboard should have diff links in test results popovers
3805         https://bugs.webkit.org/show_bug.cgi?id=126986
3806
3807         Reviewed by Tim Horton.
3808
3809         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3810         (Buildbot.prototype.layoutTestCrashLogURLForIteration):
3811         (Buildbot.prototype.layoutTestStderrURLForIteration):
3812         (Buildbot.prototype.layoutTestDiffURLForIteration):
3813         (Buildbot.prototype.layoutTestPrettyDiffURLForIteration):
3814         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3815         (BuildbotIteration.prototype.loadLayoutTestResults):
3816         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3817         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
3818
3819 2014-01-17  Matthew Hanson  <matthew_hanson@apple.com>
3820
3821         Add the bare minimum support for branches to the bot-watchers dashboard
3822         https://bugs.webkit.org/show_bug.cgi?id=127124
3823
3824         This patch simply introduces the notion of branches into the bot-watchers dashboard.
3825         Subsequent patches will build functionality on top of this simple bit of infrastructure.
3826
3827         Reviewed by Timothy Hatcher.
3828
3829         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3830         (BuildbotQueue): store the branch property in the BuildbotQueue constructor
3831         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3832         Initialize the Dashboard.Branch object
3833
3834 2014-01-17  Chris Fleizach  <cfleizach@apple.com>
3835
3836         platform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityController::removeNotificationListener
3837         https://bugs.webkit.org/show_bug.cgi?id=127141
3838
3839         Reviewed by Alexey Proskuryakov.
3840
3841         Make sure to reset the notification handler each time.
3842
3843         * DumpRenderTree/AccessibilityController.cpp:
3844         (AccessibilityController::resetToConsistentState):
3845         * DumpRenderTree/AccessibilityController.h:
3846         * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
3847         (AccessibilityController::platformResetToConsistentState):
3848         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
3849         (AccessibilityController::platformResetToConsistentState):
3850         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3851         (AccessibilityController::~AccessibilityController):
3852         (AccessibilityController::platformResetToConsistentState):
3853         (AccessibilityController::removeNotificationListener):
3854         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3855         (AccessibilityController::platformResetToConsistentState):
3856
3857 2014-01-17  Alberto Garcia  <berto@igalia.com>
3858
3859         [GTK] Test /webkit/download/not-found fails in GTK Linux 64-bit Release bot
3860         https://bugs.webkit.org/show_bug.cgi?id=82329
3861
3862         Reviewed by Carlos Garcia Campos.
3863
3864         Unskip, this is working fine now.
3865
3866         * Scripts/run-gtk-tests:
3867         (TestRunner):
3868
3869 2014-01-17  Alberto Garcia  <berto@igalia.com>
3870
3871         [GTK] Test /webkit/webview/icon-uri times out in GTK Linux 64-bit Release bot
3872         https://bugs.webkit.org/show_bug.cgi?id=82328
3873
3874         Reviewed by Carlos Garcia Campos.
3875
3876         This was caused by the icon database being corrupted in the
3877         Release bot. After removing it the test works fine so it can be
3878         run again.
3879
3880         * Scripts/run-gtk-tests:
3881         (TestRunner):
3882
3883 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
3884
3885         Test results popovers at http://build.webkit.org/dashboard should link to stderr
3886         https://bugs.webkit.org/show_bug.cgi?id=126929
3887
3888         Reviewed by Timothy Hatcher.
3889
3890         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3891         (Buildbot.prototype.layoutTestCrashLogURLForIteration): Renamed for consistency.
3892         (Buildbot.prototype.layoutTestStderrURLForIteration): Added.
3893
3894         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3895         (BuildbotIteration.prototype.loadLayoutTestResults): Store has_stderr attribute.
3896
3897         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3898         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
3899         Add a link to stderr output if present.
3900
3901         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css:
3902         (.test-results-popover .additional-link): Style with light grey (will use the same style
3903         for diff links).
3904
3905 2014-01-16  Ryosuke Niwa  <rniwa@webkit.org>
3906
3907         Automate DoYouEvenBench
3908         https://bugs.webkit.org/show_bug.cgi?id=124497
3909
3910         Reviewed by Geoffrey Garen.
3911
3912         * Scripts/webkitpy/performance_tests/perftest.py:
3913         (PerfTestMetric.__init__): Added the aggregator name as an argument.
3914         (PerfTestMetric.aggregator): Added.
3915         (PerfTest._metrics_regex): Made the subtest name match non-greedy so that the metric names will be
3916         won't be eagerly parsed as a part of the subtest name. e.g. "Time" and "Total" in "a:Time:Total"
3917         should be parsed as the metric and the aggregator respectively.
3918         (PerfTest._run_with_driver): Pass in the aggregator name.
3919         (PerfTest._ensure_metrics): Ditto. Also split the subtest name by / as required by DoYouEvenBench
3920         which generates subtests of subtests within a single test file.
3921
3922         * Scripts/webkitpy/performance_tests/perftest_unittest.py:
3923         (test_parse_output_with_subtests_and_total): Added.
3924
3925         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3926         (_generate_results_dict): Add the aggregator name to the JSON when one is available.
3927
3928         * Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
3929         (TestWithSubtestsData): Added a sub test with an aggregator and a sub-sub test.
3930
3931 2014-01-16  Chris Fleizach  <cfleizach@apple.com>
3932
3933         platform/mac/accessibility/aria-multiline.html sometimes asserts in AccessibilityController::removeNotificationListener
3934         https://bugs.webkit.org/show_bug.cgi?id=127141
3935
3936         Reviewed by Alexey Proskuryakov.
3937
3938         Don't assert that the notification handler needs to be cleaned up. Deallocing the controller should be enough to clean up as it is.
3939
3940         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3941         (AccessibilityController::~AccessibilityController):
3942
3943 2014-01-16  Ryosuke Niwa  <rniwa@webkit.org>
3944
3945         EWS shouldn't comment on Bugzilla for failing builds or style errors
3946         https://bugs.webkit.org/show_bug.cgi?id=127079
3947
3948         Reviewed by Anders Carlsson.
3949
3950         Since patch authors and reviewers could retrieve this information from bubbles,
3951         we shouldn't spam the Bugzilla with useless comments.
3952
3953         We still post style errors but not python paths we used since it's a pure noise.
3954
3955         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
3956         (AbstractEarlyWarningSystem._post_reject_message_on_bug):
3957         * Scripts/webkitpy/tool/commands/queues.py:
3958         (StyleQueue.review_patch):
3959
3960 2014-01-15  Roger Fong  <roger_fong@apple.com>
3961
3962         Add support for handling WebGL load policies.
3963         https://bugs.webkit.org/show_bug.cgi?id=126935
3964         <rdar://problem/15790448>.
3965
3966         Reviewed by Timothy Horton.
3967
3968         * WebKitTestRunner/TestController.cpp: Update WKPageLoaderClient to V4.
3969         (WTR::TestController::createWebViewWithOptions):
3970
3971 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
3972
3973         Remove workaround for compilers not supporting explicit override control
3974         https://bugs.webkit.org/show_bug.cgi?id=127111
3975
3976         Reviewed by Anders Carlsson.
3977
3978         Now all compilers support explicit override control, this workaround can be removed.
3979
3980         * DumpRenderTree/gtk/fonts/fonts.conf:
3981         * Scripts/do-webcore-rename:
3982         Removed this rename operation from the list of contemplated future renames.
3983         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp:
3984         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp:
3985         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp:
3986         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp:
3987         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
3988
3989 2014-01-16  Oliver Hunt  <oliver@apple.com>
3990
3991         Stop run-jsc from consuming stderr output
3992         https://bugs.webkit.org/show_bug.cgi?id=127115
3993
3994         Reviewed by Mark Lam.
3995
3996         Simple patch to make run-jsc easier to deal with
3997
3998         * Scripts/run-jsc:
3999
4000 2014-01-16  Eva Balazsfalvi  <balazsfalvi.eva@stud.u-szeged.hu>
4001
4002         Tools/gtk/generate-feature-defines-files doesn't work with older versions of python
4003         https://bugs.webkit.org/show_bug.cgi?id=126323
4004
4005         Reviewed by Csaba Osztrogonác.
4006
4007         * gtk/generate-feature-defines-files:
4008
4009 2014-01-16  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
4010
4011         [EFL][WK2] Implement TestController::setHidden
4012         https://bugs.webkit.org/show_bug.cgi?id=127036
4013
4014         Reviewed by Gyuyoung Kim.
4015
4016         WebKitTestRunner needs TestController::setHidden implementation to
4017         properly handle page visibility API layout tests after r161105.
4018
4019         * WebKitTestRunner/efl/TestControllerEfl.cpp:
4020         (WTR::TestController::setHidden):
4021
4022 2014-01-16  Zan Dobersek  <zdobersek@igalia.com>
4023
4024         [GTK][MiniBrowser] The progress entry reset callback can be fired after the BrowserWindow is destroyed
4025         https://bugs.webkit.org/show_bug.cgi?id=127083
4026
4027         Reviewed by Carlos Garcia Campos.
4028
4029         When the load progress reaches 1.0 (i.e. 100%), a timeout callback is set up in webViewLoadProgressChanged.
4030         The progress entry is then reset back to 0 in that callback and the timeout source is removed.
4031
4032         The callback can be fired after the relevant BrowserWindow and its progress entry are destroyed, causing
4033         assertion failures in gtk_entry_set_progress_fraction due to an invalid GtkEntry object. To avoid that,
4034         To avoid that, the ID of the timeout source is stored on the BrowserWindow and is destroyed when the
4035         BrowserWindow object is being finalized, preventing the callback from firing.
4036
4037         * MiniBrowser/gtk/BrowserWindow.c:
4038         (resetEntryProgress):
4039         (webViewLoadProgressChanged):
4040         (browserWindowFinalize):
4041
4042 2014-01-15  Alexey Proskuryakov  <ap@apple.com>
4043
4044         DumpRenderTree doesn't disable web preferences autosave
4045         https://bugs.webkit.org/show_bug.cgi?id=127062
4046
4047         Reviewed by Dan Bernstein.
4048
4049         * DumpRenderTree/mac/DumpRenderTree.mm: (prepareConsistentTestingEnvironment):
4050         Do it.
4051
4052 2014-01-15  Dean Jackson  <dino@apple.com>
4053
4054         Improve filter-build-webkit, especially for iOS builds
4055         https://bugs.webkit.org/show_bug.cgi?id=81046
4056
4057         Reviewed by Joseph Pecoraro.
4058
4059         Lots of updates to the filtering rules, mostly from the
4060         iOS build output. Other highlights include:
4061         - ignoring escape sequences for color ouput
4062         - detecting escaped spaces in file name regexps
4063
4064         * Scripts/filter-build-webkit:
4065         (shouldIgnoreLine):
4066
4067 2014-01-15  Carlos Garcia Campos  <cgarcia@igalia.com>
4068
4069         [GTK] Web process sometimes crashes when printing in synchronous mode
4070         https://bugs.webkit.org/show_bug.cgi?id=126979
4071
4072         Reviewed by Gustavo Noronha Silva.
4073
4074         * Scripts/run-gtk-tests:
4075         (TestRunner): Unskip
4076         /webkit2/WebKitPrintOperation/close-after-print.
4077
4078 2014-01-15  ChangSeok Oh  <changseok.oh@collabora.com>
4079
4080         [EFL] Change test font installed path to webkitgtk-font-tests
4081         https://bugs.webkit.org/show_bug.cgi?id=126723
4082
4083         Reviewed by Gyuyoung Kim.
4084
4085         I'd like to change the test fonts installed directory from 'webkitgtk-test-fonts-0.0.3'
4086         to 'webkitgtk-test-fonts'. webkitgtk-test-fonts-0.0.3 doesn't match the path
4087         hard-coded in FontManagement.cpp#105
4088
4089         * DumpRenderTree/PlatformEfl.cmake:
4090         * WebKitTestRunner/PlatformEfl.cmake:
4091         * efl/jhbuild.modules:
4092
4093 2014-01-14  Ryosuke Niwa  <rniwa@webkit.org>
4094
4095         Make DoYouEvenBench runnable by run-perf-tests
4096         https://bugs.webkit.org/show_bug.cgi?id=127030
4097
4098         Reviewed by Andreas Kling.
4099
4100         Ignore console messages spit out by DoYouEvenBench and support aggregator names such as
4101         ":Total" to appear at the end of a test name. We don't do anything with it for now.
4102
4103         * Scripts/webkitpy/performance_tests/perftest.py:
4104         (PerfTest._metrics_regex): Handle aggregator names such as ":Total". We'll pass it down
4105         to the JSON in a follow up patch for the perf dashboard.
4106         (PerfTest._lines_to_ignore_in_parser_result): Added lines to ignore for DoYouEvenBench.
4107
4108 2014-01-14  Carlos Garcia Campos  <cgarcia@igalia.com>
4109
4110         [GTK] UI process crashes when the web process crashes while printing
4111         https://bugs.webkit.org/show_bug.cgi?id=126977
4112
4113         Reviewed by Gustavo Noronha Silva.
4114
4115         Add new test case to check that closing the window right after
4116         printing works. It's skipped for now, because this patch only
4117         fixes the UI process crash, but not the web process one.
4118
4119         * Scripts/run-gtk-tests:
4120         (TestRunner): Skip
4121         /webkit2/WebKitPrintOperation/close-after-print.
4122         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
4123         (testPrintOperationPrintPrinter):
4124         (findPrintToFilePrinter):
4125         (testPrintOperationPrint):
4126         (testPrintOperationErrors):
4127         (testPrintOperationCloseAfterPrint):
4128         (beforeAll):
4129
4130 2014-01-14  Brent Fulgham  <bfulgham@apple.com>
4131
4132         [WIN] Set MSBuild environment variable to avoid long-lived processes locking log files
4133         https://bugs.webkit.org/show_bug.cgi?id=127002
4134
4135         Reviewed by David Kilzer.
4136
4137         * Scripts/webkitdirs.pm:
4138         (setupAppleWinEnv): Export MSBUILDDISABLENODEREUSE=1 to the environment.
4139
4140 2014-01-14  Commit Queue  <commit-queue@webkit.org>
4141
4142         Unreviewed, rolling out r162000.
4143         http://trac.webkit.org/changeset/162000
4144         https://bugs.webkit.org/show_bug.cgi?id=127009
4145
4146         API versioning is wrong (Requested by rfong on #webkit).
4147
4148         * MiniBrowser/mac/WK2BrowserWindowController.m:
4149         (-[WK2BrowserWindowController awakeFromNib]):
4150         * WebKitTestRunner/TestController.cpp:
4151         (WTR::TestController::createOtherPage):
4152         (WTR::TestController::createWebViewWithOptions):
4153
4154 2014-01-13  Roger Fong  <roger_fong@apple.com>
4155
4156         Add support for handling WebGL load policies.
4157         https://bugs.webkit.org/show_bug.cgi?id=126935
4158         <rdar://problem/15790448>.
4159
4160         Reviewed by Brent Fulgham.
4161
4162         * MiniBrowser/mac/WK2BrowserWindowController.m:
4163         (-[WK2BrowserWindowController awakeFromNib]):
4164         * WebKitTestRunner/TestController.cpp:
4165         (WTR::TestController::createWebViewWithOptions):
4166
4167 2014-01-14  Zan Dobersek  <zdobersek@igalia.com>
4168
4169         [GTK] Skip FontConfig initialization in WebKitTestRunner if requested
4170         https://bugs.webkit.org/show_bug.cgi?id=120110
4171
4172         Reviewed by Martin Robinson.
4173
4174         Skip the FontConfig settings initialization in WebKitTestRunner if the
4175         WEBKIT_SKIP_WEBKITTESTRUNNER_FONTCONFIG_INITIALIZATION environment variable is set.
4176         This is useful when profiling the WebKitTestRunner execution, where at the startup
4177         this step takes considerable amount of time and disturbs the profiling output.
4178
4179         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
4180         (WTR::initializeFontConfigSetting):
4181
4182 2014-01-14  Brian J. Burg  <burg@cs.washington.edu>
4183
4184         Add ENABLE(WEB_REPLAY) feature flag to the build system
4185         https://bugs.webkit.org/show_bug.cgi?id=126949
4186
4187         Reviewed by Joseph Pecoraro.
4188
4189         * Scripts/webkitperl/FeatureList.pm:
4190
4191 2014-01-14  László Langó  <llango.u-szeged@partner.samsung.com>
4192
4193         REGRESSION (r160085): check-webkit-style: utf8' codec can't decode byte 0x89 in position 0: invalid start byte.
4194         https://bugs.webkit.org/show_bug.cgi?id=126702
4195
4196         Reviewed by Alexey Proskuryakov.
4197
4198         Resolve regression and remove a FIXME comment that is already fixed.
4199
4200         * Scripts/webkitpy/common/system/filesystem.py:
4201         (FileSystem.open_text_file_for_reading):
4202         * Scripts/webkitpy/common/system/filesystem_unittest.py:
4203         (RealFileSystemTest.test_read_and_write_file):
4204         * Scripts/webkitpy/style/filereader.py:
4205         (TextFileReader._read_lines):
4206         * Scripts/webkitpy/style/filereader_unittest.py:
4207         (TextFileReaderTest.test_count_delete_only_file):
4208         (TextFileReaderTest):
4209         (TextFileReaderTest.test_process_malformed_file):
4210
4211 2014-01-02  Brian Holt  <brian.holt@samsung.com>
4212
4213         [GTK] Parse Valgrind xml leak files
4214         https://bugs.webkit.org/show_bug.cgi?id=119446
4215
4216         Reviewed by Alejandro G. Castro.
4217
4218         Parse the xml files generated by Valgrind to yield useful
4219         information about the memory leaks.
4220
4221         * Scripts/webkitpy/port/gtk.py:
4222         (GtkPort.__init__):
4223         (GtkPort.setup_test_run): Clear the previous output files before new
4224         run.
4225         (GtkPort.print_leaks_summary):
4226
4227         * Scripts/webkitpy/port/leakdetector_valgrind.py: Added.
4228         Parse the xml files generated by Valgrind and summarise leaks
4229         into an easily understandable list.
4230         (get_text_of):
4231         (get_CDATA_of):
4232         (gather_frames):
4233         (ValgrindError):
4234         (ValgrindError.__init__):
4235         (ValgrindError.__str__):
4236         (ValgrindError.unique_string):
4237         (ValgrindError.error_hash):
4238         (ValgrindError.__hash__):
4239         (ValgrindError.__eq__):
4240         (LeakDetectorValgrind):
4241         (LeakDetectorValgrind.__init__):
4242         (LeakDetectorValgrind._parse_leaks_output):
4243         (LeakDetectorValgrind.leaks_files_in_results_directory):
4244         (LeakDetectorValgrind.clean_leaks_files_from_results_directory):
4245         (LeakDetectorValgrind.parse_and_print_leaks_detail):
4246
4247         * Scripts/webkitpy/port/leakdetector_valgrind_unittest.py: Added.
4248         (make_mock_valgrind_output):
4249         (make_mock_incomplete_valgrind_output):
4250         (make_mock_valgrind_results):
4251         (make_mock_valgrind_results_incomplete):
4252         (make_mock_valgrind_results_empty):
4253         (make_mock_valgrind_results_misformatted):
4254         (mock_run_cppfilt_command):
4255         (LeakDetectorValgrindTest):
4256         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_pass):
4257         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_incomplete):
4258         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_empty):
4259         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_misformatted):
4260         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_pass):
4261         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_incomplete):
4262         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_empty):
4263         (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_misformatted):
4264
4265 2014-01-13  Lucas Forschler  <lforschler@apple.com>
4266
4267         Update the LLINT CLoop Bot build infrastructure
4268         https://bugs.webkit.org/show_bug.cgi?id=126604
4269         
4270         Unreviewed.
4271         
4272         * BuildSlaveSupport/build.webkit.org-config/config.json:
4273         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
4274         (CompileLLINTCLoop):
4275         (RunLLINTCLoopTests):
4276         (BuildAndTestLLINTCLoopFactory):
4277         (BuildAndTestLLINTCLoopFactory.__init__):
4278
4279 2014-01-13  Jinwoo Song  <jinwoo7.song@samsung.com>
4280
4281         [EFL][WK2] Disable failing API tests
4282