0ef0c9bf055f8b5c100b8f5c6b4539d03f3ad2d8
[WebKit-https.git] / Tools / ChangeLog
1 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
2
3         More build fix.
4
5         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
6         (-[AccessibilityNotificationHandler _notificationReceived:]):
7         Use -objectForKey:, not array subscript.
8
9 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
10
11         Catch unexpected exits in DumpRenderTree
12         https://bugs.webkit.org/show_bug.cgi?id=144288
13
14         Reviewed by Tim Horton.
15
16         * DumpRenderTree/mac/DumpRenderTree.mm:
17         (atexitFunction):
18         (DumpRenderTreeMain):
19
20 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
21
22         Build fix
23
24         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
25         (-[AccessibilityNotificationHandler _notificationReceived:]):
26         Use -objectForKey:, not array subscript.
27
28 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
29
30         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
31         https://bugs.webkit.org/show_bug.cgi?id=144155
32
33         Reviewed by Tim Horton.
34
35         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues):
36         Disable App Nap. I don't have positive evidence that it's the culprit, but it could be,
37         and we clearly don't want App Nap while testing.
38
39 2015-04-22  Martin Robinson  <mrobinson@igalia.com>
40
41         [CMake] Autogenerate cmakeconfig.h.cmake
42         https://bugs.webkit.org/show_bug.cgi?id=143997
43
44         Reviewed by Csaba Osztrogonác.
45
46         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Add XP_UNIX to the command-line
47         definitions since TestNetscapePlugIn does not use cmakeconfig.h.
48
49 2015-04-27  Brent Fulgham  <bfulgham@apple.com>
50
51         REGRESSION(r182879): Images and video can no longer be downloaded
52         https://bugs.webkit.org/show_bug.cgi?id=144267
53         <rdar://problem/20702844>
54
55         Reviewed by Simon Fraser.
56
57         Revise tests to check for proper download menu state.
58         1. Downloading a loal image should be disabled.
59         2. Downloading a local media file should be disabled.
60         3. Downloading non-downloadable media should be disabled.
61
62         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
63         (TestWebKitAPI::TEST):
64
65 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
66
67         Merge run-launcher into run-minibrowser
68         https://bugs.webkit.org/show_bug.cgi?id=141928
69
70         Reviewed by Darin Adler.
71
72         * Scripts/run-iexploder-tests:
73         (runSafariWithIExploder):
74         * Scripts/run-launcher: Removed.
75         * Scripts/run-minibrowser:
76         * Scripts/webkitdirs.pm:
77         (launcherPath):
78         * Scripts/webkitpy/port/efl.py:
79         (EflPort.show_results_html_file):
80         * Scripts/webkitpy/port/efl_unittest.py:
81         (EflPortTest.test_show_results_html_file):
82         * Scripts/webkitpy/port/gtk.py:
83         (GtkPort.print_leaks_summary):
84         (GtkPort.show_results_html_file):
85         (GtkPort): Deleted.
86         * Scripts/webkitpy/port/gtk_unittest.py:
87         (GtkPortTest.test_show_results_html_file):
88
89 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
90
91         [buildbot] Fix the output of perf-test buildstep on timeout
92         https://bugs.webkit.org/show_bug.cgi?id=144097
93
94         Reviewed by Ryosuke Niwa.
95
96         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
97         (RunAndUploadPerfTests.getText2):
98         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
99         (RunAndUploadPerfTestsTest.test_buildbot_timeout):
100         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
101
102 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
103
104         [EFL] TestWebKitAPI's forwarding header generator should depend on WebKit2's generator
105         https://bugs.webkit.org/show_bug.cgi?id=143874
106
107         Reviewed by Gyuyoung Kim.
108
109         * TestWebKitAPI/PlatformEfl.cmake: Add the new dependency.
110
111 2015-04-24  Philippe Normand  <pnormand@igalia.com>
112
113         [JHBuild] Move to upstream OpenWebRTC
114         https://bugs.webkit.org/show_bug.cgi?id=144145
115
116         Reviewed by Carlos Garcia Campos.
117
118         * efl/jhbuild.modules: Switch to upstream OpenWebRTC repository
119         and add a new simple patch to gst-plugins-base, required for
120         OpenWebRTC build.
121         * efl/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
122         * gtk/jhbuild.modules: Ditto.
123         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
124
125 2015-04-26  Yusuke Suzuki  <utatane.tea@gmail.com>
126
127         [ES6] Implement ES6 template literals
128         https://bugs.webkit.org/show_bug.cgi?id=142691
129
130         Reviewed by Darin Adler.
131
132         Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
133
134         * Scripts/webkitperl/FeatureList.pm:
135
136 2015-04-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
137
138         [CMake][EFL] Remove unnecessary include, library path in WebKitTestRunner/PlatformEfl.cmake 
139         https://bugs.webkit.org/show_bug.cgi?id=144217
140
141         Reviewed by Darin Adler.
142
143         * WebKitTestRunner/PlatformEfl.cmake:
144
145 2015-04-26  Doug Russell  <d_russell@apple.com>
146
147         AX: richer text change notifications (142719)
148         https://bugs.webkit.org/show_bug.cgi?id=142719
149
150         Reviewed by Darin Adler.
151
152         Richer accessibility value change notifications. Introduce AXTextEditType,
153         postTextStateChangeNotification and postTextReplacementNotification to give assistive
154         tech apps more reliable context for responding to changes in web content. Also implement
155         a mechanism to post value changes in password form fields in coalesced ticks to thwart
156         analyzing the cadence of changes.
157
158         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
159         and an overload of postTextReplacementNotification to give assistive tech apps more
160         reliable context for responding to changes in web content selection. Also block posting
161         selection changes on password fields.
162
163         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
164         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
165         (-[AccessibilityNotificationHandler stopObserving]):
166         (-[AccessibilityNotificationHandler _notificationReceived:]):
167         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
168         (AccessibilityUIElement::removeNotificationListener):
169         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
170         (-[AccessibilityNotificationHandler _notificationReceived:]):
171         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
172         (WTR::AccessibilityUIElement::removeNotificationListener):
173
174 2015-04-25  Sungmann Cho  <sungmann.cho@navercorp.com>
175
176         Add myself to contributors.json
177         https://bugs.webkit.org/show_bug.cgi?id=144204
178
179         Reviewed by Darin Adler.
180
181         * Scripts/webkitpy/common/config/contributors.json:
182
183 2015-04-25  Martin Robinson  <mrobinson@igalia.com>
184
185         Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
186         https://bugs.webkit.org/show_bug.cgi?id=144182
187
188         Reviewed by Simon Fraser.
189
190         * DumpRenderTree/win/DumpRenderTree.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
191
192 2015-04-25  Dewei Zhu  <dewei_zhu@apple.com>
193
194         https://bugs.webkit.org/show_bug.cgi?id=144038
195
196         Reviewed by Ryosuke Niwa
197
198         Add a script to run Speedometer and JetStream on a browser.
199
200         * Scripts/run-benchmark: Wrapper script to run benchmark.
201         (main):
202         * Scripts/webkitpy/benchmark_runner/README.md: Introduction of this script.
203         * Scripts/webkitpy/benchmark_runner/__init__.py: Added.
204         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Added.
205         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Added.
206         (BenchmarkBuilderFactory):
207         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added.
208         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Added.
209         (GenericBenchmarkBuilder):
210         (GenericBenchmarkBuilder.prepare):
211         (GenericBenchmarkBuilder._copyBenchmarkToTempDir):
212         (GenericBenchmarkBuilder._applyPatch):
213         (GenericBenchmarkBuilder.clean):
214         * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Added.
215         (JetStreamBenchmarkBuilder):
216         (JetStreamBenchmarkBuilder.prepare):
217         (JetStreamBenchmarkBuilder._runCreateScript):
218         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Main module that masters all the processes of benchmark running.
219         (BenchmarkRunner):
220         (BenchmarkRunner.__init__):
221         (BenchmarkRunner.execute):
222         (BenchmarkRunner.dump):
223         (BenchmarkRunner.wrap):
224         (BenchmarkRunner.merge):
225         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Added.
226         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: Added.
227         (BrowserDriver):
228         (BrowserDriver.prepareEnv):
229         (BrowserDriver.launchUrl):
230         (BrowserDriver.closeBrowser):
231         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py: Added.
232         (BrowserDriverFactory):
233         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json: Added.
234         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py: Added.
235         (OSXChromeDriver):
236         (OSXChromeDriver.prepareEnv):
237         (OSXChromeDriver.launchUrl):
238         (OSXChromeDriver.closeBrowsers):
239         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Added.
240         (OSXSafariDriver):
241         (OSXSafariDriver.prepareEnv):
242         (OSXSafariDriver.launchUrl):
243         (OSXSafariDriver.closeBrowsers):
244         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Patch that makes JetStream compatible with this script.
245         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Patch that makes Speedometer compatible with this scritp.
246         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Added.
247         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Added.
248         * Scripts/webkitpy/benchmark_runner/generic_factory.py: Factory for generic purpose.
249         (GenericFactory):
250         (GenericFactory.iterateGetItem):
251         (GenericFactory.create):
252         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Added.
253         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: Added.
254         (ServerControl):
255         (ServerControl.render_GET):
256         (ServerControl.render_POST):
257         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py: Added.
258         (HTTPServerDriver):
259         (HTTPServerDriver.serve):
260         (HTTPServerDriver.fetchResult):
261         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py: Added.
262         (HTTPServerDriverFactory):
263         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_drivers.json: Added.
264         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Added.
265         (SimpleHTTPServerDriver):
266         (SimpleHTTPServerDriver.depends):
267         (SimpleHTTPServerDriver.__init__):
268         (SimpleHTTPServerDriver.serve):
269         (SimpleHTTPServerDriver.baseUrl):
270         (SimpleHTTPServerDriver.fetchResult):
271         * Scripts/webkitpy/benchmark_runner/utils.py: Utility module.
272         (ModuleNotFoundError):
273         (loadModule):
274         (getPathFromProjectRoot):
275         (loadJSONFromFile):
276         (TimeoutError):
277         (timeout):
278         (timeout.__init__):
279         (timeout.handle_timeout):
280         (timeout.__enter__):
281         (timeout.__exit__):
282
283 2015-04-24  Commit Queue  <commit-queue@webkit.org>
284
285         Unreviewed, rolling out r183303.
286         https://bugs.webkit.org/show_bug.cgi?id=144181
287
288         Change was incorrect, broke builds (Requested by smfr on
289         #webkit).
290
291         Reverted changeset:
292
293         "Fix the build."
294         http://trac.webkit.org/changeset/183303
295
296 2015-04-24  Simon Fraser  <simon.fraser@apple.com>
297
298         Fix the build.
299
300         * MiniBrowser/mac/WK2BrowserWindowController.m:
301         (-[WK2BrowserWindowController initWithConfiguration:]):
302
303 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
304
305         Disable ActionMenusPDFTest due to timeout on test bot
306
307         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
308         (TestWebKitAPI::TEST):
309
310 2015-04-24  Commit Queue  <commit-queue@webkit.org>
311
312         Unreviewed, rolling out r183266.
313         https://bugs.webkit.org/show_bug.cgi?id=144164
314
315         Broke 32-bit build and a test. (Requested by ap on #webkit).
316
317         Reverted changeset:
318
319         "AX: richer text change notifications (142719)"
320         https://bugs.webkit.org/show_bug.cgi?id=142719
321         http://trac.webkit.org/changeset/183266
322
323 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
324
325         REGRESSION: WebKit2.ActionMenusTest API test fails
326         https://bugs.webkit.org/show_bug.cgi?id=144149
327         <rdar://problem/20677770>
328
329         Reviewed by Tim Horton.
330
331         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Revise to use the same test PDF
332         as the 'ActionMenusPDFTest'.
333         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
334         (TestWebKitAPI::TEST): Unskip the PDF portion of ActionMenusTest, and revise its expected output
335         to match the hit test on the 'action-menu-target.pdf' test file.
336
337 2015-04-24  Daniel Bates  <dabates@apple.com>
338
339         Cleanup: Use @memoized for property IOSSimulator.testing_device
340         https://bugs.webkit.org/show_bug.cgi?id=141715
341
342         Reviewed by Darin Adler.
343
344         Simplify the caching of the result of IOSSimulator.testing_device
345         and make the code more readable by making use of the @memoized declarator
346         instead of explicitly managing a private instance variable,
347         IOSSimulator._testing_device, for the cached result.
348
349         * Scripts/webkitpy/port/ios.py:
350         (IOSPort.determine_full_port_name):
351         (IOSSimulatorPort.__init__): Delete instance variable IOSSimulatorPort._testing_device.
352         (IOSSimulatorPort):
353         (IOSSimulatorPort.testing_device): No need to cache the created device object in
354         IOSSimulatorPort._testing_device since we are marking this function @memoized.
355         (IOSSimulatorPort.reset_preferences): Code style fix; inline self.testing_device.path instead
356         of caching in local variable since we only make use of this value exactly once in this function.
357         (IOSPort.__init__): Deleted; The instance variable IOSPort._testing_device has never
358         been used since being added in r178622. So, we can remove this constructor since
359         it's the trivial constructor once we remove the instance variable IOSPort._testing_device.
360
361 2015-04-24  Anders Carlsson  <andersca@apple.com>
362
363         Rename -[WKWebsiteDataStore isNonPersistent] to -[WKWebsiteDataStore isPersistent]
364         https://bugs.webkit.org/show_bug.cgi?id=144158
365
366         Reviewed by Beth Dakin.
367
368         * MiniBrowser/mac/WK2BrowserWindowController.m:
369         (-[WK2BrowserWindowController initWithConfiguration:]):
370
371 2015-04-24  Doug Russell  <d_russell@apple.com>
372
373         AX: richer text change notifications (142719)
374         https://bugs.webkit.org/show_bug.cgi?id=142719
375
376         Reviewed by Darin Adler.
377
378         Richer accessibility value change notifications. Introduce AXTextEditType, postTextStateChangeNotification and postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content. Also implement a mechanism to post value changes in password form fields in coalesced ticks to thwart analyzing the cadence of changes.
379
380         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent, and an overload of postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content selection. Also block posting selection changes on password fields.
381
382         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
383         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
384         (-[AccessibilityNotificationHandler stopObserving]):
385         (-[AccessibilityNotificationHandler _notificationReceived:]):
386         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
387         (AccessibilityUIElement::removeNotificationListener):
388         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
389         (-[AccessibilityNotificationHandler _notificationReceived:]):
390         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
391         (WTR::AccessibilityUIElement::removeNotificationListener):
392
393 2015-04-24  Darin Adler  <darin@apple.com>
394
395         Convert OwnPtr and PassOwnPtr uses to std::unique_ptr
396         https://bugs.webkit.org/show_bug.cgi?id=128007
397
398         Reviewed by Anders Carlsson.
399
400         * DumpRenderTree/win/HistoryDelegate.h: Removed unneeded include.
401         * DumpRenderTree/win/UIDelegate.h: Ditto.
402
403         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Removed OwnPtr-specific test cases.
404         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
405
406         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Removed unneeded include.
407
408         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Use unique_ptr.
409         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::SetUp): Use make_unique.
410         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Ditto.
411         (TestWebKitAPI::WebKit2WillLoadTest::SetUp): Ditto.
412         * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp:
413         (WebKitDOMDOMWindowTest::create): Ditto.
414         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
415         (documentLoadedCallback): Use a queue of DelayedSignal objects instead
416         of smart pointers to DelayedSIgnal objects.
417         (uriChangedCallback): Ditto.
418
419 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
420
421         [Mac] Unreviewed test fix.
422         https://bugs.webkit.org/show_bug.cgi?id=144149
423
424         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
425         (TestWebKitAPI::TEST): Temporarily skip the PDF <embed>
426         test.
427
428 2015-04-23  Darin Adler  <darin@apple.com>
429
430         Another round of removing use of OwnPtr, PassOwnPtr, and deleteOwnedPtr
431         https://bugs.webkit.org/show_bug.cgi?id=144090
432
433         Reviewed by Anders Carlsson.
434
435         * DumpRenderTree/mac/DumpRenderTree.mm: Removed unneeded include.
436
437 2015-04-23  Michael Saboff  <msaboff@apple.com>
438
439         lldb macro btjs sometimes can't get a frame description
440         https://bugs.webkit.org/show_bug.cgi?id=144130
441
442         Reviewed by Filip Pizlo.
443
444         We look to execute ExecState::describeFrame().  It appears that in some contexts the
445         debugger can't find ExecState.  In those cases, CallFrame works as it is a typedef of
446         ExecState.  Therefore we can fallback to using CallFrame::describeFrame().
447
448         * lldb/lldb_webkit.py:
449         (btjs):
450
451 2015-04-23  Alex Christensen  <achristensen@webkit.org>
452
453         Use less memory when compiling content extensions.
454         https://bugs.webkit.org/show_bug.cgi?id=144051
455
456         Reviewed by Darin Adler and Benjamin Poulain.
457
458         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
459         (TestWebKitAPI::TEST_F):
460         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
461         (TestWebKitAPI::countLiveNodes):
462
463 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
464
465         [CMake] Clean up JSC JIT options
466         https://bugs.webkit.org/show_bug.cgi?id=143998
467
468         Reviewed by Filip Pizlo.
469
470         * Scripts/build-jsc: Do not use -ENABLE_LLINT_C_LOOP on CMake ports.
471         * Scripts/webkitperl/FeatureList.pm: Remove ENABLE_LLINT_C_LOOP.
472
473 2015-04-21  Brent Fulgham  <bfulgham@apple.com>
474
475         [Mac] Extend action menus to support PDF
476         https://bugs.webkit.org/show_bug.cgi?id=143895
477         <rdar://problem/19003333>
478
479         Reviewed by Tim Horton.
480
481         Reactivate the action menu tests, and add a new PDF-based test to make sure that selection
482         of PDF content works.
483
484         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new 'test.pdf' resource to bundle.
485         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Update with a new PDF pane.
486         * TestWebKitAPI/Tests/WebKit2/test.pdf: Added.
487         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
488         (-[ActionMenusTestWKView _actionMenuItemsForHitTestResult:withType:defaultActionMenuItems:userData:]):
489         Update to support PDF tests.
490         (TestWebKitAPI::windowPointForTarget): Add new target for PDF test.
491         (TestWebKitAPI::waitForPDFToLoad): New helper function to avoid starting test before the PDF is available.
492
493 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
494
495         Unreviewed. Do not run GTK+ user media unit tests when ENABLE_MEDIA_STREAM is disabled.
496
497         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
498         (beforeAll):
499         (testWebViewAudioOnlyUserMediaPermissionRequests):
500
501 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
502
503         Add myself to watchlist
504         https://bugs.webkit.org/show_bug.cgi?id=144041
505
506         Reviewed by Alex Christensen.
507
508         Add myself watching CMake, GtkWebKit2PublicAPI, SoupNetwork, and WebKitGTKTranslations.
509
510         * Scripts/webkitpy/common/config/watchlist:
511
512 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
513
514         [GTK] MiniBrowser should use NetworkProcess by default
515         https://bugs.webkit.org/show_bug.cgi?id=143948
516
517         Reviewed by Sergio Villar Senin.
518
519         Use WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES by default
520         unless MINIBROWSER_SINGLEPROCESS environment variable is present.
521
522         * MiniBrowser/gtk/main.c:
523         (main):
524
525 2015-04-21  Matthew Hanson  <matthew_hanson@apple.com>
526
527         Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.
528
529         Unreviewed build fix.
530
531         * Scripts/prepare-ChangeLog:
532         (get_function_line_ranges_for_cpp):
533         Use grep instead of any to determine if a string is an element of an array.
534
535 2015-04-21  Anders Carlsson  <andersca@apple.com>
536
537         Fix block signatures
538         https://bugs.webkit.org/show_bug.cgi?id=144002
539
540         Reviewed by Andreas Kling.
541
542         * MiniBrowser/mac/WK2BrowserWindowController.m:
543         (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
544
545 2015-04-21  Philippe Normand  <pnormand@igalia.com>
546
547         [GTK] jhbuild should not use a branch for openwebrtc
548         https://bugs.webkit.org/show_bug.cgi?id=143981
549
550         Reviewed by Carlos Garcia Campos.
551
552         * gtk/jhbuild.modules:
553
554 2015-04-20  Matthew Hanson  <matthew_hanson@apple.com>
555
556         Fix compilation error for prepare-ChangeLog running with Perl version < v5.18.2.
557
558         Unreviewed build fix.
559
560         The any function was added to List::Utils between Perl v5.16.2 and Perl v5.18.2.
561         However, it has been exposed by List::MoreUtils since its inception. This patch uses
562         the any function exposed by List::MoreUtils for greater compatibility.
563
564         * Scripts/prepare-ChangeLog:
565         Use any from List::MoreUtils instead of List::Utils, as List::MoreUtils exposes
566         the any function in all of versions of Perl used by our infrastructure.
567
568 2015-04-20  Alex Christensen  <achristensen@webkit.org>
569
570         Remove unnecessary logs when resetting tests.
571
572         * WebKitTestRunner/mac/TestControllerMac.mm:
573         (WTR::TestController::platformResetPreferencesToConsistentValues):
574         In r183020 I added some logs when compiling or removing content extensions fails.
575         We often try to remove a content extension that does not exist, and that is not a problem.
576
577 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
578
579         prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
580         https://bugs.webkit.org/show_bug.cgi?id=143897
581
582         Reviewed by David Kilzer.
583
584         This is a speculative fix that addresses two issues:
585
586         1. An off-by-one error which allowed ending lines to be less than starting lines when a hunk was a pure delete.
587         We were determining ending lines from combined diffs using the logic: End = Start + Offset - 1.
588
589         So for a hunk like "@@ -723,10 +721,0 @@ bool foobar", we were generating the following starting/ending line pairs:
590         Before: (723, 729)
591         After: (721, 720)
592
593         Before is correct, but After should be (721, 721), since it represents the beginning and ending lines for the hunk.
594         Whether there are zero lines or one line in the hunk, the starting and ending line are the same.
595
596         This error was causing bad behavior on purely additive and purely subtractive hunks, but since we only refer
597         to After when generating ChangeLog output, the extractLineRangeBeforeChange had no visible effect on program output.
598
599         The fix is to set End to the max of Start + Offset - 1 and Start, rather than always using the former.
600
601         2. Creating git diffs from HEAD and not origin/master by default.
602
603         Hard-coding origin/master into the originalFile command has the disadvantage of causing the diff to fail entirely
604         when origin/master does not exist, and to do the wrong thing when determining deleted functions/methods.
605
606         * Scripts/prepare-ChangeLog:
607         (originalFile):
608         Use HEAD instead of origin/master in default Git case.
609
610         (generateFunctionLists):
611         Ensure that the end line is not less than the start line.
612
613         (extractLineRangeAfterChange):
614         Set the end line to the start line if the end line is less than the start line.
615
616         (extractLineRangeBeforeChange):
617         Ditto.
618
619 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
620
621         Suppress warning in prepare-ChangeLog.
622         https://bugs.webkit.org/show_bug.cgi?id=143882
623
624         Reviewed by David Kilzer.
625
626         Prune noisy prepare-ChangeLog output by using the List::Util::any function
627         instead of the deprecated smartmatch operator.
628
629         * Scripts/prepare-ChangeLog:
630         Import the List::Util::any function.
631
632         (get_function_line_ranges_for_cpp):
633         Use the any function instead of smartmatch.
634
635 2015-04-20  Anders Carlsson  <andersca@apple.com>
636
637         Modify the WKWebsiteDataStore API to take a NSSet of types instead of a bitmask
638         https://bugs.webkit.org/show_bug.cgi?id=143966
639
640         Reviewed by Dan Bernstein.
641
642         * MiniBrowser/mac/WK2BrowserWindowController.m:
643         (dataTypes):
644         (-[WK2BrowserWindowController fetchWebsiteData:]):
645         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
646         (-[WK2BrowserWindowController clearWebsiteData:]):
647
648 2015-04-20  Alex Christensen  <achristensen@webkit.org>
649
650         Fix content extension test flakiness.
651         https://bugs.webkit.org/show_bug.cgi?id=143950
652
653         Reviewed by Brady Eidson.
654
655         * WebKitTestRunner/mac/TestControllerMac.mm:
656         (WTR::TestController::platformResetPreferencesToConsistentValues):
657         Remove the TestContentExtensions if it exists.
658         (WTR::TestController::platformConfigureViewForTest):
659         Log errors in case there are any.
660
661 2015-04-20  Alex Christensen  <achristensen@webkit.org>
662
663         Properly report errors from _WKUserContentExtensionStore.
664         https://bugs.webkit.org/show_bug.cgi?id=143808
665
666         Reviewed by Darin Adler.
667
668         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
669         (TEST_F):
670
671 2015-04-20  Carlos Garcia Campos  <cgarcia@igalia.com>
672
673         Add a rule for NetworkCache to watchlist file
674         https://bugs.webkit.org/show_bug.cgi?id=143945
675
676         Reviewed by Sergio Villar Senin.
677
678         And add myself to the list of watchers.
679
680         * Scripts/webkitpy/common/config/watchlist:
681
682 2015-04-19  Darin Adler  <darin@apple.com>
683
684         Update RefPtr documentation and deprecation
685         https://bugs.webkit.org/show_bug.cgi?id=143936
686
687         Reviewed by Andreas Kling.
688
689         * Scripts/do-webcore-rename: Put in some DeprecatedPassRefPtr renames.
690
691 2015-04-19  Yusuke Suzuki  <utatane.tea@gmail.com>
692
693         Introduce bytecode intrinsics
694         https://bugs.webkit.org/show_bug.cgi?id=143926
695
696         Reviewed by Filip Pizlo.
697
698         Change cpplint to accept emit_intrinsic_XXX.
699
700         * Scripts/webkitpy/style/checkers/cpp.py:
701         (check_identifier_name_in_declaration):
702
703 2015-04-18  Simon Fraser  <simon.fraser@apple.com>
704
705         Fix lldb_webkit.py to show StringImpls correctly
706         https://bugs.webkit.org/show_bug.cgi?id=143920
707
708         Reviewed by Andreas Kling.
709         
710         Update WTFStringImplProvider's is_8bit to use the correct bitmask.
711
712         * lldb/lldb_webkit.py:
713         (WTFStringImplProvider.is_8bit):
714
715 2015-04-17  Daniel Bates  <dabates@apple.com>
716
717         Not able to build WebKit against iOS Simulator 8.3 SDK
718         https://bugs.webkit.org/show_bug.cgi?id=143883
719
720         Reviewed by David Kilzer.
721
722         Copy libraries libWebKitSystemInterfaceIOS{Device, Simulator}8.3.a to the built product directory
723         so that Xcode uses them.
724
725         * Scripts/copy-webkitlibraries-to-product-directory:
726
727 2015-04-17  Beth Dakin  <bdakin@apple.com>
728
729         Force mouse events should go through normal mouse event handling code paths
730         https://bugs.webkit.org/show_bug.cgi?id=143749
731         -and corresponding-
732         rdar://problem/20472895
733
734         Reviewed by Dean Jackson.
735
736         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
737         Since there is not a way to create an NSEventTypePressure from scratch, we 
738         subclass NSEvent and override all of the critical methods.
739
740         * WebKitTestRunner/EventSenderProxy.h:
741         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
742         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
743         (WTR::EventSendingController::mouseForceDown):
744         (WTR::EventSendingController::mouseForceUp):
745         (WTR::EventSendingController::mouseForceChanged):
746         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
747         * WebKitTestRunner/TestController.cpp:
748         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
749         * WebKitTestRunner/mac/EventSenderProxy.mm:
750         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
751         (-[EventSenderPressureEvent timestamp]):
752         (-[EventSenderPressureEvent type]):
753         (-[EventSenderPressureEvent locationInWindow]):
754         (-[EventSenderPressureEvent location]):
755         (-[EventSenderPressureEvent stage]):
756         (-[EventSenderPressureEvent pressure]):
757         (-[EventSenderPressureEvent phase]):
758         (-[EventSenderPressureEvent eventNumber]):
759         (WTR::EventSenderProxy::mouseForceDown):
760         (WTR::EventSenderProxy::mouseForceUp):
761         (WTR::EventSenderProxy::mouseForceChanged):
762
763 2015-04-17  Alexey Proskuryakov  <ap@apple.com>
764
765         build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes
766         https://bugs.webkit.org/show_bug.cgi?id=143885
767
768         Reviewed by Tim Horton.
769
770         Fixed a case where we have two builds with the same revision(s). An in order build
771         is one for which the revision is strictly higher.
772
773         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
774         (BuildbotQueue.prototype._checkForInOrderResult):
775         (BuildbotQueue.prototype.compareIterationsByRevisions):
776
777 2015-04-17  Commit Queue  <commit-queue@webkit.org>
778
779         Unreviewed, rolling out r182912 and r182920.
780         https://bugs.webkit.org/show_bug.cgi?id=143881
781
782         Build breakage in some configurations (Requested by ap on
783         #webkit).
784
785         Reverted changesets:
786
787         "Force mouse events should go through normal mouse event
788         handling code paths"
789         https://bugs.webkit.org/show_bug.cgi?id=143749
790         http://trac.webkit.org/changeset/182912
791
792         http://trac.webkit.org/changeset/182920
793
794 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
795
796         [GTK] One more unreviewed fix after r182882.
797
798         * TestWebKitAPI/PlatformGTK.cmake: Added back the WebKit2's forwarding header generator dependency.
799
800 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
801
802         [GTK] Unreviewed speculative clean build fix after r182882.
803
804         TestWebKitAPI's forwarding header generator depended on WeKit2's
805         which generated SOUP related forwarding headers too.
806
807         This dependency isn't necessary and was removed by r182882 to make
808         forwarding header generators parallelizable. But in this case
809         TestWebKitAPI's and WebKitTestRunner's forwarding header generator
810         should generate SOUP related forwarding headers too similar to EFL.
811
812         * TestWebKitAPI/PlatformGTK.cmake:
813         * WebKitTestRunner/PlatformGTK.cmake:
814
815 2015-04-17  Carlos Garcia Campos  <cgarcia@igalia.com>
816
817         [SOUP] Redirect to non HTTP destination is broken
818         https://bugs.webkit.org/show_bug.cgi?id=143866
819
820         Reviewed by Sergio Villar Senin.
821
822         Add a unit test to check that redirect to a data URI works.
823
824         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
825         (testRedirectToDataURI):
826         (serverCallback):
827         (beforeAll):
828
829 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
830
831         Changes method of quitting iOS Simulator to be more correct.
832         https://bugs.webkit.org/show_bug.cgi?id=143847
833         <rdar://problem/20530344>
834
835         Reviewed by Darin Adler.
836
837         Fixes by addressing the app by ID rather than by name.
838
839         * Scripts/webkitdirs.pm:
840         (quitIOSSimulator):
841         * Scripts/webkitpy/port/ios.py:
842         (IOSSimulatorPort.check_sys_deps):
843
844 2015-04-16  Anders Carlsson  <andersca@apple.com>
845
846         Deprecate _WKWebsiteDataStore in favor of WKWebsiteDataStore
847         https://bugs.webkit.org/show_bug.cgi?id=143844
848
849         Reviewed by Dan Bernstein.
850
851         * MiniBrowser/mac/AppDelegate.m:
852         (-[BrowserAppDelegate newPrivateWindow:]):
853         * MiniBrowser/mac/WK2BrowserWindowController.m:
854         (-[WK2BrowserWindowController initWithConfiguration:]):
855         (-[WK2BrowserWindowController fetchWebsiteData:]):
856         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
857         (-[WK2BrowserWindowController clearWebsiteData:]):
858
859 2015-04-16  Alex Christensen  <achristensen@webkit.org>
860
861         32-bit build fix.
862
863         * WebKitTestRunner/mac/TestControllerMac.mm:
864         (WTR::TestController::platformResetPreferencesToConsistentValues):
865         (WTR::TestController::platformConfigureViewForTest):
866         Added WK_API_ENABLED.
867
868 2015-04-16  Alex Christensen  <achristensen@webkit.org>
869
870         Removed unused WKUserContentFilterRef.
871         https://bugs.webkit.org/show_bug.cgi?id=143852
872
873         Reviewed by Sam Weinig.
874
875         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
876         * WebKitTestRunner/mac/TestControllerMac.mm:
877         (WTR::TestController::platformResetPreferencesToConsistentValues):
878         (WTR::TestController::platformConfigureViewForTest):
879
880 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
881
882         Unreviewed. Adding myself as a commiter in contributers.json.
883
884         * Scripts/webkitpy/common/config/contributors.json:
885
886 2015-04-16  Alexey Proskuryakov  <ap@apple.com>
887
888         It is very hard to attach a debugger to WebProcess to debug tests
889         https://bugs.webkit.org/show_bug.cgi?id=143837
890
891         Reviewed by Chris Dumez.
892
893         --no-timeout used to only affect waitUntilDone timeout, but not IPC timeout in
894         WebKitTestRunner, and not pipe reading timeout in run-webkit-tests.
895
896         Now it disables all timeouts in tools, as is best for debugging tests.
897
898         * Scripts/webkitpy/port/driver.py: (Driver.run_test): Respect --no-timeout, so
899         that the script doesn't terminate DRT/WKTR when there is no output for a long time.
900
901         * WebKitTestRunner/Options.cpp: Removed --no-timeout-at-all, as --no-timeout
902         now has the same functionality.
903
904 2015-04-16  Beth Dakin  <bdakin@apple.com>
905
906         Force mouse events should go through normal mouse event handling code paths
907         https://bugs.webkit.org/show_bug.cgi?id=143749
908         -and corresponding-
909         rdar://problem/20472895
910
911         Reviewed by Dean Jackson.
912
913         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
914         Since there is not a way to create an NSEventTypePressure from scratch, we 
915         subclass NSEvent and override all of the critical methods.
916
917         * WebKitTestRunner/EventSenderProxy.h:
918         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
919         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
920         (WTR::EventSendingController::mouseForceDown):
921         (WTR::EventSendingController::mouseForceUp):
922         (WTR::EventSendingController::mouseForceChanged):
923         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
924         * WebKitTestRunner/TestController.cpp:
925         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
926         * WebKitTestRunner/mac/EventSenderProxy.mm:
927         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
928         (-[EventSenderPressureEvent timestamp]):
929         (-[EventSenderPressureEvent type]):
930         (-[EventSenderPressureEvent locationInWindow]):
931         (-[EventSenderPressureEvent location]):
932         (-[EventSenderPressureEvent stage]):
933         (-[EventSenderPressureEvent pressure]):
934         (-[EventSenderPressureEvent phase]):
935         (-[EventSenderPressureEvent eventNumber]):
936         (WTR::EventSenderProxy::mouseForceDown):
937         (WTR::EventSenderProxy::mouseForceUp):
938         (WTR::EventSenderProxy::mouseForceChanged):
939
940 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
941
942         [EFL] Bump LLVM to version 3.6.0 on X86_64
943         https://bugs.webkit.org/show_bug.cgi?id=143604
944
945         Reviewed by Gyuyoung Kim.
946
947         * efl/jhbuild.modules:
948         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Added the necessary part of llvm-elf-add-stackmaps.patch.
949         * efl/patches/llvm-elf-add-stackmaps.patch: Removed, it is included in LLVM 3.6.0 release.
950         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range.patch: Removed, it is included in LLVM 3.6.0 release.
951         * efl/patches/llvm-version-arm64.patch: Added. Set PACKAGE_VERSION to "3.5.0ftl" to be able to ensure we use patched LLVM on AArch64.
952
953 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
954
955         [EFL] Remove an unnecessary workaround from jhbuildrc
956         https://bugs.webkit.org/show_bug.cgi?id=143823
957
958         Reviewed by Gyuyoung Kim.
959
960         * efl/jhbuildrc:
961
962 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
963
964         [GTK] Run forwarding headers generator unconditionally
965         https://bugs.webkit.org/show_bug.cgi?id=143819
966
967         Reviewed by Carlos Garcia Campos.
968
969         * TestWebKitAPI/PlatformGTK.cmake:
970         * WebKitTestRunner/PlatformGTK.cmake:
971
972 2015-04-15  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
973
974         [EFL] Add gnutls to jhbuild.module
975         https://bugs.webkit.org/show_bug.cgi?id=143777
976
977         Reviewed by Csaba Osztrogonác.
978
979         EFL port has required at least 3.0.0 version of gnutls since r176712.
980         However some old linux distributions don't support 3.0.0 version. Besides
981         other projects sometimes need to use lower version of gnutls.
982
983         This patch supports to download gnutls through jhbuild, and use it.
984
985         * efl/install-dependencies: Add nettle-dev dependency and remove libgnutls28-dev. 
986         * efl/jhbuild.modules: Download 3.3 version because 3.3 version is stable version.
987
988 2015-04-15  Mark Lam  <mark.lam@apple.com>
989
990         Remove obsolete VMInspector debugging tool.
991         https://bugs.webkit.org/show_bug.cgi?id=143798
992
993         Reviewed by Michael Saboff.
994
995         * TestWebKitAPI/CMakeLists.txt:
996         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
997         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
998         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
999         * TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp: Removed.
1000
1001 2015-04-15  Jer Noble  <jer.noble@apple.com>
1002
1003         Unreviewed gardening; Make the previous commit apply only _post_ Yosemite.
1004
1005         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1006
1007 2015-04-15  Jer Noble  <jer.noble@apple.com>
1008
1009         Unreviewed gardening; disable FullscreenZoomInitialFrame.WebKit2 API test post-Yosemite.
1010
1011         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1012         (TestWebKitAPI::TEST_F):
1013
1014 2015-04-15  Chris Dumez  <cdumez@apple.com>
1015
1016         [Win] DRT does not seem to reset the 'UsesPageCache' setting between tests
1017         https://bugs.webkit.org/show_bug.cgi?id=143779
1018
1019         Reviewed by Brent Fulgham.
1020
1021         Reset the 'UsesPageCache' setting to FALSE between tests on Windows,
1022         similarly to what is done on Mac / WK1. Without this, PageCache could
1023         stay enabled after page cache tests and cause weird behaviors.
1024
1025         * DumpRenderTree/win/DumpRenderTree.cpp:
1026         (resetWebPreferencesToConsistentValues):
1027
1028 2015-04-14  Simon Fraser  <simon.fraser@apple.com>
1029
1030         Re-enable custom dilation for antialiased fonts
1031         https://bugs.webkit.org/show_bug.cgi?id=143738
1032
1033         Reviewed by Tim Horton.
1034         
1035         Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
1036         but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
1037         a private WebKit pref. This pref defaults to YES, enabling the feature by default
1038         in WK1 as we do for WK2.
1039
1040         * DumpRenderTree/mac/DumpRenderTree.mm:
1041         (resetWebPreferencesToConsistentValues):
1042         * WebKitTestRunner/TestController.cpp:
1043         (WTR::TestController::resetPreferencesToConsistentValues):
1044
1045 2015-04-14  Brent Fulgham  <bfulgham@apple.com>
1046
1047         Correct layering violation in DumpRenderTree Build
1048         https://bugs.webkit.org/show_bug.cgi?id=143732
1049
1050         Reviewed by Simon Fraser.
1051
1052         Correct a layering violation in DumpRenderTree by calling functions on the
1053         WebCoreTestSupport library, rather than attempting to work with WebCore
1054         types directly.
1055
1056         * DumpRenderTree/mac/EventSendingController.mm:
1057         (-[EventSendingController monitorWheelEvents]): Call methods on WebCoreTestSupport, rather
1058         than WebCore itself.,
1059         (-[EventSendingController callAfterScrollingCompletes:]): Ditto.
1060
1061 2015-04-14  Benjamin Poulain  <benjamin@webkit.org>
1062
1063         Add a conservative DFA minimizer for the content extension matcher
1064         https://bugs.webkit.org/show_bug.cgi?id=143501
1065
1066         Reviewed by Alex Christensen.
1067
1068         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1069         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1070
1071 2015-04-14  Daniel Bates  <dabates@apple.com>
1072
1073         Skip failing test Tests/WebKit2Cocoa/FixedLayoutSize.mm on iOS
1074         https://bugs.webkit.org/show_bug.cgi?id=143693
1075         <rdar://problem/20530316>
1076
1077         Reviewed by Tim Horton.
1078
1079         Skip the test Tests/WebKit2Cocoa/FixedLayoutSize.mm as we do not plan
1080         to use the fixed layout code on iOS at this time.
1081
1082         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Add !PLATFORM(IOS)-guard.
1083
1084 2015-04-14  Dominik Röttsches  <dominik.rottsches@intel.com>
1085
1086         Remove myself from watchlist, remove empty Cairo and HarfBuzz watchlists
1087         https://bugs.webkit.org/show_bug.cgi?id=143705
1088
1089         Unreviewed change to watchlist file.
1090
1091         * Scripts/webkitpy/common/config/watchlist:
1092
1093 2015-04-14  KwangHyuk Kim  <hyuki.kim@samsung.com>
1094
1095         [EFL] favicon wasn't updated for google.com sometimes.
1096         https://bugs.webkit.org/show_bug.cgi?id=141940
1097
1098         Reviewed by Gyuyoung Kim.
1099
1100         As elm_entry_utf8_to_markup can include additional characters, parameter for the
1101         on_icon_changed_cb was just set by using url string retrieved by ewk_view_url_get().
1102
1103         * MiniBrowser/efl/main.c:
1104         (on_url_changed):
1105
1106 2015-04-13  Tim Horton  <timothy_horton@apple.com>
1107
1108         Add a persistent, fixed scale factor to make it easy to scale down WK(Web)Views
1109         https://bugs.webkit.org/show_bug.cgi?id=143560
1110         <rdar://problem/16302047>
1111
1112         Reviewed by Darin Adler.
1113
1114         * MiniBrowser/mac/BrowserWindowController.h:
1115         * MiniBrowser/mac/MainMenu.xib:
1116         * MiniBrowser/mac/WK1BrowserWindowController.m:
1117         (-[WK1BrowserWindowController setScale:]):
1118         * MiniBrowser/mac/WK2BrowserWindowController.m:
1119         (viewScaleForMenuItemTag):
1120         (-[WK2BrowserWindowController setScale:]):
1121         (-[WK2BrowserWindowController validateMenuItem:]):
1122         Add a submenu with four view scale options: 100%, 75%, 50%, and 25%.
1123         When in use, we resize the window so that the view fits correctly, and
1124         use automaticallyComputesFixedlayoutSizeFromViewScale so that the page's
1125         layout size will not change when scaling down (but will update appropriately
1126         when the view is resized).
1127
1128 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
1129
1130         build.webkit.org/dashboard shows obsolete results when builds are substantially out of order
1131         https://bugs.webkit.org/show_bug.cgi?id=138630
1132
1133         Reviewed by Tim Horton.
1134
1135         Make sure that we always load at least one in order productive iteration.
1136
1137         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1138         (BuildbotQueue): Added _hasLoadedIterationForInOrderResult to track whether the queue
1139         is done loading at least one iteration that wasn't an out of order build.
1140         (BuildbotQueue.prototype.loadMoreHistoricalIterations): Listen for iteration load
1141         when that's needed to check for out of order builds.
1142         (BuildbotQueue.prototype.update): Ditto.
1143         (BuildbotQueue.prototype._checkForInOrderResult): Check if the queue has an in order
1144         result, and if it does not, load more iterations.
1145         (BuildbotQueue.prototype.loadAll): We have everything loaded, so we certainly have
1146         an in order iteration loaded too.
1147         (BuildbotQueue.prototype.compareIterations): Extracted from sortIterations(), and
1148         corrected to always sort loaded iterations before unloaded ones.
1149
1150 2015-04-10  Brent Fulgham  <bfulgham@apple.com>
1151
1152         Expand test infrastructure to support scrolling tests
1153         https://bugs.webkit.org/show_bug.cgi?id=143286
1154         <rdar://problem/20375516>
1155
1156         Reviewed by Simon Fraser.
1157
1158         Extend the WK1 and WK2 test programs to support two new EventSender commands:
1159         (1) monitorWheelEvents: Tells DRT and WKTR to track the wheel event and animation state, so that we can
1160         block executing tests until WebKit has completed any rubberband, scroll, or scroll-snap animations.
1161         (2) callAfterScrollingCompletes: Provide a callback method to be executed when WebKit determines that
1162         relevant rubberband, scroll, and scroll-snap animations are finished.
1163
1164         * DumpRenderTree/mac/EventSendingController.mm:
1165         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize 'callAfterScrollingCompletes:'
1166         and 'monitorWheelEvents'.
1167         (+[EventSendingController webScriptNameForSelector:]): Ditto.
1168         (-[EventSendingController mouseScrollByX:andY:continuously:]): Add some stderr logging to help when
1169         debugging test failures.
1170         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Ditto.
1171         (-[EventSendingController callAfterScrollingCompletes:]): Added. Protects the JSObject representing the callback
1172         function, then passes it to WebCore to be called once the test deferrals have been cleared.
1173         (-[EventSendingController monitorWheelEvents:]): Added. Activates the wheel event tracking used by the
1174         'callAfterScrollingCompletes' method.
1175         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Added signatures for 'callAfterScrollingCompletes'
1176         and 'monitorWheelEvents'.
1177         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1178         (WTR::EventSendingController::callAfterScrollingCompletes): Added. Protects the JSObject representing the
1179         callback function, then passes it to WebCore to be called once the test deferrals have been cleared
1180         (WTR::EventSendingController::monitorWheelEvents): Added. Activates the wheel event tracking used by the
1181         'callAfterScrollingComplates' method.
1182         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1183
1184 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
1185
1186         build.webkit.org/dashboard: Crash-only queues should show failure when testing fails to start
1187         https://bugs.webkit.org/show_bug.cgi?id=143656
1188
1189         Reviewed by Darin Adler.
1190
1191         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1192         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1193
1194 2015-04-13  Sergio Villar Senin  <svillar@igalia.com>
1195
1196         REGRESSION(r181134): [GTK] Test /webkit2/WebKitWebView/insecure-content is failing after r181134
1197         https://bugs.webkit.org/show_bug.cgi?id=142387
1198
1199         Reviewed by Carlos Garcia Campos.
1200
1201         Running mixed content is blocked by default since r181134. Updated
1202         the test case to reflect the new default settings.
1203
1204         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
1205         (testInsecureContent):
1206
1207 2015-04-13  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1208
1209         Fix wrong value variable in ENABLE_NAVIGATOR_HWCONCURRENCY
1210         https://bugs.webkit.org/show_bug.cgi?id=143667
1211
1212         Reviewed by Csaba Osztrogonác.
1213
1214         ENABLE_NAVIGATOR_HWCONCURRENCY has used $registerProtocolHandlerSupport value variable
1215         since r169017. Added $hardwareConcurrencySupport for it.
1216
1217         Additionally networkInfoSupport is removed because this feature was removed due to spec out.
1218
1219         * Scripts/webkitperl/FeatureList.pm:
1220
1221 2015-04-13  Csaba Osztrogonác  <ossy@webkit.org>
1222
1223         [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
1224         https://bugs.webkit.org/show_bug.cgi?id=143664
1225
1226         Reviewed by Gyuyoung Kim.
1227
1228         * Scripts/webkitperl/FeatureList.pm:
1229
1230 2015-04-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1231
1232         [EFL] Enable Media Source
1233         https://bugs.webkit.org/show_bug.cgi?id=143635
1234
1235         Reviewed by Csaba Osztrogonác.
1236
1237         * Scripts/webkitperl/FeatureList.pm: Enable media source on efl port.
1238
1239 2015-04-12  Alexey Proskuryakov  <ap@apple.com>
1240
1241         build.webkit.org/dashboard: Crash-only queues should show failure when failure limit is exceeded
1242         https://bugs.webkit.org/show_bug.cgi?id=143646
1243
1244         Reviewed by David Kilzer.
1245
1246         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1247         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1248
1249 2015-04-11  Alexey Proskuryakov  <ap@apple.com>
1250
1251         Use en_US spell checker for tests on Mac instead of Multilingual
1252         https://bugs.webkit.org/show_bug.cgi?id=143641
1253
1254         Reviewed by Dan Bernstein.
1255
1256         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
1257         While at it, override NSUserDictionaryReplacementItems, so that user replacements
1258         cannot affect tests.
1259
1260         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):
1261         Made this more like WebKit1 version.
1262
1263 2015-04-10  Tim Horton  <timothy_horton@apple.com>
1264
1265         Replace setFixedLayoutSizeEnabled: with an enum of layout modes
1266         https://bugs.webkit.org/show_bug.cgi?id=143576
1267
1268         Reviewed by Simon Fraser.
1269
1270         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
1271         (TEST):
1272         Adopt.
1273
1274 2015-04-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1275
1276         Update my email address and expertise.
1277         https://bugs.webkit.org/show_bug.cgi?id=143586
1278
1279         Unreviewed, just update my info.
1280
1281         * Scripts/webkitpy/common/config/contributors.json:
1282
1283 2015-04-09  Joseph Pecoraro  <pecoraro@apple.com>
1284
1285         Flakiness Dashboard not loading insecure content if loaded with https URL
1286         https://bugs.webkit.org/show_bug.cgi?id=143570
1287
1288         Reviewed by Alexey Proskuryakov.
1289
1290         * TestResultServer/app.yaml:
1291         * TestResultServer/static-dashboards/loader.js:
1292         Switch to https scheme.
1293
1294 2015-04-09  Csaba Osztrogonác  <ossy@webkit.org>
1295
1296         [EFL][GTK] WebKit2's generate-forwarding-headers.pl runs too many times
1297         https://bugs.webkit.org/show_bug.cgi?id=142907
1298
1299         Reviewed by Carlos Garcia Campos.
1300
1301         * TestWebKitAPI/PlatformEfl.cmake:
1302         * TestWebKitAPI/PlatformGTK.cmake:
1303         * WebKitTestRunner/PlatformEfl.cmake:
1304         * WebKitTestRunner/PlatformGTK.cmake:
1305
1306 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
1307
1308         [Mac] Unreviewed test fix after r182584
1309         https://bugs.webkit.org/show_bug.cgi?id=143452
1310
1311         Put both of these tests back to their original state now that the underlying
1312         problem is fixed.
1313
1314         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
1315         (TestWebKitAPI::TEST):
1316         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
1317         (TestWebKitAPI::TEST):
1318
1319 2015-04-08  Filip Pizlo  <fpizlo@apple.com>
1320
1321         run-jsc-benchmarks geomean of preferred means shouldn't print the VMs header twice
1322         https://bugs.webkit.org/show_bug.cgi?id=143553
1323
1324         Reviewed by Ryosuke Niwa.
1325         
1326         Remove the spurious printVMs left over from an earlier change.
1327
1328         * Scripts/run-jsc-benchmarks:
1329
1330 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
1331
1332         [Mac] Unreviewed test fix after r182581
1333
1334         The behavior of control-left-click is controlled by a system preference.
1335         Our test bots have this turned off.
1336
1337         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
1338         (TestWebKitAPI::TEST):
1339         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
1340         (TestWebKitAPI::TEST):
1341
1342 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
1343
1344         [Mac] WebKit is not honoring OS preferences for secondary click behaviors
1345         https://bugs.webkit.org/show_bug.cgi?id=143452
1346         <rdar://problem/20437483>
1347
1348         Reviewed by Tim Horton.
1349
1350         Add a new API test to confirm that Cocoa mouse button press events are properly
1351         tagged with the desired menu behavior (i.e., 'None', 'Context', or 'Action'.)
1352
1353         The WK2 test dispatches mouse down events to a PlatformWebView, and checks with
1354         some registered event handlers that the expected button press and context menu
1355         events are received.
1356
1357         The WK1 unit test creates an NSEvent with the desired button press state, and then
1358         uses WebCore::PlatformEventFactory::createPlatformMouseEvent to create a WebCore event.
1359         We check the resulting PlatformMouseEvent for proper state.
1360
1361         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test files.
1362         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Added.
1363         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
1364         * TestWebKitAPI/Tests/WebKit2/mouse-button-listener.html: Added.
1365         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm: Added.
1366         (TestWebKitAPI::canCallMenuTypeForEvent): Helper function.
1367         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
1368         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
1369         (TestWebKitAPI::PlatformWebView::simulateButtonClick): Added method to support firing
1370         mouse down events.
1371         * TestWebKitAPI/mac/PlatformWebViewMac.h:
1372
1373 2015-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
1374
1375         [GTK] Add pango to jhbuild-optional.modules
1376         https://bugs.webkit.org/show_bug.cgi?id=143537
1377
1378         Reviewed by Martin Robinson.
1379
1380         * gtk/jhbuild-optional.modules: Add pango.
1381
1382 2015-04-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1383
1384         [XvfbDriver] Regular expression used to match running X servers fails on Fedora 22.
1385         https://bugs.webkit.org/show_bug.cgi?id=143530
1386
1387         Reviewed by Žan Doberšek.
1388
1389         Assume that the default value for display (:0) is reserved and start checking on :1
1390         Adjust webkitpy test and include two new test cases for this bug (display number not specified)
1391         and for X server named Xorg.bin (previous bug 1376599)
1392
1393         * Scripts/webkitpy/port/xvfbdriver.py:
1394         (XvfbDriver._next_free_display)
1395         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
1396         (XvfbDriverTest.test_start_no_pixel_tests):
1397         (XvfbDriverTest.test_start_pixel_tests):
1398         (XvfbDriverTest.test_start_arbitrary_worker_number):
1399         (XvfbDriverTest.test_next_free_display):
1400         (XvfbDriverTest.test_start_next_worker):
1401 2015-04-08  Alex Christensen  <achristensen@webkit.org>
1402
1403         Block popups from content extensions.
1404         https://bugs.webkit.org/show_bug.cgi?id=143497
1405
1406         Reviewed by Brady Eidson.
1407
1408         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1409         (TestWebKitAPI::TEST_F):
1410         Added popup test.
1411
1412 2015-04-08  Alex Christensen  <achristensen@webkit.org> and Patrick Gansterer  <paroga@webkit.org>
1413
1414         Add CMake build system for WinCairo port.
1415         https://bugs.webkit.org/show_bug.cgi?id=115944
1416
1417         Reviewed by Chris Dumez.
1418
1419         * CMakeLists.txt:
1420         * WinLauncher/CMakeLists.txt: Added.
1421
1422 2015-04-08  Carlos Garcia Campos  <cgarcia@igalia.com>
1423
1424         [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user
1425         https://bugs.webkit.org/show_bug.cgi?id=143521
1426
1427         Reviewed by Martin Robinson.
1428
1429         Add a way to detect unexpected web process crashes to WebViewTest,
1430         and a test case to testDOMCache to trigger the crash.
1431
1432         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
1433         (WebKitDOMNodeTest::testDOMCache):
1434         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
1435         (testWebKitWebViewProcessCrashed):
1436         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1437         (WebViewTest::WebViewTest):
1438         (WebViewTest::webProcessCrashed):
1439         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
1440
1441 2015-04-07  Alexey Proskuryakov  <ap@apple.com>
1442
1443         PageVisibilityStateWithWindowChanges should only be enabled on Yosemite
1444         rdar://problem/20461342
1445
1446         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
1447
1448 2015-04-07  Commit Queue  <commit-queue@webkit.org>
1449
1450         Unreviewed, rolling out r182511.
1451         https://bugs.webkit.org/show_bug.cgi?id=143507
1452
1453         caused debug test failures (Requested by alexchristensen on
1454         #webkit).
1455
1456         Reverted changeset:
1457
1458         "Block popups from content extensions."
1459         https://bugs.webkit.org/show_bug.cgi?id=143497
1460         http://trac.webkit.org/changeset/182511
1461
1462 2015-04-07  Alex Christensen  <achristensen@webkit.org>
1463
1464         Block popups from content extensions.
1465         https://bugs.webkit.org/show_bug.cgi?id=143497
1466
1467         Reviewed by Brady Eidson.
1468
1469         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1470         (TestWebKitAPI::TEST_F):
1471         Added popup test.
1472
1473 2015-04-07  Benjamin Poulain  <benjamin@webkit.org>
1474
1475         Get the features.json files ready for open contributions
1476         https://bugs.webkit.org/show_bug.cgi?id=143436
1477
1478         Reviewed by Darin Adler.
1479
1480         * Scripts/webkitpy/style/checkers/jsonchecker.py:
1481         (JSONFeaturesChecker.check):
1482         Extend the syntax checking a bit, but leave everything non-mandatory
1483         very loose until we figure what fields are important.
1484
1485 2015-04-07  Tim Horton  <timothy_horton@apple.com>
1486
1487         Expose and test fixedLayoutSize via modern WebKit SPI
1488         https://bugs.webkit.org/show_bug.cgi?id=143500
1489
1490         Reviewed by Simon Fraser.
1491
1492         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1493         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Added.
1494         (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]):
1495         (TEST):
1496         Add a test that verifies that fixedLayoutSize works at all, that
1497         it persists through a navigation, and that turning it back off reverts to
1498         laying out at the size of the view.
1499
1500 2015-04-07  Michael Catanzaro  <mcatanzaro@igalia.com>
1501
1502         Unreviewed. Add myself as a committer.
1503
1504         * Scripts/webkitpy/common/config/contributors.json:
1505
1506 2015-04-07  Brent Fulgham  <bfulgham@apple.com>
1507
1508         [Win] Bots complain about missing /etc/catalog
1509         https://bugs.webkit.org/show_bug.cgi?id=143484
1510
1511         Reviewed by Chris Dumez.
1512
1513         The libxml2 build on Mac, iOS, and Windows does not provide the set
1514         of default catalog files. We do not actually need these for our
1515         purposes, but we get warnings and some bot flakiness because they
1516         are not present.
1517
1518         We can avoid both problems the same way the Mac and iOS ports do,
1519         by setting the XML_CATALOG_FILES environment variable to 'empty string',
1520         which avoid the warnings and bot problems.
1521
1522         * Scripts/webkitpy/port/win.py:
1523         (WinPort.setup_environ_for_server): Added.
1524
1525 2015-04-06  Sam Weinig  <sam@webkit.org>
1526
1527         Use content extensions in MiniBrowser.
1528         https://bugs.webkit.org/show_bug.cgi?id=143446
1529
1530         Reviewed by Alex Christensen.
1531
1532         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
1533         * MiniBrowser/mac/AppDelegate.h:
1534         * MiniBrowser/mac/AppDelegate.m:
1535         (-[BrowserAppDelegate init]):
1536         (-[BrowserAppDelegate showExtensionsManager:]):
1537         (-[BrowserAppDelegate userContentContoller]):
1538         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
1539         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
1540         (-[ExtensionManagerWindowController init]):
1541         (-[ExtensionManagerWindowController windowDidLoad]):
1542         (-[ExtensionManagerWindowController add:]):
1543         (-[ExtensionManagerWindowController remove:]):
1544         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
1545         * MiniBrowser/mac/MainMenu.xib:
1546
1547 2015-04-07  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1548
1549         web-platform-tests server should retrieve the modules file relatively to its docroot path
1550         https://bugs.webkit.org/show_bug.cgi?id=142742
1551
1552         Reviewed by Darin Adler.
1553
1554         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1555         (WebPlatformTestServer._install_modules): Compute the modules description file path according wpt server doc root path.
1556
1557 2015-04-06  Commit Queue  <commit-queue@webkit.org>
1558
1559         Unreviewed, rolling out r182445.
1560         https://bugs.webkit.org/show_bug.cgi?id=143459
1561
1562         broke 32 bit build (Requested by alexchristensen on #webkit).
1563
1564         Reverted changeset:
1565
1566         "Use content extensions in MiniBrowser."
1567         https://bugs.webkit.org/show_bug.cgi?id=143446
1568         http://trac.webkit.org/changeset/182445
1569
1570 2015-04-06  Sam Weinig  <sam@webkit.org>
1571
1572         Use content extensions in MiniBrowser.
1573         https://bugs.webkit.org/show_bug.cgi?id=143446
1574
1575         Reviewed by Alex Christensen.
1576
1577         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
1578         * MiniBrowser/mac/AppDelegate.h:
1579         * MiniBrowser/mac/AppDelegate.m:
1580         (-[BrowserAppDelegate init]):
1581         (-[BrowserAppDelegate showExtensionsManager:]):
1582         (-[BrowserAppDelegate userContentContoller]):
1583         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
1584         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
1585         (-[ExtensionManagerWindowController init]):
1586         (-[ExtensionManagerWindowController windowDidLoad]):
1587         (-[ExtensionManagerWindowController add:]):
1588         (-[ExtensionManagerWindowController remove:]):
1589         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
1590         * MiniBrowser/mac/MainMenu.xib:
1591
1592 2015-04-06  Michael Catanzaro  <mcatanzaro@gnome.org>
1593
1594         [GTK] install-dependencies should prefer dnf to yum
1595         https://bugs.webkit.org/show_bug.cgi?id=143441
1596
1597         Reviewed by Martin Robinson.
1598
1599         Test for the existance of dnf before yum, and only try to use yum if dnf does not exist.
1600
1601         * gtk/install-dependencies:
1602
1603 2015-04-06  Andy Estes  <aestes@apple.com>
1604
1605         [iOS] 'make clean' fails in Tools/WebKitTestRunner
1606         https://bugs.webkit.org/show_bug.cgi?id=143455
1607
1608         Reviewed by Dan Bernstein.
1609
1610         This Makefile adds '-target WebKitTestRunnerApp' to OTHER_OPTIONS during iOS builds, but the top-level
1611         Makefile.shared adds '-alltargets' for clean builds, and xcodebuild does not allow both -target and -alltargets.
1612
1613         * WebKitTestRunner/Makefile: Don't add '-target WebKitTestRunerApp' to OTHER_OPTIONS on clean builds.
1614
1615 2015-04-06  Alexey Proskuryakov  <ap@apple.com>
1616
1617         WebKit1.SetAndUpdateCacheModelPreferencesChangeMix fails on some machines
1618         https://bugs.webkit.org/show_bug.cgi?id=143450
1619
1620         Reviewed by Anders Carlsson.
1621
1622         * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: (TestWebKitAPI::TEST):
1623         Make sure that the view is actually closed, regardless of anything else that happens beneath.
1624         Also, removed unnecessary get() calls.
1625
1626 2015-04-03  Alexey Proskuryakov  <ap@apple.com>
1627
1628         Reduce the dependency on Flash in regression tests
1629         https://bugs.webkit.org/show_bug.cgi?id=143391
1630
1631         Reviewed by Anders Carlsson.
1632
1633         * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad):
1634         Only allow QuickTime and the test plug-in.
1635
1636 2015-04-06  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1637
1638         W3C test importer should generate the modules installed dynamically to run wpt tests
1639         https://bugs.webkit.org/show_bug.cgi?id=142738
1640
1641         Reviewed by Ryosuke Niwa.
1642
1643         The test importer can now generate the submodules description file based on information extracted from the corresponding git repository.
1644         The implementation is done within TestDownloader and it is activated for the WPT repository.
1645         LayoutTests/imported/w3c/resources/WPTModules is renamed as LayoutTests/imported/w3c/resources/web-platform-tests-modules.json for that reason.
1646
1647         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1648         (WebPlatformTestServer._install_modules): Updated to cope with path as array.
1649         * Scripts/webkitpy/w3c/test_downloader.py:
1650         (TestDownloader._git_submodules_status): Added so that it can be overriden for unit tests.
1651         (TestDownloader):
1652         (TestDownloader._git_submodules_description): Computes submodule description.
1653         (TestDownloader.generate_git_submodules_description): Write submodule description in a file.
1654         * Scripts/webkitpy/w3c/test_importer.py:
1655         (TestImporter.do_import): Added the possibility to post process the tests.
1656         (TestImporter):
1657         (TestImporter.generate_git_submodules_description_for_all_repositories): Enable generating module description file.
1658         (TestImporter.should_convert_test_harness_links): Updated according new options format.
1659         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1660         (TestImporterTest.import_downloaded_tests): Making use of TestDownloaderMock. 
1661         (TestImporterTest.import_downloaded_tests.TestDownloaderMock): Added to override submodule status gathering.
1662         (TestImporterTest.import_downloaded_tests.TestDownloaderMock.__init__):
1663         (TestImporterTest.import_downloaded_tests.TestDownloaderMock._git_submodules_status):
1664         (TestImporterTest.test_submodules_generation): Added to check that modules description files works.
1665
1666 2015-04-05  Antti Koivisto  <antti@apple.com>
1667
1668         Bloom filter should support longer hashes
1669         https://bugs.webkit.org/show_bug.cgi?id=143419
1670
1671         Reviewed by Dan Bernstein.
1672
1673         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp:
1674         (TestWebKitAPI::generateRandomDigests):
1675         (TestWebKitAPI::TEST):
1676
1677 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
1678
1679         run-jsc-stress-tests --remote should add libllvmForJSC.so to the bundle on Linux
1680         https://bugs.webkit.org/show_bug.cgi?id=143372
1681
1682         Reviewed by Darin Adler.
1683
1684         * Scripts/run-jsc-stress-tests:
1685
1686 2015-04-03  Antti Koivisto  <antti@apple.com>
1687
1688         Add non-counting bloom filter class
1689         https://bugs.webkit.org/show_bug.cgi?id=143366
1690
1691         Reviewed by Sam Weinig.
1692
1693         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1694         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp: Added.
1695         (TestWebKitAPI::generateRandomHashes):
1696         (TestWebKitAPI::TEST):
1697
1698 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
1699
1700         FTL JIT tests should fail if LLVM library isn't available
1701         https://bugs.webkit.org/show_bug.cgi?id=143374
1702
1703         Reviewed by Mark Lam.
1704
1705         * Scripts/run-jsc-stress-tests:
1706
1707 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
1708
1709         [EFL] Speedup jhbuild with disable running autogen.sh
1710         https://bugs.webkit.org/show_bug.cgi?id=143369
1711
1712         Reviewed by Gyuyoung Kim.
1713
1714         * efl/jhbuild.modules:
1715
1716 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
1717
1718         filter-webkit-build should filter out "created by an unsupported XCDependencyGraph build" lines
1719         https://bugs.webkit.org/show_bug.cgi?id=143282
1720
1721         Reviewed by Daniel Bates.
1722
1723         * Scripts/filter-build-webkit: (shouldIgnoreLine): Do it.
1724
1725 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
1726
1727         When LayoutTestHelper fails to start, we continue to run the tests, ending up with mysterious failures
1728         https://bugs.webkit.org/show_bug.cgi?id=143240
1729         rdar://problem/19990425
1730
1731         Reviewed by Tim Horton.
1732
1733         * DumpRenderTree/mac/LayoutTestHelper.m:
1734         (colorProfileURLForDisplay):
1735         (saveDisplayColorProfiles):
1736         Gracefully handle it when the current profile cannot be retrieved, fixing at
1737         least one case when LayoutTestHelper couldn't start.
1738
1739         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1740         (Manager._set_up_run):
1741         (Manager._force_pixel_tests_if_needed):
1742         * Scripts/webkitpy/port/base.py: (Port.to.start_helper):
1743         * Scripts/webkitpy/port/mac.py: (MacPort.start_helper):
1744         Return and check an error from start_helper().
1745
1746 2015-04-01  Brent Fulgham  <bfulgham@apple.com>
1747
1748         [Win] Run test-webkitpy as part of EWS (just like we do on other platforms)
1749         https://bugs.webkit.org/show_bug.cgi?id=143321
1750
1751         Reviewed by Alexey Proskuryakov.
1752
1753         * EWSTools/start-queue-win.sh: Add commands to run 'test-webkitpy' during processing loop.
1754
1755 2015-04-01  Enrica Casucci  <enrica@apple.com>
1756
1757         Injected bundle messages should be at the page level.
1758         https://bugs.webkit.org/show_bug.cgi?id=143283
1759
1760         Reviewed by Alexey Proskuryakov.
1761
1762         Updating WebKitTestRunner to use the new page level messaging.
1763         The author of this patch is Tim Horton, I just finished it.
1764
1765         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1766         (WTR::EventSendingController::mouseDown):
1767         (WTR::EventSendingController::mouseUp):
1768         (WTR::EventSendingController::mouseMoveTo):
1769         (WTR::EventSendingController::leapForward):
1770         (WTR::EventSendingController::scheduleAsynchronousClick):
1771         (WTR::EventSendingController::keyDown):
1772         (WTR::EventSendingController::scheduleAsynchronousKeyDown):
1773         (WTR::EventSendingController::mouseScrollBy):
1774         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
1775         (WTR::EventSendingController::continuousMouseScrollBy):
1776         (WTR::EventSendingController::addTouchPoint):
1777         (WTR::EventSendingController::updateTouchPoint):
1778         (WTR::EventSendingController::setTouchModifier):
1779         (WTR::EventSendingController::setTouchPointRadius):
1780         (WTR::EventSendingController::touchStart):
1781         (WTR::EventSendingController::touchMove):
1782         (WTR::EventSendingController::touchEnd):
1783         (WTR::EventSendingController::touchCancel):
1784         (WTR::EventSendingController::clearTouchPoints):
1785         (WTR::EventSendingController::releaseTouchPoint):
1786         (WTR::EventSendingController::cancelTouchPoint):
1787         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1788         (WTR::InjectedBundle::didReceiveMessage):
1789         (WTR::InjectedBundle::didReceiveMessageToPage):
1790         (WTR::InjectedBundle::done):
1791         (WTR::InjectedBundle::outputText):
1792         (WTR::InjectedBundle::postNewBeforeUnloadReturnValue):
1793         (WTR::InjectedBundle::postAddChromeInputField):
1794         (WTR::InjectedBundle::postRemoveChromeInputField):
1795         (WTR::InjectedBundle::postFocusWebView):
1796         (WTR::InjectedBundle::postSetBackingScaleFactor):
1797         (WTR::InjectedBundle::postSetWindowIsKey):
1798         (WTR::InjectedBundle::postSimulateWebNotificationClick):
1799         (WTR::InjectedBundle::postSetAddsVisitedLinks):
1800         (WTR::InjectedBundle::setGeolocationPermission):
1801         (WTR::InjectedBundle::setMockGeolocationPosition):
1802         (WTR::InjectedBundle::setMockGeolocationPositionUnavailableError):
1803         (WTR::InjectedBundle::setUserMediaPermission):
1804         (WTR::InjectedBundle::setCustomPolicyDelegate):
1805         (WTR::InjectedBundle::setHidden):
1806         (WTR::InjectedBundle::setCacheModel):
1807         (WTR::InjectedBundle::shouldProcessWorkQueue):
1808         (WTR::InjectedBundle::processWorkQueue):
1809         (WTR::InjectedBundle::queueBackNavigation):
1810         (WTR::InjectedBundle::queueForwardNavigation):
1811         (WTR::InjectedBundle::queueLoad):
1812         (WTR::InjectedBundle::queueLoadHTMLString):
1813         (WTR::InjectedBundle::queueReload):
1814         (WTR::InjectedBundle::queueLoadingScript):
1815         (WTR::InjectedBundle::queueNonLoadingScript):
1816         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1817         (WTR::TestRunner::setHandlesAuthenticationChallenges):
1818         (WTR::TestRunner::setAuthenticationUsername):
1819         (WTR::TestRunner::setAuthenticationPassword):
1820         (WTR::TestRunner::secureEventInputIsEnabled):
1821         (WTR::TestRunner::setBlockAllPlugins):
1822         * WebKitTestRunner/TestController.cpp:
1823         (WTR::TestController::createWebViewWithOptions):
1824         (WTR::TestController::resetStateToConsistentValues):
1825         (WTR::TestController::didReceivePageMessageFromInjectedBundle):
1826         (WTR::TestController::didReceiveSynchronousPageMessageFromInjectedBundle):
1827         * WebKitTestRunner/TestController.h:
1828         * WebKitTestRunner/TestInvocation.cpp:
1829         (WTR::TestInvocation::invoke):
1830         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1831
1832 2015-04-01  Commit Queue  <commit-queue@webkit.org>
1833
1834         Unreviewed, rolling out r182174 and r182177.
1835         https://bugs.webkit.org/show_bug.cgi?id=143314
1836
1837         Try to correct EWS failures (Requested by bfulgham on
1838         #webkit).
1839
1840         Reverted changesets:
1841
1842         "Python SCM should be able to retrieve untracked files"
1843         https://bugs.webkit.org/show_bug.cgi?id=143135
1844         http://trac.webkit.org/changeset/182174
1845
1846         "[buildbot] clean-build script should remove untracked files
1847         and revert local changes too"
1848         https://bugs.webkit.org/show_bug.cgi?id=142400
1849         http://trac.webkit.org/changeset/182177
1850
1851 2015-04-01  Alex Christensen  <achristensen@webkit.org>
1852
1853         [Content Extensions] Properly handle regexes that match everything.
1854         https://bugs.webkit.org/show_bug.cgi?id=143281
1855
1856         Reviewed by Benjamin Poulain.
1857
1858         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1859         (TestWebKitAPI::testRequest):
1860         (TestWebKitAPI::makeBackend):
1861         (TestWebKitAPI::TEST_F):
1862         Removed duplicate code and added test.
1863
1864 2015-03-31  Benjamin Poulain  <bpoulain@apple.com>
1865
1866         Content Extensions: split the state machines to minimize prefix states
1867         https://bugs.webkit.org/show_bug.cgi?id=143253
1868
1869         Reviewed by Alex Christensen.
1870
1871         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1872         (TestWebKitAPI::TEST_F):
1873         (TestWebKitAPI::testPatternStatus):
1874
1875 2015-03-31  Yusuke Suzuki  <utatane.tea@gmail.com>
1876
1877         Clean up Identifier factories to clarify the meaning of StringImpl*
1878         https://bugs.webkit.org/show_bug.cgi?id=143146
1879
1880         Reviewed by Filip Pizlo.
1881
1882         Simple API tests for StringImpl are added.
1883
1884         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1885         (TestWebKitAPI::TEST):
1886
1887 2015-03-31  Csaba Osztrogonác  <ossy@webkit.org>
1888
1889         [EFL] Add AArch64 builder and tester bot to build.webkit.org
1890         https://bugs.webkit.org/show_bug.cgi?id=143092
1891
1892         Reviewed by Gyuyoung Kim.
1893
1894         * BuildSlaveSupport/build.webkit.org-config/config.json:
1895         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1896         (Factory.__init__):
1897         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1898
1899 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1900
1901         [buildbot] clean-build script should remove untracked files and revert local changes too
1902         https://bugs.webkit.org/show_bug.cgi?id=142400
1903
1904         Reviewed by Ryosuke Niwa.
1905
1906         This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
1907         A helper routine SCM.discard_untracked_files is added for that purpose.
1908
1909         * BuildSlaveSupport/clean-build:
1910         (main): Making call to Scripts/clean-webkit
1911         * Scripts/clean-webkit: Added.
1912         (main): Revert changes and delete untracked files.
1913         * Scripts/webkitpy/common/checkout/scm/scm.py:
1914         (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
1915         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
1916         (SCMTest._shared_test_discard_untracked_files):
1917         (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
1918
1919 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1920
1921         Python SCM should be able to retrieve untracked files
1922         https://bugs.webkit.org/show_bug.cgi?id=143135
1923
1924         Reviewed by Ryosuke Niwa.
1925
1926         This patch introduces SCM.untracked_files to retrieve a list of untracked files.
1927         Ignored files may be included or not in this list according boolean passed to the function.
1928
1929         * Scripts/webkitpy/common/checkout/scm/git.py:
1930         (Git.untracked_files):
1931         * Scripts/webkitpy/common/checkout/scm/scm.py:
1932         (SCM.untracked_files):
1933         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
1934         (SCMTest._shared_test_untracked_files):
1935         (test_untracked_files):
1936         (GitSVNTest.test_untracked_files):
1937         * Scripts/webkitpy/common/checkout/scm/svn.py:
1938         (SVN.untracked_files):
1939
1940 2015-03-30  Alex Christensen  <achristensen@webkit.org>
1941
1942         [Content Extensions] Correctly handle regular expressions matching everything
1943         https://bugs.webkit.org/show_bug.cgi?id=143235
1944
1945         Reviewed by Benjamin Poulain.
1946
1947         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1948         (TestWebKitAPI::checkCompilerError):
1949         (TestWebKitAPI::TEST_F):
1950         Test ContentExtensionErrors.
1951
1952 2015-03-30  Alexey Proskuryakov  <ap@apple.com>
1953
1954         DumpRenderTree should set NSWindowDisplayWithRunLoopObserver
1955         https://bugs.webkit.org/show_bug.cgi?id=143241
1956         rdar://problem/20351297
1957
1958         Reviewed by Mark Lam.
1959
1960         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
1961
1962 2015-03-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1963
1964         [CMake][EFL] Remove redundant library link and include path
1965         https://bugs.webkit.org/show_bug.cgi?id=143221
1966
1967         Reviewed by Csaba Osztrogonác.
1968
1969         * ImageDiff/PlatformEfl.cmake: Remove unnecessary library link and include path.
1970
1971 2015-03-30  Sam Weinig  <sam@webkit.org>
1972
1973         [Content Extensions] Flesh out the UserContentExtensionStore
1974         https://bugs.webkit.org/show_bug.cgi?id=143123
1975
1976         Reviewed by Benjamin Poulain.
1977
1978         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1979         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Added.
1980         Add tests for _WKUserContentExtensionStore.
1981
1982 2015-03-30  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
1983
1984         Update install-dependencies Fedora packages after r181624
1985         https://bugs.webkit.org/show_bug.cgi?id=143215
1986
1987         Add json-glib, libv4l, openssl and pulseaudio development packages to
1988         the Fedora list providing we need them to build WebKit dependencies
1989         for this distribution.
1990
1991         Reviewed by Philippe Normand.
1992
1993         * gtk/install-dependencies:
1994
1995 2015-03-30  Commit Queue  <commit-queue@webkit.org>
1996
1997         Unreviewed, rolling out r182119.
1998         https://bugs.webkit.org/show_bug.cgi?id=143196
1999
2000         problem with syntax (Requested by youenn on #webkit).
2001
2002         Reverted changeset:
2003
2004         "[buildbot] clean-build script should remove untracked files
2005         and revert local changes too"
2006         https://bugs.webkit.org/show_bug.cgi?id=142400
2007         http://trac.webkit.org/changeset/182119
2008
2009 2015-03-30  Benjamin Poulain  <benjamin@webkit.org>
2010
2011         Start the features.json files
2012         https://bugs.webkit.org/show_bug.cgi?id=143207
2013
2014         Reviewed by Darin Adler.
2015
2016         I kept the style checking light. We'll have to figure
2017         what is the best format for each field.
2018
2019         * Scripts/webkitpy/style/checker.py:
2020         (CheckerDispatcher._create_checker):
2021         * Scripts/webkitpy/style/checkers/jsonchecker.py:
2022         (JSONContributorsChecker.check):
2023         (JSONFeaturesChecker):
2024         (JSONFeaturesChecker.check):
2025
2026 2015-03-29  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2027
2028         [buildbot] clean-build script should remove untracked files and revert local changes too
2029         https://bugs.webkit.org/show_bug.cgi?id=142400
2030
2031         Reviewed by Ryosuke Niwa.
2032
2033         This patch cleans the WebKit folder by deleting SCM untracked files and reverting changes for tracked files.
2034
2035         * BuildSlaveSupport/clean-build:
2036         (main): Adding call to Tools/Scripts/clean-webkit.
2037         * Scripts/clean-webkit: Added.
2038         (main): Removes untracked and changed files.
2039         * Scripts/webkitpy/common/checkout/scm/git.py:
2040         (Git.untracked_files): Retrieves GIT untracked files.
2041         * Scripts/webkitpy/common/checkout/scm/scm.py:
2042         (SCM.untracked_files): Retrieves SVN untracked files.
2043         (SCM):
2044         (SCM.discard_untracked_files): Deletes untracked files/folders.
2045         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2046         (SCMTest._shared_test_untracked_files): Unit testing for untracked files.
2047         (test_untracked_files):
2048         (GitSVNTest.test_untracked_files):
2049         * Scripts/webkitpy/common/checkout/scm/svn.py:
2050         (SVN.untracked_files):
2051
2052 2015-03-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2053
2054         [CMake] Remove unnecessary INCLUDE_IF_EXISTS macro 
2055         https://bugs.webkit.org/show_bug.cgi?id=143138
2056
2057         Reviewed by Csaba Osztrogonác.
2058
2059         INCLUDE_IF_EXISTS isn't used except for 2 places. However those uses can
2060         be replaced with WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS.
2061
2062         * ImageDiff/CMakeLists.txt:
2063         Use WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() instead of INCLUDE_IF_EXISTS.
2064         * WebKitTestRunner/CMakeLists.txt: ditto.
2065
2066 2015-03-27  Myles C. Maxfield  <mmaxfield@apple.com>
2067
2068         Support building WTF on Windows without Cygwin
2069         https://bugs.webkit.org/show_bug.cgi?id=143084
2070
2071         Reviewed by Brent Fulgham.
2072
2073         Windows without Cygwin doesn't have curl, unzip, or grep. Luckily, Perl does all of these things.
2074         This patch also migrates to using File::Spec->catfile() for directory separators.
2075
2076         * Scripts/update-webkit-dependency:
2077         (wanted):
2078         * Scripts/update-webkit-support-libs:
2079         (wanted):
2080         (downloadExpectedVersionNumber):
2081         (zipFileVersion):
2082         (toUnixPath): Deleted.
2083         * Scripts/webkitdirs.pm:
2084         (determineSourceDir):
2085         (windowsSourceSourceDir):
2086         (windowsLibrariesDir):
2087         (windowsOutputDir):
2088         (checkInstalledTools):
2089         (buildVisualStudioProject):
2090
2091 2015-03-27  Alex Christensen  <achristensen@webkit.org>
2092
2093         Fix WinCairo bot.
2094         https://bugs.webkit.org/show_bug.cgi?id=143086
2095
2096         Reviewed by Brent Fulgham.
2097
2098         * Scripts/webkitdirs.pm:
2099         (buildVisualStudioProject):
2100         (runSvnUpdateAndResolveChangeLogs):
2101         Use ActivePerl-friendly perl.
2102
2103 2015-03-27  Csaba Osztrogonác  <ossy@webkit.org>
2104
2105         URTBF after r182059 to fix the EFL build.
2106
2107         * TestWebKitAPI/CMakeLists.txt:
2108
2109 2015-03-26  Alexey Proskuryakov  <ap@apple.com>
2110
2111         Layout test results URL loads in WK1 but not WK2 minibrowser
2112         https://bugs.webkit.org/show_bug.cgi?id=143117
2113
2114         Reviewed by Tim Horton.
2115
2116         * MiniBrowser/mac/WK2BrowserWindowController.m:
2117         (-[WK2BrowserWindowController fetch:]): Fix this, international domain names, and
2118         everything.
2119         (-[WK2BrowserWindowController updateTextFieldFromURL:]): Ditto.
2120
2121 2015-03-26  Jer Noble  <jer.noble@apple.com>
2122
2123         Add --allowed-host support to run-webkit-tests
2124         https://bugs.webkit.org/show_bug.cgi?id=142938
2125
2126         Reviewed by Brent Fulgham.
2127
2128         Accept --allowed-host arguments from run-webkit-tests and pass them through to
2129         DumpRenderTree and WebKitTestRunner.
2130
2131         Drive-by fix: Depending on the value of the --layout-test-dir parameter, layout test results
2132         are placed in the wrong location. The argument is compared with each tests's path, and if a
2133         relative path or a path with '..' was used, results are placed alongside the test. Take the
2134         absolute path of the --layout-test-dir argument, collapsing path components like '..'.
2135
2136         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2137         (parse_args):
2138         * Scripts/webkitpy/port/base.py:
2139         (Port.__init__):
2140         (Port.allowed_hosts):
2141         * Scripts/webkitpy/port/driver.py:
2142         (Driver.cmd_line):
2143
2144 2015-03-26  Jer Noble  <jer.noble@apple.com>
2145
2146         [Mac] Add an --allowed-host argument to DRT and WKTR to allow tests to connect to non-localhost servers
2147         https://bugs.webkit.org/show_bug.cgi?id=142931
2148
2149         Reviewed by Brent Fulgham.
2150
2151         Currently, both DRT and WKTR will refuse to allow network connections to non-localhost servers
2152         over HTTP/HTTPS. For certain testing scenarios, however, it would be useful if both DRT and
2153         WKTR could be allowed to make HTTP/HTTPS connections to certain, specific servers defined at
2154         runtime.
2155
2156         To allow this, add an optional argument to DRT and WKTR, --allowed-host, which will add the specified
2157         hostname to a whitelist; requests to these hosts will allowed to proceed normally.
2158
2159         Drive-by fix: in InjectedBundlePage::willSendRequestForFrame, we get the top loading frame from the
2160         injected bundle. But after the main resource load completes, the bundle nulls out it's pointer to the
2161         top loading frame, which causes a subsequent crash when further resources are requested. Instead, get
2162         the top loading frame from the page, as we do elsewhere in this class.
2163
2164         * DumpRenderTree/TestRunner.h:
2165         (TestRunner::allowedHosts):
2166         (TestRunner::setAllowedHosts):
2167         * DumpRenderTree/mac/DumpRenderTree.mm:
2168         (initializeGlobalsFromCommandLineOptions):
2169         (runTest):
2170         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2171         (isAllowedHost):
2172         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2173         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2174         (WTR::InjectedBundle::didReceiveMessage):
2175         (WTR::InjectedBundle::isAllowedHost):
2176         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2177         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2178         (WTR::isAllowedHost):
2179         (WTR::InjectedBundlePage::willSendRequestForFrame):
2180         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2181         * WebKitTestRunner/Options.cpp:
2182         (WTR::handleOptionAllowedHost):
2183         (WTR::OptionsHandler::OptionsHandler):
2184         * WebKitTestRunner/Options.h:
2185         * WebKitTestRunner/TestController.cpp:
2186         (WTR::TestController::initialize):
2187         (WTR::TestController::resetStateToConsistentValues):
2188         * WebKitTestRunner/TestController.h:
2189
2190 2015-03-26  Brady Eidson  <beidson@apple.com>
2191
2192         Apply ContentExtension actions after redirects.
2193         <rdar://problem/20062613> and https://bugs.webkit.org/show_bug.cgi?id=143055
2194
2195         Reviewed by Alex Christensen.
2196
2197         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2198         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): Dump the fact that the load error is kWKErrorCodeCannotShowURL
2199           which is specifically interesting to a new test.
2200
2201 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
2202
2203         [EFL] Disable building libseccomp on AArch64
2204         https://bugs.webkit.org/show_bug.cgi?id=143094
2205
2206         Reviewed by Gyuyoung Kim.
2207
2208         * efl/jhbuildrc:
2209
2210 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
2211
2212         [jhbuild] git should use only 1 thread for cloning jhbuild
2213         https://bugs.webkit.org/show_bug.cgi?id=143095
2214
2215         Reviewed by Gyuyoung Kim.
2216
2217         * jhbuild/jhbuild-wrapper:
2218         (clone_jhbuild):
2219
2220 2015-03-25  Joseph Pecoraro  <pecoraro@apple.com>
2221
2222         Update prepare-ChangeLog to work with ES6 Class syntax
2223         https://bugs.webkit.org/show_bug.cgi?id=143069
2224
2225         Reviewed by Timothy Hatcher.
2226
2227         * Scripts/prepare-ChangeLog:
2228         (get_function_line_ranges_for_javascript):
2229         Better handle ES6 Class syntax.
2230
2231         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
2232         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
2233         (BaseClass):
2234         (DerivedClass):
2235         (DerivedClass.staticMethod):
2236         (DerivedClass.prototype.method.nestedFunctionInsideMethod):
2237         (DerivedClass.prototype.method):
2238         (DerivedClass.prototype.get getter):
2239         (namespace.MyClass):
2240         (namespace.MyClass.staticMethod):
2241         (namespace.MyClass.prototype.method.nestedFunctionInsideMethod):
2242         (namespace.MyClass.prototype.method):
2243         (namespace.MyClass.prototype.get getter):
2244         Proof!
2245
2246 2015-03-25  Filip Pizlo  <fpizlo@apple.com>
2247
2248         Use JITCompilationCanFail in more places, and make the fail path of JITCompilationMustSucceed a crash instead of attempting GC
2249         https://bugs.webkit.org/show_bug.cgi?id=142993
2250
2251         Reviewed by Mark Lam.
2252         
2253         Bunch of support for testing executable allocation failure.
2254
2255         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz: Added.
2256         (fail):
2257         * Scripts/run-javascriptcore-tests:
2258         (runJSCStressTests):
2259         * Scripts/run-jsc-stress-tests:
2260
2261 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
2262
2263         Fix Windows build from r181977.
2264
2265         Unreviewed.
2266
2267         * Scripts/update-webkit-dependency:
2268
2269 2015-03-25  Sam Weinig  <sam@webkit.org>
2270
2271         Address additional review feedback from https://bugs.webkit.org/show_bug.cgi?id=143059.
2272
2273         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2274         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
2275
2276 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
2277
2278         Migrate update-webkit for Windows to not require Cygwin
2279         https://bugs.webkit.org/show_bug.cgi?id=143040
2280
2281         Reviewed by Brent Fulgham.
2282
2283         * Scripts/update-webkit-dependency:
2284         (wanted):
2285         (toUnixPath): Deleted.
2286         * Scripts/webkitdirs.pm:
2287         (fontExists):
2288         (checkInstalledTools):
2289         (setupAppleWinEnv):
2290
2291 2015-03-25  Sam Weinig  <sam@webkit.org>
2292
2293         [Content Extensions] Convert content extension compiling to return error codes and write its output using a client
2294         https://bugs.webkit.org/show_bug.cgi?id=143059
2295
2296         Reviewed by Alex Christensen.
2297
2298         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2299         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
2300         Update for new interface of compileRuleList().
2301
2302 2015-03-25  Alex Christensen  <achristensen@webkit.org>
2303
2304         [Content Extensions] Add multi-DFA compiling and interpreting.
2305         https://bugs.webkit.org/show_bug.cgi?id=143010
2306
2307         Reviewed by Benjamin Poulain.
2308
2309         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2310         (TestWebKitAPI::testRequest):
2311         (TestWebKitAPI::TEST_F):
2312         Add some tests for ignore-previous-rules and large rulesets.
2313
2314 2015-03-25  Alexey Proskuryakov  <ap@apple.com>
2315
2316         Mavericks WK1 still runs JSC tests
2317         https://bugs.webkit.org/show_bug.cgi?id=143035
2318
2319         Reviewed by Csaba Osztrogonác.
2320
2321         * BuildSlaveSupport/build.webkit.org-config/config.json: Bring Mavericks WK1 in line
2322         with other bots.
2323
2324         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated the tests
2325         accordingly.
2326
2327 2015-03-25  Commit Queue  <commit-queue@webkit.org>
2328
2329         Unreviewed, rolling out r181932.
2330         https://bugs.webkit.org/show_bug.cgi?id=143041
2331
2332         The test fails most of the time on bots (Requested by ap on
2333         #webkit).
2334
2335         Reverted changeset:
2336
2337         "[Content Extensions] Add multi-DFA compiling and
2338         interpreting."
2339         https://bugs.webkit.org/show_bug.cgi?id=143010
2340         http://trac.webkit.org/changeset/181932
2341
2342 2015-03-24  Alex Christensen  <achristensen@webkit.org>
2343
2344         [Content Extensions] Add multi-DFA compiling and interpreting.
2345         https://bugs.webkit.org/show_bug.cgi?id=143010
2346
2347         Reviewed by Benjamin Poulain.
2348
2349         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2350         (TestWebKitAPI::testRequest):
2351         (TestWebKitAPI::TEST_F):
2352         Add some tests for ignore-previous-rules and large rulesets.
2353
2354 2015-03-24  Benjamin Poulain  <bpoulain@apple.com>
2355
2356         Make URL filter patterns matching consistent and add a simple canonicalization step
2357         https://bugs.webkit.org/show_bug.cgi?id=142998
2358
2359         Reviewed by Alex Christensen.
2360
2361         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2362
2363 2015-03-24  Csaba Osztrogonác  <ossy@webkit.org>
2364
2365         [EFL] Add OpenWebRTC in jhbuild
2366         https://bugs.webkit.org/show_bug.cgi?id=142778
2367
2368         Reviewed by Gyuyoung Kim.
2369
2370         Original patch by Philippe Normand <pnormand@igalia.com>
2371
2372         * efl/install-dependencies: Dependencies for OpenWebRTC.
2373         * efl/jhbuild.modules: build OpenWebRTC, libusrsctp, libnice and
2374         the openwebrtc gst plugins.
2375
2376 2015-03-23  Brent Fulgham  <bfulgham@apple.com>
2377
2378         Regression(r181257): WTF_WorkQueue.Simple is flaky
2379         https://bugs.webkit.org/show_bug.cgi?id=142560
2380
2381         Remove the check that the refCount has returned to one after the
2382         individual tasks have completed. It's too nondeterministic when
2383         the reference count will be reduced.
2384
2385         Reviewed by Alexey Proskuryakov
2386
2387         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
2388         (TestWebKitAPI::TEST): Remove test that refCount is back to 1.
2389
2390 2015-03-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2391
2392         [CMake][EFL] Put failure API test excutables into failure directory
2393         https://bugs.webkit.org/show_bug.cgi?id=142965
2394
2395         Reviewed by Csaba Osztrogonác.
2396
2397         Move failing WK2 API test executables to *bin/TestWebKitAPI/WebKit2/failure* directory.
2398
2399         * TestWebKitAPI/CMakeLists.txt: Fix a typo. Change *testBaseName* with *testName*.
2400         * TestWebKitAPI/PlatformEfl.cmake: Additionally remove unnecessary SHARED_CORE and comment for SeccompFilters test.
2401
2402 2015-03-22  Benjamin Poulain  <benjamin@webkit.org>
2403
2404         CSS Selectors: fix attribute case-insensitive matching of Contain and List
2405         https://bugs.webkit.org/show_bug.cgi?id=142932
2406
2407         Reviewed by Darin Adler.
2408
2409         Add tests for the new features and fix some existing tests using the 
2410         stringFromUTF8() utility recently added by Dhi.
2411
2412         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2413         (TestWebKitAPI::stringFromUTF8):
2414         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2415
2416 2015-03-22  Michael Catanzaro  <mcatanzaro@igalia.com>
2417
2418         [GTK] install-dependencies should install orc
2419         https://bugs.webkit.org/show_bug.cgi?id=142955
2420
2421         Reviewed by Martin Robinson.
2422
2423         Install orc, needed by openwebrtc
2424
2425         * gtk/install-dependencies:
2426
2427 2015-03-22  Benjamin Poulain  <bpoulain@apple.com>
2428
2429         Detect when url filter pattern with groups match the empty string
2430         https://bugs.webkit.org/show_bug.cgi?id=142930
2431
2432         Reviewed by Sam Weinig.
2433
2434         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2435
2436 2015-03-22  Anders Carlsson  <andersca@apple.com>
2437
2438         _WKWebsiteDataStore should clear WebSQL databases
2439         https://bugs.webkit.org/show_bug.cgi?id=142947
2440
2441         Reviewed by Sam Weinig.
2442
2443         Add a variable that keeps track of the types of data we want to operate on, for easier debugging.
2444
2445         * MiniBrowser/mac/WK2BrowserWindowController.m:
2446         (-[WK2BrowserWindowController fetchWebsiteData:]):
2447         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
2448         (-[WK2BrowserWindowController clearWebsiteData:]):
2449
2450 2015-03-20  Mark Hahnenberg  <mhahnenb@gmail.com>
2451
2452         GCTimer should know keep track of nested GC phases
2453         https://bugs.webkit.org/show_bug.cgi?id=142675
2454
2455         Reviewed by Darin Adler.
2456
2457         Adds a tool to aid in parsing the GC phase timing output into a
2458         tree-like structure based on the parent-child relationships
2459         of nested GC phases.
2460
2461         * Scripts/parse-gc-phase-timings: Added.
2462         (Timing):
2463         (Timing.__init__):
2464         (Timing.__unicode__):
2465         (Timing.__str__):
2466         (Timing.__repr__):
2467         (parse_input):
2468         (print_timing_node):
2469         (print_timing_tree):
2470         (link_parents):
2471         (main):
2472
2473 2015-03-20  Brent Fulgham  <bfulgham@apple.com>
2474
2475         [Win] Temporarily turn of EWS Windows tests while I debug the test failure.
2476
2477         * Scripts/webkitpy/common/config/ews.json:
2478
2479 2015-03-20  Philippe Normand  <pnormand@igalia.com>
2480
2481         [GTK][jhbuild] Fix flakey failures due to unstable googlecode repository
2482         https://bugs.webkit.org/show_bug.cgi?id=142867
2483
2484         Rubber-stamped by Csaba Osztrogon.
2485
2486         * gtk/jhbuild.modules: Use Ossy's libusrsctp Github fork. Also use
2487         a fixed revision for the openwebrtc-gst-plugins.
2488
2489 2015-03-19  Ryosuke Niwa  <rniwa@webkit.org>
2490
2491         Unreviewed build fix. Don't try to report stats for all benchmarks.
2492         Just report the geometric mean of preferred means.
2493
2494         * Scripts/run-jsc-benchmarks:
2495
2496 2015-03-19  Ryosuke Niwa  <rniwa@webkit.org>
2497
2498         run-jsc-benchmarks should only report preferred mean
2499         https://bugs.webkit.org/show_bug.cgi?id=142874
2500
2501         Reviewed by Geoffrey Garen.
2502
2503         Just collect statistics for the preferred mean.
2504
2505         * Scripts/run-jsc-benchmarks:
2506
2507 2015-03-19  Alex Christensen  <achristensen@webkit.org>
2508
2509         [Content Extensions] Test regular expression parse failures.
2510         https://bugs.webkit.org/show_bug.cgi?id=142872
2511
2512         Reviewed by Benjamin Poulain.
2513
2514         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2515         (TestWebKitAPI::testPatternStatus):
2516         (TestWebKitAPI::TEST_F):
2517         Added tests for each parsing status.
2518
2519 2015-03-19  Alex Christensen  <achristensen@webkit.org>
2520
2521         Fix API tests after r181754.
2522
2523         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2524         (TestWebKitAPI::testRequest):
2525
2526 2015-03-19  Brady Eidson  <beidson@apple.com>
2527
2528         Part of content extensions should apply css selectors
2529         https://bugs.webkit.org/show_bug.cgi?id=142604
2530
2531         Reviewed by Alex Christensen.
2532
2533         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2534         (WebCore::ContentExtensions::operator<<):
2535
2536 2015-03-19  Brent Fulgham  <bfulgham@apple.com>
2537
2538         [Win] Activate tests on EWS
2539         https://bugs.webkit.org/show_bug.cgi?id=142850
2540
2541         Reviewed by Alexey Proskuryakov.
2542
2543         * Scripts/webkitpy/common/config/ews.json: Add me as
2544         the EWS bot watcher, and activate tests.
2545
2546 2015-03-19  Csaba Osztrogonác  <ossy@webkit.org>
2547
2548         [GTK] Fix inspector userinterface related incremental build issue
2549         https://bugs.webkit.org/show_bug.cgi?id=142849
2550
2551         Reviewed by Carlos Garcia Campos.
2552
2553         * Scripts/webkitdirs.pm:
2554         (shouldRemoveCMakeCache):
2555
2556 2015-03-18  Alex Christensen  <achristensen@webkit.org>
2557
2558         [ContentExtensions] Prepare for compiling stylesheets of selectors to be used on every page.
2559         https://bugs.webkit.org/show_bug.cgi?id=142799
2560
2561         Reviewed by Brady Eidson.
2562
2563         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2564         (TestWebKitAPI::testPattern):
2565         (TestWebKitAPI::TEST_F):
2566         Start testing regex failures.
2567
2568 2015-03-18  Dhi Aurrahman  <diorahman@rockybars.com>
2569
2570         Fix StringView typos after r181525 and r181558
2571         https://bugs.webkit.org/show_bug.cgi?id=142772
2572
2573         Reviewed by Darin Adler.
2574
2575         Add some tests in [1] to cover the StringView::startsWith, 
2576         StringView::startsWithIgnoringASCIICase, StringView::endsWith and 
2577         StringView::endsWithIgnoringASCIICase implementations.
2578
2579         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2580         (TestWebKitAPI::TEST):
2581
2582 2015-03-18  Dana Burkart  <dburkart@apple.com>
2583
2584         Remove extraneous import to fix the build.
2585
2586         Unreviewed.
2587
2588         * Scripts/webkitpy/port/driver.py:
2589
2590 2015-03-18  Dana Burkart  <dburkart@apple.com>
2591
2592         ASAN_OPTIONS=allocator_may_return_null=1 needs to be set 
2593         https://bugs.webkit.org/show_bug.cgi?id=142547
2594
2595         Reviewed by Alexey Proskuryakov.
2596
2597         * Scripts/webkitpy/port/driver.py:
2598         (Driver._setup_environ_for_driver):
2599
2600 2015-03-18  Alexey Proskuryakov  <ap@apple.com>
2601
2602         Tweak how AppleSystemFontOSSubversion default is added
2603         https://bugs.webkit.org/show_bug.cgi?id=142835
2604
2605         Reviewed by Dan Bernstein.
2606
2607         * DumpRenderTree/mac/DumpRenderTree.mm:
2608         (setDefaultsToConsistentValuesForTesting):
2609
2610 2015-03-18  Dan Bernstein  <mitz@apple.com>
2611
2612         prepare-ChangeLog doesn't understand C string literals split across multiple lines with \
2613         https://bugs.webkit.org/show_bug.cgi?id=142815
2614
2615         Reviewed by Darin Adler.
2616
2617         * Scripts/prepare-ChangeLog:
2618         (get_function_line_ranges_for_cpp): If the line ends with a backslash instead of a matching
2619         quotation mark, use new variable $quotation_mark to remember what we are looking for, and
2620         keep consuming the quoted text until the matching quotation mark is reached. Emit the
2621         warning only if a line ends without a backslash before the matching quotation mark was found.
2622
2623 2015-03-18  Joseph Pecoraro  <pecoraro@apple.com>
2624
2625         Remove unused "preprocessor" parameter to sub-CodeGenerators
2626         https://bugs.webkit.org/show_bug.cgi?id=142793
2627
2628         Reviewed by Darin Adler.
2629
2630         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2631         (new):
2632
2633 2015-03-18  Csaba Osztrogonác  <ossy@webkit.org>
2634
2635         [EFL] Bump gstreamer version to 1.4.4
2636         https://bugs.webkit.org/show_bug.cgi?id=142782
2637
2638         Reviewed by Philippe Normand.
2639
2640         * efl/jhbuild.modules:
2641         * efl/patches/gst-libav.patch:
2642         * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Added.
2643         * efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
2644
2645 2015-03-17  Tim Horton  <timothy_horton@apple.com>
2646
2647         Fix the iOS build.
2648
2649         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
2650         (WTR::InjectedBundle::platformInitialize):
2651
2652 2015-03-17  Dean Jackson  <dino@apple.com>
2653
2654         check-webkit-style should allow "bool a : 1"
2655         https://bugs.webkit.org/show_bug.cgi?id=142794
2656
2657         Reviewed by Brent Fulgham.
2658
2659         We should allow member bitfields of the form:
2660
2661         bool m_var : 1;
2662
2663         It seems that Visual Studio 8 was the last compiler that
2664         wasn't happy about not using unsigned here. We already have
2665         about 500 cases (in WebCore) where people were ignoring this rule.
2666
2667         * Scripts/webkitpy/style/checkers/cpp.py:
2668         (check_language): Allow "bool".
2669         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add tests.
2670         (CppStyleTest.test_enum_bitfields):
2671         (CppStyleTest.test_plain_integral_bitfields):
2672
2673 2015-03-17  Benjamin Poulain  <bpoulain@apple.com>
2674
2675         Compile character ranges targeting the same state as range check in the bytecode
2676         https://bugs.webkit.org/show_bug.cgi?id=142759
2677
2678         Reviewed by Alex Christensen.
2679
2680         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2681         (TestWebKitAPI::TEST_F):
2682
2683 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2684
2685         W3C test parser and converter should use test importer host
2686         https://bugs.webkit.org/show_bug.cgi?id=142729
2687
2688         Reviewed by Bem Jones-Bey.
2689
2690         When instantiated by TestImporter, TestParser and TestConverter are now using the same host.
2691         This enables adding more TestImporter unit testing.
2692         This patch also ensures that the git object instantiated by TestDownloader is using the
2693         same Executive and FileSystem object as TestDownloader, again to enable TestImporter/TestDownloader unit testing.
2694
2695         * Scripts/webkitpy/common/system/filesystem_mock.py:
2696         (MockFileSystem.copytree): Fixes implementation as it creates a runtime error.
2697         * Scripts/webkitpy/w3c/test_downloader.py:
2698         (TestDownloader.git): Set the executive of the git object to the one of TestDownloader. Refactoring in a new git function for future reuse.
2699         (TestDownloader.checkout_test_repository): Making use of the new git function.
2700         * Scripts/webkitpy/w3c/test_importer.py:
2701         (TestImporter.find_importable_tests): Adding host as parameter to the parser.
2702         (TestImporter.import_tests): Adding host as parameter to the converter.
2703         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2704         (TestImporterTest.create_test_download_importer): Creating a test downloader mock, to be reused by other tests.
2705         (TestImporterTest):
2706         (TestImporterTest.test_harnesslinks_conversion): Adding test to check that test harness links are converted for CSS tests but not WPT tests. 
2707         * Scripts/webkitpy/w3c/test_parser.py:
2708         (TestParser.__init__): Adding host as parameter constructor.
2709
2710 2015-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2711
2712         [GTK] WebKitDOM objects leaking
2713         https://bugs.webkit.org/show_bug.cgi?id=118788
2714
2715         Reviewed by Darin Adler and Sergio Villar Senin.
2716
2717         Update DOMObjectCache unit test to check that DOM objects are also
2718         released when new contents are loaded in the web view, and the old
2719         document is detached from the frame.
2720
2721         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
2722         (testWebKitDOMObjectCache):
2723         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
2724         (runTest):
2725
2726 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2727
2728         W3C test importer default import folder should be LayoutTests/imported/w3c
2729         https://bugs.webkit.org/show_bug.cgi?id=142728
2730
2731         Reviewed by Bem Jones-Bey.
2732
2733         * Scripts/webkitpy/w3c/test_importer.py:
2734         (parse_args): Updating the default destination option value to 'imported/w3c'.
2735
2736 2015-03-17  Philippe Normand  <pnormand@igalia.com>
2737
2738         [GTK] basic OpenWebRTC build support
2739         https://bugs.webkit.org/show_bug.cgi?id=142393
2740
2741         Reviewed by Carlos Garcia Campos.
2742
2743         * gtk/jhbuild.modules: Add OpenWebRTC and its dependencies. This
2744         is not the upstream OpenWebRTC repository. This temporary fork
2745         contains a few patches needed by WebKit for audio/video rendering.
2746
2747 2015-03-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2748
2749         [CMake][EFL] Build test tools only for developer mode
2750         https://bugs.webkit.org/show_bug.cgi?id=142761
2751
2752         Reviewed by Csaba Osztrogonác.
2753
2754         Do not build EFL MiniBrowser, WebKitTestRunner, and ImageDiff on production mode.
2755
2756         * CMakeLists.txt:
2757
2758 2015-03-17  Joseph Pecoraro  <pecoraro@apple.com>
2759
2760         Remove never used "useLayerOnTop" bindings generator argument
2761         https://bugs.webkit.org/show_bug.cgi?id=142773
2762
2763         Reviewed by Darin Adler.
2764
2765         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2766         (new):
2767
2768 2015-03-16  Ryosuke Niwa  <rniwa@webkit.org>
2769
2770         Enable ES6 classes by default
2771         https://bugs.webkit.org/show_bug.cgi?id=142774
2772
2773         Reviewed by Gavin Barraclough.
2774
2775         * Scripts/webkitperl/FeatureList.pm:
2776
2777 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
2778
2779         Fix webkitpy tests after r181585.
2780
2781         Looks like "me" cannot be anyone's email, it's a special case.
2782
2783         * Scripts/webkitpy/common/config/contributors.json:
2784
2785 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
2786
2787         Add tolerance to WebAudio tests
2788         https://bugs.webkit.org/show_bug.cgi?id=142676
2789
2790         Reviewed by Tim Horton.
2791
2792         * Scripts/webkitpy/common/wavediff.py: Added. Based on Jer Noble's work.
2793
2794         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
2795         (TestResultWriter.create_audio_diff_and_write_result):
2796         * Scripts/webkitpy/layout_tests/models/test_failures.py:
2797         (FailureAudio.write_failure):
2798         * Scripts/webkitpy/port/base.py:
2799         (Port.do_audio_results_differ):
2800         Diff audio failures.
2801
2802         * Scripts/webkitpy/port/test.py: Added a test for the tolerance, fixed existing
2803         tests to use real parseable WAV data, and got rid of base64, which there didn't
2804         seem to have been any reason for.
2805
2806 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
2807
2808         [Mac] fast/forms/text-control-intrinsic-widths.html fails when MS Office is installed
2809         https://bugs.webkit.org/show_bug.cgi?id=142720
2810
2811         Reviewed by Myles C. Maxfield.
2812
2813         Activate system copies of Microsoft fonts for the current process, thus overriding
2814         any other ones that could be preferred by the system otherwise.
2815
2816         * DumpRenderTree/mac/DumpRenderTree.mm:
2817         (activateSystemCoreWebFonts):
2818         (adjustFonts):
2819         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
2820         (WTR::activateSystemCoreWebFonts):
2821         (WTR::activateFonts):
2822
2823 2015-03-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2824
2825         Created Streams API watchlist
2826         https://bugs.webkit.org/show_bug.cgi?id=142684
2827
2828         Reviewed by Benjamin Poulain.
2829
2830         * Scripts/webkitpy/common/config/watchlist: Created StreamsAPI
2831         watchlist and added Benjamin, Youenn and me to it.
2832
2833 2015-03-15  Benjamin Poulain  <benjamin@webkit.org>
2834
2835         CSS: fix the case-insensitive matching of the attribute selectors Begin, End and Hyphen
2836         https://bugs.webkit.org/show_bug.cgi?id=142715
2837
2838         Reviewed by Brent Fulgham.
2839
2840         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2841         (TestWebKitAPI::TEST):
2842
2843 2015-03-15  Benjamin Poulain  <bpoulain@apple.com>
2844
2845         Change the exact attribute matching to be ASCII case-insensitive
2846         https://bugs.webkit.org/show_bug.cgi?id=142609
2847
2848         Reviewed by Darin Adler.
2849
2850         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2851         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2852
2853 2015-03-13  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2854
2855         WebKit test infrastructure should automate the process of cloning W3C test suite and importing tests from it
2856         https://bugs.webkit.org/show_bug.cgi?id=134764
2857
2858         Reviewed by Ryosuke Niwa.
2859
2860         TestDownloader is introduced to download W3C tests from the official
2861         W3C tests repositories (https://github.com/w3c/web-platform-tests.git
2862         and https://github.com/w3c/csswg-test.git).
2863         TestDownloader clones the repositories and checkouts revisions of the tests
2864         defined in LayoutTests/imported/w3c/resources/TestRepositories.
2865
2866         Similarly to https://codereview.chromium.org/148173016,
2867         TestDownloader copies part of the files based on the rules
2868         defined in LayoutTests/imported/w3c/resources/ImportExpectations.
2869
2870         TestDownloader is used by TestImporter when no source directory is provided.
2871
2872         * Scripts/webkitpy/w3c/test_downloader.py: Added.
2873         (TestDownloader):
2874         (TestDownloader.default_options):
2875         (TestDownloader.load_test_repositories):
2876         (TestDownloader.__init__):
2877         (TestDownloader.checkout_test_repository):
2878         (TestDownloader._init_paths_from_expectations):
2879         (TestDownloader._add_test_suite_paths):
2880         (TestDownloader._empty_directory):
2881         (TestDownloader.copy_tests):
2882         (TestDownloader.download_tests):
2883         * Scripts/webkitpy/w3c/test_importer.py:
2884         (main):
2885         (parse_args):
2886         (TestImporter.__init__):
2887         (TestImporter.do_import):
2888         (TestImporter.test_downloader):
2889         (TestImporter.find_importable_tests.should_keep_subdir):
2890         (TestImporter.should_convert_test_harness_links):
2891         (TestImporter.import_tests):
2892         (TestImporter.write_import_log):
2893
2894 2015-03-12  Alexey Proskuryakov  <ap@apple.com>
2895
2896         [Mavericks] Test snapshots are 1600x1200 on Retina devices
2897         https://bugs.webkit.org/show_bug.cgi?id=142630
2898
2899         Reviewed by Tim Horton.
2900
2901         * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
2902         Removed an ifdef that disabled the fix on Mavericks.
2903
2904 2015-03-12  Csaba Osztrogonác  <ossy@webkit.org>
2905
2906         Remove isWK2 cruft from webkitdirs.pm after r170426
2907         https://bugs.webkit.org/show_bug.cgi?id=142618
2908
2909         Reviewed by Daniel Bates.
2910
2911         * Scripts/webkitdirs.pm:
2912         (isWK2): Deleted.
2913
2914 2015-03-12  Alexey Proskuryakov  <ap@apple.com>
2915
2916         testRunner.setAlwaysAcceptCookies does not work with NetworkProcess
2917         https://bugs.webkit.org/show_bug.cgi?id=138687
2918
2919         Reviewed by Carlos Garcia Campos.
2920
2921         Always change cookie policy from UI process, as changing it from WebProcess doesn't
2922         affect other processes.
2923
2924         The implementation is imperfect, because the change happens asynchronously, but I
2925         don't expect it to be a problem in practice.
2926
2927         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2928         (WTR::InjectedBundle::beginTesting):
2929         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2930         (WTR::TestRunner::setAlwaysAcceptCookies):
2931         * WebKitTestRunner/TestInvocation.cpp:
2932         (WTR::TestInvocation::invoke):
2933         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2934
2935 2015-03-12  Csaba Osztrogonác  <ossy@webkit.org>
2936
2937         [EFL] Enable building EFL 1.13 with NEON support
2938         https://bugs.webkit.org/show_bug.cgi?id=142619
2939
2940         Reviewed by Gyuyoung Kim.
2941
2942         * efl/jhbuild.modules:
2943
2944 2015-03-11  Alex Christensen  <achristensen@webkit.org>
2945
2946         [Content Extensions] Add resource type and load type triggers.
2947         https://bugs.webkit.org/show_bug.cgi?id=142422
2948
2949         Reviewed by Benjamin Poulain.
2950
2951         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2952         (TestWebKitAPI::testRequest):
2953         (TestWebKitAPI::mainDocumentRequest):
2954         (TestWebKitAPI::TEST_F):
2955         (TestWebKitAPI::testURL): Deleted.
2956
2957 2015-03-10  Sam Weinig  <sam@webkit.org>
2958
2959         Allow adding a button in input elements for auto fill related functionality
2960         <rdar://problem/19782066>
2961         https://bugs.webkit.org/show_bug.cgi?id=142564
2962
2963         Reviewed by Anders Carlsson.
2964
2965         * WebKitTestRunner/TestController.cpp:
2966         (WTR::TestController::createOtherPage):
2967         (WTR::TestController::createWebViewWithOptions):
2968         Update for new callback.
2969
2970 2015-03-11  Benjamin Poulain  <bpoulain@apple.com>
2971
2972         Add basic support for BOL and EOL assertions to the URL Filter parser
2973         https://bugs.webkit.org/show_bug.cgi?id=142568
2974
2975         Reviewed by Alex Christensen.
2976
2977         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2978         (TestWebKitAPI::TEST_F):
2979
2980 2015-03-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2981
2982         [GTK] Add support for handling TLS errors to MiniBrowser
2983         https://bugs.webkit.org/show_bug.cgi?id=142576
2984
2985         Reviewed by Sergio Villar Senin.
2986
2987         It's useful for testing TLS errors handling itself, but also to
2988         allow ignoring TLS errors when testing.
2989
2990         * MiniBrowser/gtk/BrowserWindow.c:
2991         (webViewLoadFailedWithTLSerrors):
2992         (browserWindowConstructed):
2993
2994 2015-03-11  Myles C. Maxfield  <mmaxfield@apple.com>
2995
2996         Use out-of-band messaging for RenderBox::firstLineBaseline() and RenderBox::inlineBlockBaseline()
2997         https://bugs.webkit.org/show_bug.cgi?id=142569
2998
2999         Reviewed by David Hyatt.
3000
3001         Test Optional::valueOrCompute().
3002
3003         * TestWebKitAPI/Tests/WTF/Optional.cpp:
3004         (TestWebKitAPI::TEST):
3005
3006 2015-03-11  Carlos Garcia Campos  <cgarcia@igalia.com>
3007
3008         [GTK] Add an option to enable MiniBrowser for non developer builds and always install it
3009         https://bugs.webkit.org/show_bug.cgi?id=126688
3010
3011         Reviewed by Gustavo Noronha Silva.
3012
3013         * CMakeLists.txt: Build testing tools only for developer builds,
3014         but MiniBrowser when ENABLE_MINIBROWSER option is ON.
3015         * MiniBrowser/gtk/CMakeLists.txt: Only add
3016         -DWEBKIT_INJECTED_BUNDLE_PATH to the build for developer builds,
3017         and add a rule to install the MiniBrowser.
3018         * MiniBrowser/gtk/main.c:
3019         (main): Only set WEBKIT_INJECTED_BUNDLE_PATH env var for developer
3020         builds.
3021
3022 2015-03-11  Brent Fulgham  <bfulgham@apple.com>
3023
3024         Add some DateMath tests to TestWebKitAPI
3025         https://bugs.webkit.org/show_bug.cgi?id=142565
3026
3027         Reviewed by Alexey Proskuryakov.
3028
3029         * TestWebKitAPI/CMakeLists.txt: Add new DateMath.cpp file.
3030         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Ditto.
3031         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Ditto.
3032         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto."
3033         * TestWebKitAPI/Tests/WTF/DateMath.cpp: Added.
3034
3035 2015-03-10  Brent Fulgham  <bfulgham@apple.com>
3036
3037         Regression(r181257): WTF_WorkQueue.Simple is flaky
3038         https://bugs.webkit.org/show_bug.cgi?id=142560
3039
3040         Unreviewed attempt to improve test stability.
3041
3042         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Check the reference count for
3043         the WorkQueue a little later to redue flakiness.
3044
3045 2015-03-10  Myles C. Maxfield  <mmaxfield@apple.com>
3046
3047         Migrate from SystemUIFontSelect to AppleSystemFontOSSubversion
3048         https://bugs.webkit.org/show_bug.cgi?id=142555
3049
3050         Reviewed by Simon Fraser.
3051
3052         * DumpRenderTree/mac/DumpRenderTree.mm:
3053         (setDefaultsToConsistentValuesForTesting):
3054         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
3055         (WTR::InjectedBundle::platformInitialize):
3056
3057 2015-03-10  Alex Christensen  <achristensen@webkit.org>
3058
3059         Use unsigned for HashSet size.
3060         https://bugs.webkit.org/show_bug.cgi?id=142518
3061
3062         Reviewed by Benjamin Poulain.
3063
3064         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3065         (TestWebKitAPI::TEST):
3066         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
3067         (TestWebKitAPI::testInitialCapacity):
3068         * TestWebKitAPI/Tests/WTF/ListHashSet.cpp:
3069         (TestWebKitAPI::TEST):
3070
3071 2015-03-10  Daniel Bates  <dabates@apple.com>
3072
3073         [iOS] Add WebKitSystemInterface for iOS 8.2
3074         https://bugs.webkit.org/show_bug.cgi?id=142505
3075
3076         Rubber-stamped by Anders Carlsson.
3077
3078         Make copy-webkitlibraries-to-product-directory install libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a.
3079         I inadvertently forgot to add libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a to script
3080         copy-webkitlibraries-to-product-directory in r181286.
3081
3082         * Scripts/copy-webkitlibraries-to-product-directory:
3083
3084 2015-03-10  Benjamin Poulain  <bpoulain@apple.com>
3085
3086         Extend URL filter's Term definition to support groups/subpatterns
3087         https://bugs.webkit.org/show_bug.cgi?id=142519
3088
3089         Reviewed by Alex Christensen.
3090
3091         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3092         (TestWebKitAPI::testURL):
3093
3094 2015-03-06  Jer Noble  <jer.noble@apple.com>
3095
3096         Add an option to run-webkit-tests to override the LayoutTests/ directory
3097         https://bugs.webkit.org/show_bug.cgi?id=142418
3098
3099         Reviewed by David Kilzer.
3100
3101         Add an arugment to run-webkit-tests which, when set, overrides the port's default LayoutTests
3102         directory. The base port will parse the options during initialization and store the override
3103         location if present. layout_tests_dir() will return this overridden location if set.
3104
3105         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3106         (parse_args):
3107         * Scripts/webkitpy/port/base.py:
3108         (Port.__init__):
3109         (Port.layout_tests_dir):
3110
3111 2015-03-09  Martin Robinson  <mrobinson@igalia.com>
3112
3113         [CMake] Enable WorkQueue tests for CMake ports
3114         https://bugs.webkit.org/show_bug.cgi?id=142473
3115
3116         Reviewed by Darin Adler.
3117
3118         * TestWebKitAPI/CMakeLists.txt: Add the WorkQueue tests source file to
3119         the list of source files.
3120         * Tools/TestWebKitAPI/PlatformEfl.cmake: Add the DispatchQueueEfl directory
3121         to the list of include directories for EFL.
3122
3123 2015-03-09  David Kilzer  <ddkilzer@apple.com>
3124
3125         Attempt to fix timeouts on iOS Simulator layout tests
3126
3127         * Scripts/webkitpy/port/ios.py:
3128         (IOSSimulatorPort.setup_test_run): Most layout test runs on iOS
3129         Simulator end after the first 50 tests time out.  Some analysis
3130         this past weekend shows that the 'Booted' status in the output
3131         of `xcrun simctl list` is not sufficient (and watching the test
3132         run shows that SpringBoard hasn't fully started to the point
3133         where it's displaying icons on the home screen).  The workaround
3134         until we have a better fix is to add an arbitrary timeout to let
3135         SpringBoard finish launching.  In practice, 15 seconds is
3136         probably enough, but 30 seconds should nearly always work.
3137
3138 2015-03-09  Per Arne Vollan  <peavo@outlook.com>
3139
3140         Unreviewed. Add myself as a committer.
3141
3142         * Scripts/webkitpy/common/config/contributors.json:
3143
3144 2015-03-09  David Kilzer  <ddkilzer@apple.com>
3145
3146         Attempt to fix WTF_WorkQueue.TwoQueues timeout test failure
3147
3148         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3149         (TestWebKitAPI::TEST): Change delay from 50ns to 50ms, and add
3150         an expectation that will fail if we hit the race condition.
3151         This test is inherently racy and will deadlock if the first job
3152         for queue2 takes the mutex lock before the second job for
3153         queue1.
3154
3155 2015-03-08  Brent Fulgham  <bfulgham@apple.com>
3156
3157         [Win] WTF::WorkQueue does not balance ref/deref properly
3158         https://bugs.webkit.org/show_bug.cgi?id=142471
3159
3160         Reviewed by Antti Koivisto.
3161
3162         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3163         (TestWebKitAPI::TEST): Check that the refcount is correct.
3164
3165 2015-03-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3166
3167         Do not show passing test result on output of EFL layout test
3168         https://bugs.webkit.org/show_bug.cgi?id=142380
3169
3170         Reviewed by Darin Adler.
3171
3172         To show passing tests has caused inconvenience when we detect problem tests
3173         in output of layout test. So this patch applies '--debug-rwt-logging' except for EFL port
3174         in order not to show passing tests in the output of EFL layout test.
3175
3176         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3177         (RunWebKitTests.start):
3178
3179 2015-03-08  Brent Fulgham  <bfulgham@apple.com>
3180
3181         Unreviewed build fix.
3182
3183         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3184         (TestWebKitAPI::TEST): Remove two unused variables.
3185
3186 2015-03-08  Brent Fulgham  <bfulgham@apple.com>
3187
3188         Add some WorkQueue tests to TestWebKitAPI
3189         https://bugs.webkit.org/show_bug.cgi?id=142447
3190
3191         Reviewed by Sam Weinig.
3192
3193         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3194         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
3195         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3196         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Added.
3197         (TestWebKitAPI::simpleTest):
3198         (TestWebKitAPI::longTest):
3199         (TestWebKitAPI::thirdTest):
3200         (TestWebKitAPI::finishedTests):
3201         (TestWebKitAPI::TEST):
3202         (TestWebKitAPI::longTest2):
3203
3204 2015-03-08  Carlos Garcia Campos  <cgarcia@igalia.com>
3205
3206         Remove willDestroyFrame in WKBundlePageLoaderClient
3207         https://bugs.webkit.org/show_bug.cgi?id=142389
3208
3209         Reviewed by Anders Carlsson.
3210
3211         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3212         (WTR::InjectedBundlePage::InjectedBundlePage):
3213
3214 2015-03-07  Brent Fulgham  <bfulgham@apple.com>
3215
3216         [Win] Increase TestWebKitAPI Test Coverage[Win] Increase TestWebKitAPI Test Coverage
3217         https://bugs.webkit.org/show_bug.cgi?id=142433
3218
3219         Reviewed by Darin Adler.
3220
3221         Include more TestWebKitAPI tests when building for Windows. Also
3222         fix a build error in MetaAllocator.cpp caused by one of the
3223         Microsoft headers #defining 'small'.
3224
3225         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3226         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
3227         * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
3228
3229 2015-03-06  Sam Weinig  <sam@webkit.org>
3230
3231         [Content Extensions] Move compiling of content extensions to the UIProcess
3232         https://bugs.webkit.org/show_bug.cgi?id=142402
3233
3234         Reviewed by Benjamin Poulain.
3235
3236         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3237         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp: Copied from Tools/TestWebKitAPI/Tests/WebCore/ContentFilter.cpp.
3238         (TestWebKitAPI::InMemoryCompiledContentExtension::create):
3239         (TestWebKitAPI::InMemoryCompiledContentExtension::~InMemoryCompiledContentExtension):
3240         (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
3241         (TestWebKitAPI::TEST_F):
3242         * TestWebKitAPI/Tests/WebCore/ContentFilter.cpp: Removed.
3243         Update test for new name (ContentFilter -> ContentExtensions) and API (CompiledContentExtension
3244         is now abstract).
3245
3246 2015-03-06  Brent Fulgham  <bfulgham@apple.com>
3247
3248         [Win] Correct Windows build.
3249
3250         Rubberstamped by Michael Saboff
3251
3252         * win/AssembleBuildLogs/AssembleLogs.cmd: Correct cut/paste error
3253         in the GOTO labels.
3254
3255 2015-03-06  Carlos Garcia Campos  <cgarcia@igalia.com>
3256
3257         [GTK] Test /webkit2/WebKitWebView/sync-request-on-max-conns might fail after finished
3258         https://bugs.webkit.org/show_bug.cgi?id=142385
3259
3260         Reviewed by Sergio Villar Senin.
3261
3262         Use stack allocated GMainLoopSources to make sure they are
3263         cancelled automatically if the test finishes before they have
3264         been processed.
3265
3266         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3267         (testWebViewSyncRequestOnMaxConns):
3268
3269 2015-03-06  Csaba Osztrogonác  <ossy@webkit.org>
3270
3271         Remove Mountain Lion libraries since ML isn't supported
3272         https://bugs.webkit.org/show_bug.cgi?id=142332
3273
3274         Reviewed by Darin Adler.
3275
3276         * Scripts/copy-webkitlibraries-to-product-directory:
3277
3278 2015-03-06  Carlos Alberto Lopez Perez <clopez@igalia.com> and Youenn Fablet  <youenn.fablet@crf.canon.fr>
3279
3280         Layout tests imported/w3c/web-platform-tests certificates should not be tracked on WebKit VCS
3281         https://bugs.webkit.org/show_bug.cgi?id=142083
3282
3283         Reviewed by Simon Fraser.
3284
3285         Modifying on the fly wpt config.json to set the directory where to generate/read certificates as a subfolder of the layout test results folder.
3286
3287         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3288         (WebPlatformTestServer._copy_webkit_test_files):
3289
3290 2015-03-06  Csaba Osztrogonác  <ossy@webkit.org>
3291
3292         setup-git-clone fails due to the failure to download python-irclib-0.4.8
3293         https://bugs.webkit.org/show_bug.cgi?id=141946
3294
3295         Reviewed by Ryosuke Niwa.
3296
3297         Check in ircbot.py and irclib.py to avoid network problems in the future.
3298
3299         * Scripts/webkitpy/common/net/irc/ircbot.py:
3300         * Scripts/webkitpy/thirdparty/__init__.py:
3301         (AutoinstallImportHook.find_module):
3302         (AutoinstallImportHook._install_irc): Deleted.
3303         * Scripts/webkitpy/thirdparty/__init___unittest.py:
3304         (ThirdpartyTest.test_imports):
3305         * Scripts/webkitpy/thirdparty/irc/__init__.py: Added.
3306         * Scripts/webkitpy/thirdparty/irc/ircbot.py: Added.
3307         * Scripts/webkitpy/thirdparty/irc/irclib.py: Added.
3308
3309 2015-03-06  David Kilzer  <ddkilzer@apple.com>
3310
3311         Dashboard: Perf bot status is missing for Apple {Mavericks,Yosemite} Release builds
3312
3313         See also fix to config.json in r181097.
3314
3315         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3316         (WebKitBuildbot): Add missing "WK2" to the names of the perf
3317         bots.
3318
3319 2015-03-06  Csaba Osztrogonác  <ossy@webkit.org>
3320
3321         run-jsc-stress-tests should determine the architecture from ELF binaries
3322         https://bugs.webkit.org/show_bug.cgi?id=142335
3323
3324         Reviewed by Darin Adler.
3325
3326         * Scripts/run-jsc-stress-tests:
3327
3328 2015-03-05  David Kilzer  <ddkilzer@apple.com>
3329
3330         [iOS] TestExpectations for ios-simulator-wk2 should fall back to 'wk2' after 'ios-simulator'
3331         <http://webkit.org/b/142226>
3332
3333         Reviewed by Darin Adler.
3334
3335         * Scripts/webkitpy/port/ios.py:
3336         (IOSSimulatorPort.default_baseline_search_path): Switch the
3337         TestExpectations order of ios-simulator-wk2 from this:
3338           ios-simulator-wk2, wk2, ios-simulator
3339         To this:
3340           ios-simulator-wk2, ios-simualtor, wk2
3341
3342 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
3343
3344         [Win] Provide tiered logging from MSBuild -- Errors on top, Warnings after
3345         https://bugs.webkit.org/show_bug.cgi?id=142370
3346
3347         Reviewed by Dean Jackson.
3348
3349         * Scripts/webkitdirs.pm:
3350         (buildVisualStudioProject): Tell MSBuild to output log files to two separate
3351         logs, one for warnings, the other for errors.
3352         * win/AssembleBuildLogs/AssembleLogs.cmd: Combine the error and warning logs
3353         into the standard BuildOutput.htm document.
3354
3355 2015-03-05  David Kilzer  <ddkilzer@apple.com>
3356
3357         Dashboard has trouble parsing iOS test output
3358         <http://webkit.org/b/142364>
3359
3360         Reviewed by Alex Christensen.
3361
3362         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
3363         (BuildbotTestResults.prototype._parseResults.resultSummarizer):
3364         Add fallback path to build a regex using 'matchString' so that
3365         it matches anywhere in the line.  In practice, 'matchString' is
3366         a prefix for the label following the number.
3367
3368 2015-03-05  Alex Christensen  <achristensen@webkit.org>
3369
3370         Fix linker warnings in TestWebKitAPI.
3371         https://bugs.webkit.org/show_bug.cgi?id=141912
3372
3373         Reviewed by David Kilzer.
3374
3375         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
3376         Do not export TearDownTestCase or SetUpTestCase symbols.
3377
3378 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
3379
3380         [Win] Unreviewed EWS fix.
3381
3382         * Scripts/webkitdirs.pm:
3383         (buildVisualStudioProject): Dial logging back to 'ErrorsOnly' to see if that makes
3384         the EWS output more usable.
3385
3386 2015-03-05  Chris Dumez  <cdumez@apple.com>
3387
3388         Regression(r173761): ASSERTION FAILED: !is8Bit() in StringImpl::characters16()
3389         https://bugs.webkit.org/show_bug.cgi?id=142350
3390
3391         Reviewed by Michael Saboff and Benjamin Poulain.
3392
3393         Add API test for WTFString::hasInfixStartingAt() to make sure it doesn't
3394         crash if the string is 8-bit but the pattern is 16-bit (and vice-versa).
3395
3396         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3397         (TestWebKitAPI::TEST):
3398
3399 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
3400
3401         [Win] Ensure build target directory exists when launching MSBuild
3402         https://bugs.webkit.org/show_bug.cgi?id=142360
3403
3404         Reviewed by Dean Jackson.
3405
3406         Create the build output directory (if it doesn't exist) before
3407         launching MSBuild so that it can immediately begin writing logs.
3408
3409         * Scripts/webkitdirs.pm:
3410         (buildVisualStudioProject):
3411
3412 2015-03-05  Chris Dumez  <cdumez@apple.com>
3413
3414         run-webkit-tests and run-perf-tests should use WebKitTestRunner by default
3415         https://bugs.webkit.org/show_bug.cgi?id=142325
3416
3417         Reviewed by Csaba Osztrogonác.
3418
3419         run-webkit-tests and run-perf-tests now use WebKitTestRunner by default.
3420         As a result, "--webkit-test-runner / -2" parameters are replaced by
3421         "--dump-render-tree / -1" so developers can run DumpRenderTree rather
3422         than WebKitTestRunner.
3423
3424         * BuildSlaveSupport/build.webkit.org-config/config.json:
3425         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3426         (RunWebKit1Tests):
3427         (RunWebKit1Tests.start):
3428         (RunWebKit1LeakTests):
3429         (RunWebKit1LeakTests.start):
3430         (RunAndUploadPerfTestsWebKit1):
3431         (RunAndUploadPerfTestsWebKit1.start):
3432         (TestFactory):
3433         (TestWebKit1LeaksFactory):
3434         (TestWebKit1LeaksFactory.__init__):
3435         (TestWebKit1Factory):
3436         (TestWebKit1AllButJSCFactory):
3437         (TestAllButJSCFactory):
3438         (BuildAndPerfTestWebKit1Factory):
3439         (BuildAndPerfTestWebKit1Factory.__init__):
3440         (BuildAndPerfTestFactory):
3441         (BuildAndPerfTestFactory.__init__):
3442         (DownloadAndPerfTestWebKit1Factory):
3443         (DownloadAndPerfTestWebKit1Factory.__init__):
3444         (DownloadAndPerfTestFactory):
3445         (DownloadAndPerfTestFactory.__init__):
3446         (RunWebKitLeakTests): Deleted.
3447         (RunWebKitLeakTests.start): Deleted.
3448         (RunWebKit2Tests): Deleted.
3449         (RunWebKit2Tests.start): Deleted.
3450         (RunAndUploadPerfTestsWebKit2): Deleted.
3451         (RunAndUploadPerfTestsWebKit2.start): Deleted.
3452         (TestLeaksFactory): Deleted.
3453         (TestLeaksFactory.__init__): Deleted.
3454         (TestWebKit2Factory): Deleted.
3455         (TestWebKit2AndJSCFactory): Deleted.
3456         (BuildAndPerfTestWebKit2Factory): Deleted.
3457         (BuildAndPerfTestWebKit2Factory.__init__): Deleted.
3458         (DownloadAndPerfTestWebKit2Factory): Deleted.
3459         (DownloadAndPerfTestWebKit2Factory.__init__): Deleted.
3460         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3461         (parse_args):
3462         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3463         (PerfTestsRunner._parse_args):
3464         * Scripts/webkitpy/port/port_testcase.py:
3465         (PortTestCase.test_build_driver):
3466
3467 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
3468
3469         [Win] Switch to MSBuild so we get more useful stdout logging in buildbot
3470         https://bugs.webkit.org/show_bug.cgi?id=140845
3471
3472         Reviewed by David Kilzer.
3473
3474         Update 'webkitdirs.pm' to locate the MSBuild used with Visual Studio 2013
3475         and generate suitable build commands to drive a full build from our
3476         existing solution files.
3477
3478         * Scripts/webkitdirs.pm:
3479         (msBuildInstallDir): Added.
3480         (determineConfigurationForVisualStudio): Revise to use MSBuild command
3481         line arguments to drive the build.
3482         (setupCygwinEnv): Warn user if MSBuild cannot be located.
3483         (buildVisualStudioProject): Revise to use MSBuild command line arguments
3484         to specify build architecture.
3485         * win/AssembleBuildLogs/AssembleLogs.cmd: MSBuild doesn't produce individual
3486         output logs, so don't attempt to consolidate them. Also: Drive-by fix: Don't
3487         bother looking for CoreUI or SafariTheme build logs.
3488
3489 2015-03-05  Csaba Osztrogonác  <ossy@webkit.org>
3490
3491         [buildbot] mastercfg_unittest.py should be runnable easily
3492         https://bugs.webkit.org/show_bug.cgi?id=142219
3493
3494         Reviewed by Chris Dumez.
3495
3496         Buildbot 0.8.6p1 runs on build.webkit org with Twisted 12.1.0, which is
3497         the last Twisted version works together with this buildbot version.
3498
3499         * Scripts/webkitpy/common/system/autoinstall.py:
3500         (AutoInstaller): Added prepend_to_search_path argument to be able
3501         to prefer autoinstalled package to system package.
3502         (AutoInstaller.__init__):
3503         (AutoInstaller._set_up_target_dir):
3504         (AutoInstaller._extract_tar): Renamed from _extract_targz, now it works with tar.bz2 too.
3505         (AutoInstaller._prepare_package):
3506         (AutoInstaller._extract_targz): Renamed to _extract_tar.
3507         * Scripts/webkitpy/thirdparty/__init__.py:
3508         (AutoinstallImportHook._install_buildbot): Autoinstall Twisted 12.1.0.
3509
3510 2015-03-05  Lukasz Bialek  <l.bialek@samsung.com>
3511
3512         [EFL][WK2] Crash when "Download Linked File" from MiniBrowser context menu is clicked
3513         https://bugs.webkit.org/show_bug.cgi?id=131162
3514
3515         Reviewed by Gyuyoung Kim.
3516
3517         * MiniBrowser/efl/main.c:
3518         (on_download_request):
3519         (on_download_finished):
3520         (on_download_failed):
3521         (window_create):
3522         Adapt download callbacks to new callback mechanism
3523
3524 2015-03-05  Carlos Garcia Campos  <cgarcia@igalia.com>
3525
3526         Unreviewed. Fix /webkit2/WebKitWebResource/mime-type after r180927.
3527
3528         In r180927 we updated the libsoup version used by the jhbuild. In
3529         this new version the sniffer uses image/x-icon instead of
3530         image/vnd.microsoft.icon for blank.ico resource.
3531
3532         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3533         (testWebResourceMimeType):
3534
3535 2015-03-05  Carlos Garcia Campos  <cgarcia@igalia.com>
3536
3537         [SOUP] Check TLS errors as soon as they are set in the SoupMessage
3538         https://bugs.webkit.org/show_bug.cgi?id=142244
3539
3540         Reviewed by Sergio Villar Senin.
3541
3542         Check that the SSL server doesn't process any request in case of
3543         TLS errors when the policy is set to FAIL.
3544
3545         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
3546         (testTLSErrorsPolicy):
3547         (testTLSErrorsRedirect):
3548         (testTLSErrorsHTTPAuth):
3549         (testLoadFailedWithTLSErrors):
3550         (testSubresourceLoadFailedWithTLSErrors):
3551         (httpsServerCallback):
3552
3553 2015-03-05  Pawel Forysiuk  <p.forysiuk@samsung.com>
3554
3555         [EFL] REGRESSION (r178685): ASSERTION FAILED: !parameters.mediaKeyStorageDirectory.isEmpty()
3556         https://bugs.webkit.org/show_bug.cgi?id=141154
3557
3558         Reviewed by Jer Noble.
3559
3560         Unlike GTK, EFL port enables ENABLE_ENCRYPTED_MEDIA_V2 build option by default.
3561
3562         For the sake of completeness WebKitTestRunner should specify temporary
3563         folder for MediaKeysStorageDirecory as well as IndexedDB, LocalStorage, etc.
3564
3565         Default non legacy paths are set up in ProcessPoolConfiguration constructor.
3566         They use WebsiteDataStore::websiteDataDirectoryFileSystemRepresentation
3567         to get data storage paths. Only Mac port has an actual implementation of it.
3568         However, WebKitTestRunner overrides them in favour of unique temporary dir
3569         which is taken from libraryPathForTesting().
3570
3571         Since WebsiteDataStore::websiteDataDirectoryFileSystemRepresentation
3572         is not implemented for EFL and GTK ports it returns an empty string.
3573         All default data folders besides MediaKeys are overridden in TestRunner
3574         code with unique temporary folders derived from DUMPRENDERTREE_TEMP
3575         env variable.
3576
3577         GTK port does not enable encrypted keys by default so
3578         WebMediaKeyStorageManager::initialize() code path is never triggered.
3579
3580         * WebKitTestRunner/TestController.cpp:
3581         (WTR::TestController::initialize): Set MediaKeysStorageDirectory for all
3582         WebKit ports.
3583
3584 2015-03-05  Csaba Osztrogonác  <ossy@webkit.org>
3585
3586         [buildbot] Add regression test to check which builder runs which tests
3587         https://bugs.webkit.org/show_bug.cgi?id=142166
3588
3589         Reviewed by Alexey Proskuryakov.
3590
3591         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3592         (BuildStepsConstructorTest.createTest):
3593         (BuildStepsTest):
3594         (BuildStepsTest.generateTests):
3595         (BuildStepsTest.createTest):
3596         (BuildStepsTest.createTest.doTest):
3597         (BuildStepsTest.test_unnecessary_expected_results):
3598
3599 2015-03-04  Commit Queue  <commit-queue@webkit.org>
3600
3601         Unreviewed, rolling out r181054.
3602         https://bugs.webkit.org/show_bug.cgi?id=142320
3603
3604         Broke the api tests (Requested by sundiamonde on #webkit).
3605
3606         Reverted changeset:
3607
3608         "Fix linker warnings in TestWebKitAPI."
3609         https://bugs.webkit.org/show_bug.cgi?id=141912
3610         http://trac.webkit.org/changeset/181054
3611
3612 2015-03-04  Alex Christensen  <achristensen@webkit.org>
3613
3614         Fix linker warnings in TestWebKitAPI.
3615         https://bugs.webkit.org/show_bug.cgi?id=141912
3616
3617         Reviewed by David Kilzer.
3618
3619         * TestWebKitAPI/Configurations/Base.xcconfig:
3620         Use GCC_SYMBOLS_PRIVATE_EXTERN like we do in WebCore.
3621
3622 2015-03-04  Alexey Proskuryakov  <ap@apple.com>
3623
3624         [Mac] Set SystemUIFontSelect in DRT and WKTR
3625         https://bugs.webkit.org/show_bug.cgi?id=142303
3626
3627         Reviewed by Myles C. Maxfield.
3628
3629         * DumpRenderTree/mac/DumpRenderTree.mm:
3630         (setDefaultsToConsistentValuesForTesting):
3631         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
3632         (WTR::InjectedBundle::platformInitialize):
3633
3634 2015-03-04  Chris Dumez  <cdumez@apple.com>
3635
3636         Mac Perf bots should use WebKitTestRunner instead of DumpRenderTree
3637         https://bugs.webkit.org/show_bug.cgi?id=142314
3638         <rdar://problem/20046835>
3639
3640         Reviewed by Ryosuke Niwa.
3641
3642         Mac Perf bots should use WebKitTestRunner instead of DumpRenderTree
3643         to get WK2 code coverage.
3644
3645         * BuildSlaveSupport/build.webkit.org-config/config.json:
3646
3647 2015-03-04  Alex Christensen  <achristensen@webkit.org>
3648
3649         Move content extensions test to properly named directory.
3650         https://bugs.webkit.org/show_bug.cgi?id=142299
3651
3652         Reviewed by Tim Horton.
3653
3654         * WebKitTestRunner/mac/TestControllerMac.mm:
3655         (WTR::TestController::platformConfigureViewForTest):
3656
3657 2015-03-04  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3658
3659         W3C test importer should use filesystem instead of os.walk
3660         https://bugs.webkit.org/show_bug.cgi?id=142085
3661
3662         Reviewed by Bem Jones-Bey.
3663
3664         Added FileSystem.dirs_under to remove the use of os.walk in test importer.
3665         Added MockFileSystem.dirs_under and MockFileSystem.getsize to enable unit testing of test importer.
3666         Added unit test for FileSystem.dirs_under and MockFileSystem.dirs_under.
3667
3668         Made use of FileSystem.dirs_under within TestImporter.find_importable_tests.
3669         Added a unit test to check that test importer is now black-box testable using a Mock system.
3670
3671         * Scripts/webkitpy/common/system/filesystem.py:
3672         (FileSystem.dirs_under): Returns a list of filtered sub-directories.
3673         (FileSystem.dirs_under.filter_all):
3674         * Scripts/webkitpy/common/system/filesystem_mock.py:
3675         (MockFileSystem.dirs_under):
3676         (MockFileSystem.dirs_under.filter_all):
3677         (MockFileSystem.getsize):
3678         * Scripts/webkitpy/common/system/filesystem_mock_unittest.py:
3679         (MockFileSystemTest.test_dirs_under):
3680         (MockFileSystemTest.test_dirs_under.filter_dir):
3681         * Scripts/webkitpy/common/system/filesystem_unittest.py:
3682         (RealFileSystemTest.test_sep):
3683         (RealFileSystemTest):
3684         (RealFileSystemTest.test_dirs_under):
3685         (RealFileSystemTest.test_dirs_under.filter_this_dir):
3686         * Scripts/webkitpy/w3c/test_importer.py:
3687         (TestImporter.do_import):
3688         (TestImporter.find_importable_tests.should_keep_subdir):
3689         (TestImporter.find_importable_tests):
3690         (TestImporter.should_keep_subdir): Deleted.
3691         (TestImporter.should_skip_file): Deleted.
3692         * Scripts/webkitpy/w3c/test_importer_unittest.py:
3693         (TestImporterTest.test_import_dir_with_empty_init_py): Added test to ensure empty __init__.py are no longer empty once imported.
3694
3695 2015-03-04  Timothy Horton  <timothy_horton@apple.com>
3696
3697         [WebEditingTester] Add support for the find and replace bar
3698         https://bugs.webkit.org/show_bug.cgi?id=142247
3699
3700         Reviewed by Enrica Casucci.
3701
3702         While it's not hooked up yet in WKWebView, adding support for the
3703         find bar to WebEditingTester will help us implement that functionality.
3704
3705         * WebEditingTester/AppDelegate.h:
3706         * WebEditingTester/AppDelegate.m:
3707         (-[WebEditingAppDelegate performTextFinderAction:]):
3708         * WebEditingTester/MainMenu.xib:
3709         Receive performTextFinderAction: and forward it to the frontmost WebDocumentController.
3710
3711         * WebEditingTester/WK2WebDocumentController.m:
3712         (-[WK2WebDocumentController awakeFromNib]):
3713         (-[WK2WebDocumentController performTextFinderAction:]):
3714         (-[WK2WebDocumentController findBarView]):
3715         (-[WK2WebDocumentController setFindBarView:]):
3716         (-[WK2WebDocumentController isFindBarVisible]):
3717         (-[WK2WebDocumentController setFindBarVisible:]):
3718         (-[WK2WebDocumentController findBarViewDidChangeHeight]):
3719         (-[WK2WebDocumentController layout]):
3720         Implement performTextFinderAction: for WebKit2, and have a NSTextFinder
3721         pointing at the WKWebView (currently nothing will work, but the bar will
3722         show up). Install and uninstall the bar as needed.
3723
3724         * WebEditingTester/WebDocument.xib:
3725         Don't use a full-size content view. There's no need, and it makes find
3726         bar layout harder.
3727
3728         * WebEditingTester/WebDocumentController.h:
3729         * WebEditingTester/WebDocumentController.m:
3730         (-[WebDocumentController performTextFinderAction:]):
3731
3732 2015-03-03  Sam Weinig  <sam@webkit.org>
3733
3734         [Content Extensions] Split parsing and compiling of content extensions into their own files
3735         https://bugs.webkit.org/show_bug.cgi?id=142259
3736
3737         Reviewed by Anders Carlsson.
3738
3739         Add basic unit test for the content filter compiler.
3740
3741         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3742         * TestWebKitAPI/Tests/WebCore/ContentFilter.cpp: Added.
3743         (WebCore::ContentExtensions::operator<<):
3744         (TestWebKitAPI::ContentFilterTest::SetUp):
3745         (TestWebKitAPI::TEST_F):
3746
3747 2015-03-04  Matthew Mirman  <mmirman@apple.com>
3748
3749         Cleaned up BuildAndTestFactory to not be a near duplicate of TestFactory
3750         https://bugs.webkit.org/show_bug.cgi?id=142230
3751
3752         Reviewed by Csaba Osztrogonác.
3753
3754         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3755         (TestFactory):
3756         (TestFactory.getProduct): Added
3757         (TestFactory.__init__): moved downloader to getProduct
3758         (BuildAndTestFactory):        
3759         (BuildAndTestFactory.getProduct): Added
3760         (BuildAndTestFactory.__init__): made to call TestFactory.__init__ and append steps to the end.
3761         (BuildAndTestWebKit2Factory): Deleted.  Wasn't used anywhere.
3762
3763 2015-03-04  Debarshi Ray  <debarshir@gnome.org>
3764
3765         [GTK] WebView should hold a reference on WebContext because non-default contexts are a reality
3766         https://bugs.webkit.org/show_bug.cgi?id=142225
3767
3768         Reviewed by Carlos Garcia Campos.
3769
3770         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3771         (testWebViewWebContextLifetime):
3772         (beforeAll):
3773
3774 2015-03-03  David Kilzer  <ddkilzer@apple.com>
3775
3776         [iOS] Crash logs can't be found on ios-simulator because WebKitTestRunner returns the wrong process name
3777         <http://webkit.org/b/142243>
3778
3779         Reviewed by Alexey Proskuryakov.
3780
3781         * WebKitTestRunner/TestController.cpp:
3782         (WTR::TestController::webProcessName):
3783         (WTR::TestController::networkProcessName):
3784         - Return the same process name on iOS and Mac because they both
3785           use the same process name for local engineering builds.
3786
3787 2015-03-03  David Kilzer  <ddkilzer@apple.com>
3788
3789         check-webkit-style: Add exception for FrameworkSoftLink.h header order
3790         <http://webkit.org/b/141872>
3791
3792         Reviewed by Alex Christensen.
3793
3794         * Scripts/webkitpy/style/checkers/cpp.py: Remove unneeded
3795         semi-colons in various places and fix whitespace.
3796         (_IncludeState): Add _SOFT_LINK_HEADER and _SOFT_LINK_SECTION
3797         constants.
3798         (_IncludeState.__init__): Add self._visited_soft_link_section
3799         boolean state variable.
3800         (_IncludeState.visited_soft_link_section): Getter for
3801         self._visited_soft_link_section.
3802         (_IncludeState.check_next_include_order): Update state machine
3803         for soft-link headers.  Add check that soft-link headers always
3804         appear last.
3805         (_classify_include): Add check for soft-link header type.
3806         (check_include_line): Return early if there is a soft-link
3807         header error.
3808
3809         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3810         (OrderOfIncludesTest.test_public_primary_header): Add tests for
3811         including soft-link headers.
3812         (OrderOfIncludesTest.test_classify_include): Add test for
3813         _SOFT_LINK_HEADER type.
3814
3815 2015-03-03  Alexey Proskuryakov  <ap@apple.com>
3816
3817         build.webkit.org/dashboard: Don't repeatedly handle each test type
3818         https://bugs.webkit.org/show_bug.cgi?id=142211
3819
3820         Reviewed by Tim Horton and Matt Hanson.
3821
3822         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3823         (Buildbot.prototype.javascriptTestResultsURLForIteration): Deleted.
3824         (Buildbot.prototype.apiTestResultsURLForIteration): Deleted.
3825         (Buildbot.prototype.platformAPITestResultsURLForIteration): Deleted.
3826         (Buildbot.prototype.webkitpyTestResultsURLForIteration): Deleted.
3827         (Buildbot.prototype.webkitperlTestResultsURLForIteration): Deleted.
3828         (Buildbot.prototype.bindingsTestResultsURLForIteration): Deleted.
3829         Removed functions that build a link to test step results. The buildbot provides
3830         these links in JSON.
3831
3832         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3833         (BuildbotIteration): Put failing tests into an array, instead of named variables.
3834         (BuildbotIteration.ProductiveSteps): Removed step names that are not used on build.webkit.org.
3835         We can easily add them to the map as needed.
3836         (BuildbotIteration.TestSteps): Added a list of test steps to be displayed by test queues.
3837         (BuildbotIteration.prototype._parseData): Moved code for parsing step results away
3838         to BuildbotTestResults class. We used to parse here, build an intermediate data structure,
3839         and then build a BuildbotTestResults object, which was strange.
3840         (BuildbotIteration.prototype.loadLayoutTestResults): Ditto.
3841
3842         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3843         Corrected an unrelated assertion that was buggy, and kept firing.
3844
3845         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
3846         (BuildbotTestResults):
3847         (BuildbotTestResults.prototype._parseResults.resultSummarizer):
3848         (BuildbotTestResults.prototype._parseResults):
3849         (BuildbotTestResults.prototype.addFullLayoutTestResults):
3850         Moved the code for parsing JSON results for a single step here.
3851
3852         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3853         (BuildbotTesterQueueView.prototype._testStepFailureDescription):
3854         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount):
3855         (BuildbotTesterQueueView.prototype._presentPopoverForGenericTestFailures):
3856         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus): Deleted.
3857         (BuildbotTesterQueueView.prototype.update): Deleted.
3858         (BuildbotTesterQueueView.prototype._presentPopoverForMultipleFailureKinds): Deleted.
3859         Updated for the new data structures. One behavior change is that we now display individual
3860         counts when multiple test kinds fail, e.g. "1 javascript test failure, 83+ layout
3861         test failures, 3 platform api test failures".
3862
3863 2015-03-03  Matthew Mirman  <mmirman@apple.com>
3864
3865         JSC tests should not be repeated twice for each branch builder, and should if possible have their own queue.
3866         https://bugs.webkit.org/show_bug.cgi?id=142094
3867
3868         Reviewed by Csaba Osztrogonác.
3869
3870         * BuildSlaveSupport/build.webkit.org-config/config.json: Added bots 155 and 157
3871         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3872         (TestFactory):
3873         (TestFactory.__init__): Made running of JSC tests conditional.
3874         (TestAllButJSCFactory):
3875         (TestJSCFactory): Added.
3876         (TestJSCFactory.__init__):
3877         (TestWebKit2AndJSCFactory): Added factory to not run JSC tests on WebKit2.
3878
3879 2015-03-03  David Kilzer  <ddkilzer@apple.com>
3880
3881         `build-webkit --help` is wrong about how to build for the iOS simulator
3882         <http://webkit.org/b/142223>
3883
3884         Reviewed by Csaba Osztrogonác.
3885
3886         * Scripts/build-webkit: Fix help.
3887
3888 2015-03-03  Carlos Garcia Campos  <cgarcia@igalia.com>
3889
3890         Unreviewed. Bump libsoup version to 2.49.91.1 to fix 32 bit build.
3891
3892         * gtk/jhbuild.modules:
3893
3894 2015-03-03  Carlos Garcia Campos  <cgarcia@igalia.com>
3895
3896         [SOUP] Synchronous XMLHttpRequests can time out when we reach the max connections limit
3897         https://bugs.webkit.org/show_bug.cgi?id=141508
3898
3899         Reviewed by Sergio Villar Senin.
3900
3901         Add a unit test to check that synchronous XHRs load even if the
3902         maximum connection limits are reached.
3903
3904         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3905         (testWebViewSyncRequestOnMaxConns):
3906         (serverCallback):
3907         (beforeAll):
3908         * gtk/jhbuild.modules: Bump libsoup version to 2.49.91.
3909
3910 2015-03-02  Alexey Proskuryakov  <ap@apple.com>
3911
3912         Update the name of ASan build step.
3913
3914         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3915
3916 2015-03-02  Jer Noble  <jer.noble@apple.com>
3917
3918         [WK1][WK2][Mac] Fullscreen animation is incorrect when page is scaled.
3919         https://bugs.webkit.org/show_bug.cgi?id=142121
3920
3921         Reviewed by Simon Fraser.
3922
3923         Add a test which changes the WebView's page scale, then enters fullscreen mode, and verifies
3924         that the initial and final screen rects for the web content are as expected.
3925
3926         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3927         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.html: Added.
3928         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm: Added.
3929         (-[FullscreenStateDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
3930         (runJavaScriptAlert):
3931         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView):
3932         (TestWebKitAPI::FullscreenZoomInitialFrame::teardownView):
3933         (TestWebKitAPI::FullscreenZoomInitialFrame::setPageScale):
3934         (TestWebKitAPI::FullscreenZoomInitialFrame::sendMouseDownEvent):
3935         (TestWebKitAPI::FullscreenZoomInitialFrame::runTest):
3936         (TestWebKitAPI::TEST_F):
3937
3938 2015-03-01  David Kilzer  <ddkilzer@apple.com>
3939
3940         LayoutTestRealy: Prepend __XPC_ to the key, not the value!
3941
3942         Follow-up fix for:
3943
3944         LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
3945         <http://webkit.org/b/142145>
3946
3947         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
3948         (-[LTRelayController _environmentVariables]): Fix think-o.
3949
3950 2015-03-01  David Kilzer  <ddkilzer@apple.com>
3951
3952         LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
3953         <http://webkit.org/b/142145>
3954
3955         Reviewed by Simon Fraser.
3956
3957         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
3958         (-[LTRelayController _environmentVariables]): Add.
3959         (-[LTRelayController launchApp]): Use -_environmentVariables.
3960
3961 2015-02-28  David Kilzer  <ddkilzer@apple.com>
3962
3963         [iOS] Stop running webkit-build-directory on every layout test
3964
3965         This was originally fixed by David Farler for Bug 135409 in
3966         r172602.
3967
3968         * Scripts/webkitpy/port/ios.py:
3969         (IOSSimulatorPort.relay_path): Mark as @memoized so it doesn't
3970         run webkit-build-directory every time it's called.
3971
3972 2015-02-28  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3973
3974         W3C importer should use filesystem instead of shutil/host
3975         https://bugs.webkit.org/show_bug.cgi?id=142012
3976
3977         Reviewed by Bem Jones-Bey.
3978
3979         Removed direct use of python shutil and os, except for os.walk which will require its own fix.
3980
3981         * Scripts/webkitpy/w3c/test_importer.py:
3982         (main):
3983         (TestImporter.do_import):
3984         (TestImporter.find_importable_tests):
3985         (TestImporter.import_tests):
3986         (TestImporter.remove_deleted_files):
3987         (TestImporter.write_import_log):
3988
3989 2015-02-28  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3990
3991         W3C test importer should use filesystem to read and write files
3992         https://bugs.webkit.org/show_bug.cgi?id=142084
3993
3994         Reviewed by Bem Jones-Bey.
3995
3996         Use of FileSystem.write_binary_file, read_text_file and write_text_file in lieu of open().
3997
3998         * Scripts/webkitpy/w3c/test_importer.py:
3999         (TestImporter.import_tests):
4000         (TestImporter.remove_deleted_files):
4001         (TestImporter.write_import_log):
4002
4003 2015-02-27  Sam Weinig  <sam@webkit.org>
4004
4005         Add WebKit2 SPI to create a DOM File object
4006         https://bugs.webkit.org/show_bug.cgi?id=142109
4007
4008         Reviewed by Tim Horton.
4009
4010         Add a test for WKBundleFileHandleRef.
4011
4012         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4013         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle.cpp: Added.
4014         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
4015         (TestWebKitAPI::didFinishLoadForFrame):
4016         (TestWebKitAPI::TEST):
4017         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle_Bundle.cpp: Added.
4018         (TestWebKitAPI::WKBundleFileHandleTest::WKBundleFileHandleTest):
4019         * TestWebKitAPI/Tests/WebKit2/bundle-file.html: Added.
4020
4021 2015-02-27  Michael Saboff  <msaboff@apple.com>
4022
4023         Add ability for run-jsc-benchmarks to set library path from test binary when run on a build bot
4024         https://bugs.webkit.org/show_bug.cgi?id=142112
4025
4026         Reviewed by Filip Pizlo.
4027
4028         Added check for VMs in the form of <someDir>/{DumpRenderTree,webkitTestRunner,jsc} and use
4029         <someDir> as the library path.
4030
4031         * Scripts/run-jsc-benchmarks:
4032
4033 2015-02-27  Alex Christensen  <achristensen@webkit.org>
4034
4035         [WinCairo] Unreviewed build fix.
4036
4037         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props:
4038         Use TestWebKitAPIPrefix.h like in TestWebKitAPICommon.props.
4039
4040 2015-02-27  Anders Carlsson  <andersca@apple.com>
4041
4042         Add infrastructure for handling website data in the network process
4043         https://bugs.webkit.org/show_bug.cgi?id=142092
4044
4045         Reviewed by Andreas Kling.
4046
4047         Add a menu item that will fetch all website data, delete the returned data records, and
4048         fetch all website data again so we can confirm that it's all empty.
4049
4050         * MiniBrowser/mac/WK2BrowserWindowController.m:
4051         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
4052
4053 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
4054
4055         [Win] Remove remaining SafariTheme cruft
4056         https://bugs.webkit.org/show_bug.cgi?id=142075
4057
4058         Reviewed by Anders Carlsson.
4059
4060         Remove reference to SafariTheme-switching preference.
4061
4062         * DumpRenderTree/win/DumpRenderTree.cpp:
4063         (resetWebPreferencesToConsistentValues):
4064         (prepareConsistentTestingEnvironment):
4065
4066 2015-02-26  Doug Russell  <d_russell@apple.com>
4067
4068         AX: Expose caret browsing preference to accessibility API
4069         https://bugs.webkit.org/show_bug.cgi?id=141862
4070
4071         Reviewed by Chris Fleizach.
4072
4073         Exposing the caret browsing setting on WebCore::Frame via the accessibility API would allow assistive tech apps to enable it contextually (for example, when the assistive tech app is running).
4074         Enabling caret browsing when assistive tech apps are running greatly improves the reliability of keyboard navigation on the web. Most especially in cases where selection would be disrupted by focus events.
4075
4076         * DumpRenderTree/AccessibilityUIElement.cpp:
4077         (setBoolAttributeValueCallback):
4078         (selectedTextMarkerRangeCallback):
4079         (resetSelectedTextMarkerRangeCallback):
4080         (AccessibilityUIElement::setBoolAttributeValue):
4081         (AccessibilityUIElement::selectedTextMarkerRange):
4082         (AccessibilityUIElement::resetSelectedTextMarkerRange):
4083         (AccessibilityUIElement::getJSClass):
4084         * DumpRenderTree/AccessibilityUIElement.h:
4085         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4086         (AccessibilityUIElement::setBoolAttributeValue):
4087         (AccessibilityUIElement::selectedTextMarkerRange):
4088         (AccessibilityUIElement::resetSelectedTextMarkerRange):
4089         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
4090         (WTR::AccessibilityUIElement::selectedTextMarkerRange):
4091         (WTR::AccessibilityUIElement::resetSelectedTextMarkerRange):
4092         (WTR::AccessibilityUIElement::setBoolAttributeValue):
4093         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
4094         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
4095         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
4096         (WTR::AccessibilityUIElement::setBoolAttributeValue):
4097         (WTR::AccessibilityUIElement::selectedTextMarkerRange):
4098         (WTR::AccessibilityUIElement::resetSelectedTextMarkerRange):
4099
4100 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
4101
4102         [Win] Remove WebKitExportGenerator project (and related)
4103         https://bugs.webkit.org/show_bug.cgi?id=142035
4104
4105         Reviewed by Dean Jackson.
4106
4107         * win/AssembleBuildLogs/AssembleLogs.cmd: Don't look for a
4108         build log from WebKitExportGenerator.
4109
4110 2015-02-26  Csaba Osztrogonác  <ossy@webkit.org>
4111
4112         [EFL] Bump EFL version to 1.13.0
4113         https://bugs.webkit.org/show_bug.cgi?id=141708
4114
4115         Reviewed by Gyuyoung Kim.
4116
4117         * efl/jhbuild.modules:
4118
4119 2015-02-26  Sam Weinig  <sam@webkit.org>
4120
4121         Check in missing WebEditingTester.xcconfig file.
4122
4123         * WebEditingTester/Configurations/WebEditingTester.xcconfig: Added.
4124
4125 2015-02-26  Csaba Osztrogonác  <ossy@webkit.org>
4126
4127         [webkitpy] Remove skipped file related crufts
4128         https://bugs.webkit.org/show_bug.cgi?id=142046
4129
4130         Reviewed by Ryosuke Niwa.
4131
4132         * Scripts/webkitpy/port/base.py:
4133         (Port.skipped_layout_tests):
4134         (Port._tests_from_skipped_file_contents): Deleted.
4135         (Port): Deleted.
4136         (Port._expectations_from_skipped_files): Deleted.
4137         * Scripts/webkitpy/port/mac_unittest.py:
4138         (MacTest.test_default_timeout_ms):
4139         (MacTest): Deleted.
4140         (test_tests_from_skipped_file_contents): Deleted.
4141
4142 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
4143
4144         [Win] Unreviewed WinCairo build fix after r180653.
4145
4146         TestWebKitAPI should know about proper WEBCORE_EXPORT definitions.
4147
4148         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
4149         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
4150         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props:
4151         * TestWebKitAPI/win/TestWebKitAPIPrefix.cpp: Added.
4152         * TestWebKitAPI/win/TestWebKitAPIPrefix.h: Added.
4153
4154 2015-02-25  Brent Fulgham  <bfulgham@apple.com>
4155
4156         [Win] Use WEBCORE_EXPORT instead of Definition file
4157         https://bugs.webkit.org/show_bug.cgi?id=141734
4158
4159         Reviewed by Alex Christensen.
4160
4161         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
4162         Use a precompiled header so we can define our export macros properly.
4163         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters:
4164         Visual studio automatic update stuff.
4165         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
4166         Set up Precompiled Header use for project..
4167         * DumpRenderTree/win/DumpRenderTreePrefix.cpp: Added.
4168         * DumpRenderTree/DumpRenderTreePrefix.h: Update with proper export
4169         declarations for building DumpRenderTree as a client of
4170         WebCore/WebKit.
4171
4172 2015-02-25  Mark Lam  <mark.lam@apple.com>
4173
4174         ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack.
4175         <https://webkit.org/b/141672>
4176
4177         Reviewed by Alexey Proskuryakov.
4178
4179         ASan does not like the fact that we memcpy the stack for GC scans.  So,
4180         we're working around this by using our own memcpy (asanUnsafeMemcpy)
4181         implementation that we can tell ASan to ignore.
4182
4183         Also removed the previous added directive to ignore *tryCopyOtherThreadStack*
4184         which isn't effective for working around this issue. 
4185
4186         * asan/webkit-asan-ignore.txt:
4187
4188 2015-02-25  Benjamin Poulain  <bpoulain@apple.com>
4189
4190         CodeBlock crashes when dumping op_push_name_scope
4191         https://bugs.webkit.org/show_bug.cgi?id=141953
4192
4193         Reviewed by Filip Pizlo.
4194
4195         * Scripts/run-jsc-stress-tests:
4196
4197 2015-02-25  Youenn Fablet  <youenn.fablet@crf.canon.fr>
4198
4199         W3C test importer should use argparse instead of optparse
4200         https://bugs.webkit.org/show_bug.cgi?id=142013
4201
4202         Reviewed by Bem Jones-Bey.
4203
4204         * Scripts/webkitpy/w3c/test_importer.py:
4205         (main): Updating according argparse.
4206         (parse_args): Moving from optparse to argparse.
4207
4208 2015-02-25  Brady Eidson  <beidson@apple.com>
4209
4210         Get rid of TestInvocation::pathOrURL
4211         https://bugs.webkit.org/show_bug.cgi?id=142021
4212
4213         Reviewed by Tim Horton.
4214
4215         The pathOrURL string is a relative path used as an argument to WebKitTestRunner,
4216         but most code that uses it expected an absolute path.
4217
4218         This gets rid of the member and replaces all uses with a more descriptive "urlContains" method.
4219
4220         * WebKitTestRunner/TestController.cpp:
4221         (WTR::TestController::updateWebViewSizeForTest):
4222         (WTR::TestController::updateWindowScaleForTest):
4223         (WTR::shouldUseFixedLayout):
4224         (WTR::TestController::updateLayoutTypeForTest):
4225
4226         * WebKitTestRunner/TestInvocation.cpp:
4227         (WTR::TestInvocation::TestInvocation):
4228         (WTR::TestInvocation::urlContains):
4229         (WTR::TestInvocation::shouldLogFrameLoadDelegates):
4230         (WTR::TestInvocation::shouldLogHistoryClientCallbacks):
4231         (WTR::TestInvocation::invoke):
4232         (WTR::shouldLogFrameLoadDelegates): Deleted.
4233         (WTR::shouldLogHistoryClientCallbacks): Deleted.
4234         * WebKitTestRunner/TestInvocation.h:
4235         (WTR::TestInvocation::pathOrURL): Deleted.
4236
4237         * WebKitTestRunner/ios/TestControllerIOS.mm:
4238         (WTR::shouldMakeViewportFlexible):
4239         (WTR::TestController::platformConfigureViewForTest):
4240
4241         * WebKitTestRunner/mac/TestControllerMac.mm:
4242         (WTR::shouldUseThreadedScrolling):
4243         (WTR::TestController::platformConfigureViewForTest):
4244
4245 2015-02-25  Brady Eidson  <beidson@apple.com>
4246
4247         Layout test support for user content filters
4248         https://bugs.webkit.org/show_bug.cgi?id=142018
4249
4250         Reviewed by Tim Horton.
4251
4252         * WebKitTestRunner/TestController.cpp:
4253         (WTR::TestController::resetStateToConsistentValues): Clear all user content filters between tests.
4254
4255         * WebKitTestRunner/mac/TestControllerMac.mm:
4256         (WTR::TestController::platformConfigureViewForTest): For all tests with usercontentfilter/ in their path try to load a matching .json
4257           file before loading the test itself.
4258
4259 2015-02-24  Sam Weinig  <sam@webkit.org>
4260
4261         Convert WebEditingTester to use xcconfig files
4262         https://bugs.webkit.org/show_bug.cgi?id=141879
4263
4264         Reviewed by Darin Adler.
4265
4266         Add xcconfig files to WebEditingTester based on the ones used by MiniBrowser.
4267
4268         * WebEditingTester/Configurations: Added.
4269         * WebEditingTester/Configurations/Base.xcconfig: Added.
4270         * WebEditingTester/Configurations/DebugRelease.xcconfig: Added.
4271         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
4272
4273 2015-02-24  Andy Estes  <aestes@apple.com>
4274
4275         Teach MiniBrowser how to disable per-window web processes
4276         https://bugs.webkit.org/show_bug.cgi?id=141988
4277
4278         Reviewed by Darin Adler.
4279
4280         * MiniBrowser/mac/AppDelegate.m:
4281         (defaultConfiguration): Created a _WKProcessPoolConfiguration with maximumProcessCount == 1 if per-window web processes are disabled.
4282         * MiniBrowser/mac/SettingsController.h:
4283         * MiniBrowser/mac/SettingsController.m:
4284         (-[SettingsController _populateMenu]): Added a new Settings menu item.
4285         (-[SettingsController validateMenuItem:]): Validated the new Settings menu item.
4286         (-[SettingsController togglePerWindowWebProcessesDisabled:]): Displayed an alert informing the user that MiniBrowser must be restarted for the setting to take effect.
4287         (-[SettingsController perWindowWebProcessesDisabled]): Returned the value from user defaults.
4288
4289 2015-02-24  Alexey Proskuryakov  <ap@apple.com>
4290
4291         Bot watcher's dashboard sometimes hits an assertion: data.num_missing === this.layoutTestResults.testsWithMissingResults.length
4292         https://bugs.webkit.org/show_bug.cgi?id=141889
4293
4294         Reviewed by Darin Adler.
4295
4296         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
4297
4298 2015-02-24  Yusuke Suzuki  <utatane.tea@gmail.com>
4299
4300         REGRESSION(r179429): Can't type comments in Facebook
4301         https://bugs.webkit.org/show_bug.cgi?id=141859
4302
4303         Reviewed by Brent Fulgham.
4304
4305         Drop javaScriptExperimentsEnabled and specify JavaScriptRuntimeFlagsAllEnabled as KJavaScriptRuntimeFlags.
4306
4307         * DumpRenderTree/mac/DumpRenderTree.mm:
4308         (resetWebPreferencesToConsistentValues):
4309         * DumpRenderTree/win/DumpRenderTree.cpp:
4310         (resetWebPreferencesToConsistentValues):
4311         * WebKitTestRunner/TestController.cpp:
4312         (WTR::TestController::resetPreferencesToConsistentValues):
4313
4314 2015-02-24  Michael Catanzaro  <mcatanzaro@igalia.com>
4315
4316         Crash loading local file with WebPageProxy::loadAlternateHTMLString
4317         https://bugs.webkit.org/show_bug.cgi?id=141867
4318
4319         Reviewed by Anders Carlsson.
4320
4321         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp:
4322         (TestWebKitAPI::loadAlternateHTMLString): Split most of this test into a function so it can
4323         be shared with the new test.
4324         (TestWebKitAPI::TEST): Add a cross-platform test for this crash.
4325         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp: Add a GTK+ test for this crash.
4326         (testLoadAlternateHTMLForLocalPage):
4327         (beforeAll):
4328
4329 2015-02-24  David Kilzer  <ddkilzer@apple.com>
4330
4331         [iOS] Implement WTR::activateFonts() to fix missing fonts in WebKit2 test runs
4332         <http://webkit.org/b/141900>
4333
4334         Reviewed by Myles C. Maxfield.
4335
4336         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
4337         (OTHER_LDFLAGS_BASE): Link to CoreText.framework.
4338         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm: Rename from Tools/WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm.
4339         - Rename to share code with iOS.
4340         - Add USE(APPKIT) around AppKit-specific headers and code.
4341         - Fix a check-webkit-style warning.
4342         * WebKitTestRunner/InjectedBundle/ios/ActivateFontsIOS.mm: Remove.
4343         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
4344         - Rename mac/ActivateFonts.mm to cocoa/ActivateFontsCocoa.mm.
4345         - Remove ios/ActivateFontsIOS.mm.
4346         - Fix InjectedBundle/cocoa group to represent the directory on
4347           disk.  Includes a change to InjectedBundlePageCocoa.mm.
4348
4349 2015-02-23  Commit Queue  <commit-queue@webkit.org>
4350
4351         Unreviewed, rolling out r180547 and r180550.
4352         https://bugs.webkit.org/show_bug.cgi?id=141957
4353
4354         Broke 10 Windows tests. (Requested by bfulgham_ on #webkit).
4355
4356         Reverted changesets:
4357
4358         "REGRESSION(r179429): Can't type comments in Facebook"