SVN checkout used by RunBenchmark should be non-interactive
[WebKit-https.git] / Tools / ChangeLog
1 2015-12-23  Dewei Zhu  <dewei_zhu@apple.com>
2
3         SVN checkout used by RunBenchmark should be non-interactive
4         https://bugs.webkit.org/show_bug.cgi?id=152542
5
6         Reviewed by Ryosuke Niwa.
7
8         RunBenchmark should not require user interaction while running.
9
10         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
11         (BenchmarkBuilder._checkout_with_subversion):
12
13 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
14
15         Web Inspector: add support for running protocol-test.js tests on Windows
16         https://bugs.webkit.org/show_bug.cgi?id=148037
17         <rdar://problem/22292237>
18
19         Reviewed by Simon Fraser.
20
21         * DumpRenderTree/win/TestRunnerWin.cpp:
22         (TestRunner::inspectorTestStubURL): Provide implementation.
23
24 2015-12-23  Eric Carlson  <eric.carlson@apple.com>
25
26         [MediaStream] MediaDeviceInfo.label must be empty in some situations
27         https://bugs.webkit.org/show_bug.cgi?id=152000
28
29         Reviewed by Brent Fulgham.
30
31         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
32         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
33         (WTR::InjectedBundle::setUserMediaPermission):
34         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): New.
35         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
36
37         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
38         (WTR::TestRunner::setUserMediaPermissionForOrigin): New.
39         * WebKitTestRunner/InjectedBundle/TestRunner.h:
40
41         * WebKitTestRunner/TestController.cpp:
42         (WTR::TestController::setUserMediaPermissionForOrigin):
43         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Add NULL check.
44         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Don't add 
45           persistent permission for origin, that can be done from script now.
46         * WebKitTestRunner/TestController.h:
47
48         * WebKitTestRunner/TestInvocation.cpp:
49         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Add support for
50           SetUserMediaPermissionForOrigin.
51
52 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
53
54         [Win] Unreviewed build fix: Recognize Windows 10 variants.
55
56         * Scripts/webkitpy/common/system/platforminfo.py:
57         (PlatformInfo._determine_win_version):
58
59 2015-12-23  Chris Aljoudi <chris@chrismatic.io> and Alex Christensen <achristensen@webkit.org>
60
61         Content blockers should be able to promote http to https
62         https://bugs.webkit.org/show_bug.cgi?id=148966
63
64         Reviewed by Benjamin Poulain.
65
66         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
67         (WebCore::ContentExtensions::operator<<):
68         (TestWebKitAPI::TEST_F):
69
70 2015-12-22  Hunseop Jeong  <hs85.jeong@samsung.com>
71
72         [EFL] MiniBrowser should be able to choose the offline-web-application-cache option
73         https://bugs.webkit.org/show_bug.cgi?id=152516
74
75         Reviewed by Gyuyoung Kim.
76
77         * MiniBrowser/efl/main.c:
78
79 2015-12-22  Brent Fulgham  <bfulgham@apple.com>
80
81         Unreviewed: Add John Wilander as a contributor.
82
83         * Scripts/webkitpy/common/config/contributors.json:
84
85 2015-12-22  Chris Fleizach  <cfleizach@apple.com>
86
87         [WK2] Looping in testcase: fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
88         https://bugs.webkit.org/show_bug.cgi?id=152482
89
90         Reviewed by Brent Fulgham.
91
92         vertical/horizontalScrollbar returns an accessibility element. That element can also be queried
93         for the same property. On WK2, the element returned will not be valid, but is still present and
94         that can lead to looping.
95
96         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
97         (AccessibilityUIElement::horizontalScrollbar):
98         (AccessibilityUIElement::verticalScrollbar):
99         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
100         (WTR::AccessibilityUIElement::horizontalScrollbar):
101         (WTR::AccessibilityUIElement::verticalScrollbar):
102
103 2015-12-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
104
105         Unreviewed.
106
107         * Scripts/webkitpy/common/config/contributors.json: Marking myself as reviewer.
108
109 2015-12-21  Hunseop Jeong  <hs85.jeong@samsung.com>
110
111         [EFL] test_ewk2_context failed after r192808
112         https://bugs.webkit.org/show_bug.cgi?id=151846
113
114         Reviewed by Gyuyoung Kim.
115
116         Used the added ewk_context_web_process_count_limit_set api
117         instead of the deprecated ewk_context_process_model_set.
118
119         * MiniBrowser/efl/main.c:
120         (elm_main):
121
122 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
123
124         Unreviewed, move myself to reviewer list.
125
126         * Scripts/webkitpy/common/config/contributors.json:
127
128 2015-12-21  Aakash Jain  <aakash_jain@apple.com>
129
130         Unreviewed, add myself to the committers list.
131
132         * Scripts/webkitpy/common/config/contributors.json:
133
134 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
135
136         [GTK] jquery.min.js violates DFSG
137         https://bugs.webkit.org/show_bug.cgi?id=152428
138
139         Reviewed by Joseph Pecoraro.
140
141         Stop distributing Source/WebInspectorUI/Tools. It is not needed in tarballs. This brings us
142         into compliance with DFSG by removing a bundled, minified copy of jQuery from our tarball.
143
144         * gtk/manifest.txt.in:
145
146 2015-12-19  Dan Bernstein  <mitz@apple.com>
147
148         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
149         https://bugs.webkit.org/show_bug.cgi?id=152462
150
151         Reviewed by Alexey Proskuryakov.
152
153         - Removed definitions of MACOSX_DEPLOYMENT_TARGET and WEBKIT_SYSTEM_INTERFACE_LIBRARY for
154           OS X 10.9:
155
156         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
157         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
158         * MiniBrowser/Configurations/DebugRelease.xcconfig:
159         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
160         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
161
162         - Simplified expressions involving __MAC_OS_X_VERSION_MIN_REQUIRED and removed code that was
163           never getting compiled:
164
165         * DumpRenderTree/mac/TextInputController.m:
166         * MiniBrowser/mac/BrowserWindowController.m:
167         * TestWebKitAPI/Tests/mac/AttributedString.mm:
168         * WebKitTestRunner/mac/EventSenderProxy.mm:
169
170 2015-12-18  Michael Catanzaro  <mcatanzaro@igalia.com>
171
172         Unreviewed, add WebKitGTK+ Bugzilla email to committers list
173
174         This is to make it easy to CC it on Bugzilla.
175
176         * Scripts/webkitpy/common/config/contributors.json:
177
178 2015-12-18  Aakash Jain  <aakash_jain@apple.com>
179
180         Pasteboard get messed up after running kill-old-processes
181         https://bugs.webkit.org/show_bug.cgi?id=152426
182
183         Reviewed by Alexey Proskuryakov.
184
185         * BuildSlaveSupport/kill-old-processes:
186         (main): Do not kill pasteboard anymore.
187
188 2015-12-17  Aakash Jain  <aakash_jain@apple.com>
189
190         run-webkit-tests shouldn't start multiple iOS simulators while only running one test
191         https://bugs.webkit.org/show_bug.cgi?id=152157
192         <rdar://problem/23851817>
193
194         Reviewed by Alexey Proskuryakov.
195
196         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
197         (LayoutTestRunner.get_worker_count): Calculate required number of workers.
198         * Scripts/webkitpy/layout_tests/controllers/manager.py:
199         (Manager._get_test_inputs): Common method to calculate test_inputs.
200         (Manager._update_worker_count): Calculate and update required number of workers.
201
202 2015-12-16  Aakash Jain  <aakash_jain@apple.com>
203
204         run-webkit-tests fails to delete Simulator device during cleanup
205         https://bugs.webkit.org/show_bug.cgi?id=152363
206
207         Reviewed by Alexey Proskuryakov.
208
209         * Scripts/webkitpy/xcode/simulator.py:
210         (Simulator.delete_device): Ensure that device is Shutdown before deleting it.
211
212 2015-12-16  Tim Horton  <timothy_horton@apple.com>
213
214         [mac-wk2] fast/events force click tests crashing
215         https://bugs.webkit.org/show_bug.cgi?id=152339
216
217         Reviewed by Beth Dakin.
218
219         * WebKitTestRunner/mac/EventSenderProxy.mm:
220         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
221         Set the NSEvent's _type member in addition to overriding -type,
222         because there are assertions in touch event handling code that depend on it.
223
224 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
225
226         Enforce temporarily bots to sync WebKit and WPT testharness.js
227         https://bugs.webkit.org/show_bug.cgi?id=152334
228
229         Reviewed by Darin Adler.
230
231         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
232         (WebPlatformTestServer._copy_webkit_test_files): Temporarily overwrite wpt testharness.js with WebKit testharness.js.
233
234 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
235
236         [Fetch API] Add fetch API compile time flag
237         https://bugs.webkit.org/show_bug.cgi?id=152254
238
239         Reviewed by Darin Adler.
240
241         * Scripts/webkitperl/FeatureList.pm:
242
243 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
244
245         Unreviewed.
246
247         Added files that have impact in building Streams API to the watchlist.
248
249         * Scripts/webkitpy/common/config/watchlist:
250
251 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
252
253         Unreviewed.
254
255         Added imported tests to Streams API watchlist.
256
257         * Scripts/webkitpy/common/config/watchlist:
258
259 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
260
261         Remove default copy of wpt testharness.js when launching wpt server
262         https://bugs.webkit.org/show_bug.cgi?id=152298
263
264         Reviewed by Darin Adler.
265
266         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
267         (WebPlatformTestServer._copy_webkit_test_files): Deleted default copy of WebKit testharness.js to WPT.
268
269 2015-12-15  David Kilzer  <ddkilzer@apple.com>
270
271         REGRESSION (r192375): DumpRenderTree.app exits immediately with no error
272         <http://webkit.org/b/152314>
273
274         Reviewed by Daniel Bates.
275
276         The change to DumpRenderTreeMain.mm in r192375 caused the iOS
277         code path to exit immediately when calling main().
278         Unfortunately, DumpRenderTreeMain.mm was used for both
279         DumpRenderTree command-line binary and DumpRenderTree.app, which
280         meant that the app would exit immediately with no error code
281         when run!
282
283         The workaround is to introduce a separate source file called
284         DumpRenderTreeAppMain.mm, similar to what WebKitTestRunner
285         already does.
286
287         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Add
288         DumpRenderTreeAppMain.mm to the project.  Make it the only
289         compiled source for the DumpRenderTree.app target.
290         * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: Copied from Tools/DumpRenderTree/mac/DumpRenderTreeMain.mm.
291         (main): Call DumpRenderTreeMain() on iOS.  Assert on OS X in
292         case someone tries mistakenly to use the app.
293         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
294         Link to JavaScriptCore.framework on iOS for the assert.
295         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
296         Link to JavaScriptCore.framework on OS X for the assert.  Remove
297         unneeded EXCLUDED_SOURCE_FILE_NAMES setting.
298         * DumpRenderTree/mac/DumpRenderTreeMain.mm:
299         (main): Add assert for iOS so that a crash occurs if someone
300         tries to run the wrong command.
301
302 2015-12-14  Tim Horton  <timothy_horton@apple.com>
303
304         Frequent crash under -[WKPDFView web_setMinimumSize:]_block_invoke
305         https://bugs.webkit.org/show_bug.cgi?id=152266
306         <rdar://problem/22092676>
307
308         Reviewed by Simon Fraser.
309
310         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
311         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm: Added.
312         Add a test that crashed before this change, and doesn't crash after.
313
314 2015-12-14  Chris Fleizach  <cfleizach@apple.com>
315
316         AX: iOS: Text field variations do not have the correct traits
317         https://bugs.webkit.org/show_bug.cgi?id=152237
318
319         Reviewed by Mario Sanchez Prada.
320
321         Add iOS calls for determing if an object is a search field or a text area.
322
323         * DumpRenderTree/AccessibilityUIElement.cpp:
324         (getIsSearchFieldCallback):
325         (getIsTextAreaCallback):
326         (stringForSelectionCallback):
327         (AccessibilityUIElement::getJSClass):
328         * DumpRenderTree/AccessibilityUIElement.h:
329         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
330         (AccessibilityUIElement::identifier):
331         (AccessibilityUIElement::isTextArea):
332         (AccessibilityUIElement::isSearchField):
333         (AccessibilityUIElement::traits):
334         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
335         (WTR::AccessibilityUIElement::scrollPageRight):
336         (WTR::AccessibilityUIElement::hasContainedByFieldsetTrait):
337         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
338         (WTR::AccessibilityUIElement::isSearchField):
339         (WTR::AccessibilityUIElement::isTextArea):
340         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
341         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
342         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
343         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
344         (WTR::AccessibilityUIElement::isTextArea):
345         (WTR::AccessibilityUIElement::isSearchField):
346         (WTR::AccessibilityUIElement::rowCount):
347
348 2015-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
349
350         [GTK] [JHBuild] package libtool-bin is now required on Debian systems.
351         https://bugs.webkit.org/show_bug.cgi?id=152252
352
353         Reviewed by Sergio Villar Senin.
354
355         * gtk/install-dependencies: Add libtool-bin to the list of packages required
356         for building the JHBuild on Debian systems.
357
358 2015-12-11  Joseph Pecoraro  <pecoraro@apple.com>
359
360         check-for-inappropriate-objc-class-names should check all class names, not just externally visible ones
361         https://bugs.webkit.org/show_bug.cgi?id=152156
362
363         Reviewed by Dan Bernstein.
364
365         Our frameworks should appropriately prefix all ObjC classes,
366         not just external symbols.
367
368         * Scripts/check-for-inappropriate-objc-class-names:
369         Remove the -g switch to check all ObjC class names.
370
371 2015-12-10  Eric Carlson  <eric.carlson@apple.com>
372
373         [MediaStream] Expose media capture devices persistent permissions to WebCore
374         https://bugs.webkit.org/show_bug.cgi?id=152087
375
376         Add support for the new user media permission checker page UI client method.
377
378         Reviewed by Chris Dumez.
379
380         * WebKitTestRunner/TestController.cpp:
381         (WTR::decidePolicyForUserMediaPermissionRequest):
382         (WTR::checkUserMediaPermissionForOrigin):
383         (WTR::TestController::createOtherPage): Add checkUserMediaPermissionForOrigin.
384         (WTR::TestController::createWebViewWithOptions): Ditto.
385         (WTR::TestController::resetStateToConsistentValues): Clear m_userMediaOriginPermissions.
386         (WTR::originUserVisibleName): New, create a string for the origin.
387         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Set the WKUserMediaPermissionCheckRef
388           according to the state of the origin permission map.
389         (WTR::TestController::handleUserMediaPermissionRequest): Remember both the origin and the
390           request so we can update the origin permission map in decidePolicyForUserMediaPermissionRequestIfPossible.
391         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Update the
392           origin permission map.
393         * WebKitTestRunner/TestController.h:
394
395 2015-12-10  Alex Christensen  <achristensen@webkit.org>
396
397         REGRESSION (r192796) WKBundlePageResourceLoadClient should be able to setHTTPBody in willSendRequestForFrame
398         https://bugs.webkit.org/show_bug.cgi?id=152022
399         rdar://problem/23763584
400
401         Reviewed by Darin Adler.
402
403         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
404         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
405         (WTR::InjectedBundlePage::willSendRequestForFrame):
406         * WebKitTestRunner/InjectedBundle/TestRunner.h:
407         (WTR::TestRunner::setWillSendRequestReturnsNull):
408         (WTR::TestRunner::willSendRequestReturnsNullOnRedirect):
409         (WTR::TestRunner::setWillSendRequestReturnsNullOnRedirect):
410         (WTR::TestRunner::setWillSendRequestAddsHTTPBody):
411         (WTR::TestRunner::willSendRequestHTTPBody):
412         Added setWillSendRequestAddsHTTPBody that uses new SPI for testing.
413
414 2015-12-10  Aakash Jain  <aakash_jain@apple.com>
415
416         Remove additional simulator checks before running layout-tests
417         https://bugs.webkit.org/show_bug.cgi?id=152146
418
419         Reviewed by Darin Adler.
420
421         * Scripts/webkitpy/port/ios.py:
422         (IOSSimulatorPort.check_sys_deps): Removed additional simulators verifications.
423         * Scripts/webkitpy/xcode/simulator.py:
424         (Simulator._boot_and_shutdown_simulator_device): Deleted.
425         (Simulator.check_simulator_device_and_erase_if_needed): Deleted.
426
427 2015-12-09  Aakash Jain  <aakash_jain@apple.com>
428
429         Run atleast one simulator even if max process limit is low
430         https://bugs.webkit.org/show_bug.cgi?id=152081
431         <rdar://problem/23819694>
432
433         Reviewed by Alexey Proskuryakov.
434
435 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
436
437         [GTK] Crash in WebProcess when loading large content with custom URI schemes
438         https://bugs.webkit.org/show_bug.cgi?id=144262
439
440         Reviewed by Carlos Garcia Campos.
441
442         Added new unit test to check the additional scenarios we now
443         handle for custom URI schemes.
444
445         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
446         (generateHTMLContent): New helper function to generate big enough content.
447         (testWebContextURIScheme): New unit test.
448
449 2015-12-09  Ryuan Choi  <ryuan.choi@navercorp.com>
450
451         [EFL] Fix unhandled web process message when launching MiniBrowser
452         https://bugs.webkit.org/show_bug.cgi?id=152048
453
454         Reviewed by Gyuyoung Kim.
455
456         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
457         (TestWebKitAPI::TEST):
458
459 2015-12-09  Carlos Garcia Campos  <cgarcia@igalia.com>
460
461         [GTK] Add API to handle beforeunload events
462         https://bugs.webkit.org/show_bug.cgi?id=139090
463
464         Reviewed by Gustavo Noronha Silva.
465
466         * MiniBrowser/gtk/BrowserWindow.c:
467         (browserWindowConstructed):
468         (browserWindowDeleteEvent):
469         (browser_window_class_init):
470         Handle delete-event to prevent the window from being closed when
471         the page has beforeunload handlers. Use
472         webkit_web_view_try_close() when the window is requested to be
473         closed.
474         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
475         (testWebViewJavaScriptDialogs):
476         Add a test case for the WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM
477         script dialog type.
478
479 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
480
481         Refactored initialization code in LoadTrackingTest.
482
483         Rubber-stamped by Carlos Garcia Campos.
484
485         Small refactoring to make sure that the state of a LoadTrackingTest
486         gets properly reset before loading new web content.
487
488         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
489         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
490         (LoadTrackingTest::reset): New, refactored code from *load*() and go*()
491         functions and reset the remaining local variables.
492         (LoadTrackingTest::loadURI): Call reset();
493         (LoadTrackingTest::loadHtml): Ditto.
494         (LoadTrackingTest::loadPlainText): Ditto.
495         (LoadTrackingTest::loadBytes): Ditto.
496         (LoadTrackingTest::loadRequest): Ditto.
497         (LoadTrackingTest::reload): Ditto.
498         (LoadTrackingTest::goBack): Ditto.
499         (LoadTrackingTest::goForward): Ditto.
500
501 2015-12-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
502
503         [EFL] REGRESSION(r193616): WKPreferences test has been failed since r193616
504         https://bugs.webkit.org/show_bug.cgi?id=151942
505
506         Reviewed by Darin Adler.
507
508         * MiniBrowser/efl/main.c:
509         (window_create): Enable offline web application cache feature on MiniBrowser.
510         (elm_main):
511
512 2015-12-08  Aakash Jain  <aakash_jain@apple.com>
513
514         https://bugs.webkit.org/show_bug.cgi?id=151243
515         <rdar://problem/22955197>
516
517         Reviewed by Alexey Proskuryakov.
518
519         * LayoutTestRelay/LayoutTestRelay/main.m:
520         (getTestingSimDevice): Use separate testing device for each worker.
521         * Scripts/webkitpy/layout_tests/controllers/manager.py:
522         (Manager.run): Perform cleanup even if setup fails.
523         * Scripts/webkitpy/port/ios.py:
524         (IOSSimulatorPort.default_child_processes): Calculate number of simulators to use.
525         (IOSSimulatorPort.child_processes): Gets the number of simulators from options variable.
526         (IOSSimulatorPort.setup_test_run): Handle mulitple simulators.
527         (IOSSimulatorPort._quit_ios_simulator): Same
528         (IOSSimulatorPort.clean_up_test_run): Same
529         (IOSSimulatorPort.check_sys_deps): Same
530         (IOSSimulatorPort.testing_device): Same
531         (IOSSimulatorPort.reset_preferences): Same
532         (IOSSimulatorPort.get_simulator_path): Return simulator path.
533         (IOSSimulatorPort._createSimulatorApp): Create the copy of simulator app.
534         * Scripts/webkitpy/xcode/simulator.py:
535         (Device.delete): Delete the simulator device.
536         (Simulator.delete_device): Same
537         (Simulator.wait_until_device_is_booted): Wait for device booting.
538
539 2015-12-08  Ryuan Choi  <ryuan.choi@navercorp.com>
540
541         [EFL] Add API to provide preferences before creating ewk_view
542         https://bugs.webkit.org/show_bug.cgi?id=151587
543
544         Reviewed by Gyuyoung Kim.
545
546         * MiniBrowser/efl/main.c:
547         (on_key_down):
548         (quit):
549         (window_create):
550         Moved settings related code to configuration() not to update settings
551         whenever ewk_view is created.
552         (configuration):
553         (elm_main):
554
555 2015-12-08  Carlos Garcia Campos  <cgarcia@igalia.com>
556
557         Unreviewed. Fix GTK+ API tests after r193639.
558
559         The new jhbuild version needs some more variables ot be present in
560         the builtin dict, even if they are set to None.
561
562         * jhbuild/jhbuildutils.py:
563         (enter_jhbuild_environment_if_available):
564
565 2015-12-07  Gustavo Noronha Silva  <gns@gnome.org>
566
567         [GTK] Notify WebCore when notification is clicked
568         https://bugs.webkit.org/show_bug.cgi?id=151951
569
570         Reviewed by Carlos Garcia Campos.
571
572         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
573         (testWebViewNotification): test the new API.
574
575 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
576
577         'jhbuild build' should fail immediately when building any module fails
578         https://bugs.webkit.org/show_bug.cgi?id=145697
579
580         Reviewed by Carlos Garcia Campos.
581
582         * efl/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
583         * gtk/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
584         Everything is placed under lib instead of lib64 now.
585         * jhbuild/jhbuild-wrapper: Update jhbuild to the latest upstream commit, and pass
586         --exit-on-error when running 'jhbuild build'.
587         * jhbuild/jhbuildrc_common.py:
588         (init): Don't override PKG_CONFIG_PATH, CMAKE_PREFIX_PATH, or CMAKE_LIBRARY_PATH. Modern
589         jhbuild should be able to handle these for us without breaking things....
590
591 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
592
593         Add support to import w3c tests from a repository with a different root that the main repo dir
594         https://bugs.webkit.org/show_bug.cgi?id=151751
595
596         Reviewed by Ryosuke Niwa and Youenn Fablet.
597
598         We should be able to import tests from repositories that are not pure test repositories and where tests are kept
599         in a different directory than the repository root.
600
601         This patch introduces a new parameter tests_directory that we will use as root directory to search for
602         tests. All paths will be flattened when copying tests to have a less complicated directory structure. This
603         requires having the copy_path lists including tuples of origin and destination directories.
604
605         * Scripts/webkitpy/w3c/test_downloader.py:
606         (TestDownloader._add_test_suite_paths): Adds the paths as a tuple of origin and destination directory.
607         (TestDownloader.copy_tests): Uses the origin and destination tuple for the paths to copy when copying files.
608         * Scripts/webkitpy/w3c/test_importer_unittest.py:
609         (TestImporterTest.test_tests_directory): Test.
610
611 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
612
613         Mock TestRepositories in W3C importer tests
614         https://bugs.webkit.org/show_bug.cgi?id=151938
615
616         Reviewed by Youenn Fablet.
617
618         The test importer tests should use a fake repository instead of using the real one. The reason why this happened
619         is because the test repository method reading the file was using the filesystem directly instead of taking the
620         host one. This patch changes that.
621
622         * Scripts/webkitpy/w3c/test_downloader.py:
623         (TestDownloader.load_test_repositories): Take a filesystem and use it. If we get no filesystem, we use the
624         default one.
625         (TestDownloader.__init__): When loading the repositories, pass the host filesystem.
626         * Scripts/webkitpy/w3c/test_importer_unittest.py:
627         (TestImporterTest.test_harnesslinks_conversion):
628         (TestImporterTest.test_submodules_generation): Use a fake test repository file.
629
630 2015-12-07  David Kilzer  <ddkilzer@apple.com>
631
632         TestNetscapePlugIn: Address review comment on 193607
633         <http://webkit.org/b/151881>
634
635         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
636         (testSetStatus): Initializing std::unique_ptr<char[]> with
637         nullptr is redundant.
638
639 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
640
641         [GTK] Add webkit_uri_request_get_http_method
642         https://bugs.webkit.org/show_bug.cgi?id=151601
643
644         Reviewed by Martin Robinson.
645
646         Add test case to check HTTP method of WebKitURIRequest.
647
648         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
649         (testURIRequestHTTPMethod):
650         (serverCallback):
651         (beforeAll):
652         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
653         (sendRequestCallback):
654
655 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
656
657         [GTK] Add WebKitWebPage::console-message-sent signal to Web Extensions API
658         https://bugs.webkit.org/show_bug.cgi?id=79918
659
660         Reviewed by Gustavo Noronha Silva.
661
662         Add unit tests to check the different console messages.
663
664         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
665         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp: Added.
666         (ConsoleMessageTest::ConsoleMessage::operator==):
667         (ConsoleMessageTest::consoleMessageReceivedCallback):
668         (ConsoleMessageTest::ConsoleMessageTest):
669         (ConsoleMessageTest::~ConsoleMessageTest):
670         (ConsoleMessageTest::waitUntilConsoleMessageReceived):
671         (testWebKitConsoleMessageConsoleAPI):
672         (testWebKitConsoleMessageJavaScriptException):
673         (testWebKitConsoleMessageNetworkError):
674         (testWebKitConsoleMessageSecurityError):
675         (beforeAll):
676         (afterAll):
677         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
678         (consoleMessageSentCallback):
679         (pageCreatedCallback):
680
681 2015-12-07  Ryuan Choi  <ryuan.choi@navercorp.com>
682
683         [EFL] MiniBrowser doesn't exit when called ewk_view_try_close()
684         https://bugs.webkit.org/show_bug.cgi?id=151934
685
686         Reviewed by Csaba Osztrogonác.
687
688         * MiniBrowser/efl/main.c:
689         (on_window_deletion): Revert the changes of r192767.
690
691 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
692
693         [GTK] update-webkitgtk-libs cannot build mesa
694         https://bugs.webkit.org/show_bug.cgi?id=151535
695
696         Reviewed by Martin Robinson.
697
698         Upgrade to newer mesa in order to build successfully against LLVM 3.7. Add missing
699         dependency of mesa on LLVM, to ensure LLVM is built first. Build LLVM unconditionally, even
700         on architectures where FTL is not supported, to ensure mesa is always buildable, since LLVM
701         does not have a stable API and we cannot expect mesa to be buildable unless we control the
702         LLVM version. Build mesa with --disable-egl since --enable-egl conflicts with
703         --enable-xlib-glx. This fixes update-webkitgtk-libs on distros with LLVM 3.7.
704
705         * gtk/jhbuild.modules:
706
707 2015-12-07  Philippe Normand  <pnormand@igalia.com>
708
709         [GTK][Mac] libWebExtensionTest link error
710         https://bugs.webkit.org/show_bug.cgi?id=150802
711
712         Reviewed by Carlos Garcia Campos.
713
714         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: add dependencies to the webextension library.
715
716 2015-12-06  David Kilzer  <ddkilzer@apple.com>
717
718         TestNetscapePlugIn: Fix leaks found by static analyzer
719         <http://webkit.org/b/151881>
720
721         Reviewed by Darin Adler.
722
723         Fixes the following leaks found by the static analyzer:
724             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'path'
725                     return false;
726                            ^~~~~
727             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'target'
728                     return false;
729                            ^~~~~
730             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'url'
731                     return false;
732                            ^~~~~
733
734         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
735         (toCString): Switch to returning std::unique_ptr<char[]>.  Add
736         early return if allocation fails.
737         (testPostURLFile): Switch to using std::unique_ptr<char[]>.
738         Make sure to call fclose() on filehandle, even for an early
739         return.
740         (testSetStatus): Switch to using std::unique_ptr<char[]>.
741
742 2015-12-05  David Kilzer  <ddkilzer@apple.com>
743
744         prepare-ChangeLog: Fix some warning messages when using svn
745         <http://webkit.org/b/151914>
746
747         Reviewed by Daniel Bates.
748
749         * Scripts/prepare-ChangeLog:
750         (generateFunctionLists): Simplify logic so that we never call
751         normalizePath() with an undefined value.
752         (attributeCommand): Quote $subPath for the shell so that we
753         don't try to run "svn propget" on invalid paths.
754
755 2015-12-04  David Kilzer  <ddkilzer@apple.com>
756
757         TestNetscapePlugIn: Fix remaining static analyzer warnings
758         <http://webkit.org/b/151888>
759
760         Reviewed by Alexey Proskuryakov.
761
762         Fixes the following static analyzer warnings:
763             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:101:9: warning: Called function pointer is null (null dereference)
764                     CRASH();
765                     ^~~~~~~
766             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:46:5: note: expanded from macro 'CRASH'
767                 ((void(*)())0)(); /* More reliable, but doesn't say BBADBEEF */ \
768                 ^~~~~~~~~~~~~~~~
769             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:375:12: warning: Access to field 'pluginTest' results in a dereference of a null pointer (loaded from variable 'obj')
770                 return obj->pluginTest->NPP_SetWindow(window);
771                        ^~~~~~~~~~~~~~~
772             2 warnings generated.
773
774         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
775         (CRASH): Use __builtin_trap() for gcc/clang.
776         (NPP_SetWindow): Add early return if obj is nullptr.
777
778 2015-12-03  Carlos Garcia Campos  <cgarcia@igalia.com>
779
780         [GTK] Test /webkit2/WebKitWebResource/get-data is flaky
781         https://bugs.webkit.org/show_bug.cgi?id=151797
782
783         Reviewed by Martin Robinson.
784
785         Since we switched to use the network process to run the unit tests
786         the test /webkit2/WebKitWebResource/get-data sometimes fails and
787         sometimes passes. We are now also getting the notification for the
788         css image. Since we wait for 3 resources, sometimes the css image
789         is loaded before and then checkResourceData is called for it, but
790         not handled. When the css image is the last one loaded the test
791         passes. So, we just need to wait for the 4 resources.
792
793         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
794         (testWebResourceGetData):
795
796 2015-12-03  David Kilzer  <ddkilzer@apple.com>
797
798         DumpRenderTree: Use-after-free in createBitmapContext() in PixelDumpSupportMac.mm
799         <http://webkit.org/b/151845>
800
801         Reviewed by Simon Fraser.
802
803         Fixes the following static analyzer warning:
804             DumpRenderTree/mac/PixelDumpSupportMac.mm:67:9: warning: Use of memory after it is freed
805                     WTFLogAlways("DumpRenderTree: CGBitmapContextCreate(%p, %llu, %llu, 8, %llu, %p, 0x%x) failed\n", buffer, pixelsHigh, pixelsWide, rowBytes, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
806                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
807
808         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
809         (createBitmapContext): Free 'buffer' after using it in logging
810         to fix the use-after-free.  Assign a value of nullptr to buffer
811         so we don't return with it set to a freed address.
812
813 2015-12-03  Jer Noble  <jer.noble@apple.com>
814
815         Expose WebCore's InvisibleAutoplayNotPermitted setting to WebKit & WebKit2
816         https://bugs.webkit.org/show_bug.cgi?id=151830
817
818         Reviewed by Anders Carlsson.
819
820         Set invisibleAutoplayNotPermitted to NO by default both in WKTR and DRT.
821
822         * DumpRenderTree/mac/DumpRenderTree.mm:
823         (resetWebPreferencesToConsistentValues):
824         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
825         (WTR::initializeWebViewConfiguration):
826
827 2015-12-03  Anders Carlsson  <andersca@apple.com>
828
829         Remove Objective-C GC support
830         https://bugs.webkit.org/show_bug.cgi?id=151819
831         rdar://problem/23746991
832
833         Reviewed by Dan Bernstein.
834
835         * asan/asan.xcconfig:
836
837 2015-12-02  Yusuke Suzuki  <utatane.tea@gmail.com>
838
839         Allow nil for unspecified benchmark pathes
840         https://bugs.webkit.org/show_bug.cgi?id=151784
841
842         Reviewed by Filip Pizlo.
843
844         `Pathname.new(nil)` will raise an error.
845         Only generate Pathname if the benchmark path is specified.
846
847         * Scripts/run-jsc-benchmarks:
848
849 2015-12-02  Brent Fulgham  <bfulgham@apple.com>
850
851         [Win] Run non-http tests without Cygwin
852         https://bugs.webkit.org/show_bug.cgi?id=151721
853
854         Reviewed by Andy Estes.
855
856         Support native 32-bit and 64-bit Python (and Perl) builds
857         for running tests:
858
859         1. Use "startswith('win')", rather than "== 'win32'" to support
860         various Windows build types.
861         2. Supply full path for some native Windows utilities, since the
862         path environment does not always have the specified, and they are
863         guaranteed to exist in those specific locations.
864         3. Make sure native Windows Python test runs pass proper environment
865         variables to run programs.
866         4. Append 'exe' suffix when running Windows executables.
867         5. Use the _winreg Python module on Windows, since the Cygwin 'regtool'
868         command doesn't exist.
869         
870         * Scripts/update-webkit: Use Perl $^X command to refer to the path of
871         the current Perl executable, rather than requiring a new path search.
872         * Scripts/webkitpy/common/find_files_unittest.py:
873         (TestWinNormalize.test_win): Use startswith('win').
874         * Scripts/webkitpy/common/prettypatch_unittest.py:
875         (test_pretty_diff_encodings): Ditto.
876         * Scripts/webkitpy/common/system/executive.py:
877         (Executive._should_close_fds): Ditto.
878         (Executive.shell_command_for_script): Use startswith('win').
879         (Executive.kill_process): Use full path to killall executable.
880         (Executive.check_running_pid): Use startswith('win').
881         (Executive.running_pids): Ditto.
882         (Executive.kill_all): Ditto. Also use path to 'killall' executable when
883         running under native Windows Python.
884         (Executive._child_process_encoding): Use startswith('win').
885         (Executive._should_encode_child_process_arguments): Ditto.
886         (Executive.popen): Recognize proper script engine on Windows, since it
887         does not support the shebang syntax.
888         (Executive.run_in_parallel): Use startswith('win').
889         * Scripts/webkitpy/common/system/executive_unittest.py:
890         (never_ending_command): Ditto.
891         (ExecutiveTest.test_run_command_with_unicode): Ditto.
892         (ExecutiveTest.serial_test_kill_process): Ditto.
893         (ExecutiveTest.serial_test_kill_all): Ditto.
894         (ExecutiveTest.serial_test_check_running_pid): Ditto.
895         (ExecutiveTest.serial_test_run_in_parallel): Ditto.
896         (main): Ditto.
897         * Scripts/webkitpy/common/system/file_lock.py:
898         (FileLock._create_lock): Ditto.
899         (FileLock._remove_lock): Ditto.
900         * Scripts/webkitpy/common/system/filesystem_unittest.py:
901         (RealFileSystemTest.test_chdir): Ditto.
902         (RealFileSystemTest.test_chdir__notexists): Ditto.
903         (RealFileSystemTest.test_maybe_make_directory__failure): Ditto.
904         * Scripts/webkitpy/common/system/path_unittest.py:
905         (AbspathTest.test_abspath_to_uri_win): Ditto.
906         * Scripts/webkitpy/common/system/platforminfo.py:
907         (PlatformInfo._determine_os_name): Ditto.
908         * Scripts/webkitpy/common/system/user.py: Ditto.
909         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
910         (ManagerTest.integration_test_needs_servers): Ditto.
911         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
912         (LayoutTestApacheHttpd.__init__): Handle upper and lower-case
913         driver letters.
914         (LayoutTestApacheHttpd._get_apache_config_file_path): Ditto.
915         * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
916         (TestLayoutTestApacheHttpd.test_start_cmd): Ditto.
917         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
918         (HttpServerBase._check_that_all_ports_are_available): Ditto.
919         * Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
920         (TestHttpServer.test_start_cmd): Ditto.
921         * Scripts/webkitpy/port/base.py:
922         (Port.to.setup_environ_for_server): Include 'COMSPEC', 'SYSTEMDRIVE',
923         and 'SYSTEMROOT' in environment passed to test runners.
924         (Port._apache_config_file_name_for_platform): Use startswith('win').
925         (Port._build_path): Ditto.
926         (Port._path_to_driver): Include 'exe' suffix when running under native
927         Windows.
928         * Scripts/webkitpy/port/driver.py:
929         (Driver._setup_environ_for_driver): Explicitly make some environment
930         variables strings.
931         * Scripts/webkitpy/port/server_process.py:
932         (ServerProcess.__init__): Use startswith('win').
933         * Scripts/webkitpy/port/win.py:
934         (WinPort): Use the win32 registry utilities on Windows, and appropriate
935         registry key formats.
936         (WinPort._ntsd_location): Revise tool search paths for Windows 10.
937         (WinPort.read_registry_value): Revise to use _winreg library on Windows,
938         and regtool on Cygwin.
939         (WinPort.write_registry_value): Ditto.
940         (WinPort.setup_crash_log_saving): Ditto.
941         (WinPort.restore_crash_log_saving): Ditto.
942         (WinPort.prevent_error_dialogs): Ditto.
943         (WinPort.allow_error_dialogs): Ditto.
944         (WinPort.find_system_pid): Revise to use Windows management
945         infrastructure on native Windows, continue using 'ps' on Cygwin.
946         (WinPort.read_registry_string): Deleted.
947         (WinPort.write_registry_string): Deleted.
948         * Scripts/webkitpy/test/main.py:
949         (main): Use startswith('win').
950         (Tester._parse_args): Ditto.
951
952 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
953
954         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
955         https://bugs.webkit.org/show_bug.cgi?id=150792
956
957         Reviewed by Saam Barati.
958
959         * Scripts/webkitperl/FeatureList.pm:
960
961 2015-12-01  Commit Queue  <commit-queue@webkit.org>
962
963         Unreviewed, rolling out r192914.
964         https://bugs.webkit.org/show_bug.cgi?id=151734
965
966         JSC tests for this change are failing on 32 and 64-bit bots
967         (Requested by ryanhaddad on #webkit).
968
969         Reverted changeset:
970
971         "[ES6] Implement LLInt/Baseline Support for ES6 Generators and
972         enable this feature"
973         https://bugs.webkit.org/show_bug.cgi?id=150792
974         http://trac.webkit.org/changeset/192914
975
976 2015-12-01  David Kilzer  <ddkilzer@apple.com>
977
978         EventSenderProxy::swipeGestureWithWheelAndMomentumPhases() leaks an EventSenderSyntheticEvent
979         <http://webkit.org/b/151726>
980
981         Reviewed by Simon Fraser.
982
983         * WebKitTestRunner/mac/EventSenderProxy.mm:
984         (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
985         Deploy RetainPtr<EventSenderSyntheticEvent> to fix leak.
986
987 2015-12-01  Myles C. Maxfield  <mmaxfield@apple.com>
988
989         Give String and AtomicString an existingHash() function
990         https://bugs.webkit.org/show_bug.cgi?id=151717
991
992         Reviewed by Andreas Kling.
993
994         * TestWebKitAPI/Tests/WTF/AtomicString.cpp:
995         (TestWebKitAPI::TEST):
996         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
997         (TestWebKitAPI::TEST):
998
999 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1000
1001         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
1002         https://bugs.webkit.org/show_bug.cgi?id=150792
1003
1004         Reviewed by Saam Barati.
1005
1006         * Scripts/webkitperl/FeatureList.pm:
1007
1008 2015-12-01  Sam Weinig  <sam@webkit.org>
1009
1010         Need completionHandler-based WebKit C SPI for alert, confirm, and prompt
1011         <rdar://problem/23320863>
1012         https://bugs.webkit.org/show_bug.cgi?id=151708
1013
1014         Reviewed by Anders Carlsson.
1015
1016         * WebKitTestRunner/TestController.cpp:
1017         (WTR::TestController::createOtherPage):
1018         (WTR::TestController::createWebViewWithOptions):
1019         Update for new WKPageUIClient.
1020
1021 2015-12-01  Anders Carlsson  <andersca@apple.com>
1022
1023         Remove WebKit2.framework
1024         https://bugs.webkit.org/show_bug.cgi?id=151715
1025
1026         Reviewed by Dan Bernstein.
1027
1028         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp:
1029         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp:
1030         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
1031         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
1032         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
1033         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
1034         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
1035
1036 2015-12-01  Joseph Pecoraro  <pecoraro@apple.com>
1037
1038         Unreviewed common typo fix "occurance" => "occurrence".
1039
1040         * Scripts/webkitpy/tool/commands/queries.py:
1041         (FindFlakyTests._print_statistics):
1042
1043 2015-11-30  Alex Christensen  <achristensen@webkit.org>
1044
1045         Make ProcessModel always MultipleSecondaryProcesses
1046         https://bugs.webkit.org/show_bug.cgi?id=151662
1047
1048         Reviewed by Antti Koivisto.
1049
1050         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1051         (TestWebKitAPI::TEST):
1052         * WebKitTestRunner/TestController.cpp:
1053         (WTR::TestController::generatePageConfiguration):
1054
1055 2015-11-30  Alex Christensen  <achristensen@webkit.org>
1056
1057         Make usesNetworkProcess always true
1058         https://bugs.webkit.org/show_bug.cgi?id=151580
1059
1060         Reviewed by Darin Adler.
1061
1062         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1063         (TestWebKitAPI::TEST):
1064         * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp:
1065         (TestWebKitAPI::TEST):
1066         * WebKitTestRunner/TestController.cpp:
1067         (WTR::TestController::generatePageConfiguration):
1068
1069 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1070
1071         Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/editable/editable in Debug.
1072
1073         Add a way to skip unit tests only for Debug or Release builds and
1074         skipt the test /webkit2/WebKitWebView/editable/editable only for Debug.
1075
1076         * Scripts/run-gtk-tests:
1077         (SkippedTest):
1078         (SkippedTest.__init__):
1079         (SkippedTest.__str__):
1080         (SkippedTest.skip_entire_suite):
1081         (SkippedTest.skip_for_build_type):
1082         (TestRunner):
1083         (TestRunner.__init__):
1084
1085 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1086
1087         Unreviewed. Fix a crash in GTK+ test /webkit2/WebKitWebView/custom-charset.
1088
1089         It's an assert hit because we are reloading a view loaded with
1090         HTML data which is not supported. Use loadURI instead.
1091
1092         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1093         (testWebViewCustomCharset):
1094
1095 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1096
1097         [GLIB] Remove GMainLoopSource and GThreadSafeMainLoopSource
1098         https://bugs.webkit.org/show_bug.cgi?id=151633
1099
1100         Reviewed by Csaba Osztrogonác.
1101
1102         * TestWebKitAPI/PlatformGTK.cmake:
1103         * TestWebKitAPI/Tests/WTF/glib/GMainLoopSource.cpp: Removed.
1104
1105 2015-11-27  Carlos Garcia Campos  <cgarcia@igalia.com>
1106
1107         [GTK] Remove the remaining uses of GMainLoopSource
1108         https://bugs.webkit.org/show_bug.cgi?id=151632
1109
1110         Reviewed by Žan Doberšek.
1111
1112         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
1113         (testWebViewSyncRequestOnMaxConns):
1114         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1115         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1116         (WTR::TestRunner::TestRunner):
1117         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1118         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
1119         (WTR::TestRunner::invalidateWaitToDumpWatchdogTimer):
1120         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
1121         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
1122         (WTR::timeoutSource):
1123         (WTR::TestController::notifyDone):
1124         (WTR::TestController::platformRunUntil):
1125
1126 2015-11-27  Csaba Osztrogonác  <ossy@webkit.org>
1127
1128         [cmake] Add testb3 to the build system
1129         https://bugs.webkit.org/show_bug.cgi?id=151619
1130
1131         Reviewed by Gyuyoung Kim.
1132
1133         * Scripts/build-jsc:
1134
1135 2015-11-27  Csaba Osztrogonác  <ossy@webkit.org>
1136
1137         [jhbuild] Fix pixman build with clang
1138         https://bugs.webkit.org/show_bug.cgi?id=151441
1139
1140         Reviewed by Carlos Garcia Campos.
1141
1142         * efl/jhbuild.modules:
1143         * gtk/jhbuild.modules:
1144
1145 2015-11-26  David Kilzer  <ddkilzer@apple.com>
1146
1147         Extract prependToEnvironmentVariableList
1148         <http://webkit.org/b/151536>
1149
1150         Reviewed by Daniel Bates.
1151
1152         Tests: webkitdirs_unittest/appendToEnvironmentVariableList.pl
1153                webkitdirs_unittest/prependToEnvironmentVariableList.pl
1154
1155         * Scripts/webkitdirs.pm: Export appendToEnvironmentVariableList
1156         and prependToEnvironmentVariableList.
1157         (appendToEnvironmentVariableList): Simplify variable name.
1158         Switch to use $Config{path_sep}.
1159         (prependToEnvironmentVariableList): Add new method.
1160         (setupMacWebKitEnvironment): Switch to use
1161         prependToEnvironmentVariableList().
1162         (setupIOSWebKitEnvironment): Ditto.
1163
1164         * Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl: Added.
1165         * Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl: Added.
1166
1167 2015-11-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1168
1169         REGRESSION(r192053): MiniBrowser doesn't exit when clicking on the close-window button
1170         https://bugs.webkit.org/show_bug.cgi?id=151567
1171
1172         Reviewed by Darin Adler.
1173
1174         * MiniBrowser/efl/main.c: Call window_close() instead of ewk_view_try_close().
1175         (on_window_deletion):
1176
1177 2015-11-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1178
1179         [GTK] Use the network process unconditionally
1180         https://bugs.webkit.org/show_bug.cgi?id=151541
1181
1182         Reviewed by Alex Christensen.
1183
1184         Fix TestInspectorServer test. Do not assume we already have the
1185         title we want when the page has been loaded, since the title is
1186         changed afterwards. So, check if the title has already been set,
1187         and if not wait for it.
1188
1189         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
1190         (openRemoteDebuggingSession):
1191
1192 2015-11-23  Alex Christensen  <achristensen@webkit.org>
1193
1194         Fix crash in ~WebProcessPool when using Geolocation with useNetworkProcess=true
1195         https://bugs.webkit.org/show_bug.cgi?id=151532
1196
1197         Reviewed by Benjamin Poulain.
1198
1199         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1200         (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::eventsChanged):
1201         (TestWebKitAPI::TEST):
1202         (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::eventsChanged):
1203         (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::GeolocationTransitionToHighAccuracyStateTracker): Deleted.
1204         (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::GeolocationTransitionToLowAccuracyStateTracker): Deleted.
1205         Properly load about:blank in all WebViews to clean up.  Without this change, we had a 
1206         Geolocation provider stopping after its state tracker was destroyed with its stack frame,
1207         so it was calling a function on a test object that had gone out of scope.
1208         Also, call WKContextSetUsesNetworkProcess(context, true) to show what crash this fixed,
1209         but that will become the default soon and that call will be removed.
1210
1211 2015-11-22  David Kilzer  <ddkilzer@apple.com>
1212
1213         run-webkit-tests: http server for imported W3C tests doesn't work with --layout-tests-directory switch
1214         <http://webkit.org/b/151542>
1215
1216         Reviewed by Daniel Bates.
1217
1218         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1219         (base_url): Use the Port object (already passed in) to give us
1220         the path to the LayoutTests directory, which already checks for a
1221         --layout-tests-directory command-line switch.
1222         (WebPlatformTestServer.__init__): Remove layout_test_results_dir
1223         argument since we can get this from the Port object already
1224         passed in via Port.results_directory().  Also switch to use
1225         Port.layout_tests_dir() to get the LayoutTests directory.
1226
1227         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
1228         (TestWebPlatformTestServer.test_custom_layout_tests_directory):
1229         Add test case for custom LayoutTests directory.
1230         (TestWebPlatformTestServer.test_previously_spawned_instance):
1231         Update Port object to set mock results directory as if it was
1232         set on the command-line.  Remove unneeded argument from
1233         WebPlatformTestServer constructor.
1234         (TestWebPlatformTestServer.test_corrupted_subserver_files): Ditto.
1235
1236         * Scripts/webkitpy/port/base.py:
1237         (Port.to.start_web_platform_test_server): Remove unneeded
1238         argument from WebPlatformTestServer constuctor.
1239
1240 2015-11-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1241
1242         [GTK] Some unit tests fail when using the network process
1243         https://bugs.webkit.org/show_bug.cgi?id=151490
1244
1245         Reviewed by Martin Robinson.
1246
1247         Run the soup server in a separate thread in TestResources test to
1248         avoid deadlocks.
1249
1250         This fixes /webkit2/WebKitWebView/sync-request-on-max-conns and
1251         /webkit2/WebKitWebResource/get-data when using the network process.
1252
1253         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
1254         (beforeAll): Create the WebKitTestServer with ServerRunInThread flag.
1255         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
1256         (WebKitTestServer::WebKitTestServer): When ServerRunInThread is
1257         present, create a WorkQueue to run the server.
1258         (WebKitTestServer::run): Run the server in the work queue if it
1259         has been created.
1260         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h: Convert server
1261         type into server options as flags.
1262
1263 2015-11-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1264
1265         [GTK] ImageDiff should normalize the diff image
1266         https://bugs.webkit.org/show_bug.cgi?id=151261
1267
1268         Reviewed by Sergio Villar Senin.
1269
1270         * ImageDiff/gtk/ImageDiff.cpp:
1271         (readPixbufFromStdin): Fix memory leak.
1272         (differenceImageFromDifferenceBuffer): Normalize diff buffer.
1273         (calculateDifference): Pass max distance to differenceImageFromDifferenceBuffer.
1274
1275 == Rolled over to ChangeLog-2015-11-21 ==