Dashboard code restructuring
[WebKit-https.git] / Tools / ChangeLog
1 2016-05-13  Aakash Jain  <aakash_jain@apple.com>
2
3         Dashboard code restructuring
4         https://bugs.webkit.org/show_bug.cgi?id=157680
5         <rdar://problem/14736888>
6
7         Reviewed by Alexey Proskuryakov.
8
9         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
10         (BubbleQueueView.prototype.addLinkToRow): Moved to base class.
11         (BubbleQueueView.prototype.addTextToRow): Moved to base class.
12         (BubbleQueueView.prototype._addDividerToPopover): Moved to base class.
13         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
14         (BuildbotBuilderQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
15         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
16         (BuildbotCombinedQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
17         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
18         (BuildbotTesterQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
19         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
20         (BuildbotQueueView.prototype._appendPendingRevisionCount): Moved to base class and modified to take
21         additional argument.
22         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Moved to base class.
23         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Moved to base class.
24         (BuildbotQueueView.prototype._addDividerToPopover): Moved to base class.
25         (BuildbotQueueView.prototype._formatRevisionForDisplay): Moved to base class.
26         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
27         (documentReady): Display any customView if available.
28         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
29         (QueueView.prototype.addLinkToRow): Moved from child class, no changes.
30         (QueueView.prototype.addTextToRow): Moved from child class, no changes.
31         (QueueView.prototype._addDividerToPopover): Moved from child class, no changes.
32         (QueueView.prototype._appendPendingRevisionCount): Moved from child class, made it more generic
33         by taking latestIterationGetter method as an argument.
34         (QueueView.prototype._popoverLinesForCommitRange): Moved from child class, no changes.
35         (QueueView.prototype._presentPopoverForPendingCommits): Moved from child class, no changes.
36         (QueueView.prototype._formatRevisionForDisplay): Moved from child class, no changes.
37         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
38         (a:hover:link): Underline only when there is a link.
39
40 2016-05-13  Yoav Weiss  <yoav@yoav.ws>
41
42         Turn on WEB_TIMING for all ports
43         https://bugs.webkit.org/show_bug.cgi?id=157673
44
45         Reviewed by Alex Christensen.
46
47         * Scripts/webkitperl/FeatureList.pm: Make sure that WEB_TIMING is on by default.
48
49 2016-05-13  Brady Eidson  <beidson@apple.com>
50
51         Protector Ref/RefPtrs should have a specified naming style.
52         https://bugs.webkit.org/show_bug.cgi?id=157591
53
54         Reviewed by Darin Adler.
55
56         * Scripts/webkitpy/style/checkers/cpp.py:
57         (check_identifier_name_in_declaration):
58         (CppChecker):
59         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
60         (WebKitStyleTest.test_names):
61
62 2016-05-12  Csaba Osztrogonác  <ossy@webkit.org>
63
64         Remove ENABLE(ES6_ARROWFUNCTION_SYNTAX) guards
65         https://bugs.webkit.org/show_bug.cgi?id=157564
66
67         Reviewed by Darin Adler.
68
69         * Scripts/webkitperl/FeatureList.pm:
70         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
71
72 2016-05-11  Joanmarie Diggs  <jdiggs@igalia.com>
73
74         [GTK] accessibility/aria-readonly.html is failing
75         https://bugs.webkit.org/show_bug.cgi?id=98357
76
77         Reviewed by Chris Fleizach.
78
79         Add checks to isAttributeSettable() for ATK_STATE_READ_ONLY and the 'readonly'
80         AtkObject attribute along with ATK_STATE_CHECKABLE for toggle-able elements,
81         ATK_STATE_SELECTABLE for select elements, and ATK_STATE_FOCUSABLE combined
82         with range verification for inputs which implement AtkValue. The latter two
83         additions are admittedly a heuristic workaround for platform accessibility
84         API differences. But they should be sufficient to facilitate cross-platform
85         testing of isAttributeSettable() for form elements which lack ARIA attributes.
86
87         Bump the minimum version of at-spi2-core and at-spi2-atk
88         to 2.15.4 (earliest version that supports STATE_READ_ONLY).
89
90         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
91         (WTR::AccessibilityUIElement::isAttributeSettable):
92         * gtk/jhbuild.modules:
93
94 2016-05-10  Ryan Haddad  <ryanhaddad@apple.com>
95
96         Another attempt to fix the build after r200668.
97
98         Unreviewed build fix.
99
100         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
101         (TEST):
102
103 2016-05-10  Dan Bernstein  <mitz@apple.com>
104
105         Tried to fix the Mac build after r200668.
106
107         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
108         (WTR::TestController::platformCreateWebView):
109
110 2016-05-10  Sam Weinig  <sam@webkit.org>
111
112         Tweak underline style for data detected links
113         https://bugs.webkit.org/show_bug.cgi?id=157546
114
115         Reviewed by Tim Horton.
116
117         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
118         * TestWebKitAPI/Tests/WebCore/Color.cpp: Added.
119         (TestWebKitAPI::TEST):
120         Add tests for the new Color::getHSV() function.
121
122 2016-05-10  Filip Pizlo  <fpizlo@apple.com>
123
124         Internal JSC profiler should have a timestamped log of events for each code block
125         https://bugs.webkit.org/show_bug.cgi?id=157538
126
127         Reviewed by Benjamin Poulain.
128
129         * Scripts/display-profiler-output:
130
131 2016-05-10  Michael Catanzaro  <mcatanzaro@igalia.com>
132
133         [Linux] Remove seccomp filters support
134         https://bugs.webkit.org/show_bug.cgi?id=157380
135
136         Reviewed by Darin Adler.
137
138         * Scripts/webkitperl/FeatureList.pm:
139         * TestWebKitAPI/PlatformEfl.cmake:
140         * TestWebKitAPI/PlatformGTK.cmake:
141         * TestWebKitAPI/Tests/WebKit2/SeccompFilters.cpp: Removed.
142         * efl/jhbuild.modules:
143         * gtk/jhbuild.modules:
144
145 2016-05-09  Simon Fraser  <simon.fraser@apple.com>
146
147         [iOS] visibility:hidden -webkit-overflow-scrolling: touch divs can interfere with page scrolling
148         https://bugs.webkit.org/show_bug.cgi?id=157496
149         rdar://problem/22963278
150
151         Reviewed by Tim Horton.
152
153         Enhance UIScriptController to generate a drag, which is useful for scrolling.
154
155         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
156         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
157         (WTR::UIScriptController::dragFromPointToPoint):
158         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
159         * WebKitTestRunner/ios/HIDEventGenerator.h:
160         * WebKitTestRunner/ios/HIDEventGenerator.mm:
161         (-[HIDEventGenerator dragWithStartPoint:endPoint:duration:completionBlock:]):
162         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
163         (WTR::UIScriptController::dragFromPointToPoint):
164
165 2016-05-09  Simon Fraser  <simon.fraser@apple.com>
166
167         Remove testRunner.setTextAutosizingEnabled and migrate the one test that uses it
168         https://bugs.webkit.org/show_bug.cgi?id=157480
169
170         Reviewed by Zalan Bujtas.
171
172         Migrate the one test that used testRunner.setTextAutosizingEnabled() to window.internals.settings.setTextAutosizingEnabled()
173         and move it next to the other iOS text autosizing tests.
174         
175         Remove testRunner.setTextAutosizingEnabled(), which was only implemented in DumpRenderTree.
176
177         * DumpRenderTree/TestRunner.cpp:
178         (setTextAutosizingEnabledCallback): Deleted.
179         (TestRunner::staticFunctions): Deleted.
180         * DumpRenderTree/mac/TestRunnerMac.mm:
181         (TestRunner::setTextAutosizingEnabled): Deleted.
182
183 2016-05-07  Darin Adler  <darin@apple.com>
184
185         Next step on dictionary bindings, along with other bindings refinements
186         https://bugs.webkit.org/show_bug.cgi?id=157451
187
188         Reviewed by Chris Dumez.
189
190         * Scripts/do-webcore-rename: Use this to rename JSDOMBuild.h to JSDOMConvert.h.
191         Also skip test expectations in a directory that this was modifying unnecessarily.
192
193 2016-05-06  Simon Fraser  <simon.fraser@apple.com>
194
195         Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
196         https://bugs.webkit.org/show_bug.cgi?id=157432
197         rdar://problem/16406720
198
199         Reviewed by Dean Jackson.
200
201         Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
202
203         Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
204         preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
205         These two settings are shared with TEXT_AUTOSIZING.
206
207         Add a TextAutosizing log channel, which is useful for generated -expected.html results.
208
209         Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
210         without changes.
211
212         An implication of this set of changes is that the way clients enable text autosizing
213         has changed. Previously, they set the "MinimumZoomFontSize" preference to 0.
214         Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
215         on iPhone only, not iPad.
216
217         Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
218         instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
219
220         UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
221         which will now always return 15, but had no other code that toggled this. So it's safe to just rely
222         on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
223
224         * DumpRenderTree/mac/DumpRenderTree.mm:
225         (resetWebPreferencesToConsistentValues):
226         * DumpRenderTree/mac/TestRunnerMac.mm:
227         (TestRunner::setTextAutosizingEnabled):
228         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
229         * WebKitTestRunner/ios/TestControllerIOS.mm:
230         (WTR::TestController::platformResetPreferencesToConsistentValues):
231
232 2016-05-06  Dean Jackson  <dino@apple.com>
233
234         Regions, Shapes and Tracks don't need runtime features
235         https://bugs.webkit.org/show_bug.cgi?id=157426
236         <rdar://problem/26146262>
237
238         Reviewed by Simon Fraser.
239
240         The following RuntimeEnabledFeatures can be removed since
241         we have no need to disable them (they are stable and have
242         shipped for a while):
243         - CSS Regions
244         - CSS Shapes
245         - Media tracks
246
247         * DumpRenderTree/mac/DumpRenderTree.mm:
248         (resetWebPreferencesToConsistentValues): Deleted.
249
250 2016-05-06  Ryan Haddad  <ryanhaddad@apple.com>
251
252         Increase delay when launching multiple ios-simulators in parallel
253         https://bugs.webkit.org/show_bug.cgi?id=157422
254
255         Reviewed by Alexey Proskuryakov.
256
257         Tests are intermittently failing when launching multiple simulators in parallel due to "You are opening
258         this application for the first time" confirmation dialogs. Increasing the delay to alleviate this issue.
259
260         * Scripts/webkitpy/port/ios.py:
261         (IOSSimulatorPort.setup_test_run):
262
263 2016-05-06  Per Arne Vollan  <peavo@outlook.com>
264
265         [Win] Remove WinXP support.
266         https://bugs.webkit.org/show_bug.cgi?id=157416
267
268         Reviewed by Brent Fulgham.
269
270         * win/DLLLauncher/DLLLauncherMain.cpp:
271         (enableTerminationOnHeapCorruption):
272
273 2016-05-06  Manuel Rego Casasnovas  <rego@igalia.com>
274
275         [css-grid] Unprefix CSS Grid Layout properties
276         https://bugs.webkit.org/show_bug.cgi?id=157137
277
278         Reviewed by Simon Fraser.
279
280         Remove "-webkit" prefix from all the grid layout properties,
281         including the display value.
282         Update the source code to remove the prefix where it was used too.
283
284         * TestWebKitAPI/Tests/WebCore/CSSParser.cpp:
285         (TestWebKitAPI::TEST):
286
287 2016-05-05  Alexey Proskuryakov  <ap@apple.com>
288
289         Partially revert http://trac.webkit.org/r200504
290         Improve HTTP test names in WebKitTestRunner's crash report information
291         https://bugs.webkit.org/show_bug.cgi?id=157389
292
293         * WebKitTestRunner/cocoa/CrashReporterInfo.mm: Turns out that we can't have URLs
294         in crash reporter information.
295
296 2016-05-05  Alexey Proskuryakov  <ap@apple.com>
297
298         Improve HTTP test names in WebKitTestRunner's crash report information
299         https://bugs.webkit.org/show_bug.cgi?id=157389
300
301         Reviewed by Alex Christensen.
302
303         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
304         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Added a FIXME.
305
306         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
307         (WTR::testDescription): Don't bail out if the port is neither 8000 nor 8443; we
308         use other port numbers too. For http tests, return the complete URL string, not
309         just the path.
310
311 2016-05-04  Alex Christensen  <achristensen@webkit.org>
312
313         Blocked redirected main resource requests need descriptive errors
314         https://bugs.webkit.org/show_bug.cgi?id=156828
315         rdar://problem/25711316
316
317         Reviewed by Daniel Bates.
318
319         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
320         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
321         Print out the error type to make sure we have the most descriptive error type.
322
323 2016-05-05  Enrique Ocaña González  <eocanha@igalia.com>
324
325         [GStreamer] Bump internal jhbuild versions to 1.8.0 and patches to support MSE
326         https://bugs.webkit.org/show_bug.cgi?id=157341
327
328         Reviewed by Xabier Rodriguez-Calvar.
329
330         * gtk/jhbuild.modules:
331         * gtk/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added.
332         * gtk/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added.
333
334 2016-05-04  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
335
336         Add JSC test results in JSON format to a Buildbot log
337         https://bugs.webkit.org/show_bug.cgi?id=156920
338
339         Reviewed by Daniel Bates.
340
341         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
342         (RunJavaScriptCoreTests): Move command-line option for output file out
343         of WithProperties.
344
345 2016-05-04  Dean Jackson  <dino@apple.com>
346
347         TestRunner should always enable all the experimental features
348         https://bugs.webkit.org/show_bug.cgi?id=157360
349         <rdar://problem/26099748>
350
351         Reviewed by Anders Carlsson.
352
353         Call the new SPI that enables all the experimental features.
354
355         * WebKitTestRunner/TestController.cpp:
356         (WTR::TestController::resetPreferencesToConsistentValues):
357
358 2016-05-04  Mark Lam  <mark.lam@apple.com>
359
360         ES6 Function.name inferred from property names of literal objects can break some websites.
361         https://bugs.webkit.org/show_bug.cgi?id=157246
362
363         Reviewed by Geoffrey Garen.
364
365         * WebKitTestRunner/TestController.cpp:
366         (WTR::TestController::resetPreferencesToConsistentValues):
367         (WTR::updateTestOptionsFromTestHeader):
368         * WebKitTestRunner/TestOptions.h:
369
370         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
371         (WTR::PlatformWebView::viewSupportsOptions):
372         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
373         (WTR::PlatformWebView::viewSupportsOptions):
374         - Add needsSiteSpecificQuirks to WKTR options that can be set. 
375
376 2016-05-04  Joanmarie Diggs  <jdiggs@igalia.com>
377
378         AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
379         https://bugs.webkit.org/show_bug.cgi?id=157331
380
381         Reviewed by Chris Fleizach.
382
383         Add AXLandmarkRegion to the landmark strings handled by roleToString
384         for objects with ATK_ROLE_LANDMARK.
385
386         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
387
388 2016-05-03  Beth Dakin  <bdakin@apple.com>
389
390         Add VideoControlsManager tests
391         https://bugs.webkit.org/show_bug.cgi?id=157332
392         -and corresponding-
393         rdar://problem/24358431
394
395         Reviewed by Sam Weinig.
396
397         This patch adds three VideoControlsManager tests.
398
399         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
400         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
401         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm: Added.
402         (-[DidPlayMessageHandler initWithWKWebView:]):
403         (-[DidPlayMessageHandler userContentController:didReceiveScriptMessage:]):
404         (TestWebKitAPI::TEST):
405         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html: Added.
406         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.mp4: Added.
407         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html: Added.
408
409 2016-05-03  Joanmarie Diggs  <jdiggs@igalia.com>
410
411         [ATK] accessibility/document-attributes.html is failing
412         https://bugs.webkit.org/show_bug.cgi?id=125348
413
414         Reviewed by Chris Fleizach.
415
416         The test was failing because the WebArea is now being exposed with the role of
417         ATK_ROLE_DOCUMENT_WEB; not ATK_ROLE_DOCUMENT_FRAME. Unfortunately, when that
418         change was made, documentEncoding() and documentURI() were not updated accordingly.
419
420         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
421         (WTR::AccessibilityUIElement::documentEncoding):
422         (WTR::AccessibilityUIElement::documentURI):
423
424 2016-05-03  Brent Fulgham  <bfulgham@apple.com>
425
426         [Win] Unreviewed build fix.
427
428         * EWSTools/start-queue-win.sh: Establish proper VS2015 build
429         environment at start of queue run.
430
431 2016-05-03  Joanmarie Diggs  <jdiggs@igalia.com>
432
433         [ATK] accessibility/content-editable-as-textarea.html fails
434         https://bugs.webkit.org/show_bug.cgi?id=155353
435
436         Reviewed by Darin Adler.
437
438         The test was timing out because it expected an AXValueChanged notification.
439         In ATK, AXValueChanged notifications are made for widgets which implement
440         the AtkValue interface (sliders, progress bars, etc.). We should be listening
441         for AXTextChanged instead. AtkText's text-insert and text-remove have been
442         added to the AccessibilityNotificationHandler.
443
444         Also, ATK's AccessibilityUIElement support had a number of unimplemented
445         methods that are being used as part of the previously-failing test. Those
446         methods are now implemented so that the ATK results are much more similar
447         to those on the Mac.
448
449         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
450         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks):
451         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
452         (WTR::AccessibilityUIElement::stringAttributeValue):
453         (WTR::AccessibilityUIElement::rangeForLine):
454         (WTR::AccessibilityUIElement::boundsForRange):
455         (WTR::AccessibilityUIElement::attributedStringForRange):
456
457 2016-05-02  Brady Eidson  <beidson@apple.com>
458
459         Add the ability to accumulate logs for specific logging channels to help diagnose test timeouts.
460         https://bugs.webkit.org/show_bug.cgi?id=157274
461
462         Reviewed by Alex Christensen.
463
464         Add the new accumulate method to DRT's TestRunner, dump the accumulated logs if there's a timeout,
465         and reset them in between tests:
466         * DumpRenderTree/TestRunner.cpp:
467         (accummulateLogsForChannel):
468         (TestRunner::staticFunctions):
469         (TestRunner::waitToDumpWatchdogTimerFired):
470         (TestRunner::setAccummulateLogsForChannel):
471         * DumpRenderTree/TestRunner.h:
472         * DumpRenderTree/mac/DumpRenderTree.mm:
473         (resetWebViewToConsistentStateBeforeTesting):
474
475         Also add the new method to WKTR's TestRunner, but just stubbed for now:
476         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
477         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
478         (WTR::TestRunner::accummulateLogsForChannel):
479         * WebKitTestRunner/InjectedBundle/TestRunner.h:
480
481 2016-05-02  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
482
483         Add fail-fast option to run-javascriptcore-tests
484         https://bugs.webkit.org/show_bug.cgi?id=157270
485
486         Reviewed by Geoffrey Garen.
487
488         * Scripts/run-javascriptcore-tests: Add fail-fast command line option.
489         Defaults to yes, which is the current behavior.
490
491 2016-05-02  Carlos Alberto Lopez Perez  <clopez@igalia.com>
492
493         [CMake] MiniBrowser fails to build because libsoup link flags are not defined.
494         https://bugs.webkit.org/show_bug.cgi?id=157268
495
496         Reviewed by Michael Catanzaro.
497
498         * MiniBrowser/gtk/CMakeLists.txt:
499
500 2016-04-30  Darin Adler  <darin@apple.com>
501
502         Streamline and remove unused bindings generation code
503         https://bugs.webkit.org/show_bug.cgi?id=157237
504
505         Reviewed by Chris Dumez.
506
507         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
508         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
509         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
510         Replace non-standard "int" with standard "long", which means the same thing.
511
512 2016-04-30  Darin Adler  <darin@apple.com>
513
514         Next batch of conversions to use C++ enum class instead of strings for enumerations
515         https://bugs.webkit.org/show_bug.cgi?id=157232
516
517         Reviewed by Chris Dumez.
518
519         * Scripts/webkitpy/style/checker.py: Skip the bindings script tests when doing style
520         checking. We don't want to waste time trying to make our generated code match our style.
521
522 2016-04-29  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
523
524         Add JSC test results in JSON format to a Buildbot log.
525         https://bugs.webkit.org/show_bug.cgi?id=156920
526
527         Reviewed by Daniel Bates.
528
529         Generate JSON results for JSC tests and upload them to the master
530         using Buildbot's logfiles machinery.
531
532         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
533         (RunJavaScriptCoreTests): Use --json-output option when invoking the
534         run-javascriptcore-tests Perl script, and expose this JSON output as a 
535         Buildbot log.
536         * Scripts/run-javascriptcore-tests:
537         (runJSCStressTests): Change key names and remove redundant count key.
538
539 2016-04-29  Joanmarie Diggs  <jdiggs@igalia.com>
540
541         [ATK] Expose the value of aria-roledescription via an AtkObject attribute
542         https://bugs.webkit.org/show_bug.cgi?id=146719
543
544         Reviewed by Chris Fleizach.
545
546         Implement roleDescription() so that the implementation can be tested.
547
548         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
549         (WTR::AccessibilityUIElement::roleDescription):
550
551 2016-04-27  Alexey Proskuryakov  <ap@apple.com>
552
553         Don't throttle GuardMalloc on 8-core Macs
554         https://bugs.webkit.org/show_bug.cgi?id=157108
555
556         Reviewed by Alex Christensen.
557
558         This was making them slower unnecessarily.
559
560         * Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
561
562 2016-04-26  Konstantin Tokarev  <annulen@yandex.ru>
563
564         Unreviewed: add myself to the committers list.
565
566         * Scripts/webkitpy/common/config/contributors.json:
567
568 2016-04-26  Ryosuke Niwa  <rniwa@webkit.org>
569
570         Fix text in log files autogenerated by import-w3c-tests
571         https://bugs.webkit.org/show_bug.cgi?id=157021
572
573         Unreviewed. Fixing the second typo.
574
575         * Scripts/webkitpy/w3c/test_importer.py:
576         (TestImporter.write_import_log):
577
578 2016-04-26  Filip Pizlo  <fpizlo@apple.com>
579
580         WebCore on Mac ignores the user's preferred region (country) while getting the language
581         https://bugs.webkit.org/show_bug.cgi?id=156993
582
583         Reviewed by Geoffrey Garen.
584
585         Change the test expectations for this test. If the variant is not explicitly specified in
586         the AppleLanguage, then we use the locale's country code, which this test assumes is US.
587
588         * TestWebKitAPI/Tests/mac/NavigatorLanguage.mm:
589         (TestWebKitAPI::languageForSystemLanguage):
590         (TestWebKitAPI::TEST):
591
592 2016-04-25  Ryosuke Niwa  <rniwa@webkit.org>
593
594         Remove the build flag for template elements
595         https://bugs.webkit.org/show_bug.cgi?id=157022
596
597         Reviewed by Daniel Bates.
598
599         Removed the build option.
600
601         * Scripts/webkitperl/FeatureList.pm:
602
603 2016-04-25  Ryosuke Niwa  <rniwa@webkit.org>
604
605         Fix text in log files autogenerated by import-w3c-tests
606         https://bugs.webkit.org/show_bug.cgi?id=157021
607
608         Reviewed by Chris Dumez.
609
610         s/Webkit/WebKit/ and end each sentence with a period.
611
612         * Scripts/webkitpy/w3c/test_importer.py:
613         (TestImporter.write_import_log):
614
615 2016-04-25  Myles C. Maxfield  <mmaxfield@apple.com>
616
617         [Cocoa] Guarantee FontPlatformData's m_cgFont is never nullptr
618         https://bugs.webkit.org/show_bug.cgi?id=156929
619
620         Reviewed by Darin Adler.
621
622         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
623         (TestWebKitAPI::TEST):
624
625 2016-04-25  Caitlin Potter  <caitp@igalia.com>
626
627         [Tools] whitelist all-uppercase JSTokenType enum in JavaScriptCore
628         https://bugs.webkit.org/show_bug.cgi?id=156976
629
630         Reviewed by Darin Adler.
631
632         Mitigate style-checker spam on bugs which introduce new JavaScript
633         token types.
634
635         * Scripts/webkitpy/style/checkers/cpp.py:
636         (_EnumState.__init__):
637         (_EnumState.process_clean_line):
638         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
639         (NoNonVirtualDestructorsTest.test_enum_casing):
640
641 2016-04-25  Simon Fraser  <simon.fraser@apple.com>
642
643         Fix issues with content-animation performance tests
644         https://bugs.webkit.org/show_bug.cgi?id=157001
645
646         Reviewed by Sam Weinig.
647
648         Add patch content for svg-animation.html, and fix the paths in the patch so
649         it applies correctly.
650
651         Add the patch file to the .plan file.
652
653         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch:
654         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
655
656 2016-04-25  Brady Eidson  <beidson@apple.com>
657
658         Tweaking IndexedDB watchlist and adding myself to it.
659
660         * Scripts/webkitpy/common/config/watchlist:
661
662 2016-04-25  Commit Queue  <commit-queue@webkit.org>
663
664         Unreviewed, rolling out r199916.
665         https://bugs.webkit.org/show_bug.cgi?id=156989
666
667         Might break buildbot when master is restarted (Requested by
668         Srinivasan Vijayaraghava, Guest100, on #webkit).
669
670         Reverted changeset:
671
672         "Add JSC test results in json format to a buildbot log"
673         https://bugs.webkit.org/show_bug.cgi?id=156920
674         http://trac.webkit.org/changeset/199916
675
676 2016-04-23  Chris Dumez  <cdumez@apple.com>
677
678         [WebIDL] Drop [Default] WebKit-IDL extended attribute
679         https://bugs.webkit.org/show_bug.cgi?id=156955
680
681         Reviewed by Darin Adler.
682
683         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
684
685 2016-04-23  Csaba Osztrogonác  <ossy@webkit.org>
686
687         Really enable INDEXED_DATABASE on Apple Mac cmake build
688         https://bugs.webkit.org/show_bug.cgi?id=156902
689
690         Reviewed by Michael Catanzaro.
691
692         * Scripts/webkitperl/FeatureList.pm:
693
694 2016-04-23  Andy Estes  <aestes@apple.com>
695
696         check-webkit-style: fix false-positive warnings about @synchronized
697         https://bugs.webkit.org/show_bug.cgi?id=156957
698
699         Reviewed by Dan Bernstein.
700
701         * Scripts/webkitpy/style/checkers/cpp.py:
702         (check_spacing_for_function_call): Ignore @synchronized lines.
703         (check_braces): Ditto.
704         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
705         (CppStyleTest.test_brace_at_begin_of_line): Added a test case.
706
707 2016-04-22  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
708
709         Add JSC test results in json format to a buildbot log
710         https://bugs.webkit.org/show_bug.cgi?id=156920
711
712         Reviewed by Alexey Proskuryakov.
713
714         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
715         (RunJavaScriptCoreTests):
716         Add runtime flag to output json into buildbot
717         * Scripts/run-javascriptcore-tests:
718         (runJSCStressTests):
719         Change key names and remove redundant count key
720
721 2016-04-22  Ryan Haddad  <ryanhaddad@apple.com>
722
723         Update expected result for WKPreferencesGetOfflineWebApplicationCacheEnabled after r199854
724
725         Unreviewed test gardening.
726
727         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
728         (TestWebKitAPI::TEST):
729
730 2016-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
731
732         [GTK] Enable the download attribute support
733         https://bugs.webkit.org/show_bug.cgi?id=99025
734
735         Reviewed by Žan Doberšek.
736
737         * Scripts/webkitperl/FeatureList.pm:
738
739 2016-04-21  Keith Miller  <keith_miller@apple.com>
740
741         WebScriptObject description swizzler should work in a multi-threaded world
742         https://bugs.webkit.org/show_bug.cgi?id=156808
743
744         Add a test for our NSObject swizzling TLS implementation. The test runs on
745         two threads. One in JS and another in Objective-C. We expect the JS thread
746         to use our NSObject description override and the Objective-C thread to act
747         as though it was using the original NSObject description method.
748
749         Reviewed by Geoffrey Garen.
750
751         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
752         * TestWebKitAPI/Tests/mac/WebScriptObjectDescription.html: Added.
753         * TestWebKitAPI/Tests/mac/WebScriptObjectDescription.mm: Added.
754         (nsObjectDescriptionTest):
755         (-[WebScriptDescriptionTest webView:didFinishLoadForFrame:]):
756         (TestWebKitAPI::TEST):
757
758 2016-04-21  Carlos Garcia Campos  <cgarcia@igalia.com>
759
760         [GTK] WebKitWebView should claim the contents size as its natural size
761         https://bugs.webkit.org/show_bug.cgi?id=156835
762
763         Reviewed by Žan Doberšek.
764
765         Add test case to check the WebKitWebView preferred size.
766
767         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
768         (testWebViewPreferredSize):
769         (beforeAll):
770
771 2016-04-20  Simon Fraser  <simon.fraser@apple.com>
772
773         Add content animation tests to benchmark_runner, and allow the runner to collect device data as part of the results
774         https://bugs.webkit.org/show_bug.cgi?id=156827
775         
776         Update the .plan file now that the files are present in SVN.
777
778         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
779
780 2016-04-20  Simon Fraser  <simon.fraser@apple.com>
781
782         Add content animation tests to benchmark_runner, and allow the runner to collect device data as part of the results
783         https://bugs.webkit.org/show_bug.cgi?id=156827
784         rdar://problem/24358135
785
786         Reviewed by Stephanie Lewis.
787
788         Enhance benchmark_runner so that a benchmark can load a set of tests sequentially,
789         and collate results across them. Also add the ability for the browser_driver to supply
790         additional results, allowing for tests that collect results data in native code, rather
791         than generating it in the web page.
792
793         Add a set of "content animation" tests that use this new functionality, which test
794         CSS animation and requestAnimationFrame performance.
795
796         'plan' files have two new optional keys:
797             'test_files': a list of files to run as a suite
798             'options': optional parameters. Currently supports one new option,
799                 'animation_command', which affects the way that iOS tests are run,
800                 and is passed to MobileSafari as a parameter on launch.
801
802         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
803         (BenchmarkRunner.__init__): If options is not specified in the plan file, set it to an empty dictionary.
804         (BenchmarkRunner._get_result): Allow the browser_driver to modify the test results.
805         (BenchmarkRunner):
806         (BenchmarkRunner._run_one_test): Factored out of _run_benchmark, this contains logic for
807         running a single test. It starts and stops the http_server_driver.
808         (BenchmarkRunner._run_benchmark): Run a test in the traditional way if the plan has an 'entry_point'
809         key, otherwise look for the new 'test_files' and load each in a loop.
810         (BenchmarkRunner._dump):
811         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
812         (BrowserDriver.launch_url): Pass options.
813         (BrowserDriver.add_additional_results): Allow a driver to supply additional results.
814         (BrowserDriver):
815         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py:
816         (GTKMiniBrowserDriver.launch_url):
817         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
818         (OSXBrowserDriver.close_browsers):
819         (OSXBrowserDriver._terminate_processes): Fix spelling mistake.
820         (OSXBrowserDriver._terminiate_processes): Deleted.
821         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
822         (OSXChromeDriver.launch_url):
823         (OSXChromeCanaryDriver.launch_url):
824         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
825         (OSXFirefoxDriver.launch_url):
826         (OSXFirefoxNightlyDriver.launch_url):
827         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
828         (OSXSafariDriver.launch_url):
829         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch: Added.
830         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan: Added.
831
832 2016-04-20  Dustin Falgout  <dustin@falgout.us>
833
834         [GTK] Expose AllowUniversalAccessFromFileURLs preference now that calling localStorage.getItem() results in SecurityError: DOM Exception 18
835         https://bugs.webkit.org/show_bug.cgi?id=156651
836
837         Reviewed by Michael Catanzaro.
838
839         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
840         (testWebKitSettings):
841
842 2016-04-20  Brady Eidson  <beidson@apple.com>
843
844         Modern IDB (Workers): Enable INDEXED_DATABASE_IN_WORKERS compile time flag, but disabled in RuntimeEnabledFeatures.
845         https://bugs.webkit.org/show_bug.cgi?id=156782
846
847         Reviewed by Alex Christensen.
848
849         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
850
851 2016-04-19  Brent Fulgham  <bfulgham@apple.com>
852
853         Unreviewed build fix after r199752.
854
855         * DumpRenderTree/win/FrameLoadDelegate.cpp:
856         (FrameLoadDelegate::didChangeIcons): Remove call to removed function.
857
858 2016-04-19  Brent Fulgham  <bfulgham@apple.com>
859
860         Remove remaining bits of dynamic <link> rel='icon' loading
861         https://bugs.webkit.org/show_bug.cgi?id=156727
862
863         Reviewed by Darin Adler.
864
865         Remove unused test infrastructure. This code never existed in WebKit2
866         testing since was only used on Windows.
867
868         * DumpRenderTree/TestRunner.cpp:
869         (dumpIconChangesCallback): Deleted.
870         * DumpRenderTree/TestRunner.h:
871         (TestRunner::dumpIconChanges): Deleted.
872         (TestRunner::setDumpIconChanges): Deleted.
873
874 2016-04-19  Keith Miller  <keith_miller@apple.com>
875
876         ObjcInstance::stringValue should not call NSObject's description method
877         https://bugs.webkit.org/show_bug.cgi?id=156758
878
879         Reviewed by Geoffrey Garen.
880
881         Add new methods to ObjCController that expose two Types of WebScriptObjects. The first is
882         an NSObject and the second is an NSArray of NSObjects. These are used to test that we don't
883         call the NSObjects description method without first swizzling it.
884
885         * DumpRenderTree/mac/ObjCController.m:
886         (+[ObjCController isSelectorExcludedFromWebScript:]):
887         (+[ObjCController webScriptNameForSelector:]):
888         (-[ObjCController testArrayOfObjects]):
889         (-[ObjCController testObject]):
890
891 2016-04-18  Dan Bernstein  <mitz@apple.com>
892
893         Fixed building with old Xcode.
894
895         * TestWebKitAPI/Tests/WebKit2Cocoa/Preferences.mm:
896         (TEST):
897
898 2016-04-18  Dean Jackson  <dino@apple.com>
899
900         New SPI to export a dictionary of runtime features
901         https://bugs.webkit.org/show_bug.cgi?id=156645
902         <rdar://problem/23621666>
903
904         Reviewed by Darin Adler.
905
906         Test the experimental features SPI on WKPreferences.
907
908         * TestWebKitAPI/Tests/WebKit2Cocoa/Preferences.mm:
909
910 2016-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
911
912         [JSCOnly] Implement RunLoop and remove glib dependency
913         https://bugs.webkit.org/show_bug.cgi?id=155706
914
915         Reviewed by Michael Catanzaro.
916
917         Add TestWTF to JSCOnly port to test WorkQueue and RunLoop.
918         Platform specific ones locate under jsconly directory since
919         it is not `generic` (Since it includes the GLIB event loop case).
920
921         * CMakeLists.txt:
922         * TestWebKitAPI/PlatformJSCOnly.cmake: Added.
923         * TestWebKitAPI/PlatformUtilities.h:
924         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
925         (TestWebKitAPI::TEST):
926         * TestWebKitAPI/config.h:
927         * TestWebKitAPI/jsconly/PlatformUtilitiesJSCOnly.cpp: Renamed from Source/WTF/wtf/none/RunLoopNone.cpp.
928         (TestWebKitAPI::Util::run):
929         (TestWebKitAPI::Util::sleep):
930         * TestWebKitAPI/jsconly/main.cpp: Renamed from Source/WTF/wtf/none/WorkQueueNone.cpp.
931         (main):
932
933 2016-04-18  Jon Lee  <jonlee@apple.com>
934
935         Update Animometer plan.
936         https://bugs.webkit.org/show_bug.cgi?id=156652
937
938         Reviewed by Darin Adler.
939
940         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r199616.
941
942 2016-04-18  Dana Burkart  <dburkart@apple.com>
943
944         svn-apply: add option for ignoring changes to ChangeLog files
945         https://bugs.webkit.org/show_bug.cgi?id=156618
946
947         Reviewed by Darin Adler.
948
949         This change adds a new option to svn-apply, --skip-changelogs, which short-circuits out of
950         patch() if the file in question is a ChangeLog.
951
952         * Scripts/svn-apply:
953         (patch):
954
955 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
956
957         Pending API Request URL is wrong after reloading
958         https://bugs.webkit.org/show_bug.cgi?id=139342
959
960         Reviewed by Darin Adler.
961
962         Update test case to check that the active URL should remain the
963         same after a reload.
964
965         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp:
966         (TestWebKitAPI::TEST):
967
968 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
969
970         Pending API request URL no set when loading Data, Alternate HTML or plain text
971         https://bugs.webkit.org/show_bug.cgi?id=136916
972
973         Reviewed by Darin Adler.
974
975         Add new test to check that active URL is the requested one right
976         after calling WKPage load methods.
977
978         * TestWebKitAPI/PlatformEfl.cmake:
979         * TestWebKitAPI/PlatformGTK.cmake:
980         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
981         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp: Added.
982         (TestWebKitAPI::TEST):
983         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
984         (WebViewTest::loadPlainText): Remove FIXME.
985         (WebViewTest::loadBytes): Ditto.
986         (WebViewTest::loadAlternateHTML): Ditto.
987
988 2016-04-18  Commit Queue  <commit-queue@webkit.org>
989
990         Unreviewed, rolling out r199660.
991         https://bugs.webkit.org/show_bug.cgi?id=156691
992
993         It broke the iOS build (Requested by KaL on #webkit).
994
995         Reverted changeset:
996
997         "Pending API request URL no set when loading Data, Alternate
998         HTML or plain text"
999         https://bugs.webkit.org/show_bug.cgi?id=136916
1000         http://trac.webkit.org/changeset/199660
1001
1002 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
1003
1004         Pending API request URL no set when loading Data, Alternate HTML or plain text
1005         https://bugs.webkit.org/show_bug.cgi?id=136916
1006
1007         Reviewed by Darin Adler.
1008
1009         Add new test to check that active URL is the requested one right
1010         after calling WKPage load methods.
1011
1012         * TestWebKitAPI/PlatformEfl.cmake:
1013         * TestWebKitAPI/PlatformGTK.cmake:
1014         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1015         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp: Added.
1016         (TestWebKitAPI::TEST):
1017         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1018         (WebViewTest::loadPlainText): Remove FIXME.
1019         (WebViewTest::loadBytes): Ditto.
1020         (WebViewTest::loadAlternateHTML): Ditto.
1021
1022 2016-04-18  Jeremy Huddleston Sequoia  <jeremyhu@apple.com>
1023
1024         Fix incorrect assumption that APPLE implies Mac.
1025         https://bugs.webkit.org/show_bug.cgi?id=156679
1026
1027         Addresses build failure introduced in r198947
1028
1029         Reviewed by Alex Christensen.
1030
1031         * CMakeLists.txt:
1032
1033 2016-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
1034
1035         [GTK] Test /webkit2/WebKitWebView/mouse-target fails with overlay scrollbars
1036         https://bugs.webkit.org/show_bug.cgi?id=156621
1037
1038         Reviewed by Martin Robinson.
1039
1040         This is a problem of the test itself, we are using an overflow that is not actually scrollable, but that shows
1041         scrollbar troughs when not using overlay scrollbars because it's marked as scrollable. It would be easier to
1042         simply use the main frame scrollbars to test that and it will work no matter of scrollbars are overlay or not.
1043
1044         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1045         (testWebViewMouseTarget): Remove the div and move the mouse over the main frame scrollbar to test scrolbars hit test.
1046
1047 2016-04-17  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1048
1049         [EFL] Bump gstreamer from 1.4.4 to 1.6.3
1050         https://bugs.webkit.org/show_bug.cgi?id=156655
1051
1052         Reviewed by Antonio Gomes.
1053
1054         To support html5 video feature, we should bump gstreamer version.
1055
1056         * efl/jhbuild.modules:
1057         * efl/patches/gst-libav.patch: Update against newer version.
1058         * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed because this patch was merged.
1059
1060 2016-04-16  Sam Weinig  <sam@webkit.org>
1061
1062         More build fixing.
1063
1064         * MiniBrowser/mac/BrowserWindowController.m:
1065         (-[BrowserWindowController share:]):
1066
1067 2016-04-16  Sam Weinig  <sam@webkit.org>
1068
1069         Another build fix.
1070
1071         * MiniBrowser/mac/BrowserWindowController.m:
1072         (-[BrowserWindowController sharingServicePicker:sharingServicesForItems:proposedSharingServices:]):
1073
1074 2016-04-16  Sam Weinig  <sam@webkit.org>
1075
1076         Fix 32-bit build.
1077
1078         * MiniBrowser/mac/BrowserWindowController.m:
1079         (-[BrowserWindowController share:]):
1080         (-[BrowserWindowController fetch:]):
1081         (-[BrowserWindowController sharingService:transitionImageForShareItem:contentRect:]):
1082
1083 2016-04-15  Sam Weinig  <sam@webkit.org>
1084
1085         Add support for NSSharingService to MiniBrowser, for no great reasons
1086         https://bugs.webkit.org/show_bug.cgi?id=156658
1087
1088         Reviewed by Darin Adler.
1089
1090         * MiniBrowser/mac/BrowserWindow.xib:
1091         * MiniBrowser/mac/BrowserWindowController.h:
1092         Add the share button.
1093
1094         * MiniBrowser/mac/BrowserWindowController.m:
1095         (-[BrowserWindowController windowDidLoad]):
1096         Set the share button to fire it's actions on mouse down, as it is supposed to act like a menu.
1097
1098         (-[BrowserWindowController share:]):
1099         Show the picker when the button is pressed.
1100         (-[BrowserWindowController mainContentView]):
1101         Add a new override to get the main content view of derived classes (either a WKWebView or the WebView).
1102
1103         (-[BrowserWindowController sharingServicePicker:sharingServicesForItems:proposedSharingServices:]):
1104         (-[BrowserWindowController sharingServicePicker:delegateForSharingService:]):
1105         (-[BrowserWindowController sharingServicePicker:didChooseSharingService:]):
1106         (-[BrowserWindowController sharingService:sourceFrameOnScreenForShareItem:]):
1107         (-[BrowserWindowController sharingService:transitionImageForShareItem:contentRect:]):
1108         (-[BrowserWindowController sharingService:sourceWindowForShareItems:sharingContentScope:]):
1109         Add delegate methods.
1110
1111         * MiniBrowser/mac/WK1BrowserWindowController.m:
1112         (-[WK1BrowserWindowController mainContentView]):
1113         * MiniBrowser/mac/WK2BrowserWindowController.m:
1114         (-[WK2BrowserWindowController mainContentView]):
1115         Implement to return the web view.
1116
1117 2016-04-16  Alexey Proskuryakov  <ap@apple.com>
1118
1119         Build fix.
1120
1121         Temporary workaround for rdar://problem/25754945.
1122
1123         * LayoutTestRelay/LayoutTestRelay/CoreSimulatorSPI.h:
1124
1125 2016-04-15  Commit Queue  <commit-queue@webkit.org>
1126
1127         Unreviewed, rolling out r199600.
1128         https://bugs.webkit.org/show_bug.cgi?id=156642
1129
1130         It didn't help (Requested by ap_ on #webkit).
1131
1132         Reverted changeset:
1133
1134         "Build fix."
1135         http://trac.webkit.org/changeset/199600
1136
1137 2016-04-15  Alexey Proskuryakov  <ap@apple.com>
1138
1139         Build fix.
1140
1141         * LayoutTestRelay/LayoutTestRelay/main.m: Allow some deprecated methods.
1142
1143 2016-04-14  Alexey Proskuryakov  <ap@apple.com>
1144
1145         Some GuardMalloc bots are not happy when running many parallel processes
1146         https://bugs.webkit.org/show_bug.cgi?id=156614
1147         rdar://problem/24711525
1148
1149         Reviewed by David Kilzer.
1150
1151         * Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
1152
1153 2016-04-14  Brent Fulgham  <bfulgham@apple.com>
1154
1155         Make <a download> a runtime enabled option
1156         https://bugs.webkit.org/show_bug.cgi?id=156583
1157         <rdar://problem/25733449>
1158
1159         Reviewed by Alex Christensen.
1160
1161         * DumpRenderTree/mac/DumpRenderTree.mm:
1162         (resetWebPreferencesToConsistentValues):
1163         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1164         (WTR::InjectedBundle::beginTesting):
1165         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1166         (WTR::TestRunner::setDownloadAttributeEnabled):
1167         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1168
1169 2016-04-14  Anders Carlsson  <andersca@apple.com>
1170
1171         Another build fix attempt.
1172
1173         * MiniBrowser/mac/WK2BrowserWindowController.m:
1174
1175 2016-04-14  Anders Carlsson  <andersca@apple.com>
1176
1177         Fix build.
1178
1179         * MiniBrowser/mac/WK2BrowserWindowController.m:
1180         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
1181
1182 2016-04-14  Anders Carlsson  <andersca@apple.com>
1183
1184         [Mac] Add API for open panel handling to WKWebView
1185         https://bugs.webkit.org/show_bug.cgi?id=137759
1186         rdar://problem/23278623
1187
1188         Reviewed by Tim Horton.
1189
1190         Have MiniBrowser implement the new delegate method.
1191
1192         * MiniBrowser/mac/WK2BrowserWindowController.m:
1193         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
1194
1195 2016-04-14  Jiewen Tan  <jiewen_tan@apple.com>
1196
1197         Unreviewed, rolling out r199554.
1198
1199         The change breaks Yosemite Release/Debug build
1200
1201         Reverted changeset:
1202
1203         "[Mac] Add API for open panel handling to WKWebView"
1204         https://bugs.webkit.org/show_bug.cgi?id=137759
1205         http://trac.webkit.org/changeset/199554
1206
1207 2016-04-14  Anders Carlsson  <andersca@apple.com>
1208
1209         [Mac] Add API for open panel handling to WKWebView
1210         https://bugs.webkit.org/show_bug.cgi?id=137759
1211         rdar://problem/23278623
1212
1213         Reviewed by Tim Horton.
1214
1215         Have MiniBrowser implement the new delegate method.
1216
1217         * MiniBrowser/mac/WK2BrowserWindowController.m:
1218         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
1219
1220 2016-04-14  Jon Lee  <jonlee@apple.com>
1221
1222         Update Animometer plan
1223         https://bugs.webkit.org/show_bug.cgi?id=156569
1224
1225         Reviewed by Alex Christensen.
1226
1227         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r199328. Includes update to screen
1228         resolution, starting with complexity of 1, and fixing SVG, multiply, and text tests.
1229
1230 2016-04-13  Alex Christensen  <achristensen@webkit.org>
1231
1232         CMake MiniBrowser should be an app bundle
1233         https://bugs.webkit.org/show_bug.cgi?id=156521
1234
1235         Reviewed by Brent Fulgham.
1236
1237         * MiniBrowser/mac/CMakeLists.txt:
1238         Make an app bundle and compile nibs.
1239         * MiniBrowser/mac/Info.plist:
1240         CMake doesn't know what to do with :rfc1034identifier and there's no reason to keep it.  This is just MiniBrowser.
1241
1242 2016-04-13  Chris Dumez  <cdumez@apple.com>
1243
1244         We should not speculatively revalidate cached redirects
1245         https://bugs.webkit.org/show_bug.cgi?id=156548
1246         <rdar://problem/25583886>
1247
1248         Reviewed by Darin Adler.
1249
1250         Re-enable speculative loading in the context of layout tests. This was
1251         turned off by mistake when speculative loading was turned into a
1252         setting recently.
1253
1254         * WebKitTestRunner/TestController.cpp:
1255         (WTR::TestController::generatePageConfiguration):
1256
1257 2016-04-12  Alexey Proskuryakov  <ap@apple.com>
1258
1259         Python test webkitpy.common.system.executive_unittest.ExecutiveTest.serial_test_kill_process is flaky
1260         https://bugs.webkit.org/show_bug.cgi?id=155367
1261
1262         Reviewed by Darin Adler.
1263
1264         * Scripts/webkitpy/common/system/executive.py: (Executive.kill_process):
1265         Don't flakily consume the return code with waitpid, callers need to do waitpid on
1266         their own. Not sure if this line of code was even intentional.
1267
1268 2016-04-12  Myles C. Maxfield  <mmaxfield@apple.com>
1269
1270         [OS X] Flakey crash after ScrollAnimatorMac destruction
1271         https://bugs.webkit.org/show_bug.cgi?id=156372
1272
1273         Reviewed by Darin Adler.
1274
1275         Implement the new <!-- webkit-test-runner --> flag.
1276
1277         * WebKitTestRunner/TestController.cpp:
1278         (WTR::TestController::createWebViewWithOptions):
1279         (WTR::TestController::ensureViewSupportsOptionsForTest):
1280         (WTR::TestController::resetPreferencesToConsistentValues):
1281         (WTR::TestController::resetStateToConsistentValues):
1282         (WTR::updateTestOptionsFromTestHeader):
1283         * WebKitTestRunner/TestController.h:
1284         * WebKitTestRunner/TestInvocation.cpp:
1285         (WTR::TestInvocation::invoke):
1286         * WebKitTestRunner/TestOptions.h:
1287         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1288         (WKR::PlatformWebView::viewSupportsOptions):
1289
1290 2016-04-12  Tomas Popela  <tpopela@redhat.com>
1291
1292         Modify the CXXFLAGS in webkitdirs.pm just on architectures where the flags are supported
1293         https://bugs.webkit.org/show_bug.cgi?id=156338
1294
1295         Reviewed by Michael Catanzaro.
1296
1297         Add the "-march=pentium4 -msse2 -mfpmath=sse " into the CXXFLAGS just
1298         for the i686 where it is supported and not for other architectures
1299         (such as s390(x) and ppc(64)) where the build will fail with these
1300         CXXFLAGS.
1301
1302         * Scripts/webkitdirs.pm:
1303         (generateBuildSystemFromCMakeProject):
1304
1305 2016-04-11  Alex Christensen  <achristensen@webkit.org>
1306
1307         Build MiniBrowser with CMake on Mac
1308         https://bugs.webkit.org/show_bug.cgi?id=156471
1309
1310         Reviewed by Daniel Bates.
1311
1312         * CMakeLists.txt:
1313         * DumpRenderTree/CMakeLists.txt:
1314         * DumpRenderTree/PlatformWin.cmake:
1315         * MiniBrowser/mac/CMakeLists.txt: Added.
1316
1317 2016-04-11  Ryuan Choi  <ryuan.choi@navercorp.com>
1318
1319         [EFL] Do not pass context to EwkViewCreate
1320         https://bugs.webkit.org/show_bug.cgi?id=156461
1321
1322         Reviewed by Darin Adler.
1323
1324         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
1325         (TestWebKitAPI::TEST): Removed context argument from EwkViewCreate calls.
1326         * TestWebKitAPI/efl/PlatformWebView.cpp:
1327         (TestWebKitAPI::PlatformWebView::PlatformWebView): Ditto.
1328         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1329         (WTR::PlatformWebView::PlatformWebView): Ditto.
1330
1331 2016-04-11  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
1332
1333         [CMake] Make FOLDER property INHERITED
1334         https://bugs.webkit.org/show_bug.cgi?id=156460
1335
1336         Reviewed by Brent Fulgham.
1337
1338         * CMakeLists.txt:
1339         * DumpRenderTree/CMakeLists.txt:
1340         * DumpRenderTree/PlatformWin.cmake:
1341         * ImageDiff/CMakeLists.txt:
1342         * MiniBrowser/efl/CMakeLists.txt:
1343         * MiniBrowser/gtk/CMakeLists.txt:
1344         * MiniBrowser/win/CMakeLists.txt:
1345         Set FOLDER property as a directory property not a target property
1346
1347 2016-04-10  Caitlin Potter  <caitp@igalia.com>
1348
1349         [Tools] correctly check for braces in multiline branches in macro definition
1350         https://bugs.webkit.org/show_bug.cgi?id=156441
1351
1352         Reviewed by Darin Adler.
1353
1354         Prevents emitting whitespace/braces warning for code like the
1355         following:
1356
1357         ```
1358         #define MACRO(x) \
1359             if (x) { \
1360                 doTheThing(); \
1361                 continue; \
1362             }
1363         ```
1364
1365         * Scripts/webkitpy/style/checkers/cpp.py:
1366         (check_braces):
1367         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1368         (WebKitStyleTest.test_line_breaking):
1369
1370 2016-04-08  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1371
1372         Testharness-based tests that time out should be able to produce a detailed output
1373         https://bugs.webkit.org/show_bug.cgi?id=145313
1374
1375         Reviewed by Xabier Rodriguez-Calvar.
1376
1377         Adding timeout readonly accessor to TestRunner for both WK1 and WK2.
1378
1379         * DumpRenderTree/TestRunner.cpp:
1380         (getTimeoutCallback): The js "timeout" property getter.
1381         (TestRunner::staticValues): Adding "timeout" property to DumpRenderTree so that testRunner.timeout called from JS returns the timeout value.
1382         * DumpRenderTree/TestRunner.h:
1383         (TestRunner::timeout): Adding access to DRT m_timeout private value.
1384         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Adding timeout readonly attribute so that testRunner.timeout can be called from JS.
1385         * WebKitTestRunner/InjectedBundle/TestRunner.h: Adding DOM timeout getter to implement timeout IDL definition.
1386         (WTR::TestRunner::timeout):
1387
1388 2016-04-07  Joseph Pecoraro  <pecoraro@apple.com>
1389
1390         stylebot should know about TestWebKitAPI FeatureDefines.xcconfig
1391         https://bugs.webkit.org/show_bug.cgi?id=156387
1392
1393         Rubber-stamped by Dan Bernstein.
1394
1395         * Scripts/webkitpy/style/checkers/featuredefines.py:
1396         (FeatureDefinesChecker.check):
1397
1398 2016-04-07  Joseph Pecoraro  <pecoraro@apple.com>
1399
1400         Remove ENABLE(ENABLE_ES6_CLASS_SYNTAX) guards
1401         https://bugs.webkit.org/show_bug.cgi?id=156384
1402
1403         Reviewed by Ryosuke Niwa.
1404
1405         * Scripts/webkitperl/FeatureList.pm:
1406         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1407
1408 2016-04-06  Dean Jackson  <dino@apple.com>
1409
1410         Watchlist modifications:
1411         - remove roger_fong
1412         - add myself to a few areas
1413         - remove graouts from WebInspectorAPI
1414
1415         * Scripts/webkitpy/common/config/watchlist:
1416
1417 2016-04-07  Simon Fraser  <simon.fraser@apple.com>
1418
1419         Make it possible to test effect of view exposed rect on tiled backing
1420         https://bugs.webkit.org/show_bug.cgi?id=156365
1421
1422         Reviewed by Tim Horton.
1423
1424         Expose testRunner.setViewSize() and internals.setViewExposedRect() to enable
1425         testing of tile coverage when setViewExposedRect() is passed a non-null rectangle.
1426
1427         testRunner.setViewSize() is used instead of using window.resizeTo(), since we
1428         can't easily resize a window to larger than the screen being tested on.
1429
1430         * DumpRenderTree/TestRunner.cpp:
1431         (setViewSizeCallback):
1432         (TestRunner::staticFunctions):
1433         * DumpRenderTree/TestRunner.h:
1434         * DumpRenderTree/mac/TestRunnerMac.mm:
1435         (TestRunner::setViewSize):
1436         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1437         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1438         (WTR::InjectedBundle::postSetViewSize):
1439         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1440         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1441         (WTR::TestRunner::setViewSize):
1442         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1443         * WebKitTestRunner/TestInvocation.cpp:
1444         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1445
1446 2016-04-07  Jason Marcell  <jmarcell@apple.com>
1447
1448         Adding layout tests for the bot watcher's dashboard QUnit tests.
1449         https://bugs.webkit.org/show_bug.cgi?id=155272
1450
1451         Reviewed by Daniel Bates.
1452
1453         Moved supporting resources into a resources folder and updated index.html accordingly
1454         to point to the new locations. Added code to tests.js to dumpAsText when QUnit is done.
1455
1456         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt: Added.
1457         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Updated to point to tests.js and Mock files in resources directory.
1458         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js: Renamed from
1459         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js.
1460         (MockBuildbotQueue):
1461         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js: Renamed from
1462         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js.
1463         (MockBuildbotQueueView):
1464         (MockBuildbotQueueView.prototype._latestProductiveIteration):
1465         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js: Renamed from
1466         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js.
1467         (MockTrac):
1468         (MockTrac.prototype.get oldestRecordedRevisionNumber):
1469         (MockTrac.prototype.get latestRecordedRevisionNumber):
1470         (MockTrac.prototype.loadMoreHistoricalData):
1471         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml: Renamed from
1472         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml.
1473         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml: Renamed from
1474         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml.
1475         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Renamed from
1476         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js.
1477         Updated the unit tests for Trac._loaded() to point to the XML files that are now located in the 'resources' directory.
1478         (QUnit.done): Added. Removes machine-specific output from test results and calls testRunner.notifyDone to let the layout test harness know that all testing is done.
1479         * Scripts/run-dashboard-tests: Added.
1480
1481 2016-04-06  ChangSeok Oh  <changseok@webkit.org>
1482
1483         Unreviewed, Update my primary email address and expertise.
1484
1485         * Scripts/webkitpy/common/config/contributors.json:
1486
1487 2016-04-06  Jon Lee  <jonlee@apple.com>
1488
1489         Update the Animometer patch and plan files
1490         https://bugs.webkit.org/show_bug.cgi?id=156263
1491
1492         Reviewed by Ryosuke Niwa.
1493
1494         Measure the latest set of tests by updating the plan revision to r199134.
1495
1496         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Update to run the master suite only.
1497         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to use the release page instead
1498         of the developer page.
1499
1500 2016-04-06  Saam barati  <sbarati@apple.com>
1501
1502         jsc-layout-tests.yaml/js/script-tests/regress-141098.js failing on Yosemite Debug after r198989
1503         https://bugs.webkit.org/show_bug.cgi?id=156187
1504
1505         Reviewed by Keith Miller.
1506
1507         * Scripts/run-jsc-stress-tests:
1508
1509 2016-04-06  Alex Christensen  <achristensen@webkit.org>
1510
1511         Compile WebKitTestRunner with CMake on Mac
1512         https://bugs.webkit.org/show_bug.cgi?id=156310
1513
1514         Reviewed by Daniel Bates.
1515
1516         * CMakeLists.txt:
1517         * WebKitTestRunner/CMakeLists.txt:
1518         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1519         * WebKitTestRunner/PlatformEfl.cmake:
1520         * WebKitTestRunner/PlatformGTK.cmake:
1521         * WebKitTestRunner/PlatformMac.cmake: Added.
1522
1523 2016-04-05  Simon Fraser  <simon.fraser@apple.com>
1524
1525         Implement operator== and operator!= for Optional<>
1526         https://bugs.webkit.org/show_bug.cgi?id=156266
1527
1528         Reviewed by Anders Carlsson.
1529
1530         * TestWebKitAPI/Tests/WTF/Optional.cpp:
1531         (TestWebKitAPI::TEST):
1532
1533 2016-04-05  Alex Christensen  <achristensen@webkit.org>
1534
1535         Make CMake-generated binaries on Mac able to run
1536         https://bugs.webkit.org/show_bug.cgi?id=156268
1537
1538         Reviewed by Daniel Bates.
1539
1540         * DumpRenderTree/CMakeLists.txt:
1541         * DumpRenderTree/PlatformMac.cmake:
1542         * DumpRenderTree/PlatformWin.cmake:
1543         * TestWebKitAPI/PlatformMac.cmake:
1544
1545 2016-04-05  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1546
1547         [Fetch API] Add a runtime flag to fetch API and related constructs
1548         https://bugs.webkit.org/show_bug.cgi?id=156113
1549  
1550         Reviewed by Alex Christensen.
1551
1552         * DumpRenderTree/TestRunner.h:
1553         * DumpRenderTree/mac/DumpRenderTree.mm:
1554         (resetWebPreferencesToConsistentValues):
1555         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1556         (WTR::InjectedBundle::beginTesting):
1557         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1558         (WTR::TestRunner::setWebGL2Enabled):
1559         (WTR::TestRunner::setFetchAPIEnabled):
1560         (WTR::TestRunner::setAllowUniversalAccessFromFileURLs):
1561         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1562
1563 2016-04-05  Keith Miller  <keith_miller@apple.com>
1564
1565         Make Keith a reviewer!
1566         https://bugs.webkit.org/show_bug.cgi?id=156246
1567
1568         Reviewed by Mark Lam.
1569
1570         * Scripts/webkitpy/common/config/contributors.json:
1571
1572 2016-04-05  Antoine Quint  <graouts@apple.com>
1573
1574         [WebGL2] Allow enabling WebGL2 with a runtime flag
1575         https://bugs.webkit.org/show_bug.cgi?id=156166
1576         <rdar://problem/25526929>
1577
1578         Always enable WebGL2 during testing.
1579
1580         Reviewed by Dean Jackson.
1581
1582         * DumpRenderTree/mac/DumpRenderTree.mm:
1583         (resetWebPreferencesToConsistentValues):
1584         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1585         (WTR::InjectedBundle::beginTesting):
1586         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1587         (WTR::TestRunner::setWebGL2Enabled):
1588         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1589
1590 2016-04-04  Bill Ming  <mbbill@gmail.com>
1591
1592         [win] run-webkit-tests failed to launch DumpRenderTree
1593         https://bugs.webkit.org/show_bug.cgi?id=156150
1594
1595         Reviewed by Alex Christensen.
1596
1597         * Tools/Scripts/webkitpy/port/base.py:
1598
1599 2016-04-04  Bill Ming  <mbbill@gmail.com>
1600
1601         prepare-ChangeLog set endl incorrectly.
1602         https://bugs.webkit.org/show_bug.cgi?id=156151
1603
1604         Reviewed by Alex Christensen.
1605
1606         * Tools/Scripts/prepare-ChangeLog:
1607
1608 2016-04-03  Sam Weinig  <sam@webkit.org>
1609
1610         Add SPI to allow install script message handlers in isolated worlds
1611         https://bugs.webkit.org/show_bug.cgi?id=156153
1612
1613         Reviewed by Anders Carlsson.
1614
1615         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1616         Add new test, WKUserContentController.ScriptMessageHandlerBasicPostIsolatedWorld
1617
1618 2016-04-04  Jiewen Tan  <jiewen_tan@apple.com>
1619
1620         Build fix for r198956.
1621
1622         Unreviewed.
1623
1624         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:
1625         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
1626         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
1627         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1628
1629 2016-04-04  Bill Ming  <mbbill@gmail.com>
1630
1631         [win] prepare-ChangeLog should treat windows path differently.
1632         https://bugs.webkit.org/show_bug.cgi?id=156120
1633
1634         Reviewed by Brent Fulgham.
1635
1636         * Scripts/prepare-ChangeLog:
1637
1638 2016-04-04  Alejandro G. Castro  <alex@igalia.com>
1639
1640         REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations
1641         https://bugs.webkit.org/show_bug.cgi?id=156164
1642
1643         Reviewed by Philippe Normand.
1644
1645         Enable the new WEB_RTC option by default for Gtk+.
1646
1647         * Scripts/webkitperl/FeatureList.pm:
1648
1649 2016-04-03  Dan Bernstein  <mitz@apple.com>
1650
1651         Use the correct value for the first nightly build with frameworks built for OS X 10.11.
1652
1653         * Scripts/bisect-builds:
1654         (makeNightlyList):
1655
1656 2016-04-03  Dan Bernstein  <mitz@apple.com>
1657
1658         Made bisect-builds work again.
1659
1660         Rubber-stamped by Sam Weinig.
1661
1662         * Scripts/bisect-builds:
1663         Changed to use HTTPS to access nightly.webkit.org, and added a minimum revision for OS X 10.11.
1664
1665 2016-04-01  Jiewen Tan  <jiewen_tan@apple.com>
1666
1667         Build fix for r198956.
1668
1669         Unreviewed.
1670
1671         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1672         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLChange.mm.
1673         (-[ProvisionalURLNotChangeController webView:didFinishNavigation:]):
1674         (-[ProvisionalURLNotChangeController webView:didFailProvisionalNavigation:withError:]):
1675         (TEST):
1676         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
1677         (-[LoadInvalidSchemeDelegate browsingContextController:didFailProvisionalLoadWithError:]):
1678         (TestWebKitAPI::TEST):
1679
1680 2016-04-01  Jiewen Tan  <jiewen_tan@apple.com>
1681
1682         WebKit should dispatchDidFailProvisionalLoad while loading invalid URLs
1683         https://bugs.webkit.org/show_bug.cgi?id=155995
1684         <rdar://problem/14967004>
1685
1686         Reviewed by Andy Estes.
1687
1688         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1689         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm:
1690         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didFailProvisionalNavigation:withError:]):
1691         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didStartProvisionalNavigation:]):
1692         (TEST):
1693         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm: Added.
1694         (literalURL):
1695         (-[LoadInvalidURLNavigationActionDelegate webView:didCommitNavigation:]):
1696         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
1697         (TestWebKitAPI::TEST):
1698         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html: Added.
1699         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm: Added.
1700         (-[LoadInvalidURLWebFrameLoadDelegate webView:didCommitLoadForFrame:]):
1701         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1702         (TestWebKitAPI::TEST):
1703
1704 2016-04-01  Brent Fulgham  <bfulgham@apple.com>
1705
1706         Confirm <a download> satisfies specification criteria
1707         https://bugs.webkit.org/show_bug.cgi?id=156057
1708
1709         Reviewed by Andy Estes.
1710
1711         Revise WebKitTestRunner:
1712         (1) Provide a download client delegate.
1713         (2) Teach WKTR to wait to finish a test until a download finishes.
1714         (3) Allow WKTR to notify the current TestRunner that it can finish.
1715
1716         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1717         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1718         (WTR::InjectedBundle::didReceiveMessageToPage): Update to recognize a new
1719         message "NotifyDownloadDone".
1720         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1721         (WTR::InjectedBundlePage::decidePolicyForNavigationAction): Handle 'download'
1722         attribute case.
1723         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1724         (WTR::TestRunner::waitUntilDownload): Added.
1725         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1726         (WTR::TestRunner::shouldFinishAfterDownload): Added.
1727         * WebKitTestRunner/TestController.cpp:
1728         (WTR::TestController::createWebViewWithOptions): Set up the download client.
1729         (WTR::TestController::downloadDidStart): Added.
1730         (WTR::TestController::decideDestinationWithSuggestedFilename): Added.
1731         (WTR::TestController::downloadDidFinish): Added.
1732         (WTR::TestController::downloadDidFail): Added.
1733         (WTR::TestController::downloadDidCancel): Added.
1734         * WebKitTestRunner/TestController.h:
1735         * WebKitTestRunner/TestInvocation.cpp:
1736         (WTR::TestInvocation::notifyDownloadDone): Added.
1737         * WebKitTestRunner/TestInvocation.h:
1738
1739 2016-04-01  Alex Christensen  <achristensen@webkit.org>
1740
1741         Compile DumpRenderTree with CMake on Mac
1742         https://bugs.webkit.org/show_bug.cgi?id=156088
1743
1744         Reviewed by Brent Fulgham.
1745
1746         * CMakeLists.txt:
1747         * DumpRenderTree/CMakeLists.txt:
1748         * DumpRenderTree/DefaultPolicyDelegate.m:
1749         (-[DefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1750         * DumpRenderTree/DumpRenderTreeFileDraggingSource.m:
1751         * DumpRenderTree/PlatformMac.cmake: Added.
1752         * DumpRenderTree/PlatformWin.cmake:
1753         * DumpRenderTree/mac/AppleScriptController.m:
1754         (convertAEDescToObject):
1755         * DumpRenderTree/mac/DumpRenderTreeMain.mm:
1756         * DumpRenderTree/mac/LayoutTestHelper.m:
1757
1758 2016-03-31  Bill Ming  <mbbill@gmail.com>
1759
1760         https://bugs.webkit.org/show_bug.cgi?id=156094
1761         [Win] TestWebCore target build sometimes fail.
1762
1763         Reviewed by Alex Christensen.
1764
1765         * Tools/TestWebKitAPI/PlatformWin.cmake:
1766
1767 2016-03-31  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1768
1769         [EFL] Bump EFL version to 1.17.0
1770         https://bugs.webkit.org/show_bug.cgi?id=153008
1771
1772         Reviewed by Michael Catanzaro.
1773
1774         Original author is Csaba Osztrogonác  <ossy@webkit.org>
1775
1776         * efl/jhbuild.modules:
1777
1778 2016-03-31  Daniel Bates  <dabates@apple.com>
1779
1780         run-webkit-tests fails to create user's cache directory when System Integrity Protection is enabled
1781         https://bugs.webkit.org/show_bug.cgi?id=156071
1782         <rdar://problem/25467827>
1783
1784         Reviewed by Brent Fulgham.
1785
1786         Fixes an issue where run-webkit-tests will fail to create the suffixed user's cache directory
1787         on non-Apple Internal machines with System Integrity Protection enabled because the OS only
1788         honors the suffix, specified by the environment variable DIRHELPER_USER_DIR_SUFFIX, in
1789         privileged processes. And python(1) does not have sufficient privileges. As a workaround for
1790         systems that have System Integrity Protection enabled we compute the path to the suffixed
1791         user's cache directory by hand.
1792
1793         Additionally, fix an issue where the user's cache directory created by run-webkit-test was
1794         never deleted on cessation of the test run.
1795
1796         * Scripts/webkitpy/port/driver.py:
1797         (Driver._start): Actually store the path to the user's cache directory in self._driver_user_cache_directory
1798         so that we can delete this directory on cessation of the test run.
1799         * Scripts/webkitpy/port/mac.py:
1800         (MacPort):
1801         (MacPort._path_to_user_cache_directory): Unset the environment variable DIRHELPER_USER_DIR_SUFFIX (if set),
1802         query the OS for the path to the user's cache directory and concatenate this path with the
1803         specified suffix.
1804
1805 2016-03-31  Jiewen Tan  <jiewen_tan@apple.com>
1806
1807         WebKit should set Original URL of a download request correctly
1808         https://bugs.webkit.org/show_bug.cgi?id=155914
1809         <rdar://problem/10473811>
1810
1811         Reviewed by Anders Carlsson.
1812
1813         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1814         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
1815         (-[DownloadRequestOriginalURLDelegate initWithExpectOriginalURL:]):
1816         (-[DownloadRequestOriginalURLDelegate _downloadDidStart:]):
1817         (-[DownloadRequestOriginalURLNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
1818         (TEST):
1819         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL.html: Added.
1820         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL2.html: Added.
1821         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURLFrame.html: Added.
1822
1823 2016-03-30  Dewei Zhu  <dewei_zhu@apple.com>
1824
1825         Extend animometer timeout for slow CPUs.
1826         https://bugs.webkit.org/show_bug.cgi?id=156047
1827
1828         Reviewed by Ryosuke Niwa.
1829
1830         Extend animometer timeout to 30 minutes for slow device.
1831
1832         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan:
1833
1834 2016-03-30  Daniel Bates  <dabates@apple.com>
1835
1836         run-webkit-tests must create parent directory of user's cache directory before running tests
1837         https://bugs.webkit.org/show_bug.cgi?id=156009
1838         <rdar://problem/25442682>
1839
1840         Reviewed by Alexey Proskuryakov.
1841
1842         The script run-webkit-tests must create the parent directory of the user's cache directory
1843         before running tests because a WebKit2 child process expects that this directory exists
1844         when it starts.
1845
1846         The script run-webkit-tests influences the path chosen by a WebKit2 child process for the
1847         user's temporary directory and user's cache directory via the environment variable
1848         DIRHELPER_USER_DIR_SUFFIX. For the user's temporary directory, run-webkit-tests creates it
1849         as part of setting up the test environment. But run-webkit-tests does not create the user's
1850         cache directory. Therefore there is race between the time AppKit creates it and when the
1851         launched WebContent and Network processes query for the path to the user's cache directory
1852         such that the OS may return the empty string to the WebContent and Network processes if
1853         queried for this directory before AppKit creates it.
1854
1855         * Scripts/webkitpy/port/base.py:
1856         (Port._path_to_user_cache_directory): Added. Base class implementation that returns the
1857         empty string. We will override this method for the OS X port to return the path to the
1858         user's cache directory with the specified suffix.
1859         (Port.remove_cache_directory): Deleted.
1860         * Scripts/webkitpy/port/driver.py:
1861         (Driver.__init__): Initialize self._driver_user_directory_suffix and self._driver_user_cache_directory
1862         to the suffix to use for the user's temporary and cache directories and the path to the
1863         user's cache directory, respectively.
1864         (Driver._setup_environ_for_driver): Modified to set the environment variable DIRHELPER_USER_DIR_SUFFIX
1865         to self._driver_user_directory_suffix.
1866         (Driver._start): Compute the user directory suffix and the path to the user's cache
1867         directory. Create the user's cache directory (if applicable).
1868         (Driver.stop): Modified to remove directory self._driver_user_cache_directory (if applicable).
1869         * Scripts/webkitpy/port/mac.py:
1870         (MacPort.user_cache_directory): Added. Overrides Port._path_to_user_cache_directory().
1871         (MacPort.remove_cache_directory): Deleted.
1872
1873 2016-03-29  Benjamin Poulain  <bpoulain@apple.com>
1874
1875         [WTF] Removing a smart pointer from HashTable issues two stores to the same location
1876         https://bugs.webkit.org/show_bug.cgi?id=155676
1877
1878         Reviewed by Darin Adler.
1879
1880         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1881         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1882
1883 2016-03-29  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1884
1885         Add machine-readable results for JSC stress tests
1886         https://bugs.webkit.org/show_bug.cgi?id=155771
1887
1888         Reviewed by Darin Adler and Dean Johnson
1889
1890         Add an option to output JSC stress test results to a user-specified file in JSON format.
1891
1892         * Scripts/run-javascriptcore-tests:
1893         (runJSCStressTests): Add JSON output support
1894         (readAllLines): Remove trailing newline from the end of each item
1895
1896 2016-03-29  Alex Christensen  <achristensen@webkit.org>
1897
1898         Fix Windows build.
1899
1900         * TestWebKitAPI/PlatformWin.cmake:
1901
1902 2016-03-29  Timothy Hatcher  <timothy@apple.com>
1903
1904         Update WebKit nightly to have a red needle to better match Safari
1905
1906         https://bugs.webkit.org/show_bug.cgi?id=155983
1907
1908         Reviewed by Joseph Pecoraro.
1909
1910         * WebKitLauncher/webkit.icns:
1911
1912 2016-03-28  Joanmarie Diggs  <jdiggs@igalia.com>
1913
1914         Adding myself as a reviewer.
1915
1916         Unreviewed.
1917
1918         * Scripts/webkitpy/common/config/contributors.json:
1919
1920 2016-03-25  Dewei Zhu  <dewei_zhu@apple.com>
1921
1922         Dromaeo patch used by run-benchmark should not include an invalid address.
1923         https://bugs.webkit.org/show_bug.cgi?id=155910
1924
1925         Reviewed by Ryosuke Niwa.
1926
1927         Should not use invalid 'http://127.0.0.1/Icons/w3c_home' in the patched version of test.
1928         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch:
1929
1930 2016-03-25  Daniel Bates  <dabates@apple.com>
1931
1932         Add WebKitSystemInterface for iOS 9.3
1933         https://bugs.webkit.org/show_bug.cgi?id=155893
1934
1935         Rubber-stamped by Alexey Proskuryakov.
1936
1937         * Scripts/copy-webkitlibraries-to-product-directory:
1938
1939 2016-03-25  Daniel Bates  <dabates@apple.com>
1940
1941         Use webkitdirs::determineXcodeSDK() instead of webkitdirs::willUseIOSDeviceSDK()
1942         in copy-webkitlibraries-to-product-directory
1943         https://bugs.webkit.org/show_bug.cgi?id=155869
1944
1945         Reviewed by Alexey Proskuryakov.
1946
1947         It is sufficient and more direct to call webkitdirs::determineXcodeSDK() instead of
1948         webkitdirs::willUseIOSDeviceSDK() to process the --sdk/--device/--ios-simulator command
1949         line argument.
1950
1951         * Scripts/copy-webkitlibraries-to-product-directory:
1952
1953 2016-03-25  Konstantin Tokarev  <annulen@yandex.ru>
1954
1955         Turned on ENABLE_REQUEST_ANIMATION_FRAME by default for any port.
1956         https://bugs.webkit.org/show_bug.cgi?id=155882
1957
1958         Reviewed by Michael Catanzaro.
1959
1960         It was already enabled in all trunk ports, and is required for
1961         WebInspectorUI to work.
1962
1963         * Scripts/webkitperl/FeatureList.pm:
1964
1965 2016-03-24  Jeremy Zerfas  <WebKit@JeremyZerfas.com>
1966
1967         Improve update-webkit-dependency script.
1968         https://bugs.webkit.org/show_bug.cgi?id=155576
1969
1970         Reviewed by Brent Fulgham.
1971
1972         * Scripts/update-webkit-dependency:
1973         -Updated script to also use ETags for helping to determine whether dependency is up to date.
1974         -Updated script so it usually won't need to download the entire dependency each time it is
1975          ran.
1976         -Updated script to ensure zip file contains expected directories before trying to install.
1977         -Added some more error checking and improved error messages.
1978         (lastModifiedToUnixTime): Deleted.
1979
1980         * Scripts/update-webkit-wincairo-libs:
1981         -Corrected comment about what script does.
1982
1983 2016-03-24 Bill Ming <mbbill@gmail.com>
1984
1985         Fix webkitpy tests after r198617
1986         https://bugs.webkit.org/show_bug.cgi?id=155827
1987
1988         Reviewed by Alex Christensen.
1989
1990         * Scripts/webkitpy/tool/steps/confirmdiff.py:
1991         (ConfirmDiff._show_pretty_diff):
1992
1993 2016-03-23  Bill Ming  <mbbill@gmail.com>
1994
1995         webkit-patch failed to open pretty diff on Windows
1996         https://bugs.webkit.org/show_bug.cgi?id=155827
1997
1998         Reviewed by Alex Christensen.
1999
2000         * Scripts/webkitpy/tool/steps/confirmdiff.py:
2001         (ConfirmDiff._show_pretty_diff):
2002
2003 2016-03-23  Jer Noble  <jer.noble@apple.com>
2004
2005         [ios-sim] RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForVideoButNotAudioPlayback failing
2006         https://bugs.webkit.org/show_bug.cgi?id=155764
2007
2008         Reviewed by Eric Carlson.
2009
2010         Remove the requirement for media elements to have webkit-playsinline attributes on iOS.
2011
2012         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
2013         (RequiresUserActionForPlaybackTest::SetUp):
2014
2015 2016-03-23  Anders Carlsson  <andersca@apple.com>
2016
2017         Crash when using KVO from within -[WebView initWithCoder:]
2018         https://bugs.webkit.org/show_bug.cgi?id=155816
2019         rdar://problem/17073265
2020
2021         Reviewed by Dan Bernstein.
2022
2023         Add test.
2024
2025         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2026         * TestWebKitAPI/Tests/mac/EarlyKVOCrash.mm: Added.
2027         (-[EarlyKVOCrashResponder initWithWebView:]):
2028         (-[EarlyKVOCrashResponder initWithCoder:]):
2029         (-[EarlyKVOCrashResponder dealloc]):
2030         (-[EarlyKVOCrashResponder encodeWithCoder:]):
2031         (TestWebKitAPI::TEST):
2032
2033 2016-03-23  Lucas Forschler  <lforschler@apple.com>
2034
2035         Teach kill-old-processes about perl 5.18.
2036         
2037         Reviewed by Alexey Proskuryakov
2038
2039         * BuildSlaveSupport/kill-old-processes:
2040         (main):
2041
2042 2016-03-22  Keith Rollin  <krollin@apple.com>
2043
2044         Unreviewed: add Keith Rollin to the committers list.
2045
2046         * Scripts/webkitpy/common/config/contributors.json:
2047
2048 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
2049
2050         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
2051         https://bugs.webkit.org/show_bug.cgi?id=141499
2052
2053         Reviewed by Brent Fulgham.
2054
2055         As we have moved on to VS2015, this workaround is no longer needed.
2056
2057         * DumpRenderTree/cg/ImageDiffCG.cpp:
2058         (main):
2059         * DumpRenderTree/win/DumpRenderTree.cpp:
2060         (main):
2061         * DumpRenderTree/win/ImageDiffCairo.cpp:
2062         (main):
2063         * MiniBrowser/win/Common.cpp:
2064         (DllMain):
2065         * TestWebKitAPI/win/main.cpp:
2066         (main):
2067         * win/DLLLauncher/DLLLauncherMain.cpp:
2068         (wWinMain):
2069
2070 2016-03-22  Yusuke Suzuki  <utatane.tea@gmail.com>
2071
2072         [JSC] ASMBench cannot be run without JSBENCH_PATH
2073         https://bugs.webkit.org/show_bug.cgi?id=155751
2074
2075         Reviewed by Saam Barati.
2076
2077         Check ASMBENCH_PATH instead of JSBENCH_PATH for ASMBench files.
2078
2079         * Scripts/run-jsc-benchmarks:
2080
2081 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
2082
2083         [Win] SharedBuffer::copy() can cause a segmentation fault.
2084         https://bugs.webkit.org/show_bug.cgi?id=155739
2085
2086         Reviewed by Ryosuke Niwa.
2087
2088         * TestWebKitAPI/PlatformWin.cmake: Build and run the
2089         SharedBuffer tests.
2090
2091 2016-03-22  Csaba Osztrogonác  <ossy@webkit.org>
2092
2093         [buildbot] Move ARM Linux bots to JSCOnly port
2094         https://bugs.webkit.org/show_bug.cgi?id=155655
2095
2096         Reviewed by Lucas Forschler.
2097
2098         * BuildSlaveSupport/build.webkit.org-config/config.json:
2099         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2100         (ConfigureBuild.__init__):
2101         (appendCustomBuildFlags):
2102         (CompileJSCOnly):
2103         (Factory.__init__):
2104         (BuildAndRemoteJSCTestsFactory):
2105         (BuildAndRemoteJSCTestsFactory.__init__):
2106         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2107         * BuildSlaveSupport/clean-build:
2108         (main):
2109
2110 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
2111
2112         Improve SharedBuffer testing
2113         https://bugs.webkit.org/show_bug.cgi?id=93078
2114         <rdar://problem/25277829>
2115
2116         Reviewed by Ryosuke Niwa.
2117
2118         Based on a Blink patch by Huang Dongsung <luxtella@company100.net>.
2119         <https://src.chromium.org/viewvc/blink?revision=153850&view=revision,
2120         and a Blink patch by <tyoshino@chromium.org>
2121         <https://src.chromium.org/viewvc/blink?view=rev&revision=151617>
2122
2123         Add three test cases from the Blink project that cover various append,
2124         copy, and createArrayBuffer calls.
2125
2126         * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp:
2127         (TestWebKitAPI::TEST_F):
2128
2129 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com>
2130
2131         [Win] Connect layoutTestController.findString() to support testing
2132         https://bugs.webkit.org/show_bug.cgi?id=50234
2133
2134         Reviewed by Alex Christensen.
2135
2136         Implement TestRunner::findString().
2137
2138         * DumpRenderTree/win/TestRunnerWin.cpp:
2139         (TestRunner::findString):
2140
2141 2016-03-20  Dan Bernstein  <mitz@apple.com>
2142
2143         [Mac] Determine TARGET_MAC_OS_X_VERSION_MAJOR from MACOSX_DEPLOYMENT_TARGET rather than from MAC_OS_X_VERSION_MAJOR
2144         https://bugs.webkit.org/show_bug.cgi?id=155707
2145         <rdar://problem/24980691>
2146
2147         Reviewed by Darin Adler.
2148
2149         * ContentExtensionTester/Configurations/Base.xcconfig: Set TARGET_MAC_OS_X_VERSION_MAJOR
2150           based on the last component of MACOSX_DEPLOYMENT_TARGET.
2151         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: For engineering builds,
2152           preserve the behavior of TARGET_MAC_OS_X_VERSION_MAJOR being the host’s OS version.
2153
2154         Similarly for these projects:
2155
2156         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2157         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2158         * LayoutTestRelay/Configurations/Base.xcconfig:
2159         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
2160         * MiniBrowser/Configurations/Base.xcconfig:
2161         * MiniBrowser/Configurations/DebugRelease.xcconfig:
2162         * TestWebKitAPI/Configurations/Base.xcconfig:
2163         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2164         * WebEditingTester/Configurations/Base.xcconfig:
2165         * WebEditingTester/Configurations/DebugRelease.xcconfig:
2166         * WebKitTestRunner/Configurations/Base.xcconfig:
2167         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2168
2169 2016-03-20  Dan Bernstein  <mitz@apple.com>
2170
2171         Update build settings
2172
2173         Rubber-stamped by Andy Estes.
2174
2175         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
2176         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2177         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
2178         * MiniBrowser/Configurations/DebugRelease.xcconfig:
2179         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2180         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Synced up to the ones in ../Source.
2181         * WebEditingTester/Configurations/DebugRelease.xcconfig:
2182         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2183         * asan/asan.xcconfig:
2184
2185 2016-03-18  Sam Weinig  <sam@webkit.org>
2186
2187         Add test for HashMap::ensure that shows that moving into the lambda does not incure extra cost
2188         https://bugs.webkit.org/show_bug.cgi?id=155621
2189
2190         Reviewed by Alex Christensen.
2191
2192         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2193         (TestWebKitAPI::ObjectWithRefLogger::ObjectWithRefLogger):
2194         (TestWebKitAPI::testMovingUsingEnsure):
2195         (TestWebKitAPI::testMovingUsingAdd):
2196         Add tests ensuring that objects moved into a map using ensure don't
2197         have extra ref-churn.
2198
2199 2016-03-17  Tim Horton  <timothy_horton@apple.com>
2200
2201         Fix some deprecation warnings in WebEditingTester
2202         https://bugs.webkit.org/show_bug.cgi?id=155601
2203
2204         Reviewed by Simon Fraser.
2205
2206         * WebEditingTester/AppDelegate.m:
2207         (-[WebEditingAppDelegate showOperations:]):
2208         (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
2209
2210 2016-03-17  Tim Horton  <timothy_horton@apple.com>
2211
2212         Find-in-page indicator in Mail viewer is the wrong scale and cut off
2213         https://bugs.webkit.org/show_bug.cgi?id=155605
2214         <rdar://problem/23948165>
2215
2216         Reviewed by Simon Fraser.
2217
2218         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm:
2219         (TEST):
2220         Add a test that ensures that the find result image is correctly @2x.
2221         The NSImage size should be in points.
2222
2223 2016-03-16  Commit Queue  <commit-queue@webkit.org>
2224
2225         Unreviewed, rolling out r198187.
2226         https://bugs.webkit.org/show_bug.cgi?id=155564
2227
2228         Potentially break testing on iOS (Requested by Guest23 on
2229         #webkit).
2230
2231         Reverted changeset:
2232
2233         "Add twisted-15.5.0 module to
2234         webkitpy.thirdparty.autoinstalled."
2235         https://bugs.webkit.org/show_bug.cgi?id=154667
2236         http://trac.webkit.org/changeset/198187
2237
2238 2016-03-16  David Kilzer  <ddkilzer@apple.com>
2239
2240         check-webkit-style: should warn about blank lines after #include "config.h" in TestWebKitAPI
2241         <http://webkit.org/b/155445>
2242
2243         Reviewed by Darin Adler.
2244
2245         * Scripts/webkitpy/style/checker.py:
2246         (_PATH_RULES_SPECIFIER): Do not ignore "build/include*" checks
2247         on TestWebKitAPI since this project uses a config.h header as of
2248         r95188.  Also remove references to WebKitAPITest, which ceased
2249         to exist in r95944.
2250
2251         * Scripts/webkitpy/style/checker_unittest.py:
2252         (GlobalVariablesTest.test_path_rules_specifier): Add tests.
2253         Remove reference to WebKitAPITest project.
2254
2255 2016-03-16  Tim Horton  <timothy_horton@apple.com>
2256
2257         [mac] Printing test snapshots are upside-down after r198242
2258         https://bugs.webkit.org/show_bug.cgi?id=155543
2259
2260         Reviewed by Simon Fraser.
2261
2262         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2263         (createPagedBitmapContext):
2264         Flip printing snapshots in DRT so that everything is right-side-up.
2265
2266 2016-03-16  Alexey Proskuryakov  <ap@apple.com>
2267
2268         Update unit test for iOS debug queues.
2269
2270         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2271
2272 2016-03-16  Jiewen Tan  <jiewen_tan@apple.com>
2273
2274         URL Parsing should signal failure for illegal IDN
2275         https://bugs.webkit.org/show_bug.cgi?id=154945
2276         <rdar://problem/8014795>
2277
2278         Reviewed by Brent Fulgham.
2279
2280         * MiniBrowser/mac/WK2BrowserWindowController.m:
2281         (-[WK2BrowserWindowController fetch:]):
2282         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
2283         (TestWebKitAPI::TEST):
2284
2285 2016-03-15  Tim Horton  <timothy_horton@apple.com>
2286
2287         [iOS Simulator] Test result snapshots are upside down
2288         https://bugs.webkit.org/show_bug.cgi?id=154761
2289
2290         Reviewed by Simon Fraser.
2291
2292         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2293         (WTR::createCGContextFromImage):
2294         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2295         In r97104, Simon added code to take WindowServer snapshots, which came
2296         in flipped, and added code to flip them back. At this point, WindowServer
2297         snapshots got flipped, and software snapshots did not.
2298
2299         In r140067, Simon noticed that WindowServer ref test images were upside-down
2300         on Mac (not sure why this changed), so turned off the flipping code (but
2301         didn't delete it!). Now, WindowServer snapshots and software snapshots both
2302         are not flipped.
2303
2304         In r190304, Carlos added an enum for the source of the snapshot ("WebView"
2305         for window server snapshots, and "WebContent" for software snapshots),
2306         and - critically - changed the flipping logic to flip software snapshots!
2307
2308         We didn't notice this on Mac because at this point we've made it so that
2309         we *always* have WindowServer snapshots, but on iOS we still don't have
2310         WindowServer snapshots, so now they're flipped.
2311
2312         And that's how we got here.
2313
2314         To restore the behavior from r140067, and correctly unflip snapshots on
2315         iOS, just delete this code.
2316
2317 2016-03-15  Alexey Proskuryakov  <ap@apple.com>
2318
2319         run-api-tests doesn't print test name when the test crashes
2320         https://bugs.webkit.org/show_bug.cgi?id=155476
2321
2322         Reviewed by Daniel Bates.
2323
2324         * Scripts/run-api-tests: Print "UNEXPECTEDLY EXITED" with a test name when output
2325         doesn't contain the test name yet. Changed test name output to always be before raw
2326         stdout for clarity.
2327
2328 2016-03-15  Chris Dumez  <cdumez@apple.com>
2329
2330         Unreviewed, rolling out r198203.
2331
2332         Favorites view is no longer loading on iOS
2333
2334         Reverted changeset:
2335
2336         "URL Parsing should signal failure for illegal IDN"
2337         https://bugs.webkit.org/show_bug.cgi?id=154945
2338         http://trac.webkit.org/changeset/198203
2339
2340 2016-03-15  Jiewen Tan  <jiewen_tan@apple.com>
2341
2342         URL Parsing should signal failure for illegal IDN
2343         https://bugs.webkit.org/show_bug.cgi?id=154945
2344         <rdar://problem/8014795>
2345
2346         Reviewed by Brent Fulgham.
2347
2348         * MiniBrowser/mac/WK2BrowserWindowController.m:
2349         (-[WK2BrowserWindowController fetch:]):
2350         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
2351         (TestWebKitAPI::TEST):
2352
2353 2016-03-14  Chris Dumez  <cdumez@apple.com>
2354
2355         Unreviewed, rolling out r197981.
2356
2357         Caused a massive PLT regression on Mac.
2358
2359         Reverted changeset:
2360
2361         "Font antialiasing (smoothing) changes when elements are
2362         rendered into compositing layers"
2363         https://bugs.webkit.org/show_bug.cgi?id=23364
2364         http://trac.webkit.org/changeset/197981
2365
2366 2016-03-14  Dewei Zhu  <dewei_zhu@apple.com>
2367
2368         Add twisted-15.5.0 module to webkitpy.thirdparty.autoinstalled.
2369         https://bugs.webkit.org/show_bug.cgi?id=154667
2370
2371         Reviewed by Ryosuke Niwa and Simon Fraser.
2372
2373         Add twisted-15.5.0 to webkitpy.thirdparty.autoinstalled.
2374         Minor fix for twsited_http_server used by run-benchmark that we should only stop http server while recieving 'GET /shutdown'.
2375
2376         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
2377         (ServerControl.render_POST): Deleted.
2378         * Scripts/webkitpy/thirdparty/__init__.py:
2379         (AutoinstallImportHook.find_module):
2380         (AutoinstallImportHook._install_twisted_15_5_0):
2381         * Scripts/webkitpy/thirdparty/__init___unittest.py:
2382         (ThirdpartyTest.test_imports):
2383
2384 2016-03-14  Mark Lam  <mark.lam@apple.com>
2385
2386         Need to distinguish between Symbol() and Symbol("").
2387         https://bugs.webkit.org/show_bug.cgi?id=155438
2388
2389         Reviewed by Saam Barati.
2390
2391         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2392         (TestWebKitAPI::TEST):
2393         - Test that the a symbol with an empty string is not equivalent to a null symbol. 
2394
2395 2016-03-14  David Kilzer  <ddkilzer@apple.com>
2396
2397         Remove blank lines after #include "config.h"
2398
2399         Follow-up fix from review comments on Bug 155394.
2400
2401         * TestWebKitAPI/PlatformUtilities.cpp:
2402         * TestWebKitAPI/Tests/WTF/RefLogger.cpp:
2403
2404 2016-03-14  Frederic Wang  <fred.wang@free.fr>
2405
2406         Unreviewed: Add my professional email address.
2407
2408         * Scripts/webkitpy/common/config/contributors.json:
2409
2410 2016-03-14  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2411
2412         Web platform test server should not try to launch servers on already bound sockets
2413         https://bugs.webkit.org/show_bug.cgi?id=141157
2414
2415         Reviewed by Darin Adler.
2416
2417         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2418         (wpt_config_json): Load WPT config from LayoutTests/imported/w3c/resources/config.json.
2419         (base_url): Refactored to use wpt_config_json routine.
2420         (WebPlatformTestServer.__init__): Fill port mappings according WPT config.
2421
2422 2016-03-13  Joseph Pecoraro  <pecoraro@apple.com>
2423
2424         Remove ENABLE(ES6_TEMPLATE_LITERAL_SYNTAX) guards
2425         https://bugs.webkit.org/show_bug.cgi?id=155417
2426
2427         Reviewed by Yusuke Suzuki.
2428
2429         * Scripts/webkitperl/FeatureList.pm:
2430         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2431
2432 2016-03-13  Dean Jackson  <dino@apple.com>
2433
2434         DRT should enable WebGL by default on Mac
2435         https://bugs.webkit.org/show_bug.cgi?id=155419
2436         <rdar://problem/25136981>
2437
2438         Reviewed by Sam Weinig.
2439
2440         For some reason, lost in time, WebGL was enabled
2441         by default on trunk, but disabled by default
2442         in DumpRenderTree when using WebKit 1. This
2443         was very annoying, because each test had
2444         an explicit command to enable it.
2445
2446         * DumpRenderTree/mac/DumpRenderTree.mm:
2447         (resetWebPreferencesToConsistentValues): Deleted WebGL line.
2448
2449 2016-03-13  Konstantin Tokarev  <annulen@yandex.ru>
2450
2451         Added new port JSCOnly.
2452         https://bugs.webkit.org/show_bug.cgi?id=154512
2453
2454         Reviewed by Michael Catanzaro.
2455
2456         This port allows to build JavaScriptCore engine with minimal
2457         dependencies.
2458
2459         * Scripts/build-jsc:
2460         * Scripts/webkitdirs.pm:
2461         (argumentsForConfiguration):
2462         (executableProductDir):
2463         (determinePortName):
2464         (isJSCOnly):
2465         (wrapperPrefixIfNeeded):
2466         (generateBuildSystemFromCMakeProject):
2467         (buildCMakeGeneratedProject):
2468
2469 2016-03-13  David Kilzer  <ddkilzer@apple.com>
2470
2471         TestWebKitAPI: fix linker warnings
2472         <http://webkit.org/b/155394>
2473
2474         Reviewed by Darin Adler.
2475
2476         * TestWebKitAPI/CMakeLists.txt:
2477         - Add RefLogger.cpp source file.
2478         - Add other missing cross-platform source files.
2479         - Add FIXMEs about RunLoop.cpp and about missing
2480           platform-specific source files.
2481         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2482         - Add RefLogger.cpp source file.
2483
2484         * TestWebKitAPI/Counters.cpp:
2485         (DeleterCounter<ConstructorDestructorCounter>::deleterCount):
2486         Move specific declaration here to fix linker warning.
2487         * TestWebKitAPI/Counters.h:
2488         (DeleterCounter<T>::deleterCount): Remove declaration of global
2489         template variable.
2490
2491         * TestWebKitAPI/Tests/WTF/RefLogger.cpp: Added.
2492         (TestWebKitAPI::log): Added.  Move inline definition in
2493         RefLogger.h to here to fix linker warning.
2494
2495         * TestWebKitAPI/Tests/WTF/RefLogger.h:
2496         (TestWebKitAPI::log): Replace inline function with declaration.
2497
2498 2016-03-12  David Kilzer  <ddkilzer@apple.com>
2499
2500         REGRESSION (r178615): Fix incorrect case in included header for WeakPtr.cpp
2501
2502         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Change "test.h" to
2503         "Test.h" to fix incorrect case.  This was discovered when adding
2504         WeakPtr.cpp to CMakeLists.txt for the patch on Bug 155394.
2505
2506 2016-03-12  David Kilzer  <ddkilzer@apple.com>
2507
2508         run-webkit-tests: handle Darwin framework/library environment variables more consistently
2509         <http://webkit.org/b/155392>
2510
2511         Reviewed by Daniel Bates.
2512
2513         These changes will make it possible to pass through environment
2514         variables from the run-webkit-tests command-line.
2515
2516         * Scripts/webkitpy/port/base.py:
2517         (Port.to.setup_environ_for_server): Add DYLD_FRAMEWORK_PATH,
2518         __XPC_DYLD_FRAMEWORK_PATH and __XPC_DYLD_LIBRARY_PATH to the
2519         list of variables to keep from the run-webkit-test environment.
2520
2521         * Scripts/webkitpy/port/driver.py:
2522         (Driver._append_environment_variable_path): Add method to append
2523         a path to an environment variable, or set the path if the
2524         variable doesn't exist.
2525         (Driver._setup_environ_for_driver): Extract build_root_path into
2526         a local variable.  Use Driver._append_environment_variable_path
2527         to extend DYLD_LIBRARY_PATH, __XPC_DYLD_LIBRARY_PATH,
2528         DYLD_FRAMEWORK_PATH and __XPC_DYLD_FRAMEWORK_PATH instead of
2529         overwriting them.
2530
2531         * Scripts/webkitpy/port/driver_unittest.py:
2532         (DriverTest.test__append_environment_variable_path): Add test
2533         method to test Driver._append_environment_variable_path.
2534
2535 2016-03-11  Alexey Proskuryakov  <ap@apple.com>
2536
2537         [ios-sim debug] API test WTF_Lock.ContendedShortSection and WTF_ParkingLot.UnparkOneFifty timing out
2538         https://bugs.webkit.org/show_bug.cgi?id=155276
2539
2540         [ios-sim] API test WTF_Condition.TenProducersTenConsumersOneSlot timing out
2541         https://bugs.webkit.org/show_bug.cgi?id=155345
2542
2543         [iOS Simulator] API test timeout: WTF_ParkingLot.UnparkOneFiftyThenFiftyAll
2544         https://bugs.webkit.org/show_bug.cgi?id=153997
2545         <rdar://problem/23580034>
2546
2547         <rdar://problem/23580018> TestWebKitAPI Timeout: WTF_ParkingLot.UnparkOneFifty
2548
2549         Rubber-stamped by Filip Pizlo.
2550
2551         * Scripts/run-api-tests: These tests are pretty slow. Increase API test timeout.
2552
2553         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp: Start running WTF_ParkingLot.UnparkOneFiftyThenFiftyAll
2554         on iOS again.
2555
2556 2016-03-11  Jer Noble  <jer.noble@apple.com>
2557
2558         [ios-sim debug] API tests RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForAudioButNotVideoPlayback asserting
2559         https://bugs.webkit.org/show_bug.cgi?id=155365
2560
2561         Reviewed by Darin Adler.
2562
2563         Allow tests running on iOS simulator to play video inline, avoiding this assert.
2564
2565         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
2566         (RequiresUserActionForPlaybackTest::SetUp):
2567
2568 2016-03-11  Frederic Wang  <fwang@igalia.com>
2569
2570         [jhbuild] Disable LLVM OCaml bindings.
2571         https://bugs.webkit.org/show_bug.cgi?id=153274
2572
2573         Reviewed by Michael Catanzaro.
2574
2575         * gtk/jhbuild.modules: disable all (actually only OCaml) bindings for LLVM.
2576
2577 2016-03-11  Commit Queue  <commit-queue@webkit.org>
2578
2579         Unreviewed, rolling out r197495.
2580         https://bugs.webkit.org/show_bug.cgi?id=155369
2581
2582         LLVM is needed to run update-webkitgtk-libs reliably
2583         (Requested by mcatanzaro on #webkit).
2584
2585         Reverted changeset:
2586
2587         "[jhbuild] Remove LLVM dependency."
2588         https://bugs.webkit.org/show_bug.cgi?id=153274
2589         http://trac.webkit.org/changeset/197495
2590
2591 2016-03-11  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2592
2593         WTF should have a similar function as equalLettersIgnoringASCIICase to match beginning of strings
2594         https://bugs.webkit.org/show_bug.cgi?id=153419
2595
2596         Reviewed by Darin Adler.
2597
2598         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
2599         (TestWebKitAPI::TEST): Adding test case for startsWithLettersIgnoringASCIICase.
2600
2601
2602 2016-03-10  Simon Fraser  <simon.fraser@apple.com>
2603
2604         Font antialiasing (smoothing) changes when elements are rendered into compositing layers
2605         https://bugs.webkit.org/show_bug.cgi?id=23364
2606
2607         Reviewed by Tim Horton.
2608
2609         Turn off smoothed layer text because it affects many layout test results.
2610
2611         * DumpRenderTree/mac/DumpRenderTree.mm:
2612         (resetWebViewToConsistentStateBeforeTesting):
2613         * WebKitTestRunner/TestController.cpp:
2614         (WTR::TestController::resetStateToConsistentValues):
2615
2616 2016-03-10  Jer Noble  <jer.noble@apple.com>
2617
2618         Partial roll-out of r197953; test fails because encode/decode support of those properties were never added.
2619
2620         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2621         (TEST): Deleted.
2622
2623 2016-03-10  Myles C. Maxfield  <mmaxfield@apple.com>
2624
2625         [OS X] Main frame scrollbars should appear on the left on RTL systems
2626         https://bugs.webkit.org/show_bug.cgi?id=155149
2627
2628         Reviewed by Simon Fraser.
2629
2630         Setting the volatile default needs to be done early, so it is
2631         plumbed through the injected bundle's initialization routine.
2632
2633         Control of RTL scrollbars is handled by putting the string
2634         <!-- webkit-test-runner [ rtlScrollbars=true ] -->
2635         on the first line of a test.
2636
2637         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2638         (WTR::shouldUseRTLScrollbars):
2639         (WTR::InjectedBundle::platformInitialize):
2640         * WebKitTestRunner/TestController.cpp:
2641         (WTR::TestController::generatePageConfiguration):
2642         (WTR::updateTestOptionsFromTestHeader):
2643         (WTR::TestController::getInjectedBundleInitializationUserData):
2644         * WebKitTestRunner/TestController.h:
2645         * WebKitTestRunner/TestOptions.h:
2646         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2647         (WTR::PlatformWebView::viewSupportsOptions):
2648
2649 2016-03-08  Jer Noble  <jer.noble@apple.com>
2650
2651         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
2652         https://bugs.webkit.org/show_bug.cgi?id=155141
2653
2654         Reviewed by Beth Dakin.
2655
2656         Set the default values for media preferences unconditionally, not just on PLATFORM(IOS). Set "video requires user gesture"
2657         to sane defaults in addition to "audio requires user gesture" and (in the case of DumpREnderTree) instead of "media requires user gesture".
2658
2659         Add a new test of WK2 user gesture requirement preferences.
2660
2661         * DumpRenderTree/mac/DumpRenderTree.mm:
2662         (resetWebPreferencesToConsistentValues):
2663         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2664         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
2665         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
2666         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm: Added.
2667         (-[RequiresUserActionForPlaybackNavigationDelegate webView:didFinishNavigation:]):
2668         (-[RequiresUserActionForPlaybackMessageHandler userContentController:didReceiveScriptMessage:]):
2669         (RequiresUserActionForPlaybackTest::SetUp):
2670         (RequiresUserActionForPlaybackTest::createWebView):
2671         (RequiresUserActionForPlaybackTest::testVideoWithAudio):
2672         (RequiresUserActionForPlaybackTest::testVideoWithoutAudio):
2673         (RequiresUserActionForPlaybackTest::testAudioOnly):
2674         (TEST_F):
2675         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2676         (TEST):
2677
2678 2016-03-10  Brian Burg  <bburg@apple.com>
2679
2680         Web Inspector: should be able to run protocol and input generator scripts from any directory
2681         https://bugs.webkit.org/show_bug.cgi?id=155307
2682
2683         Reviewed by Joseph Pecoraro.
2684
2685         * Scripts/webkitpy/inspector/main.py:
2686         (InspectorGeneratorTests.main):
2687         * Scripts/webkitpy/replay/main.py:
2688         (InputGeneratorTests.main):
2689         Compute the current SCM based on the location of the script being executed, not
2690         the $CWD which could be anything. There's rarely a good reason to use $CWD.
2691
2692 2016-03-10  David Kilzer  <ddkilzer@apple.com>
2693
2694         [iOS] DumpRenderTree crashes when accessing window.testRunner.inspectorTestStubURL
2695         <http://webkit.org/b/155295>
2696
2697         Reviewed by Brent Fulgham.
2698
2699         * DumpRenderTree/mac/TestRunnerMac.mm:
2700         (TestRunner::inspectorTestStubURL): Always return nullptr for
2701         PLATFORM(IOS).  This matches what we did in r192604 for
2702         WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm.
2703
2704 2016-03-10  Frederic Wang  <fwang@igalia.com>
2705
2706         [GTK] Add support for WOFF2
2707         https://bugs.webkit.org/show_bug.cgi?id=152616
2708
2709         Reviewed by Carlos Garcia Campos.
2710
2711         * Scripts/webkitpy/style/checker.py: Only verify basic style for third party modules brotli and woff2.
2712
2713 2016-03-09  Ryosuke Niwa  <rniwa@webkit.org>
2714
2715         Add runtime flags for shadow DOM and custom elements
2716         https://bugs.webkit.org/show_bug.cgi?id=155213
2717
2718         Reviewed by Dean Jackson.
2719
2720         Always enable shadow DOM and custom elements during testing.
2721
2722         * DumpRenderTree/mac/DumpRenderTree.mm:
2723         (resetWebPreferencesToConsistentValues):
2724         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2725         (WTR::InjectedBundle::beginTesting):
2726         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2727         (WTR::TestRunner::setShadowDOMEnabled): Added.
2728         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2729
2730 2016-03-09  Brent Fulgham  <bfulgham@apple.com>
2731
2732         Handling 'allowUniversalAccessFromFileURLs' on WKWebViewConfiguration causes test breakage
2733         https://bugs.webkit.org/show_bug.cgi?id=155265
2734         <rdar://problem/11101440>
2735
2736         Reviewed by Andy Estes.
2737
2738         WK2 localStorage tests need the 'AllowUniversalAccessFromFileURLs' preference set by default.
2739         Tests that confirm blocking localStorage manually set the flag to "False" in the test.
2740
2741         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2742         (WTR::initializeWebViewConfiguration): Set the default state to the correct value.
2743
2744 2016-03-09  David Kilzer  <ddkilzer@apple.com>
2745
2746         check-webkit-style: fix false-positive warnings about @try/@catch blocks in Objective-C++ source files
2747         <http://webkit.org/b/155273>
2748
2749         Reviewed by Andy Estes.
2750
2751         * Scripts/webkitpy/style/checkers/cpp.py:
2752         (check_spacing_for_function_call): Ignore @catch lines.
2753         (check_braces): Ditto.
2754         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2755         (CppStyleTest.test_brace_at_begin_of_line): Add test case.
2756
2757 2016-03-09  Jason Marcell  <jmarcell@apple.com>
2758
2759         Removing reference to Dashboard.Repository.Internal.trac from open source unit tests.
2760         https://bugs.webkit.org/show_bug.cgi?id=155274
2761
2762         Reviewed by Alexey Proskuryakov.
2763
2764         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js:
2765         (setup): Deleted. In bug 154180 we removed Dashboard.Repository.Internal which was causing an
2766         error in the unit tests.
2767
2768 2016-03-09  Aakash Jain  <aakash_jain@apple.com>
2769
2770         use ulimit command to check process limit in webkitpy
2771         https://bugs.webkit.org/show_bug.cgi?id=155260
2772
2773         Reviewed by Alexey Proskuryakov.
2774
2775         * Scripts/webkitpy/port/ios.py:
2776         (IOSSimulatorPort.default_child_processes): Use ulimit command output instead of 
2777         launchctl limit maxproc command.
2778
2779 2016-03-09  Alexey Proskuryakov  <ap@apple.com>
2780
2781         Stop building armv7 on iOS device builders
2782         https://bugs.webkit.org/show_bug.cgi?id=155246
2783
2784         Reviewed by David Kilzer.
2785
2786         * BuildSlaveSupport/build.webkit.org-config/config.json: Building both armv7 and
2787         armv7s makes the bots unnecessarily slow. We can catch super rare v7-only regressions
2788         elsewhere.
2789
2790         * Scripts/webkitpy/common/config/ews.json: Changed EWS to match, as we always want
2791         EWS configuration to be verified by buildbot queues.
2792
2793         * Scripts/webkitdirs.pm:
2794         * Scripts/webkitpy/port/ios.py:
2795         Changed default to arm64. I think that the default is probably not used in any
2796         practical scenarios, but it's nice to make it more sensible.
2797
2798 2016-03-09  Alexey Proskuryakov  <ap@apple.com>
2799
2800         Add iOS Simulator EWS to bot watcher's dashboard
2801         https://bugs.webkit.org/show_bug.cgi?id=155220
2802
2803         Reviewed by Lucas Forschler.
2804
2805         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
2806
2807 2016-03-09  Brent Fulgham  <bfulgham@apple.com>
2808
2809         Local HTML should be blocked from localStorage access unless "Disable Local File Restrictions" is checked
2810         https://bugs.webkit.org/show_bug.cgi?id=155185
2811         <rdar://problem/11101440>
2812
2813         Reviewed by Anders Carlsson.
2814
2815         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp:
2816         (TestWebKitAPI::TEST): Allow local file accesss to run test.
2817         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
2818         (TEST): Ditto.
2819         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
2820         (TEST): Ditto.
2821
2822 2016-03-09  Tim Horton  <timothy_horton@apple.com>
2823
2824         Removing and re-adding a script message handler with the same name results in an unusable message handler
2825         https://bugs.webkit.org/show_bug.cgi?id=155223
2826
2827         Reviewed by Sam Weinig.
2828
2829         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
2830         (TEST):
2831         Add a test ensuring that it is possible to remove and re-add a script message handler
2832         with the same name and still dispatch messages to it.
2833
2834 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
2835
2836         Fix iOS Simulator EWS.
2837
2838         Unreviewed build fix.
2839
2840         * Scripts/webkitpy/common/config/ports.py:
2841
2842 2016-03-08  Aakash Jain  <aakash_jain@apple.com>
2843
2844         Booting multiple iOS simulator parallely fails sometimes
2845         https://bugs.webkit.org/show_bug.cgi?id=155208
2846         <rdar://problem/25019651>
2847
2848         Reviewed by Darin Adler.
2849
2850         * Scripts/webkitpy/port/ios.py:
2851         (IOSSimulatorPort.setup_test_run): Increase the time delay between subsequent
2852         simulator boot.
2853
2854 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
2855
2856         Add iOS debug testers to flakiness dashboard
2857         https://bugs.webkit.org/show_bug.cgi?id=155206
2858
2859         Reviewed by Darin Adler.
2860
2861         * TestResultServer/static-dashboards/builders.jsonp:
2862
2863 2016-03-08  Oliver Hunt  <oliver@apple.com>
2864
2865         Start moving to separated writable and executable mappings in the JIT
2866         https://bugs.webkit.org/show_bug.cgi?id=155178
2867
2868         Reviewed by Fil Pizlo.
2869
2870         Making run-jsc-benchmarks slightly happier on my machine.
2871
2872         * Scripts/run-jsc-benchmarks:
2873
2874 2016-03-08  Anders Carlsson  <andersca@apple.com>
2875
2876         Use NSUInteger instead of NSWindowStyleMask.
2877
2878         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
2879
2880 2016-03-08  Anders Carlsson  <andersca@apple.com>
2881
2882         Fix build.
2883
2884         We intentionally don't use AppKitCompatibilityDeclarations.h here, since we want
2885         MiniBrowser to build without WTF.
2886
2887         * MiniBrowser/mac/AppDelegate.m:
2888         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
2889         * MiniBrowser/mac/BrowserWindowController.m:
2890         (-[BrowserWindowController windowDidLoad]):
2891         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
2892
2893 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
2894
2895         Add iOS simulator EWS that runs tests
2896         https://bugs.webkit.org/show_bug.cgi?id=155175
2897
2898         Reviewed by Lucas Forschler.
2899
2900         * QueueStatusServer/config/queues.py:
2901         * Scripts/webkitpy/common/config/ews.json:
2902         * Scripts/webkitpy/common/config/ports.py:
2903
2904 2016-03-08  Commit Queue  <commit-queue@webkit.org>
2905
2906         Unreviewed, rolling out r197793 and r197799.
2907         https://bugs.webkit.org/show_bug.cgi?id=155195
2908
2909         something weird happened while landing this and everything
2910         broke (Requested by olliej on #webkit).
2911
2912         Reverted changesets:
2913
2914         "Start moving to separated writable and executable mappings in
2915         the JIT"
2916         https://bugs.webkit.org/show_bug.cgi?id=155178
2917         http://trac.webkit.org/changeset/197793
2918
2919         "arm64 build fix after r197793."
2920         http://trac.webkit.org/changeset/197799
2921
2922 2016-03-08  Oliver Hunt  <oliver@apple.com>
2923
2924         Start moving to separated writable and executable mappings in the JIT
2925         https://bugs.webkit.org/show_bug.cgi?id=155178
2926
2927         Reviewed by Filip Pizlo.
2928
2929         Making run-jsc-benchmarks slightly happier on my machine.
2930
2931         * Scripts/run-jsc-benchmarks:
2932
2933 2016-03-08  Daniel Bates  <dabates@apple.com>
2934
2935         Support iterating over an OptionSet and checking if it is empty
2936         https://bugs.webkit.org/show_bug.cgi?id=154941
2937         <rdar://problem/24964187>
2938
2939         Reviewed by Darin Adler.
2940
2941         Add tests to ensure that we do not regression both iteration of an OptionSet and
2942         determining whether an OptionSet is empty.
2943
2944         * TestWebKitAPI/Test.h:
2945         (TestWebKitAPI::Util::assertStrongEnum): Helper function to assert two strong enum type for equality.
2946         * TestWebKitAPI/Tests/WTF/OptionSet.cpp:
2947         (TestWebKitAPI::TEST):
2948
2949 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
2950
2951         Add debug iOS Simulator bots to the dashboard
2952         https://bugs.webkit.org/show_bug.cgi?id=155157
2953
2954         Reviewed by Darin Adler.
2955
2956         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2957
2958 2016-03-08  Alejandro G. Castro  <alex@igalia.com>
2959
2960         Unreviewed EFL build fix after r197752.
2961
2962         * Scripts/webkitperl/FeatureList.pm: Avoid MEDIA_STREAM
2963         compilation by default until EFL bumps gstreamer to 1.6.
2964
2965 2016-03-08  Alejandro G. Castro  <alex@igalia.com>
2966
2967         [GTK] [EFL] Avoid running mediastream tests by default until we compile by default
2968         https://bugs.webkit.org/show_bug.cgi?id=153540
2969
2970         Reviewed by Philippe Normand.
2971
2972         After bumping gstreamer to 1.6.3 in r196804 we can enable again
2973         compilation of mediastream and running the tests.
2974
2975         * Scripts/run-gtk-tests:
2976         (TestRunner): Enable again the UserMedia API test.
2977         * Scripts/webkitperl/FeatureList.pm: Enable the compilation of the
2978         mediastream by default.
2979         * gtk/jhbuild-webrtc.modules: Removed the specific jhbuild modules
2980         file.
2981         * gtk/jhbuild.modules: Bumped the openwebrtc version to the one we
2982         are currently using.
2983
2984 2016-03-07  Jon Lee  <jonlee@apple.com>
2985
2986         Update perf bot configuration for Animometer
2987         https://bugs.webkit.org/show_bug.cgi?id=155134
2988
2989         Reviewed by Ryosuke Niwa.
2990
2991         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Refactor the patch
2992         to work with the latest version of the harness.
2993         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Bump up the timeout,
2994         and use the latest version of the harness.
2995
2996 2016-03-07  Joanmarie Diggs  <jdiggs@igalia.com>
2997
2998         [GTK][jhbuild] OpenWebRTC build fails with GCC 6.0
2999         https://bugs.webkit.org/show_bug.cgi?id=154839
3000
3001         Reviewed by Michael Catanzaro.
3002
3003         Add '-Wno-error' to jhbuildrc; remove it from the module sets for macos.
3004
3005         * gtk/jhbuild-webrtc.modules:
3006         * gtk/jhbuild.modules:
3007         * gtk/jhbuildrc:
3008
3009 2016-03-07  Aakash Jain  <aakash_jain@apple.com>
3010
3011         webkitpy should verify timestamp from CrashLogs while collecting all crash logs
3012         https://bugs.webkit.org/show_bug.cgi?id=155000
3013         <rdar://problem/24860219>
3014
3015         Reviewed by Alexey Proskuryakov.
3016
3017         * Scripts/webkitpy/common/system/crashlogs.py:
3018         (CrashLogs._find_all_logs_darwin): Make sure that crash log timestamp is within expected 
3019         time range, because file modification time is not always accurate.
3020         (CrashLogs.get_timestamp_from_logs): Parse the timestamp from logs.
3021         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
3022         (CrashLogsTest.test_get_timestamp_from_logs_darwin): Testcase for above function.
3023
3024 2016-03-06  Alexey Proskuryakov  <ap@apple.com>
3025
3026         build-webkit prints an error on iOS simulator bots
3027         https://bugs.webkit.org/show_bug.cgi?id=155078
3028
3029         Reviewed by Dan Bernstein.
3030
3031         This happens when build-layouttestrelay sets $xcodeSDK to undefined, to use host SDK.
3032
3033         * Scripts/webkitdirs.pm: (buildXCodeProject): There is no need to pass -sdk, because
3034         XcodeOptions() already passes SDKROOT as appropriate.
3035
3036         * Scripts/build-layouttestrelay: Added a FIXME. Resetting $xcodeSDK doesn't reset
3037         any other configuration variables that were derived from its initial value, like $portName.
3038
3039 2016-03-05  Tim Horton  <timothy_horton@apple.com>
3040
3041         Create a DOMHTMLVideoElement when wrapping <video> elements
3042         https://bugs.webkit.org/show_bug.cgi?id=155084
3043         <rdar://problem/24997193>
3044
3045         Reviewed by Dan Bernstein.
3046
3047         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3048         * TestWebKitAPI/Tests/mac/DOMHTMLVideoElementWrapper.mm: Added.
3049         (-[VideoWrapperFrameLoadDelegate webView:didFinishLoadForFrame:]):
3050         (TestWebKitAPI::TEST):
3051         Add an API test for this behavior.
3052
3053 2016-03-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3054
3055         [GTK] Fix logging details after r197505 (Run the run-benchmark script on the performance bot.)
3056         https://bugs.webkit.org/show_bug.cgi?id=154595
3057
3058         Unreviewed.
3059
3060         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
3061         (start): Use logging.exception when a test fails in order to get the details about the error.
3062
3063 2016-03-04  Alexey Proskuryakov  <ap@apple.com>
3064
3065         Add iOS simulator debug bots
3066         https://bugs.webkit.org/show_bug.cgi?id=155053
3067
3068         Reviewed by Lucas Forschler.
3069
3070         * BuildSlaveSupport/build.webkit.org-config/config.json:
3071
3072 2016-03-04  Brent Fulgham  <bfulgham@apple.com>
3073
3074         [WK2] Gather resource load statistics
3075         https://bugs.webkit.org/show_bug.cgi?id=154278
3076         <rdar://problem/24702892>
3077
3078         Reviewed by Andy Estes.
3079
3080         * MiniBrowser/mac/AppDelegate.m:
3081         (defaultConfiguration): Retrieve state of the ResourceLoadStatisticsEnabled setting.
3082         * MiniBrowser/mac/SettingsController.m:
3083         (-[SettingsController _populateMenu]): Move setting from WK1-only to be
3084         universally applicable.
3085         * MiniBrowser/mac/WK2BrowserWindowController.m:
3086         (-[WK2BrowserWindowController didChangeSettings]): Recognize when the
3087         Resource Load Statistics flag has changed.
3088
3089 2016-03-04  Alex Christensen  <achristensen@webkit.org>
3090
3091         Remove vcxproj build system
3092         https://bugs.webkit.org/show_bug.cgi?id=154388
3093
3094         Rubber-stamped by Brent Fulgham.
3095
3096         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree: Removed.
3097         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree.sln: Removed.
3098         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj: Removed.
3099         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters: Removed.
3100         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeApple.props: Removed.
3101         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props: Removed.
3102         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebug.props: Removed.
3103         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebugWinCairo.props: Removed.
3104         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj: Removed.
3105         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherCommon.props: Removed.
3106         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherDebug.props: Removed.
3107         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherProduction.props: Removed.
3108         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherRelease.props: Removed.
3109         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePostBuild.cmd: Removed.
3110         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePreBuild.cmd: Removed.
3111         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeProduction.props: Removed.
3112         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeRelease.props: Removed.
3113         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeReleaseWinCairo.props: Removed.
3114         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff: Removed.
3115         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj: Removed.
3116         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommon.props: Removed.
3117         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommonWinCairo.props: Removed.
3118         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebug.props: Removed.
3119         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebugWinCairo.props: Removed.
3120         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj: Removed.
3121         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherCommon.props: Removed.
3122         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherDebug.props: Removed.
3123         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherProduction.props: Removed.
3124         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherRelease.props: Removed.
3125         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPostBuild.cmd: Removed.
3126         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPreBuild.cmd: Removed.
3127         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffProduction.props: Removed.
3128         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffRelease.props: Removed.
3129         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffReleaseWinCairo.props: Removed.
3130         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj: Removed.
3131         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters: Removed.
3132         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props: Removed.
3133         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginDebug.props: Removed.
3134         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPostBuild.cmd: Removed.
3135         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPreBuild.cmd: Removed.
3136         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginProduction.props: Removed.
3137         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginRelease.props: Removed.
3138         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj: Removed.
3139         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj.filters: Removed.
3140         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCF.props: Removed.
3141         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCFLite.props: Removed.
3142         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCommon.props: Removed.
3143         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserDebug.props: Removed.
3144         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj: Removed.
3145         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj.filters: Removed.
3146         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibCommon.props: Removed.
3147         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibDebug.props: Removed.
3148         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPostBuild.cmd: Removed.
3149         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPreBuild.cmd: Removed.
3150         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibProduction.props: Removed.
3151         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibRelease.props: Removed.
3152         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPostBuild.cmd: Removed.
3153         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPreBuild.cmd: Removed.
3154         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserProduction.props: Removed.
3155         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserRelease.props: Removed.
3156         * TestWebKitAPI/TestWebKitAPI.vcxproj: Removed.
3157         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.sln: Removed.
3158         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Removed.
3159         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Removed.
3160         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props: Removed.
3161         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props: Removed.
3162         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebug.props: Removed.
3163         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebugWinCairo.props: Removed.
3164         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPostBuild.cmd: Removed.
3165         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd: Removed.
3166         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIProduction.props: Removed.
3167         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIRelease.props: Removed.
3168         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIReleaseWinCairo.props: Removed.
3169         * win/AssembleBuildLogs: Removed.
3170         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj: Removed.
3171         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj.filters: Removed.
3172         * win/AssembleBuildLogs/AssembleLogs.cmd: Removed.
3173         * win/AssembleBuildLogs/README: Removed.
3174
3175 2016-03-04  Myles C. Maxfield  <mmaxfield@apple.com>
3176
3177         Whitespace causes font-variant: all-small-caps to synthesize
3178         https://bugs.webkit.org/show_bug.cgi?id=155004
3179         <rdar://problem/24630796>
3180
3181         Reviewed by Darin Adler.
3182
3183         * DumpRenderTree/mac/DumpRenderTree.mm:
3184         (allowedFontFamilySet):
3185         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
3186         (WTR::allowedFontFamilySet):
3187         * WebKitTestRunner/mac/TestControllerMac.mm:
3188         (WTR::allowedFontFamilySet):
3189
3190 2016-03-04  Myles C. Maxfield  <mmaxfield@apple.com>
3191
3192         [iOS] Crash during font loading when injected bundle cancels load
3193         https://bugs.webkit.org/show_bug.cgi?id=155001
3194
3195         Reviewed by Tim Horton.
3196
3197         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3198         * TestWebKitAPI/Tests/WebKit2/Ahem.ttf: Added.
3199         * TestWebKitAPI/Tests/WebKit2/webfont.html: Added.
3200         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm: Added.
3201         (-[Myles webView:didFinishNavigation:]):
3202         (TEST):
3203         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresourcePlugIn.mm: Added.
3204         (-[CancelFontSubresourcePlugIn webProcessPlugIn:didCreateBrowserContextController:]):
3205         (-[CancelFontSubresourcePlugIn webProcessPlugInBrowserContextController:frame:willSendRequestForResource:request:redirectResponse:]):
3206
3207 2016-03-04  Konstantin Tokarev  <annulen@yandex.ru>
3208
3209         [check-webkit-style] Added checks for redundant virtual specifiers.
3210         https://bugs.webkit.org/show_bug.cgi?id=155017
3211
3212         Reviewed by Darin Adler.
3213
3214         Added 3 new checks related to virtual, override, and final specifiers:
3215
3216         1. When "override" is present, "virtual" is redundant.
3217         2. When "final" is present, "virtual" is redundant.
3218         3. When "final" is present, "override" is redundant.
3219
3220         * Scripts/webkitpy/style/checkers/cpp.py:
3221         (_FunctionState.begin):
3222         (_FunctionState.is_virtual):
3223         (_check_parameter_name_against_text):
3224         (_error_redundant_specifier):
3225         (check_function_definition):
3226         (CppChecker):
3227         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3228         (FunctionDetectionTest.perform_function_detection):
3229         (FunctionDetectionTest.test_basic_function_detection):
3230         (FunctionDetectionTest.test_function_declaration_detection):
3231         (FunctionDetectionTest.test_pure_function_detection):
3232         (FunctionDetectionTest.test_override_and_final_function_detection):
3233         (FunctionDetectionTest.test_non_functions):
3234         (FunctionDetectionTest.test_parameter_list):
3235
3236 2016-03-03  Darin Adler  <darin@apple.com>
3237
3238         Followup to:
3239         Remove "virtual" from all lines that have both "virtual" and "override".
3240         https://bugs.webkit.org/show_bug.cgi?id=155005
3241
3242         Reviewed by Geoffrey Garen.
3243
3244         * Scripts/do-webcore-rename: Added more regular expressions to make sure we always
3245         use either override or final, not both, and to remove virtual from all lines that
3246         have both virtual and final.
3247
3248 2016-03-03  Darin Adler  <darin@apple.com>
3249
3250         Remove "virtual" from all lines that have both "virtual" and "override".
3251         https://bugs.webkit.org/show_bug.cgi?id=155005
3252
3253         Reviewed by Geoffrey Garen.
3254
3255         * Scripts/do-webcore-rename: Added a regular expression to this script to do the job.
3256
3257 2016-03-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3258
3259         [GTK] Unreviewed fix after r197505 (Run the run-benchmark script on the performance bot.)
3260         https://bugs.webkit.org/show_bug.cgi?id=154595
3261
3262         Unreviewed fix after r197505.
3263
3264         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3265         (RunBenchmarkTests.start):
3266
3267 2016-03-03  Daniel Bates  <dabates@apple.com>
3268
3269         Add unit tests for WTF::OptionSet
3270         https://bugs.webkit.org/show_bug.cgi?id=154925
3271         <rdar://problem/24964211>
3272
3273         Reviewed by Darin Adler.
3274
3275         Add tests to ensure that we do not regress the behavior of WTF::OptionSet.
3276
3277         * TestWebKitAPI/CMakeLists.txt: Add file TestWebKitAPI/Tests/WTF/OptionSet.cpp.
3278         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
3279         * TestWebKitAPI/Tests/WTF/OptionSet.cpp: Added.
3280         (TestWebKitAPI::TEST):
3281
3282 2016-03-03  Commit Queue  <commit-queue@webkit.org>
3283
3284         Unreviewed, rolling out r197442.
3285         https://bugs.webkit.org/show_bug.cgi?id=154967
3286
3287         Broke tests, and also uses a wrong approach (Requested by ap
3288         on #webkit).
3289
3290         Reverted changeset:
3291
3292         "Disable FTL JIT testing on 32-bit JSC tester bots"
3293         https://bugs.webkit.org/show_bug.cgi?id=154858
3294         http://trac.webkit.org/changeset/197442
3295
3296 2016-03-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3297
3298         [GTK] Run the run-benchmark script on the performance bot.
3299         https://bugs.webkit.org/show_bug.cgi?id=154595
3300
3301         Reviewed by Carlos Garcia Campos.
3302
3303         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add new RunBenchmarkTests step on the perf bots (only for the GTK+ port at this moment).
3304         (RunBenchmarkTests):
3305         (RunBenchmarkTests.start):
3306         (RunBenchmarkTests.getText):
3307         (RunBenchmarkTests.getText2):
3308         (BuildAndPerfTestFactory.__init__):
3309         (DownloadAndPerfTestFactory.__init__):
3310         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Add new test for RunBenchmarkTests and update expected steps of GTK+ perf bot.
3311         (RunBenchmarkTest):
3312         (RunBenchmarkTest.assertResults):
3313         (RunBenchmarkTest.test_success):
3314         (RunBenchmarkTest.test_tests_failed):
3315         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Log both the current iteration as also the total iterations for the current benchmark/plan.
3316         (BenchmarkRunner._run_benchmark):
3317         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py: Use python logging also for errors.
3318         (GTKMiniBrowserDriver.close_browsers):
3319         * Scripts/webkitpy/benchmark_runner/run_benchmark.py: Implement support for running all available benchmark plans.
3320         (parse_args):
3321         (start):
3322         (main):
3323
3324 2016-03-03  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3325
3326         [EFL] Remove u-szeged.hu SVN mirror in EFL perf bot
3327         https://bugs.webkit.org/show_bug.cgi?id=154960
3328
3329         Reviewed by Csaba Osztrogonác.
3330
3331         * BuildSlaveSupport/build.webkit.org-config/config.json: Remove szeged univ's svn mirror.
3332         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3333
3334 2016-03-03  Frederic Wang  <fwang@igalia.com>
3335
3336         [jhbuild] Remove LLVM dependency.
3337         https://bugs.webkit.org/show_bug.cgi?id=153274
3338
3339         Reviewed by Carlos Garcia Campos.
3340
3341         * gtk/jhbuild.modules:
3342
3343 2016-03-02  Alejandro G. Castro  <alex@igalia.com>
3344
3345         Unreviewed build fix for media-stream after r197114.
3346
3347         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
3348         (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack):
3349
3350 2016-03-01  Csaba Osztrogonác  <ossy@webkit.org>
3351
3352         Disable FTL JIT testing on 32-bit JSC tester bots
3353         https://bugs.webkit.org/show_bug.cgi?id=154858
3354
3355         Reviewed by Saam Barati.
3356
3357         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3358         (Run32bitJSCTests):
3359
3360 2016-03-01  Dean Johnson  <dean_johnson@apple.com>
3361
3362         Fix iOS EWS.
3363         https://bugs.webkit.org/show_bug.cgi?id=154880
3364
3365         Reviewed by Alexey Proskuryakov.
3366
3367         * Scripts/copy-webkitlibraries-to-product-directory:
3368
3369 2016-02-29  Chris Dumez  <cdumez@apple.com>
3370
3371         Have parseHTMLInteger() / parseHTMLNonNegativeInteger() use WTF::Optional
3372         https://bugs.webkit.org/show_bug.cgi?id=154845
3373
3374         Reviewed by Ryosuke Niwa.
3375
3376         Update API tests accordingly.
3377
3378         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
3379         (TestWebKitAPI::testParseHTMLInteger):
3380         (TestWebKitAPI::parseHTMLIntegerFails):
3381         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
3382         (TestWebKitAPI::parseHTMLNonNegativeIntegerFails):
3383         (TestWebKitAPI::TEST): Deleted.
3384
3385 2016-02-29  Simon Fraser  <simon.fraser@apple.com>
3386
3387         Remove the experimental feature of antialiased font dilation
3388         https://bugs.webkit.org/show_bug.cgi?id=154843
3389
3390         Reviewed by Zalan Bujtas.
3391
3392         Remove the "antialiased font dilation" code path, and related prefs.
3393
3394         * DumpRenderTree/mac/DumpRenderTree.mm:
3395         (resetWebPreferencesToConsistentValues): Deleted.
3396         * WebKitTestRunner/TestController.cpp:
3397         (WTR::TestController::resetPreferencesToConsistentValues): Deleted.
3398
3399 2016-02-29  Brady Eidson  <beidson@apple.com>
3400
3401         Fix timing flakiness in test I added in http://trac.webkit.org/changeset/197372
3402
3403         Unreviewed.
3404
3405         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html:
3406         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html:
3407         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
3408         (TEST): Sometimes a third message from the first html file was leaking through. The message is expected
3409           so we should always wait for it and make sure we got it.
3410
3411 2016-02-29  Brady Eidson  <beidson@apple.com>
3412
3413         Modern IDB: WebKit 2 IPC layer easily confused about multiple web processes being connected.
3414         https://bugs.webkit.org/show_bug.cgi?id=154837
3415
3416         Reviewed by Alex Christensen.
3417
3418         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3419         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html: Added.
3420         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html: Added.
3421         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm: Added.
3422
3423 2016-02-29  Joanmarie Diggs  <jdiggs@igalia.com>
3424
3425         [GTK][jhbuild] GLib build fails with GCC 6.0
3426         https://bugs.webkit.org/show_bug.cgi?id=154825
3427
3428         Use the upstream work-around. https://bugzilla.gnome.org/show_bug.cgi?id=761550
3429
3430         Reviewed by Csaba Osztrogonác.
3431
3432         * gtk/jhbuild.modules: Apply upstream path.
3433         * gtk/patches/gdate-suppress-string-format-literal-warning.patch: Added.
3434
3435 2016-02-29  Filip Pizlo  <fpizlo@apple.com>
3436
3437         We've been running Octane/regexp all wrong in run-jsc-benchmarks
3438         https://bugs.webkit.org/show_bug.cgi?id=154827
3439
3440         Reviewed by Andreas Kling.
3441
3442         Octane v.2 and JetStream v.1.1 run this benchmark with warmup. This script was running
3443         it without warmup. This patches fixes this by making this script run it with warmup.
3444
3445         This fix shows that my last patch, which added FTL support for regexp, was actually a 3%
3446         speed-up on Octane/regexp, not a slow-down as the ChangeLog claimed.
3447
3448         It discovered this bug because for each Octane test that I want to debug, I usually make
3449         a standalone .js file that contains the whole test along with a miniharness - usually
3450         a plain loop - that runs it almost like it would for real but with whatever hacks I'm
3451         using for debugging. When I wrote such a thing for regexp, I used a ~20 iteration warmup
3452         to match the one second of warmup that this benchmark gets in Octane. To my surprise,
3453         this quite faithful regexp runner did not see the regression that run-jsc-benchmarks
3454         saw. That's when I found out that run-jsc-benchmarks was running it wrong.
3455
3456         The reason for the no-warmup slow-down is that the FTL is actually fairly expensive to
3457         run on some of these very large functions in the regexp benchmark. I don't think we can
3458         do anything about that, and I'd argue that the speed-up we see after the compilation is
3459         done suggests that it was worth it.
3460
3461         * Scripts/run-jsc-benchmarks:
3462
3463 2016-02-29  Gavin Barraclough  <barraclough@apple.com>
3464
3465         RefCounter<T>::Event -> RefCounterEvent
3466         https://bugs.webkit.org/show_bug.cgi?id=154767
3467
3468         Reviewed by Darin Adler.
3469
3470         RefCounter<T>::Event is kinda verbose to use, and there is no need for this
3471         to be specific to a particular typeof RefCounter. Move the enum class up to
3472         the top level & rename to RefCounterEvent.
3473
3474         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
3475         (TestWebKitAPI::TEST):
3476
3477 2016-02-29  Csaba Osztrogonác  <ossy@webkit.org>
3478
3479         Remove more LLVM related cruft
3480         https://bugs.webkit.org/show_bug.cgi?id=154821
3481
3482         Reviewed by Darin Adler.
3483
3484         * Scripts/build-jsc:
3485         * Scripts/build-webkit:
3486         * Scripts/copy-webkitlibraries-to-product-directory:
3487         * Scripts/export-llvm-build: Removed.
3488         * Scripts/run-jsc-stress-tests:
3489
3490 2016-02-28  Sam Weinig  <sam@webkit.org>
3491
3492         Reimplement WKPageGroup in terms of WKUserContentController
3493         https://bugs.webkit.org/show_bug.cgi?id=154804
3494
3495         Reviewed by Dan Bernstein.
3496
3497         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3498         * TestWebKitAPI/Tests/WebKit2/PageGroup.cpp: Added.
3499
3500 2016-02-28  Sam Weinig  <sam@webkit.org>
3501
3502         Bind _WKUserStyleSheets to WKUserContentWorlds to allow for grouping of user content by associating to a world
3503         https://bugs.webkit.org/show_bug.cgi?id=154798
3504
3505         Reviewed by Dan Bernstein.
3506
3507         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
3508         Add tests for removing _WKUserStyleSheets and WKUserScripts
3509
3510 2016-02-27  Alexey Proskuryakov  <ap@apple.com>
3511
3512         Silence leaks under TextCodecICU::registerCodecs
3513         https://bugs.webkit.org/show_bug.cgi?id=154737
3514
3515         Reviewed by Darin Adler.
3516
3517         * Scripts/webkitpy/port/leakdetector.py:
3518         (LeakDetector._callstacks_to_exclude_from_leaks):
3519
3520 2016-02-26  Michael Catanzaro  <mcatanzaro@igalia.com>
3521
3522         [GTK] Fix incorrect cast
3523
3524         Unreviewed.
3525
3526         * MiniBrowser/gtk/main.c:
3527         (createBrowserWindow):
3528
3529 2016-02-26  Chris Dumez  <cdumez@apple.com>
3530
3531         Fix the behavior of reflecting IDL attributes of type unsigned long
3532         https://bugs.webkit.org/show_bug.cgi?id=154771
3533
3534         Reviewed by Ryosuke Niwa.
3535
3536         Update API tests to cover the fixes to the parseHTMLNonNegativeInteger()
3537         implementation:
3538         - "-0" is parsed as 0.
3539         - Range boundaries are now [0; 2147483647].
3540
3541         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
3542         (TestWebKitAPI::TEST):
3543
3544 2016-02-26  Brady Eidson  <beidson@apple.com>
3545
3546         Modern IDB: New database versions are never committed to SQLite.
3547         <rdar://problem/24860952> and https://bugs.webkit.org/show_bug.cgi?id=154741
3548         
3549         Modern IDB: If a database handle is not open, files are not actually deleted from disk
3550         https://bugs.webkit.org/show_bug.cgi?id=154756
3551
3552         Reviewed by Alex Christensen.
3553
3554         This also happens to test the previously untested fix for http://trac.webkit.org/changeset/197190
3555
3556         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3557         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-1.html: Added.
3558         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-2.html: Added.
3559         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm: Added.
3560         (-[IndexedDBNavigationDelegate webView:didFinishNavigation:]):
3561         (-[IndexedDBMessageHandler userContentController:didReceiveScriptMessage:]):
3562         (TEST):
3563
3564 2016-02-26  Commit Queue  <commit-queue@webkit.org>
3565
3566         Unreviewed, rolling out r197216.
3567         https://bugs.webkit.org/show_bug.cgi?id=154766
3568
3569         Test simply needs updated result (Requested by litherum on
3570         #webkit).
3571
3572         Reverted changeset:
3573
3574         "Unreviewed, rolling out r197158."
3575         https://bugs.webkit.org/show_bug.cgi?id=154758
3576         http://trac.webkit.org/changeset/197216
3577
3578 2016-02-26  Alexey Proskuryakov  <ap@apple.com>
3579
3580         [iOS Simulator] Reftests don't work
3581         https://bugs.webkit.org/show_bug.cgi?id=154764
3582
3583         Reviewed by Daniel Bates.
3584
3585         * Scripts/webkitpy/port/image_diff.py: (IOSSimulatorImageDiffer._start):
3586         Use simctl instead of sim.
3587
3588 2016-02-26  Chris Dumez  <cdumez@apple.com>
3589
3590         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger
3591         https://bugs.webkit.org/show_bug.cgi?id=154714
3592
3593         Reviewed by Darin Adler.
3594
3595         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger as per:
3596         - https://html.spec.whatwg.org/multipage/infrastructure.html#signed-integers
3597         - https://html.spec.whatwg.org/multipage/infrastructure.html#non-negative-integers
3598
3599         * TestWebKitAPI/PlatformEfl.cmake:
3600         * TestWebKitAPI/PlatformGTK.cmake:
3601         * TestWebKitAPI/PlatformWin.cmake:
3602         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3603         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
3604         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3605         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp: Added.
3606         (TestWebKitAPI::testParseHTMLInteger):
3607         (TestWebKitAPI::parseHTMLIntegerFails):
3608         (TestWebKitAPI::TEST):
3609         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
3610         (TestWebKitAPI::parseHTMLNonNegativeIntegerFails):
3611
3612 2016-02-26  Commit Queue  <commit-queue@webkit.org>
3613
3614         Unreviewed, rolling out r197158.
3615         https://bugs.webkit.org/show_bug.cgi?id=154758
3616
3617         This change did not fix the failing test (Requested by
3618         ryanhaddad on #webkit).
3619
3620         Reverted changeset:
3621
3622         "REGRESSION(r195795): [WK2] fast/text/crash-complex-text-
3623         surrogate.html is flakey"
3624         https://bugs.webkit.org/show_bug.cgi?id=154709
3625         http://trac.webkit.org/changeset/197158
3626
3627 2016-02-26  Anders Carlsson  <andersca@apple.com>
3628
3629         WKWebsiteDataStore/WKWebsiteDataRecord needs to provide size information about each type of data
3630         https://bugs.webkit.org/show_bug.cgi?id=154750
3631         rdar://problem/23861395
3632
3633         Reviewed by Tim Horton.
3634
3635         * MiniBrowser/mac/WK2BrowserWindowController.m:
3636         (-[WK2BrowserWindowController fetchWebsiteData:]):
3637         Use the new WKWebsiteDataStore SPI to compute data sizes.
3638
3639 2016-02-25  Gavin Barraclough  <barraclough@apple.com>
3640
3641         RefCounter value changed callback should be called on all changes (not just zero edge).
3642         https://bugs.webkit.org/show_bug.cgi?id=154699
3643
3644         Reviewed by Geoff Garen.
3645
3646         RefCounter currently only triggers a callback when the count goes from zero
3647         to non-zero and vice-versa. Change that, to be useful to more clients.
3648
3649         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
3650         (TestWebKitAPI::TEST):
3651             - Updated for change in RefCounter callback siganture & behaviour.
3652
3653 2016-02-25  Sam Weinig  <sam@webkit.org>
3654
3655         Allow WKUserScripts to be run in isolated worlds
3656         https://bugs.webkit.org/show_bug.cgi?id=154701
3657
3658         Reviewed by Anders Carlsson.
3659
3660         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3661         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorld.mm: Added.
3662         (-[SimpleDelegate webView:didFinishNavigation:]):
3663         (-[UserContentWorldRemoteObject didObserveNormalWorld]):
3664         (-[UserContentWorldRemoteObject didObserveWorldWithName:]):
3665         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldPlugIn.mm: Added.
3666         (-[_WKUserContentWorldPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
3667         (-[_WKUserContentWorldPlugIn webProcessPlugInBrowserContextController:globalObjectIsAvailableForFrame:inScriptWorld:]):
3668         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldProtocol.h: Added.
3669
3670 2016-02-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3671
3672         W3C test importer should have an option to clean the destination directory
3673         https://bugs.webkit.org/show_bug.cgi?id=152685
3674
3675         Reviewed by Darin Adler.
3676
3677         Adding --clean-dest-dir option to W3C test impor