Remove the remaining vestiges of SVG feature define
[WebKit-https.git] / Tools / ChangeLog
1 2015-05-05  daegyu lee  <daegyu.lee@navercorp.com>
2
3         Remove the remaining vestiges of SVG feature define
4         https://bugs.webkit.org/show_bug.cgi?id=144655
5
6         Reviewed by Alexey Proskuryakov.
7
8         * Scripts/webkitperl/FeatureList.pm:
9
10 2015-05-05  Timothy Horton  <timothy_horton@apple.com>
11
12         Add a layout mode for computing fixed layout size from a minimum size
13         https://bugs.webkit.org/show_bug.cgi?id=144610
14         <rdar://problem/19790341>
15
16         Reviewed by Simon Fraser.
17
18         * MiniBrowser/mac/BrowserWindow.xib:
19         * MiniBrowser/mac/BrowserWindowController.h:
20         * MiniBrowser/mac/WK1BrowserWindowController.m:
21         (-[WK1BrowserWindowController toggleUseMinimumViewSize:]):
22         * MiniBrowser/mac/WK2BrowserWindowController.m:
23         (-[WK2BrowserWindowController toggleUseMinimumViewSize:]):
24         Add a optional toolbar item to toggle a minimum view size of 1024x0.
25
26 2015-05-05  Alex Christensen  <achristensen@webkit.org>
27
28         [Content Extensions] Release input NSString when finished copying it.
29         https://bugs.webkit.org/show_bug.cgi?id=144642
30
31         Reviewed by Brian Weinstein.
32
33         * WebKitTestRunner/mac/TestControllerMac.mm:
34         (WTR::TestController::platformConfigureViewForTest):
35         Use alloc and initWithContentsOfURL to prevent over-releasing an autoreleased object.
36
37 2015-05-05  Brent Fulgham  <bfulgham@apple.com>
38
39         Unreviewed test fix after r183798.
40
41         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
42         (convertToDRTLabel): Mimic behavior of Mac accessibility output
43         so we can share results.
44
45 2015-05-05  Alex Christensen  <achristensen@webkit.org>
46
47         [Content Extensions] Use less memory to store the json input.
48         https://bugs.webkit.org/show_bug.cgi?id=144604
49
50         Reviewed by Benjamin Poulain.
51
52         * MiniBrowser/mac/ExtensionManagerWindowController.m:
53         (-[ExtensionManagerWindowController add:]):
54         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
55         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
56         * WebKitTestRunner/mac/TestControllerMac.mm:
57         (WTR::TestController::platformConfigureViewForTest):
58
59 2015-05-05  Yusuke Suzuki  <utatane.tea@gmail.com>
60
61         Unreviewed. Make myself a WebKit reviewer.
62
63         * Scripts/webkitpy/common/config/contributors.json:
64
65 2015-05-05  Joanmarie Diggs  <jdiggs@igalia.com>
66
67         [GTK] r183783 breaks build
68         https://bugs.webkit.org/show_bug.cgi?id=144632
69
70         Reviewed by Martin Robinson.
71
72         Return false rather than nullptr for unimplemented AccessibilityUIElement::setSelectedVisibleTextRange
73
74         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
75         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
76
77 2015-05-05  Alex Christensen  <achristensen@webkit.org>
78
79         [Content Extensions] Combine NFAs properly and free memory as we compile.
80         https://bugs.webkit.org/show_bug.cgi?id=144485
81
82         Reviewed by Benjamin Poulain.
83
84         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
85         (TestWebKitAPI::TEST_F):
86         Added tests for correctly splitting up NFAs with unquantified terms after quantified terms.
87         Added tests for deep NFAs.
88
89 2015-05-04  Alex Christensen  <achristensen@webkit.org>
90
91         [Content Extensions] Use less memory when writing byte code to file
92         https://bugs.webkit.org/show_bug.cgi?id=144602
93
94         Reviewed by Darin Adler.
95
96         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
97
98 2015-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>
99
100         [GTK] Async operations running in the WorkQueue thread should schedule their sources to the WorkQueue main lopp
101         https://bugs.webkit.org/show_bug.cgi?id=144541
102
103         Reviewed by Žan Doberšek.
104
105         Add a test case to WorkQueue unit test, to check that sources of
106         asynchronous IO operations running in the WorkQueue thread are
107         dispatched by the WorkQueue main loop.
108
109         * TestWebKitAPI/PlatformGTK.cmake:
110         * TestWebKitAPI/Tests/WTF/gtk/WorkQueueGtk.cpp: Added.
111         (TestWebKitAPI::TEST):
112
113 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
114
115         Correct '--show-webview' option for Tiled Drawing tests
116         https://bugs.webkit.org/show_bug.cgi?id=144621
117
118         Reviewed by Simon Fraser.
119
120         The scrolling thread/tiled drawing tests recreate the standard test runner web view. My earlier patch did not make
121         sure that the state of the '--show-webview' option was propagated to this additional view creation routine.
122
123         * WebKitTestRunner/mac/TestControllerMac.mm:
124         (WTR::TestController::platformConfigureViewForTest): Include the value of the 'shouldShowWebView' state in the
125         WKMutableDictionary passed to the 'ensureViewSupportsOptions' method.
126
127 2015-05-04  Filip Pizlo  <fpizlo@apple.com>
128
129         Large array shouldn't be slow
130         https://bugs.webkit.org/show_bug.cgi?id=144617
131
132         Reviewed by Geoffrey Garen.
133         
134         Add the hash-map benchmark to LongSpider. LongSpider was already not a perfect match of
135         SunSpider. It's not an official benchmark. It contains benchmarks that are relatively
136         long-running. So, hash-map sort of belongs here.
137
138         * Scripts/run-jsc-benchmarks:
139
140 2015-05-04  Doug Russell  <d_russell@apple.com>
141
142         AX: setting focus via accessibility object needs to set isSynchronizing in resulting selection intent
143         https://bugs.webkit.org/show_bug.cgi?id=144489
144
145         Reviewed by Chris Fleizach.
146
147         Resolves infinite looping when navigating rapidly between controls with the search API and then focusing
148         on the returned control.
149         Remove isSynchronizing flag from AXTextStateChangeIntent and put it on AXObjectCache.
150         Move AXTextStateChangeIntent logic in AccessibilityRenderObject into a helper method.
151         Call new AXTextStateChangeIntent helper from AccessibilityRenderObject::setFocus().
152         Add support for setSelectedVisibleTextRange() in accessibility tests.
153
154         * DumpRenderTree/AccessibilityUIElement.cpp:
155         (setSelectedVisibleTextRangeCallback):
156         (AccessibilityUIElement::setSelectedVisibleTextRange):
157         (AccessibilityUIElement::getJSClass):
158         (AccessibilityUIElement::textMarkerForIndex): Deleted.
159         * DumpRenderTree/AccessibilityUIElement.h:
160         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
161         (AccessibilityUIElement::setSelectedVisibleTextRange):
162         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
163         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
164         (WTR::AccessibilityUIElement::setSelectedTextRange): Deleted.
165         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
166         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
167         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
168         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
169         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
170         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
171         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
172         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
173
174 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
175
176         [Win] Implement the "--show-webview" option for Windows
177         https://bugs.webkit.org/show_bug.cgi?id=144589
178
179         Reviewed by Alex Christensen.
180
181         Add another runtime flag (--show-webview) that causes DumpRenderTree
182         to draw its view on-screen, rather than the standard offscreen mode.
183
184         * DumpRenderTree/win/DumpRenderTree.cpp:
185         (createWebViewAndOffscreenWindow): Honor the 'showWebView' flag.
186         (initializeGlobalsFromCommandLineOptions): Recognize the new
187         command-line argument, and set the global 'showWebView' state if
188         appropriate.
189
190 2015-05-04  Csaba Osztrogonác  <ossy@webkit.org>
191
192         Remove dead code from TestInvocationCairo.cpp
193         https://bugs.webkit.org/show_bug.cgi?id=144564
194
195         Reviewed by Gyuyoung Kim.
196
197         Only EFL and GTK port use TestInvocationCairo.cpp, there isn't other platform.
198
199         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
200         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
201
202 2015-05-04  Joonghun Park  <jh718.park@samsung.com>
203
204         [GTK] Add libnotify in gtk install-dependencies
205         https://bugs.webkit.org/show_bug.cgi?id=144379
206
207         Reviewed by Csaba Osztrogonác.
208
209         * gtk/install-dependencies:
210
211 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
212
213         check-webkit-style fails due to system pylint
214         https://bugs.webkit.org/show_bug.cgi?id=144360
215
216         Reviewed by Darin Adler.
217
218         Make sure that the directory containing third party autoinstalled modules
219         is at the beginning of the search path, to avoid conflicts with other
220         versions of the same modules installed in the system (e.g. pylint).
221
222         * Scripts/webkitpy/thirdparty/__init__.py: Prepend the autoinstalled
223         modules directory to sys.path, instead of appending it.
224
225 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
226
227         Unreviewed, updated my list of email addresses.
228
229         * Scripts/webkitpy/common/config/contributors.json: Updated.
230
231 2015-05-01  Martin Robinson  <mrobinson@igalia.com>
232
233         USE(...) macro should expect unprefixed variables
234         https://bugs.webkit.org/show_bug.cgi?id=144454
235
236         Reviewed by Daniel Bates.
237
238         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Replace all occurrences WTF_USE with USE.
239         * DumpRenderTree/config.h: Ditto.
240         * TestWebKitAPI/config.h: Ditto.
241
242 2015-05-01  Basile Clement  <basile_clement@apple.com>
243
244         Unreviewed. Add myself as a commiter in contributors.json.
245
246         * Scripts/webkitpy/common/config/contributors.json:
247
248 2015-05-01  Dewei Zhu  <dewei_zhu@apple.com>
249
250         Update speedometer patch to provide better UI, fix merge result bug and add "Score" metric to speedometer benchmark.
251         https://bugs.webkit.org/show_bug.cgi?id=144487
252
253         Reviewed by Ryosuke Niwa.
254
255         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
256         (BenchmarkRunner.merge): Fix bug.
257         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Update appearance and add "Score" metric.
258
259 2015-05-01  Brady Eidson  <beidson@apple.com>
260
261         Add API to disable meta refreshes.
262         <rdar://problem/20333198> and https://bugs.webkit.org/show_bug.cgi?id=144269
263
264         Reviewed by Alexey Proskuryakov.
265
266         * DumpRenderTree/mac/DumpRenderTree.mm:
267         (resetWebPreferencesToConsistentValues): Reset the meta refresh pref between tests.
268
269 2015-05-01  Brent Fulgham  <bfulgham@apple.com>
270
271         Provide a runtime flag to run-webkit-tests that shows the test view
272         https://bugs.webkit.org/show_bug.cgi?id=144079.
273
274         Unreviewed correction to r183651.
275
276         * WebKitTestRunner/TestController.cpp:
277         (WTR::TestController::initialize): Make sure the state of the '--show-webview'
278         flag is included in the options dictionary passed to the PlatformWebView.
279
280 2015-05-01  Antti Koivisto  <antti@apple.com>
281
282         Remove network process load serialization code
283         https://bugs.webkit.org/show_bug.cgi?id=144448
284
285         Reviewed by Alexey Proskuryakov.
286
287         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
288         (WTR::InjectedBundle::beginTesting):
289         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
290         (WTR::TestRunner::setSerializeHTTPLoads):
291         (WTR::TestRunner::dispatchPendingLoadRequests):
292
293 2015-05-01  Xabier Rodriguez Calvar  <calvaris@igalia.com>
294
295         [GTK] Add libhyphen-dev to the build dependencies
296         https://bugs.webkit.org/show_bug.cgi?id=144452
297
298         Reviewed by Martin Robinson.
299
300         * gtk/install-dependencies: Added hyphen as Fedora and Arch
301         dependencies.
302
303 2015-04-30  Brent Fulgham  <bfulgham@apple.com>
304
305         Provide a runtime flag to run-webkit-tests that shows the test view
306         https://bugs.webkit.org/show_bug.cgi?id=144079.
307
308         Reviewed by Dean Jackson.
309
310         Add a new flag (--show-webview) that causes DumpRenderTree and WebKitTestRunner to display
311         their WebViews on-screen. This can be used when running tests via the "--additional-drt-flag"
312         option:
313         
314         --additional-drt-flag="--show-webview"
315
316         * DumpRenderTree/mac/DumpRenderTree.mm:
317         (createWebViewAndOffscreenWindow): Use an on-screen window rect if the user passed the
318         '--show-webview' flag.
319         (initializeGlobalsFromCommandLineOptions): Recognize the "--show-webview" option.
320         * WebKitTestRunner/Options.cpp:
321         (WTR::Options::Options):
322         (WTR::handleOptionShowWebView):
323         (WTR::OptionsHandler::OptionsHandler): Recognize the new "--show-webview" option.
324         * WebKitTestRunner/Options.h:
325         * WebKitTestRunner/TestController.cpp:
326         (WTR::TestController::TestController):
327         (WTR::TestController::initialize): Use value of 'shouldShowWebView' from the Options bundle.
328         * WebKitTestRunner/TestController.h:
329         (WTR::TestController::shouldShowWebView):
330         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
331         (WTR::PlatformWebView::PlatformWebView): Retrieve the value of the 'ShouldShowWebView' key from the
332         options dictionary. If it is true, display the web view while running the test.
333
334 2015-04-30  Alexey Proskuryakov  <ap@apple.com>
335
336         r183355 didn't trigger Mac tests
337         https://bugs.webkit.org/show_bug.cgi?id=144464
338
339         Reviewed by Simon Fraser.
340
341         Update badly neglected filters and unit tests.
342
343         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
344         (_should_file_trigger_build):
345         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
346         (ShouldBuildTest):
347         (ShouldBuildTest.test_should_build):
348
349 2015-04-30  Xabier Rodriguez Calvar  <calvaris@igalia.com>
350
351         [GTK] Add libhyphen-dev to the build dependencies
352         https://bugs.webkit.org/show_bug.cgi?id=144452
353
354         Reviewed by Martin Robinson.
355
356         * gtk/install-dependencies: Added libhyphen-dev to the WebKitGTK+
357         build dependencies.
358
359 2015-04-30  Martin Robinson  <mrobinson@igalia.com>
360
361         [GTK] Testing dictionaries are not installed automatically
362         https://bugs.webkit.org/show_bug.cgi?id=144460
363
364         Reviewed by Carlos Garcia Campos.
365
366         * gtk/jhbuild.modules: Add the testing dictionaries to the main moduleset.
367
368 2015-04-30  Dewei Zhu  <dewei_zhu@apple.com>
369
370         Fix return code issue, check return code of safari process and dump results to log
371         https://bugs.webkit.org/show_bug.cgi?id=144436
372
373         Reviewed by Ryosuke Niwa.
374
375         * Scripts/run-benchmark:
376         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
377         (BenchmarkRunner.dump): Correct typo.
378         (BenchmarkRunner.wrap): Add results to console.
379         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Check return code to detect Safari crashes.
380         (OSXSafariDriver.prepareEnv):
381         (OSXSafariDriver.launchUrl):
382         (OSXSafariDriver.closeBrowsers):
383
384 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
385
386         Should no longer need to worry about very old versions of Xcode
387         https://bugs.webkit.org/show_bug.cgi?id=144437
388
389         Reviewed by Dan Bernstein.
390
391         * Scripts/check-for-exit-time-destructors:
392         * Scripts/check-for-global-initializers:
393         * Scripts/check-for-weak-vtables-and-externals:
394
395 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
396
397         REGRESSION(183583): [Mac] make without SDKROOT has issues
398         https://bugs.webkit.org/show_bug.cgi?id=144431
399
400         Reviewed by Dan Bernstein.
401
402         * Makefile:
403         * WebKitTestRunner/Makefile:
404         Assume an empty SDKROOT means an macosx variant, so only
405         enable settings if the SDKROOT is not empty and does not
406         contain "macosx".
407
408 2015-04-29  Brent Fulgham  <bfulgham@apple.com>
409
410         Expand test infrastructure to support scrolling tests
411         https://bugs.webkit.org/show_bug.cgi?id=143684
412         <rdar://problem/20375516>
413
414         Reviewed by Simon Fraser.
415
416         * DumpRenderTree/mac/DumpRenderTree.mm:
417         (resetWebViewToConsistentStateBeforeTesting): Make sure the WheelEventTestTrigger state is
418         reset before the next test run.
419         * WebKitTestRunner/TestController.cpp:
420         (WTR::TestController::resetStateToConsistentValues): Ditto."
421
422 2015-04-29  Alex Christensen  <achristensen@webkit.org>
423
424         Run javascriptcore tests on Windows without cygwin
425         https://bugs.webkit.org/show_bug.cgi?id=144419
426
427         Reviewed by Brent Fulgham.
428
429         * Scripts/run-javascriptcore-tests:
430         (runJSCStressTests):
431         Just call ruby, not /usr/bin/env ruby.
432
433 2015-04-29  Yusuke Suzuki  <utatane.tea@gmail.com>
434
435         [GTK] Add --enable-shared option to LLVM to build mesa
436         https://bugs.webkit.org/show_bug.cgi?id=144393
437
438         Reviewed by Martin Robinson.
439
440         The updated mesa requires the shared LLVM libraries.
441         To build mesa with LLVM in FTL build, this patch added `--enable-shared` option
442         to LLVM configure script. It will provide shared libraries in addition to static libraries.
443
444         * gtk/jhbuild-optional.modules:
445
446 2015-04-29  Martin Robinson  <mrobinson@igalia.com>
447
448         [GTK] Add support for automatic hyphenation
449         https://bugs.webkit.org/show_bug.cgi?id=44478
450
451         Reviewed by Carlos Garcia Campos.
452
453         * gtk/jhbuild.modules: Add a module for testing dictionaries, so that
454         all systems will use the same dictionaries for testing purposes.
455
456 2015-04-29  Jake Nielsen  <jacob_nielsen@apple.com>
457
458         Failure when building WebKit for appletvsimulator.
459         https://bugs.webkit.org/show_bug.cgi?id=144356
460
461         Reviewed by Alexey Proskuryakov.
462
463         Changes Makefile logic to check for "not OS X" rather than "is iOS" to
464         make TVOS and WatchOS behave correctly.
465
466         * Makefile:
467         * WebKitTestRunner/Makefile:
468
469 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
470
471         Use-after-free when invalidating WKPageForceRepaint callback
472         https://bugs.webkit.org/show_bug.cgi?id=144401
473         rdar://problem/20741111
474
475         Reviewed by Tim Horton.
476
477         * WebKitTestRunner/TestController.h: (WTR::TestController::isCurrentInvocation): Added.
478
479         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::forceRepaintDoneCallback):
480         Don't do anything on error, because the context may be a stale pointer now.
481
482 2015-04-29  David Kilzer  <ddkilzer@apple.com>
483
484         check-webkit-style: Don't complain about returning value from Objective-C method call in header
485         <http://webkit.org/b/144395>
486
487         Reviewed by Andy Estes.
488
489         * Scripts/webkitpy/style/checkers/cpp.py:
490         (check_spacing): Update regex so 'return' is ignored if it
491         precedes the whitespace and bracket.  Change category name to
492         'whitespace/brackets'.  Add period to error message.
493         (CppChecker): Add 'whitespace/brackets' as a category.
494         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
495         (ErrorCollector.__call__): Replace 'STYLE_CATEGORIES' with
496         'CppChecker.categories' since that's where the list lives now.
497         (CppStyleTest.test_spacing_before_brackets): Add tests for
498         'whitespace/brackets' issues and non-issues.
499
500 2015-04-29  Alex Christensen  <achristensen@webkit.org>
501
502         Fix WinCairo bot.
503
504         * Scripts/webkitdirs.pm:
505         (determinePassedConfiguration):
506         WinCairo bot doesn't use cygwin, but it needs Release_WinCairo for its configuration.
507
508 2015-04-29  Myles C. Maxfield  <mmaxfield@apple.com>
509
510         [OS X] Use CTFontCreateForCSS instead of doing font search ourselves
511         https://bugs.webkit.org/show_bug.cgi?id=132159
512
513         Reviewed by Darin Adler.
514
515         Make DumpRenderTree and WebKitTestRunner use the new font whitelist instead of
516         swizzling NSFontManager methods. This is predicated on ENABLE(PLATFORM_FONT_LOOKUP).
517
518         * DumpRenderTree/mac/DumpRenderTree.mm:
519         (fontWhitelist):
520         (adjustFonts):
521         (createWebViewAndOffscreenWindow):
522         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
523         (WTR::activateFonts):
524         * WebKitTestRunner/mac/TestControllerMac.mm:
525         (WTR::allowedFontFamilySet):
526         (WTR::systemHiddenFontFamilySet):
527         (WTR::generateWhitelist):
528         (WTR::TestController::platformInitializeContext):
529
530 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
531
532         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
533         https://bugs.webkit.org/show_bug.cgi?id=144155
534
535         Reviewed by Andreas Kling.
536
537         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues):
538         Make sure that test window is "visible" before each test. While there is no concrete
539         evidence that this is the problem indeed, the behavior is consistent with what would
540         happen for an invisible window. Also, WKTR obviously needs to do this to protect
541         against potential buggy tests that hide the window and don't show it.
542
543 2015-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>
544
545         Unreviewed. Fix /webkit2/WebKitWebInspectorServer/test-open-debugging-session.
546
547         Latest changes in the inspector UI made this test fail. We were
548         relying that the sidebar was always visible and the first 'li'
549         element of the inspector was the one containing the title. This is
550         no longer true, so better use document title that is not likely
551         to change.
552
553         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
554         (openRemoteDebuggingSession):
555
556 2015-04-29  Andres Gomez  <agomez@igalia.com>
557
558         Unreviewed. Re-sorted my contributor's mails to help bugzilla on showing the proper one.
559
560         * Scripts/webkitpy/common/config/contributors.json:
561
562 2015-04-29  Andres Gomez  <agomez@igalia.com>
563
564         Unreviewed. Created a new watchlist for changes in WebInspectorUI images and added myself to it.
565
566         * Scripts/webkitpy/common/config/watchlist:
567
568 2015-04-29  Hunseop Jeong  <hs85.jeong@samsung.com>
569
570         [EFL] Allow to run the tests on the native X display
571         https://bugs.webkit.org/show_bug.cgi?id=144247
572
573         Reviewed by Gyuyoung Kim.
574
575         Added the USE_NATIVE_XDISPLAY option for the WTR.
576         We can select the Xorg driver if environment variable is set up before running the tests.
577
578         * Scripts/webkitpy/port/efl.py:
579         (EflPort._driver_class):
580
581 2015-04-29  Joonghun Park  <jh718.park@samsung.com>
582
583         [GTK] Add libnotify-dev in gtk install-dependencies
584         https://bugs.webkit.org/show_bug.cgi?id=144379
585
586         Reviewed by Žan Doberšek.
587
588         * gtk/install-dependencies:
589
590 2015-04-28  Ryuan Choi  <ryuan.choi@navercorp.com>
591
592         [CoordinatedGraphics] Merge TILED_BACKING_STORE guard with COORDINATED_GRAPHICS
593         https://bugs.webkit.org/show_bug.cgi?id=143001
594
595         Reviewed by Gyuyoung Kim.
596
597         * WebKitTestRunner/TestController.cpp:
598         (WTR::shouldUseFixedLayout):
599
600 2015-04-28  Dewei Zhu  <dewei_zhu@apple.com>
601
602         Increase stablility of run-benchmark script
603         https://bugs.webkit.org/show_bug.cgi?id=144361
604
605         Reviewed by Ryosuke Niwa.
606
607         * Scripts/run-benchmark:
608         (main):
609         * Scripts/webkitpy/benchmark_runner/README.md: Update readme due to changes.
610         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
611         (GenericBenchmarkBuilder.clean):
612         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Improve error handling and remove an unnecessary loop.
613         (BenchmarkRunner.__init__):
614         (BenchmarkRunner.execute):
615         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
616         (OSXSafariDriver.prepareEnv): Remove saved sessions of Safari.
617         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Upload 'results' rather than 'time'.
618         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Update formate.
619         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Update formate.
620         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: 
621         (ServerControl.render_POST): Flush the buffer to make sure we can pass the result to stdout.
622         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
623         (HTTPServerDriver.fetchResult):
624         (HTTPServerDriver):
625         (HTTPServerDriver.killServer): Add kill server interface.
626         (HTTPServerDriver.getReturnCode): Add get return code interface.
627         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Adjust to support new interfaces.
628         (SimpleHTTPServerDriver.serve):
629         (SimpleHTTPServerDriver.fetchResult):
630         (SimpleHTTPServerDriver):
631         (SimpleHTTPServerDriver.killServer):
632         (SimpleHTTPServerDriver.getReturnCode):
633         * Scripts/webkitpy/benchmark_runner/utils.py:
634         (forceRemove): Provide python version of 'rm -rf'.
635
636 2015-04-28  Sam Weinig  <sam@webkit.org>
637
638         [Content Extensions] Process NFAs individually to avoid having all NFAs live at the same time
639         https://bugs.webkit.org/show_bug.cgi?id=144363
640
641         Reviewed by Alex Christensen.
642
643         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
644         (TestWebKitAPI::createNFAs):
645         (TestWebKitAPI::TEST_F):
646         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
647         (TestWebKitAPI::countLiveNodes):
648         (TestWebKitAPI::createNFAs):
649         (TestWebKitAPI::buildDFAFromPatterns):
650         Update tests to use a hand rolled createNFAs function on top of CombinedURLFilters::processNFAs.
651
652 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
653
654         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
655         https://bugs.webkit.org/show_bug.cgi?id=144304
656
657         Reviewed by Geoffrey Garen.
658
659         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Always explicitly
660         set the value of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
661         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
662
663 2015-04-28  Commit Queue  <commit-queue@webkit.org>
664
665         Unreviewed, rolling out r183514.
666         https://bugs.webkit.org/show_bug.cgi?id=144359
667
668         It broke cloop test bots (Requested by mcatanzaro on #webkit).
669
670         Reverted changeset:
671
672         "Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT"
673         https://bugs.webkit.org/show_bug.cgi?id=144304
674         http://trac.webkit.org/changeset/183514
675
676 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
677
678         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
679         https://bugs.webkit.org/show_bug.cgi?id=144304
680
681         Reviewed by Geoffrey Garen.
682
683         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Perform sanity-
684         checking to ensure --cloop and --ftl-jit cannot be combined. Always explicitly set the value
685         of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
686         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
687
688 2015-04-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
689
690         [CMake] Remove unnecessary include paths in TestWebKitAPI cmake files
691         https://bugs.webkit.org/show_bug.cgi?id=144319
692
693         Reviewed by Csaba Osztrogonác.
694
695         * TestWebKitAPI/CMakeLists.txt:
696         * TestWebKitAPI/PlatformEfl.cmake:
697
698 2015-04-28  Joseph Pecoraro  <pecoraro@apple.com>
699
700         Fix common typo "targetting" => "targeting"
701         https://bugs.webkit.org/show_bug.cgi?id=144349
702
703         Reviewed by Daniel Bates.
704
705         * Scripts/webkitdirs.pm:
706         (execMacWebKitAppForDebugging):
707
708 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
709
710         [GTK][jhbuild] Mesa build failure with llvm 3.6
711         https://bugs.webkit.org/show_bug.cgi?id=144250
712
713         Reviewed by Žan Doberšek.
714
715         Bump the version of Mesa to 10.5.4
716
717         * gtk/jhbuild.modules:
718
719 2015-04-28  Alexey Proskuryakov  <ap@apple.com>
720
721         Disable App Nap in WebKitTestRunner UI process
722         https://bugs.webkit.org/show_bug.cgi?id=144308
723
724         Reviewed by Daniel Bates.
725
726         * WebKitTestRunner/mac/main.mm:
727         (disableAppNapInUIProcess):
728         (main):
729
730 2015-04-28  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
731
732         [GTK] Update JHBuild Mesa download directory
733         https://bugs.webkit.org/show_bug.cgi?id=144318
734
735         Update the download directory of Mesa module since the previous one
736         doesn't exist any more.
737
738         Reviewed by Žan Doberšek.
739
740         * gtk/jhbuild.modules:
741
742 2015-04-28  Commit Queue  <commit-queue@webkit.org>
743
744         Unreviewed, rolling out r183477.
745         https://bugs.webkit.org/show_bug.cgi?id=144334
746
747         Roll back the Mesa dependency bump in fear of uncaught
748         regressions while the testing bots are no-op. (Requested by
749         zdobersek on #webkit).
750
751         Reverted changeset:
752
753         "[GTK][jhbuild] Mesa build failure with llvm 3.6"
754         https://bugs.webkit.org/show_bug.cgi?id=144250
755         http://trac.webkit.org/changeset/183477
756
757 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
758
759         [GTK][jhbuild] Mesa build failure with llvm 3.6
760         https://bugs.webkit.org/show_bug.cgi?id=144250
761
762         Reviewed by Žan Doberšek.
763
764         Bump the version of Mesa to 10.5.4
765
766         * gtk/jhbuild.modules:
767
768 2015-04-27  Dewei Zhu  <dewei_zhu@apple.com>
769
770         Add '__init__.py' and fix known bug in benchmark runner.
771         https://bugs.webkit.org/show_bug.cgi?id=144296
772
773         Reviewed by Ryosuke Niwa
774
775         * Scripts/webkitpy/benchmark_runner/__init__.py: Make python to recognize this module.
776         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Make python to recognize this module.
777         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
778         (BenchmarkRunner.__init__):
779         (BenchmarkRunner.execute): Fix logic bug that '--output-file' option doesn't work, and empty output file bug.
780         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Make python to recognize this module.
781         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Make python to recognize this module.
782
783 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
784
785         More build fix.
786
787         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
788         (-[AccessibilityNotificationHandler _notificationReceived:]):
789         Use -objectForKey:, not array subscript.
790
791 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
792
793         Catch unexpected exits in DumpRenderTree
794         https://bugs.webkit.org/show_bug.cgi?id=144288
795
796         Reviewed by Tim Horton.
797
798         * DumpRenderTree/mac/DumpRenderTree.mm:
799         (atexitFunction):
800         (DumpRenderTreeMain):
801
802 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
803
804         Build fix
805
806         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
807         (-[AccessibilityNotificationHandler _notificationReceived:]):
808         Use -objectForKey:, not array subscript.
809
810 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
811
812         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
813         https://bugs.webkit.org/show_bug.cgi?id=144155
814
815         Reviewed by Tim Horton.
816
817         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues):
818         Disable App Nap. I don't have positive evidence that it's the culprit, but it could be,
819         and we clearly don't want App Nap while testing.
820
821 2015-04-22  Martin Robinson  <mrobinson@igalia.com>
822
823         [CMake] Autogenerate cmakeconfig.h.cmake
824         https://bugs.webkit.org/show_bug.cgi?id=143997
825
826         Reviewed by Csaba Osztrogonác.
827
828         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Add XP_UNIX to the command-line
829         definitions since TestNetscapePlugIn does not use cmakeconfig.h.
830
831 2015-04-27  Brent Fulgham  <bfulgham@apple.com>
832
833         REGRESSION(r182879): Images and video can no longer be downloaded
834         https://bugs.webkit.org/show_bug.cgi?id=144267
835         <rdar://problem/20702844>
836
837         Reviewed by Simon Fraser.
838
839         Revise tests to check for proper download menu state.
840         1. Downloading a loal image should be disabled.
841         2. Downloading a local media file should be disabled.
842         3. Downloading non-downloadable media should be disabled.
843
844         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
845         (TestWebKitAPI::TEST):
846
847 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
848
849         Merge run-launcher into run-minibrowser
850         https://bugs.webkit.org/show_bug.cgi?id=141928
851
852         Reviewed by Darin Adler.
853
854         * Scripts/run-iexploder-tests:
855         (runSafariWithIExploder):
856         * Scripts/run-launcher: Removed.
857         * Scripts/run-minibrowser:
858         * Scripts/webkitdirs.pm:
859         (launcherPath):
860         * Scripts/webkitpy/port/efl.py:
861         (EflPort.show_results_html_file):
862         * Scripts/webkitpy/port/efl_unittest.py:
863         (EflPortTest.test_show_results_html_file):
864         * Scripts/webkitpy/port/gtk.py:
865         (GtkPort.print_leaks_summary):
866         (GtkPort.show_results_html_file):
867         (GtkPort): Deleted.
868         * Scripts/webkitpy/port/gtk_unittest.py:
869         (GtkPortTest.test_show_results_html_file):
870
871 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
872
873         [buildbot] Fix the output of perf-test buildstep on timeout
874         https://bugs.webkit.org/show_bug.cgi?id=144097
875
876         Reviewed by Ryosuke Niwa.
877
878         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
879         (RunAndUploadPerfTests.getText2):
880         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
881         (RunAndUploadPerfTestsTest.test_buildbot_timeout):
882         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
883
884 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
885
886         [EFL] TestWebKitAPI's forwarding header generator should depend on WebKit2's generator
887         https://bugs.webkit.org/show_bug.cgi?id=143874
888
889         Reviewed by Gyuyoung Kim.
890
891         * TestWebKitAPI/PlatformEfl.cmake: Add the new dependency.
892
893 2015-04-24  Philippe Normand  <pnormand@igalia.com>
894
895         [JHBuild] Move to upstream OpenWebRTC
896         https://bugs.webkit.org/show_bug.cgi?id=144145
897
898         Reviewed by Carlos Garcia Campos.
899
900         * efl/jhbuild.modules: Switch to upstream OpenWebRTC repository
901         and add a new simple patch to gst-plugins-base, required for
902         OpenWebRTC build.
903         * efl/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
904         * gtk/jhbuild.modules: Ditto.
905         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
906
907 2015-04-26  Yusuke Suzuki  <utatane.tea@gmail.com>
908
909         [ES6] Implement ES6 template literals
910         https://bugs.webkit.org/show_bug.cgi?id=142691
911
912         Reviewed by Darin Adler.
913
914         Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
915
916         * Scripts/webkitperl/FeatureList.pm:
917
918 2015-04-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
919
920         [CMake][EFL] Remove unnecessary include, library path in WebKitTestRunner/PlatformEfl.cmake 
921         https://bugs.webkit.org/show_bug.cgi?id=144217
922
923         Reviewed by Darin Adler.
924
925         * WebKitTestRunner/PlatformEfl.cmake:
926
927 2015-04-26  Doug Russell  <d_russell@apple.com>
928
929         AX: richer text change notifications (142719)
930         https://bugs.webkit.org/show_bug.cgi?id=142719
931
932         Reviewed by Darin Adler.
933
934         Richer accessibility value change notifications. Introduce AXTextEditType,
935         postTextStateChangeNotification and postTextReplacementNotification to give assistive
936         tech apps more reliable context for responding to changes in web content. Also implement
937         a mechanism to post value changes in password form fields in coalesced ticks to thwart
938         analyzing the cadence of changes.
939
940         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
941         and an overload of postTextReplacementNotification to give assistive tech apps more
942         reliable context for responding to changes in web content selection. Also block posting
943         selection changes on password fields.
944
945         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
946         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
947         (-[AccessibilityNotificationHandler stopObserving]):
948         (-[AccessibilityNotificationHandler _notificationReceived:]):
949         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
950         (AccessibilityUIElement::removeNotificationListener):
951         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
952         (-[AccessibilityNotificationHandler _notificationReceived:]):
953         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
954         (WTR::AccessibilityUIElement::removeNotificationListener):
955
956 2015-04-25  Sungmann Cho  <sungmann.cho@navercorp.com>
957
958         Add myself to contributors.json
959         https://bugs.webkit.org/show_bug.cgi?id=144204
960
961         Reviewed by Darin Adler.
962
963         * Scripts/webkitpy/common/config/contributors.json:
964
965 2015-04-25  Martin Robinson  <mrobinson@igalia.com>
966
967         Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
968         https://bugs.webkit.org/show_bug.cgi?id=144182
969
970         Reviewed by Simon Fraser.
971
972         * DumpRenderTree/win/DumpRenderTree.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
973
974 2015-04-25  Dewei Zhu  <dewei_zhu@apple.com>
975
976         https://bugs.webkit.org/show_bug.cgi?id=144038
977
978         Reviewed by Ryosuke Niwa
979
980         Add a script to run Speedometer and JetStream on a browser.
981
982         * Scripts/run-benchmark: Wrapper script to run benchmark.
983         (main):
984         * Scripts/webkitpy/benchmark_runner/README.md: Introduction of this script.
985         * Scripts/webkitpy/benchmark_runner/__init__.py: Added.
986         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Added.
987         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Added.
988         (BenchmarkBuilderFactory):
989         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added.
990         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Added.
991         (GenericBenchmarkBuilder):
992         (GenericBenchmarkBuilder.prepare):
993         (GenericBenchmarkBuilder._copyBenchmarkToTempDir):
994         (GenericBenchmarkBuilder._applyPatch):
995         (GenericBenchmarkBuilder.clean):
996         * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Added.
997         (JetStreamBenchmarkBuilder):
998         (JetStreamBenchmarkBuilder.prepare):
999         (JetStreamBenchmarkBuilder._runCreateScript):
1000         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Main module that masters all the processes of benchmark running.
1001         (BenchmarkRunner):
1002         (BenchmarkRunner.__init__):
1003         (BenchmarkRunner.execute):
1004         (BenchmarkRunner.dump):
1005         (BenchmarkRunner.wrap):
1006         (BenchmarkRunner.merge):
1007         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Added.
1008         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: Added.
1009         (BrowserDriver):
1010         (BrowserDriver.prepareEnv):
1011         (BrowserDriver.launchUrl):
1012         (BrowserDriver.closeBrowser):
1013         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py: Added.
1014         (BrowserDriverFactory):
1015         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json: Added.
1016         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py: Added.
1017         (OSXChromeDriver):
1018         (OSXChromeDriver.prepareEnv):
1019         (OSXChromeDriver.launchUrl):
1020         (OSXChromeDriver.closeBrowsers):
1021         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Added.
1022         (OSXSafariDriver):
1023         (OSXSafariDriver.prepareEnv):
1024         (OSXSafariDriver.launchUrl):
1025         (OSXSafariDriver.closeBrowsers):
1026         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Patch that makes JetStream compatible with this script.
1027         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Patch that makes Speedometer compatible with this scritp.
1028         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Added.
1029         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Added.
1030         * Scripts/webkitpy/benchmark_runner/generic_factory.py: Factory for generic purpose.
1031         (GenericFactory):
1032         (GenericFactory.iterateGetItem):
1033         (GenericFactory.create):
1034         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Added.
1035         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: Added.
1036         (ServerControl):
1037         (ServerControl.render_GET):
1038         (ServerControl.render_POST):
1039         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py: Added.
1040         (HTTPServerDriver):
1041         (HTTPServerDriver.serve):
1042         (HTTPServerDriver.fetchResult):
1043         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py: Added.
1044         (HTTPServerDriverFactory):
1045         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_drivers.json: Added.
1046         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Added.
1047         (SimpleHTTPServerDriver):
1048         (SimpleHTTPServerDriver.depends):
1049         (SimpleHTTPServerDriver.__init__):
1050         (SimpleHTTPServerDriver.serve):
1051         (SimpleHTTPServerDriver.baseUrl):
1052         (SimpleHTTPServerDriver.fetchResult):
1053         * Scripts/webkitpy/benchmark_runner/utils.py: Utility module.
1054         (ModuleNotFoundError):
1055         (loadModule):
1056         (getPathFromProjectRoot):
1057         (loadJSONFromFile):
1058         (TimeoutError):
1059         (timeout):
1060         (timeout.__init__):
1061         (timeout.handle_timeout):
1062         (timeout.__enter__):
1063         (timeout.__exit__):
1064
1065 2015-04-24  Commit Queue  <commit-queue@webkit.org>
1066
1067         Unreviewed, rolling out r183303.
1068         https://bugs.webkit.org/show_bug.cgi?id=144181
1069
1070         Change was incorrect, broke builds (Requested by smfr on
1071         #webkit).
1072
1073         Reverted changeset:
1074
1075         "Fix the build."
1076         http://trac.webkit.org/changeset/183303
1077
1078 2015-04-24  Simon Fraser  <simon.fraser@apple.com>
1079
1080         Fix the build.
1081
1082         * MiniBrowser/mac/WK2BrowserWindowController.m:
1083         (-[WK2BrowserWindowController initWithConfiguration:]):
1084
1085 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1086
1087         Disable ActionMenusPDFTest due to timeout on test bot
1088
1089         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1090         (TestWebKitAPI::TEST):
1091
1092 2015-04-24  Commit Queue  <commit-queue@webkit.org>
1093
1094         Unreviewed, rolling out r183266.
1095         https://bugs.webkit.org/show_bug.cgi?id=144164
1096
1097         Broke 32-bit build and a test. (Requested by ap on #webkit).
1098
1099         Reverted changeset:
1100
1101         "AX: richer text change notifications (142719)"
1102         https://bugs.webkit.org/show_bug.cgi?id=142719
1103         http://trac.webkit.org/changeset/183266
1104
1105 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1106
1107         REGRESSION: WebKit2.ActionMenusTest API test fails
1108         https://bugs.webkit.org/show_bug.cgi?id=144149
1109         <rdar://problem/20677770>
1110
1111         Reviewed by Tim Horton.
1112
1113         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Revise to use the same test PDF
1114         as the 'ActionMenusPDFTest'.
1115         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1116         (TestWebKitAPI::TEST): Unskip the PDF portion of ActionMenusTest, and revise its expected output
1117         to match the hit test on the 'action-menu-target.pdf' test file.
1118
1119 2015-04-24  Daniel Bates  <dabates@apple.com>
1120
1121         Cleanup: Use @memoized for property IOSSimulator.testing_device
1122         https://bugs.webkit.org/show_bug.cgi?id=141715
1123
1124         Reviewed by Darin Adler.
1125
1126         Simplify the caching of the result of IOSSimulator.testing_device
1127         and make the code more readable by making use of the @memoized declarator
1128         instead of explicitly managing a private instance variable,
1129         IOSSimulator._testing_device, for the cached result.
1130
1131         * Scripts/webkitpy/port/ios.py:
1132         (IOSPort.determine_full_port_name):
1133         (IOSSimulatorPort.__init__): Delete instance variable IOSSimulatorPort._testing_device.
1134         (IOSSimulatorPort):
1135         (IOSSimulatorPort.testing_device): No need to cache the created device object in
1136         IOSSimulatorPort._testing_device since we are marking this function @memoized.
1137         (IOSSimulatorPort.reset_preferences): Code style fix; inline self.testing_device.path instead
1138         of caching in local variable since we only make use of this value exactly once in this function.
1139         (IOSPort.__init__): Deleted; The instance variable IOSPort._testing_device has never
1140         been used since being added in r178622. So, we can remove this constructor since
1141         it's the trivial constructor once we remove the instance variable IOSPort._testing_device.
1142
1143 2015-04-24  Anders Carlsson  <andersca@apple.com>
1144
1145         Rename -[WKWebsiteDataStore isNonPersistent] to -[WKWebsiteDataStore isPersistent]
1146         https://bugs.webkit.org/show_bug.cgi?id=144158
1147
1148         Reviewed by Beth Dakin.
1149
1150         * MiniBrowser/mac/WK2BrowserWindowController.m:
1151         (-[WK2BrowserWindowController initWithConfiguration:]):
1152
1153 2015-04-24  Doug Russell  <d_russell@apple.com>
1154
1155         AX: richer text change notifications (142719)
1156         https://bugs.webkit.org/show_bug.cgi?id=142719
1157
1158         Reviewed by Darin Adler.
1159
1160         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.
1161
1162         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.
1163
1164         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
1165         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1166         (-[AccessibilityNotificationHandler stopObserving]):
1167         (-[AccessibilityNotificationHandler _notificationReceived:]):
1168         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1169         (AccessibilityUIElement::removeNotificationListener):
1170         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1171         (-[AccessibilityNotificationHandler _notificationReceived:]):
1172         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1173         (WTR::AccessibilityUIElement::removeNotificationListener):
1174
1175 2015-04-24  Darin Adler  <darin@apple.com>
1176
1177         Convert OwnPtr and PassOwnPtr uses to std::unique_ptr
1178         https://bugs.webkit.org/show_bug.cgi?id=128007
1179
1180         Reviewed by Anders Carlsson.
1181
1182         * DumpRenderTree/win/HistoryDelegate.h: Removed unneeded include.
1183         * DumpRenderTree/win/UIDelegate.h: Ditto.
1184
1185         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Removed OwnPtr-specific test cases.
1186         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
1187
1188         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Removed unneeded include.
1189
1190         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Use unique_ptr.
1191         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::SetUp): Use make_unique.
1192         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Ditto.
1193         (TestWebKitAPI::WebKit2WillLoadTest::SetUp): Ditto.
1194         * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp:
1195         (WebKitDOMDOMWindowTest::create): Ditto.
1196         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1197         (documentLoadedCallback): Use a queue of DelayedSignal objects instead
1198         of smart pointers to DelayedSIgnal objects.
1199         (uriChangedCallback): Ditto.
1200
1201 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1202
1203         [Mac] Unreviewed test fix.
1204         https://bugs.webkit.org/show_bug.cgi?id=144149
1205
1206         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1207         (TestWebKitAPI::TEST): Temporarily skip the PDF <embed>
1208         test.
1209
1210 2015-04-23  Darin Adler  <darin@apple.com>
1211
1212         Another round of removing use of OwnPtr, PassOwnPtr, and deleteOwnedPtr
1213         https://bugs.webkit.org/show_bug.cgi?id=144090
1214
1215         Reviewed by Anders Carlsson.
1216
1217         * DumpRenderTree/mac/DumpRenderTree.mm: Removed unneeded include.
1218
1219 2015-04-23  Michael Saboff  <msaboff@apple.com>
1220
1221         lldb macro btjs sometimes can't get a frame description
1222         https://bugs.webkit.org/show_bug.cgi?id=144130
1223
1224         Reviewed by Filip Pizlo.
1225
1226         We look to execute ExecState::describeFrame().  It appears that in some contexts the
1227         debugger can't find ExecState.  In those cases, CallFrame works as it is a typedef of
1228         ExecState.  Therefore we can fallback to using CallFrame::describeFrame().
1229
1230         * lldb/lldb_webkit.py:
1231         (btjs):
1232
1233 2015-04-23  Alex Christensen  <achristensen@webkit.org>
1234
1235         Use less memory when compiling content extensions.
1236         https://bugs.webkit.org/show_bug.cgi?id=144051
1237
1238         Reviewed by Darin Adler and Benjamin Poulain.
1239
1240         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1241         (TestWebKitAPI::TEST_F):
1242         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1243         (TestWebKitAPI::countLiveNodes):
1244
1245 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
1246
1247         [CMake] Clean up JSC JIT options
1248         https://bugs.webkit.org/show_bug.cgi?id=143998
1249
1250         Reviewed by Filip Pizlo.
1251
1252         * Scripts/build-jsc: Do not use -ENABLE_LLINT_C_LOOP on CMake ports.
1253         * Scripts/webkitperl/FeatureList.pm: Remove ENABLE_LLINT_C_LOOP.
1254
1255 2015-04-21  Brent Fulgham  <bfulgham@apple.com>
1256
1257         [Mac] Extend action menus to support PDF
1258         https://bugs.webkit.org/show_bug.cgi?id=143895
1259         <rdar://problem/19003333>
1260
1261         Reviewed by Tim Horton.
1262
1263         Reactivate the action menu tests, and add a new PDF-based test to make sure that selection
1264         of PDF content works.
1265
1266         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new 'test.pdf' resource to bundle.
1267         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Update with a new PDF pane.
1268         * TestWebKitAPI/Tests/WebKit2/test.pdf: Added.
1269         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1270         (-[ActionMenusTestWKView _actionMenuItemsForHitTestResult:withType:defaultActionMenuItems:userData:]):
1271         Update to support PDF tests.
1272         (TestWebKitAPI::windowPointForTarget): Add new target for PDF test.
1273         (TestWebKitAPI::waitForPDFToLoad): New helper function to avoid starting test before the PDF is available.
1274
1275 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1276
1277         Unreviewed. Do not run GTK+ user media unit tests when ENABLE_MEDIA_STREAM is disabled.
1278
1279         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1280         (beforeAll):
1281         (testWebViewAudioOnlyUserMediaPermissionRequests):
1282
1283 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
1284
1285         Add myself to watchlist
1286         https://bugs.webkit.org/show_bug.cgi?id=144041
1287
1288         Reviewed by Alex Christensen.
1289
1290         Add myself watching CMake, GtkWebKit2PublicAPI, SoupNetwork, and WebKitGTKTranslations.
1291
1292         * Scripts/webkitpy/common/config/watchlist:
1293
1294 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1295
1296         [GTK] MiniBrowser should use NetworkProcess by default
1297         https://bugs.webkit.org/show_bug.cgi?id=143948
1298
1299         Reviewed by Sergio Villar Senin.
1300
1301         Use WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES by default
1302         unless MINIBROWSER_SINGLEPROCESS environment variable is present.
1303
1304         * MiniBrowser/gtk/main.c:
1305         (main):
1306
1307 2015-04-21  Matthew Hanson  <matthew_hanson@apple.com>
1308
1309         Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.
1310
1311         Unreviewed build fix.
1312
1313         * Scripts/prepare-ChangeLog:
1314         (get_function_line_ranges_for_cpp):
1315         Use grep instead of any to determine if a string is an element of an array.
1316
1317 2015-04-21  Anders Carlsson  <andersca@apple.com>
1318
1319         Fix block signatures
1320         https://bugs.webkit.org/show_bug.cgi?id=144002
1321
1322         Reviewed by Andreas Kling.
1323
1324         * MiniBrowser/mac/WK2BrowserWindowController.m:
1325         (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
1326
1327 2015-04-21  Philippe Normand  <pnormand@igalia.com>
1328
1329         [GTK] jhbuild should not use a branch for openwebrtc
1330         https://bugs.webkit.org/show_bug.cgi?id=143981
1331
1332         Reviewed by Carlos Garcia Campos.
1333
1334         * gtk/jhbuild.modules:
1335
1336 2015-04-20  Matthew Hanson  <matthew_hanson@apple.com>
1337
1338         Fix compilation error for prepare-ChangeLog running with Perl version < v5.18.2.
1339
1340         Unreviewed build fix.
1341
1342         The any function was added to List::Utils between Perl v5.16.2 and Perl v5.18.2.
1343         However, it has been exposed by List::MoreUtils since its inception. This patch uses
1344         the any function exposed by List::MoreUtils for greater compatibility.
1345
1346         * Scripts/prepare-ChangeLog:
1347         Use any from List::MoreUtils instead of List::Utils, as List::MoreUtils exposes
1348         the any function in all of versions of Perl used by our infrastructure.
1349
1350 2015-04-20  Alex Christensen  <achristensen@webkit.org>
1351
1352         Remove unnecessary logs when resetting tests.
1353
1354         * WebKitTestRunner/mac/TestControllerMac.mm:
1355         (WTR::TestController::platformResetPreferencesToConsistentValues):
1356         In r183020 I added some logs when compiling or removing content extensions fails.
1357         We often try to remove a content extension that does not exist, and that is not a problem.
1358
1359 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
1360
1361         prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
1362         https://bugs.webkit.org/show_bug.cgi?id=143897
1363
1364         Reviewed by David Kilzer.
1365
1366         This is a speculative fix that addresses two issues:
1367
1368         1. An off-by-one error which allowed ending lines to be less than starting lines when a hunk was a pure delete.
1369         We were determining ending lines from combined diffs using the logic: End = Start + Offset - 1.
1370
1371         So for a hunk like "@@ -723,10 +721,0 @@ bool foobar", we were generating the following starting/ending line pairs:
1372         Before: (723, 729)
1373         After: (721, 720)
1374
1375         Before is correct, but After should be (721, 721), since it represents the beginning and ending lines for the hunk.
1376         Whether there are zero lines or one line in the hunk, the starting and ending line are the same.
1377
1378         This error was causing bad behavior on purely additive and purely subtractive hunks, but since we only refer
1379         to After when generating ChangeLog output, the extractLineRangeBeforeChange had no visible effect on program output.
1380
1381         The fix is to set End to the max of Start + Offset - 1 and Start, rather than always using the former.
1382
1383         2. Creating git diffs from HEAD and not origin/master by default.
1384
1385         Hard-coding origin/master into the originalFile command has the disadvantage of causing the diff to fail entirely
1386         when origin/master does not exist, and to do the wrong thing when determining deleted functions/methods.
1387
1388         * Scripts/prepare-ChangeLog:
1389         (originalFile):
1390         Use HEAD instead of origin/master in default Git case.
1391
1392         (generateFunctionLists):
1393         Ensure that the end line is not less than the start line.
1394
1395         (extractLineRangeAfterChange):
1396         Set the end line to the start line if the end line is less than the start line.
1397
1398         (extractLineRangeBeforeChange):
1399         Ditto.
1400
1401 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
1402
1403         Suppress warning in prepare-ChangeLog.
1404         https://bugs.webkit.org/show_bug.cgi?id=143882
1405
1406         Reviewed by David Kilzer.
1407
1408         Prune noisy prepare-ChangeLog output by using the List::Util::any function
1409         instead of the deprecated smartmatch operator.
1410
1411         * Scripts/prepare-ChangeLog:
1412         Import the List::Util::any function.
1413
1414         (get_function_line_ranges_for_cpp):
1415         Use the any function instead of smartmatch.
1416
1417 2015-04-20  Anders Carlsson  <andersca@apple.com>
1418
1419         Modify the WKWebsiteDataStore API to take a NSSet of types instead of a bitmask
1420         https://bugs.webkit.org/show_bug.cgi?id=143966
1421
1422         Reviewed by Dan Bernstein.
1423
1424         * MiniBrowser/mac/WK2BrowserWindowController.m:
1425         (dataTypes):
1426         (-[WK2BrowserWindowController fetchWebsiteData:]):
1427         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
1428         (-[WK2BrowserWindowController clearWebsiteData:]):
1429
1430 2015-04-20  Alex Christensen  <achristensen@webkit.org>
1431
1432         Fix content extension test flakiness.
1433         https://bugs.webkit.org/show_bug.cgi?id=143950
1434
1435         Reviewed by Brady Eidson.
1436
1437         * WebKitTestRunner/mac/TestControllerMac.mm:
1438         (WTR::TestController::platformResetPreferencesToConsistentValues):
1439         Remove the TestContentExtensions if it exists.
1440         (WTR::TestController::platformConfigureViewForTest):
1441         Log errors in case there are any.
1442
1443 2015-04-20  Alex Christensen  <achristensen@webkit.org>
1444
1445         Properly report errors from _WKUserContentExtensionStore.
1446         https://bugs.webkit.org/show_bug.cgi?id=143808
1447
1448         Reviewed by Darin Adler.
1449
1450         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
1451         (TEST_F):
1452
1453 2015-04-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1454
1455         Add a rule for NetworkCache to watchlist file
1456         https://bugs.webkit.org/show_bug.cgi?id=143945
1457
1458         Reviewed by Sergio Villar Senin.
1459
1460         And add myself to the list of watchers.
1461
1462         * Scripts/webkitpy/common/config/watchlist:
1463
1464 2015-04-19  Darin Adler  <darin@apple.com>
1465
1466         Update RefPtr documentation and deprecation
1467         https://bugs.webkit.org/show_bug.cgi?id=143936
1468
1469         Reviewed by Andreas Kling.
1470
1471         * Scripts/do-webcore-rename: Put in some DeprecatedPassRefPtr renames.
1472
1473 2015-04-19  Yusuke Suzuki  <utatane.tea@gmail.com>
1474
1475         Introduce bytecode intrinsics
1476         https://bugs.webkit.org/show_bug.cgi?id=143926
1477
1478         Reviewed by Filip Pizlo.
1479
1480         Change cpplint to accept emit_intrinsic_XXX.
1481
1482         * Scripts/webkitpy/style/checkers/cpp.py:
1483         (check_identifier_name_in_declaration):
1484
1485 2015-04-18  Simon Fraser  <simon.fraser@apple.com>
1486
1487         Fix lldb_webkit.py to show StringImpls correctly
1488         https://bugs.webkit.org/show_bug.cgi?id=143920
1489
1490         Reviewed by Andreas Kling.
1491         
1492         Update WTFStringImplProvider's is_8bit to use the correct bitmask.
1493
1494         * lldb/lldb_webkit.py:
1495         (WTFStringImplProvider.is_8bit):
1496
1497 2015-04-17  Daniel Bates  <dabates@apple.com>
1498
1499         Not able to build WebKit against iOS Simulator 8.3 SDK
1500         https://bugs.webkit.org/show_bug.cgi?id=143883
1501
1502         Reviewed by David Kilzer.
1503
1504         Copy libraries libWebKitSystemInterfaceIOS{Device, Simulator}8.3.a to the built product directory
1505         so that Xcode uses them.
1506
1507         * Scripts/copy-webkitlibraries-to-product-directory:
1508
1509 2015-04-17  Beth Dakin  <bdakin@apple.com>
1510
1511         Force mouse events should go through normal mouse event handling code paths
1512         https://bugs.webkit.org/show_bug.cgi?id=143749
1513         -and corresponding-
1514         rdar://problem/20472895
1515
1516         Reviewed by Dean Jackson.
1517
1518         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
1519         Since there is not a way to create an NSEventTypePressure from scratch, we 
1520         subclass NSEvent and override all of the critical methods.
1521
1522         * WebKitTestRunner/EventSenderProxy.h:
1523         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1524         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1525         (WTR::EventSendingController::mouseForceDown):
1526         (WTR::EventSendingController::mouseForceUp):
1527         (WTR::EventSendingController::mouseForceChanged):
1528         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1529         * WebKitTestRunner/TestController.cpp:
1530         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
1531         * WebKitTestRunner/mac/EventSenderProxy.mm:
1532         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
1533         (-[EventSenderPressureEvent timestamp]):
1534         (-[EventSenderPressureEvent type]):
1535         (-[EventSenderPressureEvent locationInWindow]):
1536         (-[EventSenderPressureEvent location]):
1537         (-[EventSenderPressureEvent stage]):
1538         (-[EventSenderPressureEvent pressure]):
1539         (-[EventSenderPressureEvent phase]):
1540         (-[EventSenderPressureEvent eventNumber]):
1541         (WTR::EventSenderProxy::mouseForceDown):
1542         (WTR::EventSenderProxy::mouseForceUp):
1543         (WTR::EventSenderProxy::mouseForceChanged):
1544
1545 2015-04-17  Alexey Proskuryakov  <ap@apple.com>
1546
1547         build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes
1548         https://bugs.webkit.org/show_bug.cgi?id=143885
1549
1550         Reviewed by Tim Horton.
1551
1552         Fixed a case where we have two builds with the same revision(s). An in order build
1553         is one for which the revision is strictly higher.
1554
1555         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1556         (BuildbotQueue.prototype._checkForInOrderResult):
1557         (BuildbotQueue.prototype.compareIterationsByRevisions):
1558
1559 2015-04-17  Commit Queue  <commit-queue@webkit.org>
1560
1561         Unreviewed, rolling out r182912 and r182920.
1562         https://bugs.webkit.org/show_bug.cgi?id=143881
1563
1564         Build breakage in some configurations (Requested by ap on
1565         #webkit).
1566
1567         Reverted changesets:
1568
1569         "Force mouse events should go through normal mouse event
1570         handling code paths"
1571         https://bugs.webkit.org/show_bug.cgi?id=143749
1572         http://trac.webkit.org/changeset/182912
1573
1574         http://trac.webkit.org/changeset/182920
1575
1576 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
1577
1578         [GTK] One more unreviewed fix after r182882.
1579
1580         * TestWebKitAPI/PlatformGTK.cmake: Added back the WebKit2's forwarding header generator dependency.
1581
1582 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
1583
1584         [GTK] Unreviewed speculative clean build fix after r182882.
1585
1586         TestWebKitAPI's forwarding header generator depended on WeKit2's
1587         which generated SOUP related forwarding headers too.
1588
1589         This dependency isn't necessary and was removed by r182882 to make
1590         forwarding header generators parallelizable. But in this case
1591         TestWebKitAPI's and WebKitTestRunner's forwarding header generator
1592         should generate SOUP related forwarding headers too similar to EFL.
1593
1594         * TestWebKitAPI/PlatformGTK.cmake:
1595         * WebKitTestRunner/PlatformGTK.cmake:
1596
1597 2015-04-17  Carlos Garcia Campos  <cgarcia@igalia.com>
1598
1599         [SOUP] Redirect to non HTTP destination is broken
1600         https://bugs.webkit.org/show_bug.cgi?id=143866
1601
1602         Reviewed by Sergio Villar Senin.
1603
1604         Add a unit test to check that redirect to a data URI works.
1605
1606         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
1607         (testRedirectToDataURI):
1608         (serverCallback):
1609         (beforeAll):
1610
1611 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
1612
1613         Changes method of quitting iOS Simulator to be more correct.
1614         https://bugs.webkit.org/show_bug.cgi?id=143847
1615         <rdar://problem/20530344>
1616
1617         Reviewed by Darin Adler.
1618
1619         Fixes by addressing the app by ID rather than by name.
1620
1621         * Scripts/webkitdirs.pm:
1622         (quitIOSSimulator):
1623         * Scripts/webkitpy/port/ios.py:
1624         (IOSSimulatorPort.check_sys_deps):
1625
1626 2015-04-16  Anders Carlsson  <andersca@apple.com>
1627
1628         Deprecate _WKWebsiteDataStore in favor of WKWebsiteDataStore
1629         https://bugs.webkit.org/show_bug.cgi?id=143844
1630
1631         Reviewed by Dan Bernstein.
1632
1633         * MiniBrowser/mac/AppDelegate.m:
1634         (-[BrowserAppDelegate newPrivateWindow:]):
1635         * MiniBrowser/mac/WK2BrowserWindowController.m:
1636         (-[WK2BrowserWindowController initWithConfiguration:]):
1637         (-[WK2BrowserWindowController fetchWebsiteData:]):
1638         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
1639         (-[WK2BrowserWindowController clearWebsiteData:]):
1640
1641 2015-04-16  Alex Christensen  <achristensen@webkit.org>
1642
1643         32-bit build fix.
1644
1645         * WebKitTestRunner/mac/TestControllerMac.mm:
1646         (WTR::TestController::platformResetPreferencesToConsistentValues):
1647         (WTR::TestController::platformConfigureViewForTest):
1648         Added WK_API_ENABLED.
1649
1650 2015-04-16  Alex Christensen  <achristensen@webkit.org>
1651
1652         Removed unused WKUserContentFilterRef.
1653         https://bugs.webkit.org/show_bug.cgi?id=143852
1654
1655         Reviewed by Sam Weinig.
1656
1657         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
1658         * WebKitTestRunner/mac/TestControllerMac.mm:
1659         (WTR::TestController::platformResetPreferencesToConsistentValues):
1660         (WTR::TestController::platformConfigureViewForTest):
1661
1662 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
1663
1664         Unreviewed. Adding myself as a commiter in contributers.json.
1665
1666         * Scripts/webkitpy/common/config/contributors.json:
1667
1668 2015-04-16  Alexey Proskuryakov  <ap@apple.com>
1669
1670         It is very hard to attach a debugger to WebProcess to debug tests
1671         https://bugs.webkit.org/show_bug.cgi?id=143837
1672
1673         Reviewed by Chris Dumez.
1674
1675         --no-timeout used to only affect waitUntilDone timeout, but not IPC timeout in
1676         WebKitTestRunner, and not pipe reading timeout in run-webkit-tests.
1677
1678         Now it disables all timeouts in tools, as is best for debugging tests.
1679
1680         * Scripts/webkitpy/port/driver.py: (Driver.run_test): Respect --no-timeout, so
1681         that the script doesn't terminate DRT/WKTR when there is no output for a long time.
1682
1683         * WebKitTestRunner/Options.cpp: Removed --no-timeout-at-all, as --no-timeout
1684         now has the same functionality.
1685
1686 2015-04-16  Beth Dakin  <bdakin@apple.com>
1687
1688         Force mouse events should go through normal mouse event handling code paths
1689         https://bugs.webkit.org/show_bug.cgi?id=143749
1690         -and corresponding-
1691         rdar://problem/20472895
1692
1693         Reviewed by Dean Jackson.
1694
1695         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
1696         Since there is not a way to create an NSEventTypePressure from scratch, we 
1697         subclass NSEvent and override all of the critical methods.
1698
1699         * WebKitTestRunner/EventSenderProxy.h:
1700         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1701         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1702         (WTR::EventSendingController::mouseForceDown):
1703         (WTR::EventSendingController::mouseForceUp):
1704         (WTR::EventSendingController::mouseForceChanged):
1705         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1706         * WebKitTestRunner/TestController.cpp:
1707         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
1708         * WebKitTestRunner/mac/EventSenderProxy.mm:
1709         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
1710         (-[EventSenderPressureEvent timestamp]):
1711         (-[EventSenderPressureEvent type]):
1712         (-[EventSenderPressureEvent locationInWindow]):
1713         (-[EventSenderPressureEvent location]):
1714         (-[EventSenderPressureEvent stage]):
1715         (-[EventSenderPressureEvent pressure]):
1716         (-[EventSenderPressureEvent phase]):
1717         (-[EventSenderPressureEvent eventNumber]):
1718         (WTR::EventSenderProxy::mouseForceDown):
1719         (WTR::EventSenderProxy::mouseForceUp):
1720         (WTR::EventSenderProxy::mouseForceChanged):
1721
1722 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
1723
1724         [EFL] Bump LLVM to version 3.6.0 on X86_64
1725         https://bugs.webkit.org/show_bug.cgi?id=143604
1726
1727         Reviewed by Gyuyoung Kim.
1728
1729         * efl/jhbuild.modules:
1730         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Added the necessary part of llvm-elf-add-stackmaps.patch.
1731         * efl/patches/llvm-elf-add-stackmaps.patch: Removed, it is included in LLVM 3.6.0 release.
1732         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range.patch: Removed, it is included in LLVM 3.6.0 release.
1733         * 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.
1734
1735 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
1736
1737         [EFL] Remove an unnecessary workaround from jhbuildrc
1738         https://bugs.webkit.org/show_bug.cgi?id=143823
1739
1740         Reviewed by Gyuyoung Kim.
1741
1742         * efl/jhbuildrc:
1743
1744 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
1745
1746         [GTK] Run forwarding headers generator unconditionally
1747         https://bugs.webkit.org/show_bug.cgi?id=143819
1748
1749         Reviewed by Carlos Garcia Campos.
1750
1751         * TestWebKitAPI/PlatformGTK.cmake:
1752         * WebKitTestRunner/PlatformGTK.cmake:
1753
1754 2015-04-15  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1755
1756         [EFL] Add gnutls to jhbuild.module
1757         https://bugs.webkit.org/show_bug.cgi?id=143777
1758
1759         Reviewed by Csaba Osztrogonác.
1760
1761         EFL port has required at least 3.0.0 version of gnutls since r176712.
1762         However some old linux distributions don't support 3.0.0 version. Besides
1763         other projects sometimes need to use lower version of gnutls.
1764
1765         This patch supports to download gnutls through jhbuild, and use it.
1766
1767         * efl/install-dependencies: Add nettle-dev dependency and remove libgnutls28-dev. 
1768         * efl/jhbuild.modules: Download 3.3 version because 3.3 version is stable version.
1769
1770 2015-04-15  Mark Lam  <mark.lam@apple.com>
1771
1772         Remove obsolete VMInspector debugging tool.
1773         https://bugs.webkit.org/show_bug.cgi?id=143798
1774
1775         Reviewed by Michael Saboff.
1776
1777         * TestWebKitAPI/CMakeLists.txt:
1778         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1779         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
1780         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1781         * TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp: Removed.
1782
1783 2015-04-15  Jer Noble  <jer.noble@apple.com>
1784
1785         Unreviewed gardening; Make the previous commit apply only _post_ Yosemite.
1786
1787         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1788
1789 2015-04-15  Jer Noble  <jer.noble@apple.com>
1790
1791         Unreviewed gardening; disable FullscreenZoomInitialFrame.WebKit2 API test post-Yosemite.
1792
1793         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1794         (TestWebKitAPI::TEST_F):
1795
1796 2015-04-15  Chris Dumez  <cdumez@apple.com>
1797
1798         [Win] DRT does not seem to reset the 'UsesPageCache' setting between tests
1799         https://bugs.webkit.org/show_bug.cgi?id=143779
1800
1801         Reviewed by Brent Fulgham.
1802
1803         Reset the 'UsesPageCache' setting to FALSE between tests on Windows,
1804         similarly to what is done on Mac / WK1. Without this, PageCache could
1805         stay enabled after page cache tests and cause weird behaviors.
1806
1807         * DumpRenderTree/win/DumpRenderTree.cpp:
1808         (resetWebPreferencesToConsistentValues):
1809
1810 2015-04-14  Simon Fraser  <simon.fraser@apple.com>
1811
1812         Re-enable custom dilation for antialiased fonts
1813         https://bugs.webkit.org/show_bug.cgi?id=143738
1814
1815         Reviewed by Tim Horton.
1816         
1817         Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
1818         but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
1819         a private WebKit pref. This pref defaults to YES, enabling the feature by default
1820         in WK1 as we do for WK2.
1821
1822         * DumpRenderTree/mac/DumpRenderTree.mm:
1823         (resetWebPreferencesToConsistentValues):
1824         * WebKitTestRunner/TestController.cpp:
1825         (WTR::TestController::resetPreferencesToConsistentValues):
1826
1827 2015-04-14  Brent Fulgham  <bfulgham@apple.com>
1828
1829         Correct layering violation in DumpRenderTree Build
1830         https://bugs.webkit.org/show_bug.cgi?id=143732
1831
1832         Reviewed by Simon Fraser.
1833
1834         Correct a layering violation in DumpRenderTree by calling functions on the
1835         WebCoreTestSupport library, rather than attempting to work with WebCore
1836         types directly.
1837
1838         * DumpRenderTree/mac/EventSendingController.mm:
1839         (-[EventSendingController monitorWheelEvents]): Call methods on WebCoreTestSupport, rather
1840         than WebCore itself.,
1841         (-[EventSendingController callAfterScrollingCompletes:]): Ditto.
1842
1843 2015-04-14  Benjamin Poulain  <benjamin@webkit.org>
1844
1845         Add a conservative DFA minimizer for the content extension matcher
1846         https://bugs.webkit.org/show_bug.cgi?id=143501
1847
1848         Reviewed by Alex Christensen.
1849
1850         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1851         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1852
1853 2015-04-14  Daniel Bates  <dabates@apple.com>
1854
1855         Skip failing test Tests/WebKit2Cocoa/FixedLayoutSize.mm on iOS
1856         https://bugs.webkit.org/show_bug.cgi?id=143693
1857         <rdar://problem/20530316>
1858
1859         Reviewed by Tim Horton.
1860
1861         Skip the test Tests/WebKit2Cocoa/FixedLayoutSize.mm as we do not plan
1862         to use the fixed layout code on iOS at this time.
1863
1864         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Add !PLATFORM(IOS)-guard.
1865
1866 2015-04-14  Dominik Röttsches  <dominik.rottsches@intel.com>
1867
1868         Remove myself from watchlist, remove empty Cairo and HarfBuzz watchlists
1869         https://bugs.webkit.org/show_bug.cgi?id=143705
1870
1871         Unreviewed change to watchlist file.
1872
1873         * Scripts/webkitpy/common/config/watchlist:
1874
1875 2015-04-14  KwangHyuk Kim  <hyuki.kim@samsung.com>
1876
1877         [EFL] favicon wasn't updated for google.com sometimes.
1878         https://bugs.webkit.org/show_bug.cgi?id=141940
1879
1880         Reviewed by Gyuyoung Kim.
1881
1882         As elm_entry_utf8_to_markup can include additional characters, parameter for the
1883         on_icon_changed_cb was just set by using url string retrieved by ewk_view_url_get().
1884
1885         * MiniBrowser/efl/main.c:
1886         (on_url_changed):
1887
1888 2015-04-13  Tim Horton  <timothy_horton@apple.com>
1889
1890         Add a persistent, fixed scale factor to make it easy to scale down WK(Web)Views
1891         https://bugs.webkit.org/show_bug.cgi?id=143560
1892         <rdar://problem/16302047>
1893
1894         Reviewed by Darin Adler.
1895
1896         * MiniBrowser/mac/BrowserWindowController.h:
1897         * MiniBrowser/mac/MainMenu.xib:
1898         * MiniBrowser/mac/WK1BrowserWindowController.m:
1899         (-[WK1BrowserWindowController setScale:]):
1900         * MiniBrowser/mac/WK2BrowserWindowController.m:
1901         (viewScaleForMenuItemTag):
1902         (-[WK2BrowserWindowController setScale:]):
1903         (-[WK2BrowserWindowController validateMenuItem:]):
1904         Add a submenu with four view scale options: 100%, 75%, 50%, and 25%.
1905         When in use, we resize the window so that the view fits correctly, and
1906         use automaticallyComputesFixedlayoutSizeFromViewScale so that the page's
1907         layout size will not change when scaling down (but will update appropriately
1908         when the view is resized).
1909
1910 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
1911
1912         build.webkit.org/dashboard shows obsolete results when builds are substantially out of order
1913         https://bugs.webkit.org/show_bug.cgi?id=138630
1914
1915         Reviewed by Tim Horton.
1916
1917         Make sure that we always load at least one in order productive iteration.
1918
1919         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1920         (BuildbotQueue): Added _hasLoadedIterationForInOrderResult to track whether the queue
1921         is done loading at least one iteration that wasn't an out of order build.
1922         (BuildbotQueue.prototype.loadMoreHistoricalIterations): Listen for iteration load
1923         when that's needed to check for out of order builds.
1924         (BuildbotQueue.prototype.update): Ditto.
1925         (BuildbotQueue.prototype._checkForInOrderResult): Check if the queue has an in order
1926         result, and if it does not, load more iterations.
1927         (BuildbotQueue.prototype.loadAll): We have everything loaded, so we certainly have
1928         an in order iteration loaded too.
1929         (BuildbotQueue.prototype.compareIterations): Extracted from sortIterations(), and
1930         corrected to always sort loaded iterations before unloaded ones.
1931
1932 2015-04-10  Brent Fulgham  <bfulgham@apple.com>
1933
1934         Expand test infrastructure to support scrolling tests
1935         https://bugs.webkit.org/show_bug.cgi?id=143286
1936         <rdar://problem/20375516>
1937
1938         Reviewed by Simon Fraser.
1939
1940         Extend the WK1 and WK2 test programs to support two new EventSender commands:
1941         (1) monitorWheelEvents: Tells DRT and WKTR to track the wheel event and animation state, so that we can
1942         block executing tests until WebKit has completed any rubberband, scroll, or scroll-snap animations.
1943         (2) callAfterScrollingCompletes: Provide a callback method to be executed when WebKit determines that
1944         relevant rubberband, scroll, and scroll-snap animations are finished.
1945
1946         * DumpRenderTree/mac/EventSendingController.mm:
1947         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize 'callAfterScrollingCompletes:'
1948         and 'monitorWheelEvents'.
1949         (+[EventSendingController webScriptNameForSelector:]): Ditto.
1950         (-[EventSendingController mouseScrollByX:andY:continuously:]): Add some stderr logging to help when
1951         debugging test failures.
1952         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Ditto.
1953         (-[EventSendingController callAfterScrollingCompletes:]): Added. Protects the JSObject representing the callback
1954         function, then passes it to WebCore to be called once the test deferrals have been cleared.
1955         (-[EventSendingController monitorWheelEvents:]): Added. Activates the wheel event tracking used by the
1956         'callAfterScrollingCompletes' method.
1957         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Added signatures for 'callAfterScrollingCompletes'
1958         and 'monitorWheelEvents'.
1959         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1960         (WTR::EventSendingController::callAfterScrollingCompletes): Added. Protects the JSObject representing the
1961         callback function, then passes it to WebCore to be called once the test deferrals have been cleared
1962         (WTR::EventSendingController::monitorWheelEvents): Added. Activates the wheel event tracking used by the
1963         'callAfterScrollingComplates' method.
1964         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1965
1966 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
1967
1968         build.webkit.org/dashboard: Crash-only queues should show failure when testing fails to start
1969         https://bugs.webkit.org/show_bug.cgi?id=143656
1970
1971         Reviewed by Darin Adler.
1972
1973         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1974         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1975
1976 2015-04-13  Sergio Villar Senin  <svillar@igalia.com>
1977
1978         REGRESSION(r181134): [GTK] Test /webkit2/WebKitWebView/insecure-content is failing after r181134
1979         https://bugs.webkit.org/show_bug.cgi?id=142387
1980
1981         Reviewed by Carlos Garcia Campos.
1982
1983         Running mixed content is blocked by default since r181134. Updated
1984         the test case to reflect the new default settings.
1985
1986         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
1987         (testInsecureContent):
1988
1989 2015-04-13  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1990
1991         Fix wrong value variable in ENABLE_NAVIGATOR_HWCONCURRENCY
1992         https://bugs.webkit.org/show_bug.cgi?id=143667
1993
1994         Reviewed by Csaba Osztrogonác.
1995
1996         ENABLE_NAVIGATOR_HWCONCURRENCY has used $registerProtocolHandlerSupport value variable
1997         since r169017. Added $hardwareConcurrencySupport for it.
1998
1999         Additionally networkInfoSupport is removed because this feature was removed due to spec out.
2000
2001         * Scripts/webkitperl/FeatureList.pm:
2002
2003 2015-04-13  Csaba Osztrogonác  <ossy@webkit.org>
2004
2005         [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
2006         https://bugs.webkit.org/show_bug.cgi?id=143664
2007
2008         Reviewed by Gyuyoung Kim.
2009
2010         * Scripts/webkitperl/FeatureList.pm:
2011
2012 2015-04-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2013
2014         [EFL] Enable Media Source
2015         https://bugs.webkit.org/show_bug.cgi?id=143635
2016
2017         Reviewed by Csaba Osztrogonác.
2018
2019         * Scripts/webkitperl/FeatureList.pm: Enable media source on efl port.
2020
2021 2015-04-12  Alexey Proskuryakov  <ap@apple.com>
2022
2023         build.webkit.org/dashboard: Crash-only queues should show failure when failure limit is exceeded
2024         https://bugs.webkit.org/show_bug.cgi?id=143646
2025
2026         Reviewed by David Kilzer.
2027
2028         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2029         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2030
2031 2015-04-11  Alexey Proskuryakov  <ap@apple.com>
2032
2033         Use en_US spell checker for tests on Mac instead of Multilingual
2034         https://bugs.webkit.org/show_bug.cgi?id=143641
2035
2036         Reviewed by Dan Bernstein.
2037
2038         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
2039         While at it, override NSUserDictionaryReplacementItems, so that user replacements
2040         cannot affect tests.
2041
2042         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):
2043         Made this more like WebKit1 version.
2044
2045 2015-04-10  Tim Horton  <timothy_horton@apple.com>
2046
2047         Replace setFixedLayoutSizeEnabled: with an enum of layout modes
2048         https://bugs.webkit.org/show_bug.cgi?id=143576
2049
2050         Reviewed by Simon Fraser.
2051
2052         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
2053         (TEST):
2054         Adopt.
2055
2056 2015-04-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2057
2058         Update my email address and expertise.
2059         https://bugs.webkit.org/show_bug.cgi?id=143586
2060
2061         Unreviewed, just update my info.
2062
2063         * Scripts/webkitpy/common/config/contributors.json:
2064
2065 2015-04-09  Joseph Pecoraro  <pecoraro@apple.com>
2066
2067         Flakiness Dashboard not loading insecure content if loaded with https URL
2068         https://bugs.webkit.org/show_bug.cgi?id=143570
2069
2070         Reviewed by Alexey Proskuryakov.
2071
2072         * TestResultServer/app.yaml:
2073         * TestResultServer/static-dashboards/loader.js:
2074         Switch to https scheme.
2075
2076 2015-04-09  Csaba Osztrogonác  <ossy@webkit.org>
2077
2078         [EFL][GTK] WebKit2's generate-forwarding-headers.pl runs too many times
2079         https://bugs.webkit.org/show_bug.cgi?id=142907
2080
2081         Reviewed by Carlos Garcia Campos.
2082
2083         * TestWebKitAPI/PlatformEfl.cmake:
2084         * TestWebKitAPI/PlatformGTK.cmake:
2085         * WebKitTestRunner/PlatformEfl.cmake:
2086         * WebKitTestRunner/PlatformGTK.cmake:
2087
2088 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2089
2090         [Mac] Unreviewed test fix after r182584
2091         https://bugs.webkit.org/show_bug.cgi?id=143452
2092
2093         Put both of these tests back to their original state now that the underlying
2094         problem is fixed.
2095
2096         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
2097         (TestWebKitAPI::TEST):
2098         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2099         (TestWebKitAPI::TEST):
2100
2101 2015-04-08  Filip Pizlo  <fpizlo@apple.com>
2102
2103         run-jsc-benchmarks geomean of preferred means shouldn't print the VMs header twice
2104         https://bugs.webkit.org/show_bug.cgi?id=143553
2105
2106         Reviewed by Ryosuke Niwa.
2107         
2108         Remove the spurious printVMs left over from an earlier change.
2109
2110         * Scripts/run-jsc-benchmarks:
2111
2112 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2113
2114         [Mac] Unreviewed test fix after r182581
2115
2116         The behavior of control-left-click is controlled by a system preference.
2117         Our test bots have this turned off.
2118
2119         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
2120         (TestWebKitAPI::TEST):
2121         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2122         (TestWebKitAPI::TEST):
2123
2124 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2125
2126         [Mac] WebKit is not honoring OS preferences for secondary click behaviors
2127         https://bugs.webkit.org/show_bug.cgi?id=143452
2128         <rdar://problem/20437483>
2129
2130         Reviewed by Tim Horton.
2131
2132         Add a new API test to confirm that Cocoa mouse button press events are properly
2133         tagged with the desired menu behavior (i.e., 'None', 'Context', or 'Action'.)
2134
2135         The WK2 test dispatches mouse down events to a PlatformWebView, and checks with
2136         some registered event handlers that the expected button press and context menu
2137         events are received.
2138
2139         The WK1 unit test creates an NSEvent with the desired button press state, and then
2140         uses WebCore::PlatformEventFactory::createPlatformMouseEvent to create a WebCore event.
2141         We check the resulting PlatformMouseEvent for proper state.
2142
2143         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test files.
2144         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Added.
2145         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
2146         * TestWebKitAPI/Tests/WebKit2/mouse-button-listener.html: Added.
2147         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm: Added.
2148         (TestWebKitAPI::canCallMenuTypeForEvent): Helper function.
2149         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
2150         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
2151         (TestWebKitAPI::PlatformWebView::simulateButtonClick): Added method to support firing
2152         mouse down events.
2153         * TestWebKitAPI/mac/PlatformWebViewMac.h:
2154
2155 2015-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
2156
2157         [GTK] Add pango to jhbuild-optional.modules
2158         https://bugs.webkit.org/show_bug.cgi?id=143537
2159
2160         Reviewed by Martin Robinson.
2161
2162         * gtk/jhbuild-optional.modules: Add pango.
2163
2164 2015-04-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2165
2166         [XvfbDriver] Regular expression used to match running X servers fails on Fedora 22.
2167         https://bugs.webkit.org/show_bug.cgi?id=143530
2168
2169         Reviewed by Žan Doberšek.
2170
2171         Assume that the default value for display (:0) is reserved and start checking on :1
2172         Adjust webkitpy test and include two new test cases for this bug (display number not specified)
2173         and for X server named Xorg.bin (previous bug 1376599)
2174
2175         * Scripts/webkitpy/port/xvfbdriver.py:
2176         (XvfbDriver._next_free_display)
2177         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
2178         (XvfbDriverTest.test_start_no_pixel_tests):
2179         (XvfbDriverTest.test_start_pixel_tests):
2180         (XvfbDriverTest.test_start_arbitrary_worker_number):
2181         (XvfbDriverTest.test_next_free_display):
2182         (XvfbDriverTest.test_start_next_worker):
2183 2015-04-08  Alex Christensen  <achristensen@webkit.org>
2184
2185         Block popups from content extensions.
2186         https://bugs.webkit.org/show_bug.cgi?id=143497
2187
2188         Reviewed by Brady Eidson.
2189
2190         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2191         (TestWebKitAPI::TEST_F):
2192         Added popup test.
2193
2194 2015-04-08  Alex Christensen  <achristensen@webkit.org> and Patrick Gansterer  <paroga@webkit.org>
2195
2196         Add CMake build system for WinCairo port.
2197         https://bugs.webkit.org/show_bug.cgi?id=115944
2198
2199         Reviewed by Chris Dumez.
2200
2201         * CMakeLists.txt:
2202         * WinLauncher/CMakeLists.txt: Added.
2203
2204 2015-04-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2205
2206         [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user
2207         https://bugs.webkit.org/show_bug.cgi?id=143521
2208
2209         Reviewed by Martin Robinson.
2210
2211         Add a way to detect unexpected web process crashes to WebViewTest,
2212         and a test case to testDOMCache to trigger the crash.
2213
2214         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2215         (WebKitDOMNodeTest::testDOMCache):
2216         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2217         (testWebKitWebViewProcessCrashed):
2218         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2219         (WebViewTest::WebViewTest):
2220         (WebViewTest::webProcessCrashed):
2221         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
2222
2223 2015-04-07  Alexey Proskuryakov  <ap@apple.com>
2224
2225         PageVisibilityStateWithWindowChanges should only be enabled on Yosemite
2226         rdar://problem/20461342
2227
2228         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
2229
2230 2015-04-07  Commit Queue  <commit-queue@webkit.org>
2231
2232         Unreviewed, rolling out r182511.
2233         https://bugs.webkit.org/show_bug.cgi?id=143507
2234
2235         caused debug test failures (Requested by alexchristensen on
2236         #webkit).
2237
2238         Reverted changeset:
2239
2240         "Block popups from content extensions."
2241         https://bugs.webkit.org/show_bug.cgi?id=143497
2242         http://trac.webkit.org/changeset/182511
2243
2244 2015-04-07  Alex Christensen  <achristensen@webkit.org>
2245
2246         Block popups from content extensions.
2247         https://bugs.webkit.org/show_bug.cgi?id=143497
2248
2249         Reviewed by Brady Eidson.
2250
2251         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2252         (TestWebKitAPI::TEST_F):
2253         Added popup test.
2254
2255 2015-04-07  Benjamin Poulain  <benjamin@webkit.org>
2256
2257         Get the features.json files ready for open contributions
2258         https://bugs.webkit.org/show_bug.cgi?id=143436
2259
2260         Reviewed by Darin Adler.
2261
2262         * Scripts/webkitpy/style/checkers/jsonchecker.py:
2263         (JSONFeaturesChecker.check):
2264         Extend the syntax checking a bit, but leave everything non-mandatory
2265         very loose until we figure what fields are important.
2266
2267 2015-04-07  Tim Horton  <timothy_horton@apple.com>
2268
2269         Expose and test fixedLayoutSize via modern WebKit SPI
2270         https://bugs.webkit.org/show_bug.cgi?id=143500
2271
2272         Reviewed by Simon Fraser.
2273
2274         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2275         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Added.
2276         (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]):
2277         (TEST):
2278         Add a test that verifies that fixedLayoutSize works at all, that
2279         it persists through a navigation, and that turning it back off reverts to
2280         laying out at the size of the view.
2281
2282 2015-04-07  Michael Catanzaro  <mcatanzaro@igalia.com>
2283
2284         Unreviewed. Add myself as a committer.
2285
2286         * Scripts/webkitpy/common/config/contributors.json:
2287
2288 2015-04-07  Brent Fulgham  <bfulgham@apple.com>
2289
2290         [Win] Bots complain about missing /etc/catalog
2291         https://bugs.webkit.org/show_bug.cgi?id=143484
2292
2293         Reviewed by Chris Dumez.
2294
2295         The libxml2 build on Mac, iOS, and Windows does not provide the set
2296         of default catalog files. We do not actually need these for our
2297         purposes, but we get warnings and some bot flakiness because they
2298         are not present.
2299
2300         We can avoid both problems the same way the Mac and iOS ports do,
2301         by setting the XML_CATALOG_FILES environment variable to 'empty string',
2302         which avoid the warnings and bot problems.
2303
2304         * Scripts/webkitpy/port/win.py:
2305         (WinPort.setup_environ_for_server): Added.
2306
2307 2015-04-06  Sam Weinig  <sam@webkit.org>
2308
2309         Use content extensions in MiniBrowser.
2310         https://bugs.webkit.org/show_bug.cgi?id=143446
2311
2312         Reviewed by Alex Christensen.
2313
2314         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
2315         * MiniBrowser/mac/AppDelegate.h:
2316         * MiniBrowser/mac/AppDelegate.m:
2317         (-[BrowserAppDelegate init]):
2318         (-[BrowserAppDelegate showExtensionsManager:]):
2319         (-[BrowserAppDelegate userContentContoller]):
2320         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
2321         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
2322         (-[ExtensionManagerWindowController init]):
2323         (-[ExtensionManagerWindowController windowDidLoad]):
2324         (-[ExtensionManagerWindowController add:]):
2325         (-[ExtensionManagerWindowController remove:]):
2326         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
2327         * MiniBrowser/mac/MainMenu.xib:
2328
2329 2015-04-07  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2330
2331         web-platform-tests server should retrieve the modules file relatively to its docroot path
2332         https://bugs.webkit.org/show_bug.cgi?id=142742
2333
2334         Reviewed by Darin Adler.
2335
2336         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2337         (WebPlatformTestServer._install_modules): Compute the modules description file path according wpt server doc root path.
2338
2339 2015-04-06  Commit Queue  <commit-queue@webkit.org>
2340
2341         Unreviewed, rolling out r182445.
2342         https://bugs.webkit.org/show_bug.cgi?id=143459
2343
2344         broke 32 bit build (Requested by alexchristensen on #webkit).
2345
2346         Reverted changeset:
2347
2348         "Use content extensions in MiniBrowser."
2349         https://bugs.webkit.org/show_bug.cgi?id=143446
2350         http://trac.webkit.org/changeset/182445
2351
2352 2015-04-06  Sam Weinig  <sam@webkit.org>
2353
2354         Use content extensions in MiniBrowser.
2355         https://bugs.webkit.org/show_bug.cgi?id=143446
2356
2357         Reviewed by Alex Christensen.
2358
2359         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
2360         * MiniBrowser/mac/AppDelegate.h:
2361         * MiniBrowser/mac/AppDelegate.m:
2362         (-[BrowserAppDelegate init]):
2363         (-[BrowserAppDelegate showExtensionsManager:]):
2364         (-[BrowserAppDelegate userContentContoller]):
2365         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
2366         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
2367         (-[ExtensionManagerWindowController init]):
2368         (-[ExtensionManagerWindowController windowDidLoad]):
2369         (-[ExtensionManagerWindowController add:]):
2370         (-[ExtensionManagerWindowController remove:]):
2371         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
2372         * MiniBrowser/mac/MainMenu.xib:
2373
2374 2015-04-06  Michael Catanzaro  <mcatanzaro@gnome.org>
2375
2376         [GTK] install-dependencies should prefer dnf to yum
2377         https://bugs.webkit.org/show_bug.cgi?id=143441
2378
2379         Reviewed by Martin Robinson.
2380
2381         Test for the existance of dnf before yum, and only try to use yum if dnf does not exist.
2382
2383         * gtk/install-dependencies:
2384
2385 2015-04-06  Andy Estes  <aestes@apple.com>
2386
2387         [iOS] 'make clean' fails in Tools/WebKitTestRunner
2388         https://bugs.webkit.org/show_bug.cgi?id=143455
2389
2390         Reviewed by Dan Bernstein.
2391
2392         This Makefile adds '-target WebKitTestRunnerApp' to OTHER_OPTIONS during iOS builds, but the top-level
2393         Makefile.shared adds '-alltargets' for clean builds, and xcodebuild does not allow both -target and -alltargets.
2394
2395         * WebKitTestRunner/Makefile: Don't add '-target WebKitTestRunerApp' to OTHER_OPTIONS on clean builds.
2396
2397 2015-04-06  Alexey Proskuryakov  <ap@apple.com>
2398
2399         WebKit1.SetAndUpdateCacheModelPreferencesChangeMix fails on some machines
2400         https://bugs.webkit.org/show_bug.cgi?id=143450
2401
2402         Reviewed by Anders Carlsson.
2403
2404         * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: (TestWebKitAPI::TEST):
2405         Make sure that the view is actually closed, regardless of anything else that happens beneath.
2406         Also, removed unnecessary get() calls.
2407
2408 2015-04-03  Alexey Proskuryakov  <ap@apple.com>
2409
2410         Reduce the dependency on Flash in regression tests
2411         https://bugs.webkit.org/show_bug.cgi?id=143391
2412
2413         Reviewed by Anders Carlsson.
2414
2415         * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad):
2416         Only allow QuickTime and the test plug-in.
2417
2418 2015-04-06  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2419
2420         W3C test importer should generate the modules installed dynamically to run wpt tests
2421         https://bugs.webkit.org/show_bug.cgi?id=142738
2422
2423         Reviewed by Ryosuke Niwa.
2424
2425         The test importer can now generate the submodules description file based on information extracted from the corresponding git repository.
2426         The implementation is done within TestDownloader and it is activated for the WPT repository.
2427         LayoutTests/imported/w3c/resources/WPTModules is renamed as LayoutTests/imported/w3c/resources/web-platform-tests-modules.json for that reason.
2428
2429         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2430         (WebPlatformTestServer._install_modules): Updated to cope with path as array.
2431         * Scripts/webkitpy/w3c/test_downloader.py:
2432         (TestDownloader._git_submodules_status): Added so that it can be overriden for unit tests.
2433         (TestDownloader):
2434         (TestDownloader._git_submodules_description): Computes submodule description.
2435         (TestDownloader.generate_git_submodules_description): Write submodule description in a file.
2436         * Scripts/webkitpy/w3c/test_importer.py:
2437         (TestImporter.do_import): Added the possibility to post process the tests.
2438         (TestImporter):
2439         (TestImporter.generate_git_submodules_description_for_all_repositories): Enable generating module description file.
2440         (TestImporter.should_convert_test_harness_links): Updated according new options format.
2441         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2442         (TestImporterTest.import_downloaded_tests): Making use of TestDownloaderMock. 
2443         (TestImporterTest.import_downloaded_tests.TestDownloaderMock): Added to override submodule status gathering.
2444         (TestImporterTest.import_downloaded_tests.TestDownloaderMock.__init__):
2445         (TestImporterTest.import_downloaded_tests.TestDownloaderMock._git_submodules_status):
2446         (TestImporterTest.test_submodules_generation): Added to check that modules description files works.
2447
2448 2015-04-05  Antti Koivisto  <antti@apple.com>
2449
2450         Bloom filter should support longer hashes
2451         https://bugs.webkit.org/show_bug.cgi?id=143419
2452
2453         Reviewed by Dan Bernstein.
2454
2455         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp:
2456         (TestWebKitAPI::generateRandomDigests):
2457         (TestWebKitAPI::TEST):
2458
2459 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
2460
2461         run-jsc-stress-tests --remote should add libllvmForJSC.so to the bundle on Linux
2462         https://bugs.webkit.org/show_bug.cgi?id=143372
2463
2464         Reviewed by Darin Adler.
2465
2466         * Scripts/run-jsc-stress-tests:
2467
2468 2015-04-03  Antti Koivisto  <antti@apple.com>
2469
2470         Add non-counting bloom filter class
2471         https://bugs.webkit.org/show_bug.cgi?id=143366
2472
2473         Reviewed by Sam Weinig.
2474
2475         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2476         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp: Added.
2477         (TestWebKitAPI::generateRandomHashes):
2478         (TestWebKitAPI::TEST):
2479
2480 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
2481
2482         FTL JIT tests should fail if LLVM library isn't available
2483         https://bugs.webkit.org/show_bug.cgi?id=143374
2484
2485         Reviewed by Mark Lam.
2486
2487         * Scripts/run-jsc-stress-tests:
2488
2489 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
2490
2491         [EFL] Speedup jhbuild with disable running autogen.sh
2492         https://bugs.webkit.org/show_bug.cgi?id=143369
2493
2494         Reviewed by Gyuyoung Kim.
2495
2496         * efl/jhbuild.modules:
2497
2498 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
2499
2500         filter-webkit-build should filter out "created by an unsupported XCDependencyGraph build" lines
2501         https://bugs.webkit.org/show_bug.cgi?id=143282
2502
2503         Reviewed by Daniel Bates.
2504
2505         * Scripts/filter-build-webkit: (shouldIgnoreLine): Do it.
2506
2507 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
2508
2509         When LayoutTestHelper fails to start, we continue to run the tests, ending up with mysterious failures
2510         https://bugs.webkit.org/show_bug.cgi?id=143240
2511         rdar://problem/19990425
2512
2513         Reviewed by Tim Horton.
2514
2515         * DumpRenderTree/mac/LayoutTestHelper.m:
2516         (colorProfileURLForDisplay):
2517         (saveDisplayColorProfiles):
2518         Gracefully handle it when the current profile cannot be retrieved, fixing at
2519         least one case when LayoutTestHelper couldn't start.
2520
2521         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2522         (Manager._set_up_run):
2523         (Manager._force_pixel_tests_if_needed):
2524         * Scripts/webkitpy/port/base.py: (Port.to.start_helper):
2525         * Scripts/webkitpy/port/mac.py: (MacPort.start_helper):
2526         Return and check an error from start_helper().
2527
2528 2015-04-01  Brent Fulgham  <bfulgham@apple.com>
2529
2530         [Win] Run test-webkitpy as part of EWS (just like we do on other platforms)
2531         https://bugs.webkit.org/show_bug.cgi?id=143321
2532
2533         Reviewed by Alexey Proskuryakov.
2534
2535         * EWSTools/start-queue-win.sh: Add commands to run 'test-webkitpy' during processing loop.
2536
2537 2015-04-01  Enrica Casucci  <enrica@apple.com>
2538
2539         Injected bundle messages should be at the page level.
2540         https://bugs.webkit.org/show_bug.cgi?id=143283
2541
2542         Reviewed by Alexey Proskuryakov.
2543
2544         Updating WebKitTestRunner to use the new page level messaging.
2545         The author of this patch is Tim Horton, I just finished it.
2546
2547         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2548         (WTR::EventSendingController::mouseDown):
2549         (WTR::EventSendingController::mouseUp):
2550         (WTR::EventSendingController::mouseMoveTo):
2551         (WTR::EventSendingController::leapForward):
2552         (WTR::EventSendingController::scheduleAsynchronousClick):
2553         (WTR::EventSendingController::keyDown):
2554         (WTR::EventSendingController::scheduleAsynchronousKeyDown):
2555         (WTR::EventSendingController::mouseScrollBy):
2556         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
2557         (WTR::EventSendingController::continuousMouseScrollBy):
2558         (WTR::EventSendingController::addTouchPoint):
2559         (WTR::EventSendingController::updateTouchPoint):
2560         (WTR::EventSendingController::setTouchModifier):
2561         (WTR::EventSendingController::setTouchPointRadius):
2562         (WTR::EventSendingController::touchStart):
2563         (WTR::EventSendingController::touchMove):
2564         (WTR::EventSendingController::touchEnd):
2565         (WTR::EventSendingController::touchCancel):
2566         (WTR::EventSendingController::clearTouchPoints):
2567         (WTR::EventSendingController::releaseTouchPoint):
2568         (WTR::EventSendingController::cancelTouchPoint):
2569         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2570         (WTR::InjectedBundle::didReceiveMessage):
2571         (WTR::InjectedBundle::didReceiveMessageToPage):
2572         (WTR::InjectedBundle::done):
2573         (WTR::InjectedBundle::outputText):
2574         (WTR::InjectedBundle::postNewBeforeUnloadReturnValue):
2575         (WTR::InjectedBundle::postAddChromeInputField):
2576         (WTR::InjectedBundle::postRemoveChromeInputField):
2577         (WTR::InjectedBundle::postFocusWebView):
2578         (WTR::InjectedBundle::postSetBackingScaleFactor):
2579         (WTR::InjectedBundle::postSetWindowIsKey):
2580         (WTR::InjectedBundle::postSimulateWebNotificationClick):
2581         (WTR::InjectedBundle::postSetAddsVisitedLinks):
2582         (WTR::InjectedBundle::setGeolocationPermission):
2583         (WTR::InjectedBundle::setMockGeolocationPosition):
2584         (WTR::InjectedBundle::setMockGeolocationPositionUnavailableError):
2585         (WTR::InjectedBundle::setUserMediaPermission):
2586         (WTR::InjectedBundle::setCustomPolicyDelegate):
2587         (WTR::InjectedBundle::setHidden):
2588         (WTR::InjectedBundle::setCacheModel):
2589         (WTR::InjectedBundle::shouldProcessWorkQueue):
2590         (WTR::InjectedBundle::processWorkQueue):
2591         (WTR::InjectedBundle::queueBackNavigation):
2592         (WTR::InjectedBundle::queueForwardNavigation):
2593         (WTR::InjectedBundle::queueLoad):
2594         (WTR::InjectedBundle::queueLoadHTMLString):
2595         (WTR::InjectedBundle::queueReload):
2596         (WTR::InjectedBundle::queueLoadingScript):
2597         (WTR::InjectedBundle::queueNonLoadingScript):
2598         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2599         (WTR::TestRunner::setHandlesAuthenticationChallenges):
2600         (WTR::TestRunner::setAuthenticationUsername):
2601         (WTR::TestRunner::setAuthenticationPassword):
2602         (WTR::TestRunner::secureEventInputIsEnabled):
2603         (WTR::TestRunner::setBlockAllPlugins):
2604         * WebKitTestRunner/TestController.cpp:
2605         (WTR::TestController::createWebViewWithOptions):
2606         (WTR::TestController::resetStateToConsistentValues):
2607         (WTR::TestController::didReceivePageMessageFromInjectedBundle):
2608         (WTR::TestController::didReceiveSynchronousPageMessageFromInjectedBundle):
2609         * WebKitTestRunner/TestController.h:
2610         * WebKitTestRunner/TestInvocation.cpp:
2611         (WTR::TestInvocation::invoke):
2612         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2613
2614 2015-04-01  Commit Queue  <commit-queue@webkit.org>
2615
2616         Unreviewed, rolling out r182174 and r182177.
2617         https://bugs.webkit.org/show_bug.cgi?id=143314
2618
2619         Try to correct EWS failures (Requested by bfulgham on
2620         #webkit).
2621
2622         Reverted changesets:
2623
2624         "Python SCM should be able to retrieve untracked files"
2625         https://bugs.webkit.org/show_bug.cgi?id=143135
2626         http://trac.webkit.org/changeset/182174
2627
2628         "[buildbot] clean-build script should remove untracked files
2629         and revert local changes too"
2630         https://bugs.webkit.org/show_bug.cgi?id=142400
2631         http://trac.webkit.org/changeset/182177
2632
2633 2015-04-01  Alex Christensen  <achristensen@webkit.org>
2634
2635         [Content Extensions] Properly handle regexes that match everything.
2636         https://bugs.webkit.org/show_bug.cgi?id=143281
2637
2638         Reviewed by Benjamin Poulain.
2639
2640         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2641         (TestWebKitAPI::testRequest):
2642         (TestWebKitAPI::makeBackend):
2643         (TestWebKitAPI::TEST_F):
2644         Removed duplicate code and added test.
2645
2646 2015-03-31  Benjamin Poulain  <bpoulain@apple.com>
2647
2648         Content Extensions: split the state machines to minimize prefix states
2649         https://bugs.webkit.org/show_bug.cgi?id=143253
2650
2651         Reviewed by Alex Christensen.
2652
2653         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2654         (TestWebKitAPI::TEST_F):
2655         (TestWebKitAPI::testPatternStatus):
2656
2657 2015-03-31  Yusuke Suzuki  <utatane.tea@gmail.com>
2658
2659         Clean up Identifier factories to clarify the meaning of StringImpl*
2660         https://bugs.webkit.org/show_bug.cgi?id=143146
2661
2662         Reviewed by Filip Pizlo.
2663
2664         Simple API tests for StringImpl are added.
2665
2666         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2667         (TestWebKitAPI::TEST):
2668
2669 2015-03-31  Csaba Osztrogonác  <ossy@webkit.org>
2670
2671         [EFL] Add AArch64 builder and tester bot to build.webkit.org
2672         https://bugs.webkit.org/show_bug.cgi?id=143092
2673
2674         Reviewed by Gyuyoung Kim.
2675
2676         * BuildSlaveSupport/build.webkit.org-config/config.json:
2677         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2678         (Factory.__init__):
2679         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2680
2681 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2682
2683         [buildbot] clean-build script should remove untracked files and revert local changes too
2684         https://bugs.webkit.org/show_bug.cgi?id=142400
2685
2686         Reviewed by Ryosuke Niwa.
2687
2688         This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
2689         A helper routine SCM.discard_untracked_files is added for that purpose.
2690
2691         * BuildSlaveSupport/clean-build:
2692         (main): Making call to Scripts/clean-webkit
2693         * Scripts/clean-webkit: Added.
2694         (main): Revert changes and delete untracked files.
2695         * Scripts/webkitpy/common/checkout/scm/scm.py:
2696         (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
2697         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2698         (SCMTest._shared_test_discard_untracked_files):
2699         (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
2700
2701 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2702
2703         Python SCM should be able to retrieve untracked files
2704         https://bugs.webkit.org/show_bug.cgi?id=143135
2705
2706         Reviewed by Ryosuke Niwa.
2707
2708         This patch introduces SCM.untracked_files to retrieve a list of untracked files.
2709         Ignored files may be included or not in this list according boolean passed to the function.
2710
2711         * Scripts/webkitpy/common/checkout/scm/git.py:
2712         (Git.untracked_files):
2713         * Scripts/webkitpy/common/checkout/scm/scm.py:
2714         (SCM.untracked_files):
2715         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2716         (SCMTest._shared_test_untracked_files):
2717         (test_untracked_files):
2718         (GitSVNTest.test_untracked_files):
2719         * Scripts/webkitpy/common/checkout/scm/svn.py:
2720         (SVN.untracked_files):
2721
2722 2015-03-30  Alex Christensen  <achristensen@webkit.org>
2723
2724         [Content Extensions] Correctly handle regular expressions matching everything
2725         https://bugs.webkit.org/show_bug.cgi?id=143235
2726
2727         Reviewed by Benjamin Poulain.
2728
2729         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2730         (TestWebKitAPI::checkCompilerError):
2731         (TestWebKitAPI::TEST_F):
2732         Test ContentExtensionErrors.
2733
2734 2015-03-30  Alexey Proskuryakov  <ap@apple.com>
2735
2736         DumpRenderTree should set NSWindowDisplayWithRunLoopObserver
2737         https://bugs.webkit.org/show_bug.cgi?id=143241
2738         rdar://problem/20351297
2739
2740         Reviewed by Mark Lam.
2741
2742         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
2743
2744 2015-03-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2745
2746         [CMake][EFL] Remove redundant library link and include path
2747         https://bugs.webkit.org/show_bug.cgi?id=143221
2748
2749         Reviewed by Csaba Osztrogonác.
2750
2751         * ImageDiff/PlatformEfl.cmake: Remove unnecessary library link and include path.
2752
2753 2015-03-30  Sam Weinig  <sam@webkit.org>
2754
2755         [Content Extensions] Flesh out the UserContentExtensionStore
2756         https://bugs.webkit.org/show_bug.cgi?id=143123
2757
2758         Reviewed by Benjamin Poulain.
2759
2760         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2761         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Added.
2762         Add tests for _WKUserContentExtensionStore.
2763
2764 2015-03-30  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
2765
2766         Update install-dependencies Fedora packages after r181624
2767         https://bugs.webkit.org/show_bug.cgi?id=143215
2768
2769         Add json-glib, libv4l, openssl and pulseaudio development packages to
2770         the Fedora list providing we need them to build WebKit dependencies
2771         for this distribution.
2772
2773         Reviewed by Philippe Normand.
2774
2775         * gtk/install-dependencies:
2776
2777 2015-03-30  Commit Queue  <commit-queue@webkit.org>
2778
2779         Unreviewed, rolling out r182119.
2780         https://bugs.webkit.org/show_bug.cgi?id=143196
2781
2782         problem with syntax (Requested by youenn on #webkit).
2783
2784         Reverted changeset:
2785
2786         "[buildbot] clean-build script should remove untracked files
2787         and revert local changes too"
2788         https://bugs.webkit.org/show_bug.cgi?id=142400
2789         http://trac.webkit.org/changeset/182119
2790
2791 2015-03-30  Benjamin Poulain  <benjamin@webkit.org>
2792
2793         Start the features.json files
2794         https://bugs.webkit.org/show_bug.cgi?id=143207
2795
2796         Reviewed by Darin Adler.
2797
2798         I kept the style checking light. We'll have to figure
2799         what is the best format for each field.
2800
2801         * Scripts/webkitpy/style/checker.py:
2802         (CheckerDispatcher._create_checker):
2803         * Scripts/webkitpy/style/checkers/jsonchecker.py:
2804         (JSONContributorsChecker.check):
2805         (JSONFeaturesChecker):
2806         (JSONFeaturesChecker.check):
2807
2808 2015-03-29  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2809
2810         [buildbot] clean-build script should remove untracked files and revert local changes too
2811         https://bugs.webkit.org/show_bug.cgi?id=142400
2812
2813         Reviewed by Ryosuke Niwa.
2814
2815         This patch cleans the WebKit folder by deleting SCM untracked files and reverting changes for tracked files.
2816
2817         * BuildSlaveSupport/clean-build:
2818         (main): Adding call to Tools/Scripts/clean-webkit.
2819         * Scripts/clean-webkit: Added.
2820         (main): Removes untracked and changed files.
2821         * Scripts/webkitpy/common/checkout/scm/git.py:
2822         (Git.untracked_files): Retrieves GIT untracked files.
2823         * Scripts/webkitpy/common/checkout/scm/scm.py:
2824         (SCM.untracked_files): Retrieves SVN untracked files.
2825         (SCM):
2826         (SCM.discard_untracked_files): Deletes untracked files/folders.
2827         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2828         (SCMTest._shared_test_untracked_files): Unit testing for untracked files.
2829         (test_untracked_files):
2830         (GitSVNTest.test_untracked_files):
2831         * Scripts/webkitpy/common/checkout/scm/svn.py:
2832         (SVN.untracked_files):
2833
2834 2015-03-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2835
2836         [CMake] Remove unnecessary INCLUDE_IF_EXISTS macro 
2837         https://bugs.webkit.org/show_bug.cgi?id=143138
2838
2839         Reviewed by Csaba Osztrogonác.
2840
2841         INCLUDE_IF_EXISTS isn't used except for 2 places. However those uses can
2842         be replaced with WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS.
2843
2844         * ImageDiff/CMakeLists.txt:
2845         Use WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() instead of INCLUDE_IF_EXISTS.
2846         * WebKitTestRunner/CMakeLists.txt: ditto.
2847
2848 2015-03-27  Myles C. Maxfield  <mmaxfield@apple.com>
2849
2850         Support building WTF on Windows without Cygwin
2851         https://bugs.webkit.org/show_bug.cgi?id=143084
2852
2853         Reviewed by Brent Fulgham.
2854
2855         Windows without Cygwin doesn't have curl, unzip, or grep. Luckily, Perl does all of these things.
2856         This patch also migrates to using File::Spec->catfile() for directory separators.
2857
2858         * Scripts/update-webkit-dependency:
2859         (wanted):
2860         * Scripts/update-webkit-support-libs:
2861         (wanted):
2862         (downloadExpectedVersionNumber):
2863         (zipFileVersion):
2864         (toUnixPath): Deleted.
2865         * Scripts/webkitdirs.pm:
2866         (determineSourceDir):
2867         (windowsSourceSourceDir):
2868         (windowsLibrariesDir):
2869         (windowsOutputDir):
2870         (checkInstalledTools):
2871         (buildVisualStudioProject):
2872
2873 2015-03-27  Alex Christensen  <achristensen@webkit.org>
2874
2875         Fix WinCairo bot.
2876         https://bugs.webkit.org/show_bug.cgi?id=143086
2877
2878         Reviewed by Brent Fulgham.
2879
2880         * Scripts/webkitdirs.pm:
2881         (buildVisualStudioProject):
2882         (runSvnUpdateAndResolveChangeLogs):
2883         Use ActivePerl-friendly perl.
2884
2885 2015-03-27  Csaba Osztrogonác  <ossy@webkit.org>
2886
2887         URTBF after r182059 to fix the EFL build.
2888
2889         * TestWebKitAPI/CMakeLists.txt:
2890
2891 2015-03-26  Alexey Proskuryakov  <ap@apple.com>
2892
2893         Layout test results URL loads in WK1 but not WK2 minibrowser
2894         https://bugs.webkit.org/show_bug.cgi?id=143117
2895
2896         Reviewed by Tim Horton.
2897
2898         * MiniBrowser/mac/WK2BrowserWindowController.m:
2899         (-[WK2BrowserWindowController fetch:]): Fix this, international domain names, and
2900         everything.
2901         (-[WK2BrowserWindowController updateTextFieldFromURL:]): Ditto.
2902
2903 2015-03-26  Jer Noble  <jer.noble@apple.com>
2904
2905         Add --allowed-host support to run-webkit-tests
2906         https://bugs.webkit.org/show_bug.cgi?id=142938
2907
2908         Reviewed by Brent Fulgham.
2909
2910         Accept --allowed-host arguments from run-webkit-tests and pass them through to
2911         DumpRenderTree and WebKitTestRunner.
2912
2913         Drive-by fix: Depending on the value of the --layout-test-dir parameter, layout test results
2914         are placed in the wrong location. The argument is compared with each tests's path, and if a
2915         relative path or a path with '..' was used, results are placed alongside the test. Take the
2916         absolute path of the --layout-test-dir argument, collapsing path components like '..'.
2917
2918         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2919         (parse_args):
2920         * Scripts/webkitpy/port/base.py:
2921         (Port.__init__):
2922         (Port.allowed_hosts):
2923         * Scripts/webkitpy/port/driver.py:
2924         (Driver.cmd_line):
2925
2926 2015-03-26  Jer Noble  <jer.noble@apple.com>
2927
2928         [Mac] Add an --allowed-host argument to DRT and WKTR to allow tests to connect to non-localhost servers
2929         https://bugs.webkit.org/show_bug.cgi?id=142931
2930
2931         Reviewed by Brent Fulgham.
2932
2933         Currently, both DRT and WKTR will refuse to allow network connections to non-localhost servers
2934         over HTTP/HTTPS. For certain testing scenarios, however, it would be useful if both DRT and
2935         WKTR could be allowed to make HTTP/HTTPS connections to certain, specific servers defined at
2936         runtime.
2937
2938         To allow this, add an optional argument to DRT and WKTR, --allowed-host, which will add the specified
2939         hostname to a whitelist; requests to these hosts will allowed to proceed normally.
2940
2941         Drive-by fix: in InjectedBundlePage::willSendRequestForFrame, we get the top loading frame from the
2942         injected bundle. But after the main resource load completes, the bundle nulls out it's pointer to the
2943         top loading frame, which causes a subsequent crash when further resources are requested. Instead, get
2944         the top loading frame from the page, as we do elsewhere in this class.
2945
2946         * DumpRenderTree/TestRunner.h:
2947         (TestRunner::allowedHosts):
2948         (TestRunner::setAllowedHosts):
2949         * DumpRenderTree/mac/DumpRenderTree.mm:
2950         (initializeGlobalsFromCommandLineOptions):
2951         (runTest):
2952         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2953         (isAllowedHost):
2954         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2955         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2956         (WTR::InjectedBundle::didReceiveMessage):
2957         (WTR::InjectedBundle::isAllowedHost):
2958         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2959         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2960         (WTR::isAllowedHost):
2961         (WTR::InjectedBundlePage::willSendRequestForFrame):
2962         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2963         * WebKitTestRunner/Options.cpp:
2964         (WTR::handleOptionAllowedHost):
2965         (WTR::OptionsHandler::OptionsHandler):
2966         * WebKitTestRunner/Options.h:
2967         * WebKitTestRunner/TestController.cpp:
2968         (WTR::TestController::initialize):
2969         (WTR::TestController::resetStateToConsistentValues):
2970         * WebKitTestRunner/TestController.h:
2971
2972 2015-03-26  Brady Eidson  <beidson@apple.com>
2973
2974         Apply ContentExtension actions after redirects.
2975         <rdar://problem/20062613> and https://bugs.webkit.org/show_bug.cgi?id=143055
2976
2977         Reviewed by Alex Christensen.
2978
2979         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2980         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): Dump the fact that the load error is kWKErrorCodeCannotShowURL
2981           which is specifically interesting to a new test.
2982
2983 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
2984
2985         [EFL] Disable building libseccomp on AArch64
2986         https://bugs.webkit.org/show_bug.cgi?id=143094
2987
2988         Reviewed by Gyuyoung Kim.
2989
2990         * efl/jhbuildrc:
2991
2992 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
2993
2994         [jhbuild] git should use only 1 thread for cloning jhbuild
2995         https://bugs.webkit.org/show_bug.cgi?id=143095
2996
2997         Reviewed by Gyuyoung Kim.
2998
2999         * jhbuild/jhbuild-wrapper:
3000         (clone_jhbuild):
3001
3002 2015-03-25  Joseph Pecoraro  <pecoraro@apple.com>
3003
3004         Update prepare-ChangeLog to work with ES6 Class syntax
3005         https://bugs.webkit.org/show_bug.cgi?id=143069
3006
3007         Reviewed by Timothy Hatcher.
3008
3009         * Scripts/prepare-ChangeLog:
3010         (get_function_line_ranges_for_javascript):
3011         Better handle ES6 Class syntax.
3012
3013         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
3014         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
3015         (BaseClass):
3016         (DerivedClass):
3017         (DerivedClass.staticMethod):
3018         (DerivedClass.prototype.method.nestedFunctionInsideMethod):
3019         (DerivedClass.prototype.method):
3020         (DerivedClass.prototype.get getter):
3021         (namespace.MyClass):
3022         (namespace.MyClass.staticMethod):
3023         (namespace.MyClass.prototype.method.nestedFunctionInsideMethod):
3024         (namespace.MyClass.prototype.method):
3025         (namespace.MyClass.prototype.get getter):
3026         Proof!
3027
3028 2015-03-25  Filip Pizlo  <fpizlo@apple.com>
3029
3030         Use JITCompilationCanFail in more places, and make the fail path of JITCompilationMustSucceed a crash instead of attempting GC
3031         https://bugs.webkit.org/show_bug.cgi?id=142993
3032
3033         Reviewed by Mark Lam.
3034         
3035         Bunch of support for testing executable allocation failure.
3036
3037         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz: Added.
3038         (fail):
3039         * Scripts/run-javascriptcore-tests:
3040         (runJSCStressTests):
3041         * Scripts/run-jsc-stress-tests:
3042
3043 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
3044
3045         Fix Windows build from r181977.
3046
3047         Unreviewed.
3048
3049         * Scripts/update-webkit-dependency:
3050
3051 2015-03-25  Sam Weinig  <sam@webkit.org>
3052
3053         Address additional review feedback from https://bugs.webkit.org/show_bug.cgi?id=143059.
3054
3055         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3056         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
3057
3058 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
3059
3060         Migrate update-webkit for Windows to not require Cygwin
3061         https://bugs.webkit.org/show_bug.cgi?id=143040
3062
3063         Reviewed by Brent Fulgham.
3064
3065         * Scripts/update-webkit-dependency:
3066         (wanted):
3067         (toUnixPath): Deleted.
3068         * Scripts/webkitdirs.pm:
3069         (fontExists):
3070         (checkInstalledTools):
3071         (setupAppleWinEnv):
3072
3073 2015-03-25  Sam Weinig  <sam@webkit.org>
3074
3075         [Content Extensions] Convert content extension compiling to return error codes and write its output using a client
3076         https://bugs.webkit.org/show_bug.cgi?id=143059
3077
3078         Reviewed by Alex Christensen.
3079
3080         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3081         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
3082         Update for new interface of compileRuleList().
3083
3084 2015-03-25  Alex Christensen  <achristensen@webkit.org>
3085
3086         [Content Extensions] Add multi-DFA compiling and interpreting.
3087         https://bugs.webkit.org/show_bug.cgi?id=143010
3088
3089         Reviewed by Benjamin Poulain.
3090
3091         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3092         (TestWebKitAPI::testRequest):
3093         (TestWebKitAPI::TEST_F):
3094         Add some tests for ignore-previous-rules and large rulesets.
3095
3096 2015-03-25  Alexey Proskuryakov  <ap@apple.com>
3097
3098         Mavericks WK1 still runs JSC tests
3099         https://bugs.webkit.org/show_bug.cgi?id=143035
3100
3101         Reviewed by Csaba Osztrogonác.
3102
3103         * BuildSlaveSupport/build.webkit.org-config/config.json: Bring Mavericks WK1 in line
3104         with other bots.
3105
3106         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated the tests
3107         accordingly.
3108
3109 2015-03-25  Commit Queue  <commit-queue@webkit.org>
3110
3111         Unreviewed, rolling out r181932.
3112         https://bugs.webkit.org/show_bug.cgi?id=143041
3113
3114         The test fails most of the time on bots (Requested by ap on
3115         #webkit).
3116
3117         Reverted changeset:
3118
3119         "[Content Extensions] Add multi-DFA compiling and
3120         interpreting."
3121         https://bugs.webkit.org/show_bug.cgi?id=143010
3122         http://trac.webkit.org/changeset/181932
3123
3124 2015-03-24  Alex Christensen  <achristensen@webkit.org>
3125
3126         [Content Extensions] Add multi-DFA compiling and interpreting.
3127         https://bugs.webkit.org/show_bug.cgi?id=143010
3128
3129         Reviewed by Benjamin Poulain.
3130
3131         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3132         (TestWebKitAPI::testRequest):
3133         (TestWebKitAPI::TEST_F):
3134         Add some tests for ignore-previous-rules and large rulesets.
3135
3136 2015-03-24  Benjamin Poulain  <bpoulain@apple.com>
3137
3138         Make URL filter patterns matching consistent and add a simple canonicalization step
3139         https://bugs.webkit.org/show_bug.cgi?id=142998
3140
3141         Reviewed by Alex Christensen.
3142
3143         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3144
3145 2015-03-24  Csaba Osztrogonác  <ossy@webkit.org>
3146
3147         [EFL] Add OpenWebRTC in jhbuild
3148         https://bugs.webkit.org/show_bug.cgi?id=142778
3149
3150         Reviewed by Gyuyoung Kim.
3151
3152         Original patch by Philippe Normand <pnormand@igalia.com>
3153
3154         * efl/install-dependencies: Dependencies for OpenWebRTC.
3155         * efl/jhbuild.modules: build OpenWebRTC, libusrsctp, libnice and
3156         the openwebrtc gst plugins.
3157
3158 2015-03-23  Brent Fulgham  <bfulgham@apple.com>
3159
3160         Regression(r181257): WTF_WorkQueue.Simple is flaky
3161         https://bugs.webkit.org/show_bug.cgi?id=142560
3162
3163         Remove the check that the refCount has returned to one after the
3164         individual tasks have completed. It's too nondeterministic when
3165         the reference count will be reduced.
3166
3167         Reviewed by Alexey Proskuryakov
3168
3169         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3170         (TestWebKitAPI::TEST): Remove test that refCount is back to 1.
3171
3172 2015-03-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3173
3174         [CMake][EFL] Put failure API test excutables into failure directory
3175         https://bugs.webkit.org/show_bug.cgi?id=142965
3176
3177         Reviewed by Csaba Osztrogonác.
3178
3179         Move failing WK2 API test executables to *bin/TestWebKitAPI/WebKit2/failure* directory.
3180
3181         * TestWebKitAPI/CMakeLists.txt: Fix a typo. Change *testBaseName* with *testName*.
3182         * TestWebKitAPI/PlatformEfl.cmake: Additionally remove unnecessary SHARED_CORE and comment for SeccompFilters test.
3183
3184 2015-03-22  Benjamin Poulain  <benjamin@webkit.org>
3185
3186         CSS Selectors: fix attribute case-insensitive matching of Contain and List
3187         https://bugs.webkit.org/show_bug.cgi?id=142932
3188
3189         Reviewed by Darin Adler.
3190
3191         Add tests for the new features and fix some existing tests using the 
3192         stringFromUTF8() utility recently added by Dhi.
3193
3194         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3195         (TestWebKitAPI::stringFromUTF8):
3196         * TestWebKitAPI/Tests/WTF/StringView.cpp:
3197
3198 2015-03-22  Michael Catanzaro  <mcatanzaro@igalia.com>
3199
3200         [GTK] install-dependencies should install orc
3201         https://bugs.webkit.org/show_bug.cgi?id=142955
3202
3203         Reviewed by Martin Robinson.
3204
3205         Install orc, needed by openwebrtc
3206
3207         * gtk/install-dependencies:
3208
3209 2015-03-22  Benjamin Poulain  <bpoulain@apple.com>
3210
3211         Detect when url filter pattern with groups match the empty string
3212         https://bugs.webkit.org/show_bug.cgi?id=142930
3213
3214         Reviewed by Sam Weinig.
3215
3216         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3217
3218 2015-03-22  Anders Carlsson  <andersca@apple.com>
3219
3220         _WKWebsiteDataStore should clear WebSQL databases
3221         https://bugs.webkit.org/show_bug.cgi?id=142947
3222
3223         Reviewed by Sam Weinig.
3224
3225         Add a variable that keeps track of the types of data we want to operate on, for easier debugging.
3226
3227         * MiniBrowser/mac/WK2BrowserWindowController.m:
3228         (-[WK2BrowserWindowController fetchWebsiteData:]):
3229         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
3230         (-[WK2BrowserWindowController clearWebsiteData:]):
3231
3232 2015-03-20  Mark Hahnenberg  <mhahnenb@gmail.com>
3233
3234         GCTimer should know keep track of nested GC phases
3235         https://bugs.webkit.org/show_bug.cgi?id=142675
3236
3237         Reviewed by Darin Adler.
3238
3239         Adds a tool to aid in parsing the GC phase timing output into a
3240         tree-like structure based on the parent-child relationships
3241         of nested GC phases.
3242
3243         * Scripts/parse-gc-phase-timings: Added.
3244         (Timing):
3245         (Timing.__init__):
3246         (Timing.__unicode__):
3247         (Timing.__str__):
3248         (Timing.__repr__):
3249         (parse_input):
3250         (print_timing_node):
3251         (print_timing_tree):
3252         (link_parents):
3253         (main):
3254
3255 2015-03-20  Brent Fulgham  <bfulgham@apple.com>
3256
3257         [Win] Temporarily turn of EWS Windows tests while I debug the test failure.
3258
3259         * Scripts/webkitpy/common/config/ews.json:
3260
3261 2015-03-20  Philippe Normand  <pnormand@igalia.com>
3262
3263         [GTK][jhbuild] Fix flakey failures due to unstable googlecode repository
3264         https://bugs.webkit.org/show_bug.cgi?id=142867
3265
3266         Rubber-stamped by Csaba Osztrogon.
3267
3268         * gtk/jhbuild.modules: Use Ossy's libusrsctp Github fork. Also use
3269         a fixed revision for the openwebrtc-gst-plugins.
3270
3271 2015-03-19  Ryosuke Niwa  <rniwa@webkit.org>
3272
3273         Unreviewed build fix. Don't try to report stats for all benchmarks.
3274         Just report the geometric mean of preferred means.
3275
3276         * Scripts/run-jsc-benchmarks:
3277
3278 2015-03-19  Ryosuke Niwa  <rniwa@webkit.org>
3279
3280         run-jsc-benchmarks should only report preferred mean
3281         https://bugs.webkit.org/show_bug.cgi?id=142874
3282
3283         Reviewed by Geoffrey Garen.
3284
3285         Just collect statistics for the preferred mean.
3286
3287         * Scripts/run-jsc-benchmarks:
3288
3289 2015-03-19  Alex Christensen  <achristensen@webkit.org>
3290
3291         [Content Extensions] Test regular expression parse failures.
3292         https://bugs.webkit.org/show_bug.cgi?id=142872
3293
3294         Reviewed by Benjamin Poulain.
3295
3296         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3297         (TestWebKitAPI::testPatternStatus):
3298         (TestWebKitAPI::TEST_F):
3299         Added tests for each parsing status.
3300
3301 2015-03-19  Alex Christensen  <achristensen@webkit.org>
3302
3303         Fix API tests after r181754.
3304
3305         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3306         (TestWebKitAPI::testRequest):
3307
3308 2015-03-19  Brady Eidson  <beidson@apple.com>
3309
3310         Part of content extensions should apply css selectors
3311         https://bugs.webkit.org/show_bug.cgi?id=142604
3312
3313         Reviewed by Alex Christensen.
3314
3315         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3316         (WebCore::ContentExtensions::operator<<):
3317
3318 2015-03-19  Brent Fulgham  <bfulgham@apple.com>
3319
3320         [Win] Activate tests on EWS
3321         https://bugs.webkit.org/show_bug.cgi?id=142850
3322
3323         Reviewed by Alexey Proskuryakov.
3324
3325         * Scripts/webkitpy/common/config/ews.json: Add me as
3326         the EWS bot watcher, and activate tests.
3327
3328 2015-03-19  Csaba Osztrogonác  <ossy@webkit.org>
3329
3330         [GTK] Fix inspector userinterface related incremental build issue
3331         https://bugs.webkit.org/show_bug.cgi?id=142849
3332
3333         Reviewed by Carlos Garcia Campos.
3334
3335         * Scripts/webkitdirs.pm:
3336         (shouldRemoveCMakeCache):
3337
3338 2015-03-18  Alex Christensen  <achristensen@webkit.org>
3339
3340         [ContentExtensions] Prepare for compiling stylesheets of selectors to be used on every page.
3341         https://bugs.webkit.org/show_bug.cgi?id=142799
3342
3343         Reviewed by Brady Eidson.
3344
3345         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3346         (TestWebKitAPI::testPattern):
3347         (TestWebKitAPI::TEST_F):
3348         Start testing regex failures.
3349
3350 2015-03-18  Dhi Aurrahman  <diorahman@rockybars.com>
3351
3352         Fix StringView typos after r181525 and r181558
3353         https://bugs.webkit.org/show_bug.cgi?id=142772
3354
3355         Reviewed by Darin Adler.
3356
3357         Add some tests in [1] to cover the StringView::startsWith, 
3358         StringView::startsWithIgnoringASCIICase, StringView::endsWith and 
3359         StringView::endsWithIgnoringASCIICase implementations.
3360
3361         * TestWebKitAPI/Tests/WTF/StringView.cpp:
3362         (TestWebKitAPI::TEST):
3363
3364 2015-03-18  Dana Burkart  <dburkart@apple.com>
3365
3366         Remove extraneous import to fix the build.
3367
3368         Unreviewed.
3369
3370         * Scripts/webkitpy/port/driver.py:
3371
3372 2015-03-18  Dana Burkart  <dburkart@apple.com>
3373
3374         ASAN_OPTIONS=allocator_may_return_null=1 needs to be set 
3375         https://bugs.webkit.org/show_bug.cgi?id=142547
3376
3377         Reviewed by Alexey Proskuryakov.
3378
3379         * Scripts/webkitpy/port/driver.py:
3380         (Driver._setup_environ_for_driver):
3381
3382 2015-03-18  Alexey Proskuryakov  <ap@apple.com>
3383
3384         Tweak how AppleSystemFontOSSubversion default is added
3385         https://bugs.webkit.org/show_bug.cgi?id=142835
3386
3387         Reviewed by Dan Bernstein.
3388
3389         * DumpRenderTree/mac/DumpRenderTree.mm:
3390         (setDefaultsToConsistentValuesForTesting):
3391
3392 2015-03-18  Dan Bernstein  <mitz@apple.com>
3393
3394         prepare-ChangeLog doesn't understand C string literals split across multiple lines with \
3395         https://bugs.webkit.org/show_bug.cgi?id=142815
3396
3397         Reviewed by Darin Adler.
3398
3399         * Scripts/prepare-ChangeLog:
3400         (get_function_line_ranges_for_cpp): If the line ends with a backslash instead of a matching
3401         quotation mark, use new variable $quotation_mark to remember what we are looking for, and
3402         keep consuming the quoted text until the matching quotation mark is reached. Emit the
3403         warning only if a line ends without a backslash before the matching quotation mark was found.
3404
3405 2015-03-18  Joseph Pecoraro  <pecoraro@apple.com>
3406
3407         Remove unused "preprocessor" parameter to sub-CodeGenerators
3408         https://bugs.webkit.org/show_bug.cgi?id=142793
3409
3410         Reviewed by Darin Adler.
3411
3412         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
3413         (new):
3414
3415 2015-03-18  Csaba Osztrogonác  <ossy@webkit.org>
3416
3417         [EFL] Bump gstreamer version to 1.4.4
3418         https://bugs.webkit.org/show_bug.cgi?id=142782
3419
3420         Reviewed by Philippe Normand.
3421
3422         * efl/jhbuild.modules:
3423         * efl/patches/gst-libav.patch:
3424         * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Added.
3425         * efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
3426
3427 2015-03-17  Tim Horton  <timothy_horton@apple.com>
3428
3429         Fix the iOS build.
3430
3431         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
3432         (WTR::InjectedBundle::platformInitialize):
3433
3434 2015-03-17  Dean Jackson  <dino@apple.com>
3435
3436         check-webkit-style should allow "bool a : 1"
3437         https://bugs.webkit.org/show_bug.cgi?id=142794
3438
3439         Reviewed by Brent Fulgham.
3440
3441         We should allow member bitfields of the form:
3442
3443         bool m_var : 1;
3444
3445         It seems that Visual Studio 8 was the last compiler that
3446         wasn't happy about not using unsigned here. We already have
3447         about 500 cases (in WebCore) where people were ignoring this rule.
3448
3449         * Scripts/webkitpy/style/checkers/cpp.py:
3450         (check_language): Allow "bool".
3451         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add tests.
3452         (CppStyleTest.test_enum_bitfields):
3453         (CppStyleTest.test_plain_integral_bitfields):
3454
3455 2015-03-17  Benjamin Poulain  <bpoulain@apple.com>
3456
3457         Compile character ranges targeting the same state as range check in the bytecode
3458         https://bugs.webkit.org/show_bug.cgi?id=142759
3459
3460         Reviewed by Alex Christensen.
3461
3462         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3463         (TestWebKitAPI::TEST_F):
3464
3465 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3466
3467         W3C test parser and converter should use test importer host
3468         https://bugs.webkit.org/show_bug.cgi?id=142729
3469
3470         Reviewed by Bem Jones-Bey.
3471
3472         When instantiated by TestImporter, TestParser and TestConverter are now using the same host.
3473         This enables adding more TestImporter unit testing.
3474         This patch also ensures that the git object instantiated by TestDownloader is using the
3475         same Executive and FileSystem object as TestDownloader, again to enable TestImporter/TestDownloader unit testing.
3476
3477         * Scripts/webkitpy/common/system/filesystem_mock.py:
3478         (MockFileSystem.copytree): Fixes implementation as it creates a runtime error.
3479         * Scripts/webkitpy/w3c/test_downloader.py:
3480         (TestDownloader.git): Set the executive of the git object to the one of TestDownloader. Refactoring in a new git function for future reuse.
3481         (TestDownloader.checkout_test_repository): Making use of the new git function.
3482         * Scripts/webkitpy/w3c/test_importer.py:
3483         (TestImporter.find_importable_tests): Adding host as parameter to the parser.
3484         (TestImporter.import_tests): Adding host as parameter to the converter.
3485         * Scripts/webkitpy/w3c/test_importer_unittest.py:
3486         (TestImporterTest.create_test_download_importer): Creating a test downloader mock, to be reused by other tests.
3487         (TestImporterTest):
3488         (TestImporterTest.test_harnesslinks_conversion): Adding test to check that test harness links are converted for CSS tests but not WPT tests. 
3489         * Scripts/webkitpy/w3c/test_parser.py:
3490         (TestParser.__init__): Adding host as parameter constructor.
3491
3492 2015-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
3493
3494         [GTK] WebKitDOM objects leaking
3495         https://bugs.webkit.org/show_bug.cgi?id=118788
3496
3497         Reviewed by Darin Adler and Sergio Villar Senin.
3498
3499         Update DOMObjectCache unit test to check that DOM objects are also
3500         released when new contents are loaded in the web view, and the old
3501         document is detached from the frame.
3502
3503         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
3504         (testWebKitDOMObjectCache):
3505         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
3506         (runTest):
3507
3508 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3509
3510         W3C test importer default import folder should be LayoutTests/imported/w3c
3511         https://bugs.webkit.org/show_bug.cgi?id=142728
3512
3513         Reviewed by Bem Jones-Bey.
3514
3515         * Scripts/webkitpy/w3c/test_importer.py:
3516         (parse_args): Updating the default destination option value to 'imported/w3c'.
3517
3518 2015-03-17  Philippe Normand  <pnormand@igalia.com>
3519
3520         [GTK] basic OpenWebRTC build support
3521         https://bugs.webkit.org/show_bug.cgi?id=142393
3522
3523         Reviewed by Carlos Garcia Campos.
3524
3525         * gtk/jhbuild.modules: Add OpenWebRTC and its dependencies. This
3526         is not the upstream OpenWebRTC repository. This temporary fork
3527         contains a few patches needed by WebKit for audio/video rendering.
3528
3529 2015-03-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3530
3531         [CMake][EFL] Build test tools only for developer mode
3532         https://bugs.webkit.org/show_bug.cgi?id=142761
3533
3534         Reviewed by Csaba Osztrogonác.
3535
3536         Do not build EFL MiniBrowser, WebKitTestRunner, and ImageDiff on production mode.
3537
3538         * CMakeLists.txt:
3539
3540 2015-03-17  Joseph Pecoraro  <pecoraro@apple.com>
3541
3542         Remove never used "useLayerOnTop" bindings generator argument
3543         https://bugs.webkit.org/show_bug.cgi?id=142773
3544
3545         Reviewed by Darin Adler.
3546
3547         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
3548         (new):
3549
3550 2015-03-16  Ryosuke Niwa  <rniwa@webkit.org>
3551
3552         Enable ES6 classes by default
3553         https://bugs.webkit.org/show_bug.cgi?id=142774
3554
3555         Reviewed by Gavin Barraclough.
3556
3557         * Scripts/webkitperl/FeatureList.pm:
3558
3559 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
3560
3561         Fix webkitpy tests after r181585.
3562
3563         Looks like "me" cannot be anyone's email, it's a special case.
3564
3565         * Scripts/webkitpy/common/config/contributors.json:
3566
3567 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
3568
3569         Add tolerance to WebAudio tests
3570         https://bugs.webkit.org/show_bug.cgi?id=142676
3571
3572         Reviewed by Tim Horton.
3573
3574         * Scripts/webkitpy/common/wavediff.py: Added. Based on Jer Noble's work.
3575
3576         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
3577         (TestResultWriter.create_audio_diff_and_write_result):
3578         * Scripts/webkitpy/layout_tests/models/test_failures.py:
3579         (FailureAudio.write_failure):
3580         * Scripts/webkitpy/port/base.py:
3581         (Port.do_audio_results_differ):
3582         Diff audio failures.
3583
3584         * Scripts/webkitpy/port/test.py: Added a test for the tolerance, fixed existing
3585         tests to use real parseable WAV data, and got rid of base64, which there didn't
3586         seem to have been any reason for.
3587
3588 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
3589
3590         [Mac] fast/forms/text-control-intrinsic-widths.html fails when MS Office is installed
3591         https://bugs.webkit.org/show_bug.cgi?id=142720
3592
3593         Reviewed by Myles C. Maxfield.
3594
3595         Activate system copies of Microsoft fonts for the current process, thus overriding
3596         any other ones that could be preferred by the system otherwise.
3597
3598         * DumpRenderTree/mac/DumpRenderTree.mm:
3599         (activateSystemCoreWebFonts):
3600         (adjustFonts):
3601         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
3602         (WTR::activateSystemCoreWebFonts):
3603         (WTR::activateFonts):
3604
3605 2015-03-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
3606
3607         Created Streams API watchlist
3608         https://bugs.webkit.org/show_bug.cgi?id=142684
3609
3610         Reviewed by Benjamin Poulain.
3611
3612         * Scripts/webkitpy/common/config/watchlist: Created StreamsAPI
3613         watchlist and added Benjamin, Youenn and me to it.
3614
3615 2015-03-15  Benjamin Poulain  <benjamin@webkit.org>
3616
3617         CSS: fix the case-insensitive matching of the attribute selectors Begin, End and Hyphen
3618         https://bugs.webkit.org/show_bug.cgi?id=142715
3619
3620         Reviewed by Brent Fulgham.
3621
3622         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3623         (TestWebKitAPI::TEST):
3624
3625 2015-03-15  Benjamin Poulain  <bpoulain@apple.com>
3626
3627         Change the exact attribute matching to be ASCII case-insensitive
3628         https://bugs.webkit.org/show_bug.cgi?id=142609
3629
3630         Reviewed by Darin Adler.
3631
3632         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3633         * TestWebKitAPI/Tests/WTF/StringView.cpp:
3634
3635 2015-03-13  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3636
3637         WebKit test infrastructure should automate the process of cloning W3C test suite and importing tests from it
3638         https://bugs.webkit.org/show_bug.cgi?id=134764
3639
3640         Reviewed by Ryosuke Niwa.
3641
3642         TestDownloader is introduced to download W3C tests from the official
3643         W3C tests repositories (https://github.com/w3c/web-platform-tests.git
3644         and https://github.com/w3c/csswg-test.git).
3645         TestDownloader clones the repositories and checkouts revisions of the tests
3646         defined in LayoutTests/imported/w3c/resources/TestRepositories.
3647
3648         Similarly to https://codereview.chromium.org/148173016,
3649         TestDownloader copies part of the files based on the rules
3650         defined in LayoutTests/imported/w3c/resources/ImportExpectations.
3651
3652         TestDownloader is used by TestImporter when no source directory is provided.
3653
3654         * Scripts/webkitpy/w3c/test_downloader.py: Added.
3655         (TestDownloader):
3656         (TestDownloader.default_options):
3657         (TestDownloader.load_test_repositories):
3658         (TestDownloader.__init__):
3659         (TestDownloader.checkout_test_repository):
3660         (TestDownloader._init_paths_from_expectations):
3661         (TestDownloader._add_test_suite_paths):
3662         (TestDownloader._empty_directory):
3663         (TestDownloader.copy_tests):
3664         (TestDownloader.download_tests):
3665         * Scripts/webkitpy/w3c/test_importer.py:
3666         (main):
3667         (parse_args):
3668         (TestImporter.__init__):
3669         (TestImporter.do_import):
3670         (TestImporter.test_downloader):
3671         (TestImporter.find_importable_tests.should_keep_subdir):
3672         (TestImporter.should_convert_test_harness_links):
3673         (TestImporter.import_tests):
3674         (TestImporter.write_import_log):
3675
3676 2015-03-12  Alexey Proskuryakov  <ap@apple.com>
3677
3678         [Mavericks] Test snapshots are 1600x1200 on Retina devices
3679         https://bugs.webkit.org/show_bug.cgi?id=142630
3680
3681         Reviewed by Tim Horton.
3682
3683         * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
3684         Removed an ifdef that disabled the fix on Mavericks.
3685
3686 2015-03-12  Csaba Osztrogonác  <ossy@webkit.org>
3687
3688         Remove isWK2 cruft from webkitdirs.pm after r170426
3689         https://bugs.webkit.org/show_bug.cgi?id=142618