1 2015-11-20 Said Abou-Hallawa <sabouhallawa@apple.com>
3 Unreviewed, add watchlist for PerformanceTests/Animometer and add myself.
5 * Scripts/webkitpy/common/config/watchlist:
7 2015-11-20 Alexey Proskuryakov <ap@apple.com>
9 Went a bit too far, revert part of the previous patch.
11 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks.png: Added.
12 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks@2x.png: Added.
13 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
14 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
16 2015-11-20 Alexey Proskuryakov <ap@apple.com>
18 Remove Mavericks bots.
20 Rubber-stamped by Lucas Forschler.
22 * BuildSlaveSupport/build.webkit.org-config/config.json:
23 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
24 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks.png: Removed.
25 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks@2x.png: Removed.
26 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
27 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
28 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
29 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
30 * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
31 * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
32 * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
33 * Scripts/copy-webkitlibraries-to-product-directory:
35 2015-11-20 Said Abou-Hallawa <sabouhallawa@apple.com>
37 Update the patch and the plan files of the graphics benchmark with the latest revision
38 https://bugs.webkit.org/show_bug.cgi?id=151503
40 Reviewed by Ryosuke Niwa.
42 The time for each graphics test has been shortened from 30 seconds to 10
43 seconds. We need to update the graphics benchmark patch and plan files so
44 we can get the results faster. Also this will allow running the benchmark
45 also on the iOS performance bots.
47 * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch:
48 * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan:
50 2015-11-20 Michael Catanzaro <mcatanzaro@igalia.com>
52 Unreviewed, fix installation of ninja-build after the previous commit
54 * gtk/install-dependencies:
56 2015-11-20 Michael Catanzaro <mcatanzaro@igalia.com>
58 [GTK] install-dependencies should run installer exactly once
59 https://bugs.webkit.org/show_bug.cgi?id=151477
61 Reviewed by Carlos Garcia Campos.
63 * gtk/install-dependencies:
65 2015-11-20 Csaba Osztrogonác <ossy@webkit.org>
67 [EFL] Enable FTL JIT by default on X86_64
68 https://bugs.webkit.org/show_bug.cgi?id=143822
70 Reviewed by Carlos Garcia Campos.
73 * Scripts/run-javascriptcore-tests:
74 * Scripts/webkitperl/FeatureList.pm:
75 * efl/jhbuild.modules:
77 * jhbuild/jhbuildrc_common.py:
80 2015-11-19 Michael Catanzaro <mcatanzaro@igalia.com>
82 Unreviewed, install llvm-static on Fedora to fix build now FTL is enabled
84 * gtk/install-dependencies:
86 2015-11-19 Commit Queue <commit-queue@webkit.org>
88 Unreviewed, rolling out r192667 and r192668.
89 https://bugs.webkit.org/show_bug.cgi?id=151476
91 broke api tests (Requested by alexchristensen on #webkit).
95 "Remove the non-NetworkProcess configurations"
96 https://bugs.webkit.org/show_bug.cgi?id=151418
97 http://trac.webkit.org/changeset/192667
99 "Fix GTK Build after r192667."
100 http://trac.webkit.org/changeset/192668
102 2015-11-19 Alex Christensen <achristensen@webkit.org>
104 Remove the non-NetworkProcess configurations
105 https://bugs.webkit.org/show_bug.cgi?id=151418
107 Reviewed by Geoffrey Garen.
109 * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp:
110 (TestWebKitAPI::TEST):
111 * WebKitTestRunner/TestController.cpp:
112 (WTR::TestController::generatePageConfiguration):
114 2015-11-19 Alexey Proskuryakov <ap@apple.com>
116 LayoutTestRelay processes leak on iOS testers
117 https://bugs.webkit.org/show_bug.cgi?id=151447
119 Reviewed by Tim Horton.
121 * BuildSlaveSupport/kill-old-processes: Added LayoutTestRelay.
123 2015-11-19 Brent Fulgham <bfulgham@apple.com>
125 [Win] webkitpy is applying abspath to DOS paths, yielding invalid paths
126 https://bugs.webkit.org/show_bug.cgi?id=151156
130 I tracked down the cause of the test regression on the Windows builders. Once I fixed that,
131 I realized that the new 'abs_results_directory' value was not needed, so this change reverts
134 * Scripts/webkitpy/port/base.py:
135 (Port.to.start_websocket_server): We don't need a special directory variable on Cygwin anymore.
136 (Port.abs_results_directory): Deleted.
137 * Scripts/webkitpy/port/win.py:
138 (WinPort.__init__): Deleted.
139 (WinPort.abs_results_directory): Deleted.
140 (WinPort.results_directory): Deleted.
142 2015-11-19 Alexey Proskuryakov <ap@apple.com>
144 build.webkit.org/dashboard: Move layoutTestResultsDirectoryURLForIteration implementation to base class
145 https://bugs.webkit.org/show_bug.cgi?id=151425
147 Reviewed by Tim Horton.
149 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
150 (Buildbot.prototype.layoutTestResultsDirectoryURLForIteration):
151 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
152 (WebKitBuildbot.prototype.layoutTestResultsDirectoryURLForIteration): Deleted.
154 2015-11-19 Youenn Fablet <youenn.fablet@crf.canon.fr>
156 WPT server should use its own testharness.js file and generate a warning when it does not match WebKit version
157 https://bugs.webkit.org/show_bug.cgi?id=150332
159 Reviewed by Darin Adler and Ryosuke Niwa.
161 Removing testharness.js overwriting from LayoutTests/resources to LayoutTests/imported/w3c/web-platform-tests/resources.
162 Adding support for file comparison in python filesystem.
165 * Scripts/webkitpy/common/system/filesystem.py:
166 (FileSystem.compare): Adding compare as a wrapper around filecmp.cmp.
167 * Scripts/webkitpy/common/system/filesystem_mock.py:
168 (MockFileSystem.compare): Adding a mock compare.
169 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
170 (WebPlatformTestServer.__init__): Removed testharness.js as file to copy from WK to WPT.
171 (WebPlatformTestServer._copy_webkit_test_files): Added warning generation when WK testharness.js is not matching WPT version.
172 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
173 (TestWebPlatformTestServer.test_previously_spawned_instance): Updated tests to add testharness.js to mock filesystem.
174 (TestWebPlatformTestServer.test_corrupted_subserver_files): Ditto.
176 2015-11-18 Jiewen Tan <jiewen_tan@apple.com>
178 [WK1] Crash loading Blink layout test fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
179 https://bugs.webkit.org/show_bug.cgi?id=150198
180 <rdar://problem/23136026>
182 Reviewed by Brent Fulgham.
184 * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
185 (WTR::TestRunner::inspectorTestStubURL):
186 Since WebInspectorUI.framework is not available for iOS, the framework
187 and corresponding functions are disabled in iOS.
189 2015-11-18 Alexey Proskuryakov <ap@apple.com>
191 [Mac] Swipe tests depend on user preferences
192 https://bugs.webkit.org/show_bug.cgi?id=151403
194 Reviewed by Tim Horton.
196 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):
197 * WebKitTestRunner/mac/main.mm: (setDefaultsToConsistentValuesForTesting):
198 Override these preferences to match the default for a new OS X installation.
200 * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
201 Swipe tests are not enabled in WK1, but let's override the default anyway.
203 2015-11-18 Carlos Garcia Campos <cgarcia@igalia.com>
205 [GTK] Update xserver version in jhbuild
206 https://bugs.webkit.org/show_bug.cgi?id=151383
208 Reviewed by Alejandro G. Castro.
210 In r192568 I assumed the bots would have a recent enough Xvfb
211 to use the -displayfd option, but I forgot we build our own
212 xserver just for Xvfb. The version we build is too old, so
213 we could just use an updated version (the same bots have
214 installed, for example) to use the -displayfd option.
216 * gtk/jhbuild.modules: Update xserver to 1.16.4.
217 * gtk/patches/xserver-fix-glx-init.patch: Deleted.
218 * gtk/patches/xserver-remove-bogus-dependencies.patch: Updated to
221 2015-11-18 Carlos Garcia Campos <cgarcia@igalia.com>
223 Unreviewed. Fix webkitpy tests after r192568.
225 Instead of ignoring exception when closing mock fds, use a helper
226 function that the unit test can override to do nothing.
228 * Scripts/webkitpy/port/xvfbdriver.py:
229 (XvfbDriver._xvfb_close_pipe):
230 (XvfbDriver._xvfb_run):
231 * Scripts/webkitpy/port/xvfbdriver_unittest.py:
232 (XvfbDriverTest.make_driver):
234 2015-11-18 Carlos Garcia Campos <cgarcia@igalia.com>
236 [XvfbDriver] Fail to run all layout tests when X server started with -displayfd option
237 https://bugs.webkit.org/show_bug.cgi?id=151135
239 Reviewed by Darin Adler.
241 The XvfbDriver uses the x server command line to check the
242 displays that are currently in use. This doesn't work when X
243 server was started with -displayfd option. This option is used to let
244 the server find the display id available that is written to the
245 given file descriptor. With this option xorg doesn't need to
246 create the lock files in tmp either. The -displayfd option is also
247 available in Xvfb, so we could use it too. That would simplify the
248 code, fixing also race conditions between the check for available
249 displays and Xvfb opening the connection, we wouldn't need to wait
250 for 4 seconds after launching Xvfb, and all lock files we are
251 using won't be needed either.
253 * Scripts/webkitpy/port/xvfbdriver.py:
254 (XvfbDriver._xvfb_pipe): Helper function to create the pipe, only
255 needed to be overriden by unit tests.
256 (XvfbDriver._xvfb_read_display_id): Helper function to read from
257 the pipe, only needed to be overriden by unit tests.
258 (XvfbDriver._xvfb_run): Run Xvfb with -displayfd option, using a
259 pipe to read the display id.
260 (XvfbDriver._start): Call _xvfb_run() and remove the code to run
261 Xvfb for a given display.
262 (XvfbDriver.stop): Remove code to release and delete file locks.
263 * Scripts/webkitpy/port/xvfbdriver_unittest.py:
264 (XvfbDriverTest.make_driver):
265 (XvfbDriverTest.test_start):
266 (XvfbDriverTest.test_start_arbitrary_worker_number):
267 (XvfbDriverTest.test_stop):
268 (XvfbDriverTest.assertDriverStartSuccessful): Deleted.
269 (XvfbDriverTest): Deleted.
270 (XvfbDriverTest.test_stop.FakeXvfbProcess): Deleted.
272 2015-11-17 Alexey Proskuryakov <ap@apple.com>
274 run-webkit-tests should not truncate persistent lines
275 https://bugs.webkit.org/show_bug.cgi?id=151376
276 rdar://problem/23162775
278 Reviewed by Antti Koivisto.
280 It is OK to truncate progress lines, but it's not OK to truncate error (or otherwise
281 unexpected result) messages that remain on the screen to be read. In practice, this
282 almost always truncates the test path, which is important to see.
284 * Scripts/webkitpy/layout_tests/views/printing.py:
285 (Printer._test_status_line):
286 (Printer.print_finished_test):
287 * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
288 (Testprinter.test_test_status_line):
290 2015-11-16 Carlos Garcia Campos <cgarcia@igalia.com>
292 Unreviewed. Fix GTK+ unit tests after r192469.
294 In r192469 jhbuild version was updated and coinfig lcas API changed.
296 * jhbuild/jhbuildutils.py:
297 (enter_jhbuild_environment_if_available): Pass an empty list for
298 conditions to the Config constructor.
300 2015-11-16 Carlos Garcia Campos <cgarcia@igalia.com>
302 Unreviewed. Use commit id instead of tag name for jhbuild revision.
304 In r192469 I updated the jhbuild version to 3.12.0, and used the
305 tag instead of the commit id to make it easier to read and
306 remember. But we use the commit id to check if the current
307 revision is up to date, and when compared to the tag id it always
308 fails and jhbuild is always updated.
310 * jhbuild/jhbuild-wrapper: Use commit id and add a comment to
311 remember this is the id of 3.12.0.
313 2015-11-16 Carlos Garcia Campos <cgarcia@igalia.com>
315 Unreviewed. Fix GTK+ layout tests running after r192469.
317 We fail to find the Gallium llvmpipe driver because of the build
318 directory change in r192469.
320 * gtk/jhbuildrc: Use buildroot instead of checkoutdir to build
321 the LLVMPIPE_LIBGL_PATH.
323 2015-11-16 Carlos Garcia Campos <cgarcia@igalia.com>
325 [GTK] Use FTL by default when LLVM 3.7 is available
326 https://bugs.webkit.org/show_bug.cgi?id=142128
328 Reviewed by Csaba Osztrogonác.
330 * Scripts/run-javascriptcore-tests: Enable FTL for GTK+ port when
331 architecture is x86_64.
332 * Scripts/update-webkit-libs-jhbuild:
333 (cleanJhbuild): Remove also the separate Build directory used by
335 * Scripts/webkitdirs.pm:
337 * Scripts/webkitperl/FeatureList.pm: Enable FTL by default for
338 GTK+ port when architecture is x86_64.
339 * gtk/jhbuild-optional.modules: Remove llvm.
340 * gtk/jhbuild.modules: Add llvm 3.7 and include it as dependecy
341 only when architecture is x86_64.
342 * gtk/jhbuildrc: Set a buildroot to use a separate build
343 directory. LLVM 3.7 fails to build if configure script is run from
344 source dir. Since it's not possible to use a separate build dir
345 only for llvm, we do it now globally. Modules not supporting non
346 source build dirs are marked in the moduleset. Also set x86_64
347 condition when the architecture is x86_64.
348 * gtk/patches/llvm-elf-add-stackmaps-arm64.patch: Removed.
349 * gtk/patches/llvm-elf-add-stackmaps.patch: Removed.
350 * gtk/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Removed.
351 * gtk/patches/llvm-elf-allow-fde-references-outside-the-2gb-range.patch: Removed.
352 * jhbuild/jhbuild-wrapper: Use a newer jhbuild version to be able
355 2015-11-15 Commit Queue <commit-queue@webkit.org>
357 Unreviewed, rolling out r192462.
358 https://bugs.webkit.org/show_bug.cgi?id=151295
360 failing python tests (Requested by youenn on #webkit).
364 "WPT server should use its own testharness.js file and
365 generate a warning when it does not match WebKit version"
366 https://bugs.webkit.org/show_bug.cgi?id=150332
367 http://trac.webkit.org/changeset/192462
369 2015-11-15 Youenn Fablet <youenn.fablet@crf.canon.fr>
371 WPT server should use its own testharness.js file and generate a warning when it does not match WebKit version
372 https://bugs.webkit.org/show_bug.cgi?id=150332
374 Reviewed by Darin Adler.
376 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
377 (WebPlatformTestServer.__init__): Removed testharness.js as file to copy from WK to WPT.
378 (WebPlatformTestServer._copy_webkit_test_files): Added warning generation when WK testharness.js is not matching WPT version.
380 2015-11-14 Nan Wang <n_wang@apple.com>
382 AX: add a new trait for elements in fieldset on iOS
383 https://bugs.webkit.org/show_bug.cgi?id=151281
385 Reviewed by Chris Fleizach.
387 * DumpRenderTree/AccessibilityUIElement.cpp:
388 (assistiveTechnologySimulatedFocusCallback):
389 (fieldsetAncestorElementCallback):
390 (childAtIndexCallback):
391 (getElementTextLengthCallback):
392 (hasContainedByFieldsetTraitCallback):
393 (AccessibilityUIElement::getJSClass):
394 * DumpRenderTree/AccessibilityUIElement.h:
395 * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
396 (AccessibilityUIElement::elementTextLength):
397 (AccessibilityUIElement::hasContainedByFieldsetTrait):
398 (AccessibilityUIElement::fieldsetAncestorElement):
399 (AccessibilityUIElement::url):
400 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
401 (WTR::AccessibilityUIElement::scrollPageDown):
402 (WTR::AccessibilityUIElement::scrollPageLeft):
403 (WTR::AccessibilityUIElement::scrollPageRight):
404 (WTR::AccessibilityUIElement::hasContainedByFieldsetTrait):
405 (WTR::AccessibilityUIElement::fieldsetAncestorElement):
406 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
407 * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
408 * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
409 (WTR::AccessibilityUIElement::identifier):
410 (WTR::AccessibilityUIElement::hasContainedByFieldsetTrait):
411 (WTR::AccessibilityUIElement::fieldsetAncestorElement):
412 (WTR::AccessibilityUIElement::rowCount):
414 2015-11-13 Keith Miller <keith_miller@apple.com>
416 Unreviewed, change JavaScriptCore watchlist to exclude inspector things.
418 * Scripts/webkitpy/common/config/watchlist:
420 2015-11-13 Tim Horton <timothy_horton@apple.com>
422 Support printing in WKWebView
423 https://bugs.webkit.org/show_bug.cgi?id=151276
424 <rdar://problem/23525715>
426 Reviewed by Beth Dakin.
428 * MiniBrowser/mac/MainMenu.xib:
429 * MiniBrowser/mac/WK1BrowserWindowController.m:
430 (-[WK1BrowserWindowController printWebView:]):
431 * MiniBrowser/mac/WK2BrowserWindowController.m:
432 (-[WK2BrowserWindowController printWebView:]):
433 Hook up printing to Minibrowser!
435 2015-11-13 Tim Horton <timothy_horton@apple.com>
437 Hardware keyboard spacebar scrolls too far on iOS
438 https://bugs.webkit.org/show_bug.cgi?id=151227
439 <rdar://problem/23500681>
441 Reviewed by Simon Fraser.
443 * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
444 * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
445 * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
446 (WTR::UIScriptController::setDidEndScrollingCallback):
447 (WTR::UIScriptController::didEndScrollingCallback):
448 (WTR::UIScriptController::platformSetDidEndScrollingCallback):
449 * WebKitTestRunner/UIScriptContext/UIScriptController.h:
450 * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
451 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
452 (-[TestRunnerWKWebView dealloc]):
453 (-[TestRunnerWKWebView _didFinishScrolling]):
454 * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
455 (WTR::UIScriptController::platformSetDidEndScrollingCallback):
456 (WTR::UIScriptController::platformClearAllCallbacks):
457 Expose _didFinishScrolling on WKWebView to the UIScriptController.
459 2015-11-13 Brent Fulgham <bfulgham@apple.com>
461 [Win] Unreviewed test fix.
463 * Scripts/webkitpy/port/win.py:
464 (WinPort.results_directory): Our 'results_directory' should be an absolute path (even when not
465 using Cygwin), but should be in DOS format for non-Cygwin clients.
467 2015-11-12 Daniel Bates <dabates@apple.com>
469 Add my apple.com email address to contributors.json
471 * Scripts/webkitpy/common/config/contributors.json:
473 2015-11-12 Daniel Bates <dabates@apple.com>
475 webkitpy: Remove extraneous word "the" from the description of command attach-to-bug
477 * Scripts/webkitpy/tool/commands/upload.py:
480 2015-11-12 Brent Fulgham <bfulgham@apple.com>
482 [Win] webkitpy is applying abspath to DOS paths, yielding invalid paths
483 https://bugs.webkit.org/show_bug.cgi?id=151156
485 Reviewed by Anders Carlsson.
487 My earlier patch was incomplete. There are some Python libraries that want
488 to receive UNIX style paths, even though all of our applications and tools
489 use DOS paths. To handle this special case, we need to track a UNIX-style
490 absolute path that can be given to things like the Python socket server.
492 When we cut over to all-native Windows Python we can get rid of this
495 * Scripts/webkitpy/common/system/filesystem.py:
496 (FileSystem.abspath): Add special code for Cygwin to convert a DOS-style
497 path into something Cygwin can use internally.
498 * Scripts/webkitpy/port/base.py:
499 (Port.results_directory): Remove custom Windows code. Instead, override
500 the method in the windows port object.
501 (Port.abs_results_directory): Add stub.
502 (Port.to.start_websocket_server): For Cygwin, use special cygwin absolute
504 * Scripts/webkitpy/port/win.py:
505 (WinPort.__init__): Added to initialze new _abs_results_directory value.
506 (WinPort.abs_results_directory): Added,
507 (WinPort.results_directory): Modified to also create a value for
508 _abs_results_directory
510 2015-11-12 Keith Miller <keith_miller@apple.com>
512 Unreviewed, add Michael Saboff to the JavaScriptCore watchlist, per request.
514 * Scripts/webkitpy/common/config/watchlist:
516 2015-11-12 Keith Miller <keith_miller@apple.com>
518 Unreviewed, add watchlist for Source/JavaScriptCore and add myself, Saam, and Mark.
520 * Scripts/webkitpy/common/config/watchlist:
522 2015-11-12 Daniel Bates <dabates@apple.com>
524 Support building configuration Production of DumpRenderTree and WebKitTestRunner for iOS
525 https://bugs.webkit.org/show_bug.cgi?id=151191
527 Reviewed by Andy Estes.
529 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Remove hardcoded SKIP_INTALL.
530 Will override this setting in DumpRenderTree.xcconfig.
531 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: When building for iOS we now
532 compile source file DumpRenderTreeMain.mm to produce a built product and make the Apple
533 Internal build system happy. Do not waste time coping OpenType font files (*.otf files)
534 and skip installation when building for iOS since we are not interested in the build product
535 and are only building this target to make the Apple Internal build system happy.
536 * DumpRenderTree/mac/DumpRenderTreeMain.mm:
537 (main): Added dummy implementation for iOS so that we build an actual command line tool to
538 make the Apple Internal build system happy.
539 * WebKitTestRunner/Configurations/Base.xcconfig: Add iOS-specific definition for WEBKIT_UMBRELLA_FRAMEWORKS_DIR.
540 * WebKitTestRunner/Configurations/DebugRelease.xcconfig: Remove variable WEBKIT_UMBRELLA_FRAMEWORKS_DIR.
541 * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Build file WebKitTestRunner/mac/main.mm
542 on iOS Only to produce a built product and make the Apple Internal build system happy. No need
543 to define OTHER_LDFLAGS when building this target for iOS as the default linker flags are sufficient.
544 * WebKitTestRunner/mac/main.mm:
545 (main): Added dummy implementation for iOS so that we build an actual command line tool to
546 make the Apple Internal build system happy.
548 2015-11-12 Chris Dumez <cdumez@apple.com>
550 Unreviewed, add watchlist for history/ and add myself.
552 * Scripts/webkitpy/common/config/watchlist:
554 2015-11-12 Chris Dumez <cdumez@apple.com>
556 Unreviewed, update my watchlists.
558 * Scripts/webkitpy/common/config/watchlist:
560 2015-11-12 Daniel Bates <dabates@apple.com>
562 Rename webkitdirs::willUseIOS{Device, Simulator}SDKWhenBuilding() to willUseIOS{Device, Simulator}SDK()
563 https://bugs.webkit.org/show_bug.cgi?id=151207
565 Rubber-stamped by Alexey Proskuryakov.
567 The functions webkitdirs::willUseIOS{Device, Simulator}SDKWhenBuilding() are not specific to building
568 iOS software. We should rename these functions to webkitdirs::willUseIOS{Device, Simulator}SDK() to
569 convey their general-purpose nature of determining whether we are using the iphoneos or iphonesimulator SDK.
572 * Scripts/build-layouttestrelay:
573 * Scripts/build-webkit:
574 * Scripts/copy-webkitlibraries-to-product-directory:
575 * Scripts/run-api-tests:
577 (prepareEnvironmentForRunningTestTool):
578 * Scripts/run-javascriptcore-tests:
579 * Scripts/webkitdirs.pm:
581 (willUseIOSDeviceSDK): Formerly named willUseIOSDeviceSDKWhenBuilding.
582 (willUseIOSSimulatorSDK): Formerly name willUseIOSSimulatorSDKWhenBuilding.
585 (willUseIOSDeviceSDKWhenBuilding): Deleted.
586 (willUseIOSSimulatorSDKWhenBuilding): Deleted.
588 2015-11-12 Daniel Bates <dabates@apple.com>
590 run-api-tests fails to run with public iOS SDK
591 https://bugs.webkit.org/show_bug.cgi?id=151076
593 Reviewed by Alexey Proskuryakov.
595 Use the command line tool simctl as the sim tool was removed from the public iOS 9 SDK.
597 A side benefit of this change it is sufficient to run the tests without launching Simulator.app
598 to boot the simulator device beforehand because simctl will boot the device for us.
600 Additionally, use Perl pragma sigtrap to install signal handlers to catch SIG{HUP, INT, PIPE, TERM}
601 signals and ultimately run our END block so that we shutdown the simulator device (if applicable).
602 This makes Control-C terminate the app gracefully.
604 * Scripts/run-api-tests:
607 (prepareEnvironmentForRunningTestTool): When running for iOS Simulator use setupIOSWebKitEnvironment()
608 to setup the environment variables for iOS instead of using setupMacWebKitEnvironment(). We also
609 prefix the name of these environment variables with "SIMCTL_CHILD_" so that simctl sets these environment
610 variables in the simulator environment.
611 * Scripts/webkitdirs.pm:
612 (shutDownIOSSimulatorDevice): Added.
613 (restartIOSSimulatorDevice): Added.
615 2015-11-12 KwangHyuk Kim <hyuki.kim@samsung.com>
617 [EFL] fix EvasGL configuration error
618 https://bugs.webkit.org/show_bug.cgi?id=151180
620 Reviewed by Csaba Osztrogonác.
622 EvasGL backend and depth, stencil buffer size should be specified before elm_win_add to let EvasGL keep quiet.
623 Additionally, duplicated elm_config_accel_preference_set() call is eleminated.
625 * MiniBrowser/efl/main.c:
629 2015-11-12 Csaba Osztrogonác <ossy@webkit.org>
631 [EFL] Fix EFL 1.16 with enabled NEON support
632 https://bugs.webkit.org/show_bug.cgi?id=151188
634 Unreviewed buildfix, disable NEON temporarily after r192358.
636 * efl/jhbuild.modules:
638 2015-11-12 Csaba Osztrogonác <ossy@webkit.org>
640 [EFL] Bump EFL version to 1.16.0
641 https://bugs.webkit.org/show_bug.cgi?id=150228
643 Reviewed by Gyuyoung Kim.
645 * efl/jhbuild.modules:
646 * efl/patches/efl-remove-XPrint.patch: Removed.
648 2015-11-12 Csaba Osztrogonác <ossy@webkit.org>
650 Remove ENABLE(SATURATED_LAYOUT_ARITHMETIC) guards
651 https://bugs.webkit.org/show_bug.cgi?id=150972
653 Reviewed by Darin Adler.
655 * TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:
657 2015-11-12 KwangHyuk Kim <hyuki.kim@samsung.com>
659 [EFL] fix EvasGL configuration error
660 https://bugs.webkit.org/show_bug.cgi?id=151180
662 Reviewed by Gyuyoung Kim.
664 EvasGL backend and depth, stencil buffer size should be specified before elm_win_add to let EvasGL keep quiet
666 * MiniBrowser/efl/main.c:
669 2015-11-11 Brent Fulgham <bfulgham@apple.com>
671 [Win] webkitpy is applying abspath to DOS paths, yielding invalid paths
672 https://bugs.webkit.org/show_bug.cgi?id=151156
674 Reviewed by Anders Carlsson.
676 * Scripts/webkitpy/port/base.py:
677 (Port.results_directory): Don't pass paths through 'abspath'
678 (Port._build_path): Ditto.
679 * Scripts/webkitpy/port/win.py:
680 (WinPort._build_path): Ditto.
682 2015-11-11 Akos Kiss <akiss@inf.u-szeged.hu>
684 Unreviewed, add myself to the committers list.
686 * Scripts/webkitpy/common/config/contributors.json:
688 2015-11-11 Anders Carlsson <andersca@apple.com>
690 _WKRemoteObjectInterface should handle specifying allowed classes for reply block arguments
691 https://bugs.webkit.org/show_bug.cgi?id=151144
693 Reviewed by Tim Horton.
695 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.h:
696 (remoteObjectInterface):
697 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm:
699 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm:
700 (-[RemoteObjectRegistryPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
701 (-[RemoteObjectRegistryPlugIn selectionAndClickInformationForClickAtPoint:completionHandler:]):
703 2015-11-10 Wenson Hsieh <wenson_hsieh@apple.com>
705 UI-side scripts in WebKitTestRunner should wait until event handling completes before finishing
706 https://bugs.webkit.org/show_bug.cgi?id=151101
707 <rdar://problem/23428601>
709 Reviewed by Simon Fraser.
711 WebKitTestRunner may still crash in the scenario where a marker event is dequeued and handled
712 after uiScriptComplete has been called. This patch teaches the UI script execution context to
713 defer script completion until all non-persistent tasks (currently tap, double tap and hardware
714 keyboard) have been handled, so marker events will no longer bleed through tests.
716 We accomplish this by changing the behavior of uiScriptComplete. When calling uiScriptComplete,
717 we store that a request to complete the UI-side script for the current parent callback has been
718 made. Subsequently, when a callback (either persistent or non-persistent) finishes invoking and
719 a request has been made to complete the UI script (this request may have been made when running
720 a previous callback) we check if all the non-persistent callbacks that have the same parent
721 callback as the current one have finished. If so, we complete the callback immediately;
722 otherwise, we wait until the in-flight non-persistent callbacks finish execution to complete the
725 This patch also refactors some logic in UIScriptContext. It introduces a new convention for
726 assigning IDs to callbacks: IDs 1000 and above are treated as non-persistent callbacks, whereas
727 IDs between 0 and 999 are persistent task callbacks. This is similar to the existing convention
728 for assigning IDs in the 100s range to parent callbacks, and allows us to easily differentiate
729 between callbacks that are persistent and non-persistent, as well as determine when an existing
730 persistent callback must be unregistered before a new callback function can be set.
732 * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
733 (isPersistentCallbackID):
734 (UIScriptContext::runUIScript):
735 (UIScriptContext::nextTaskCallbackID):
736 (UIScriptContext::prepareForAsyncTask):
737 (UIScriptContext::asyncTaskComplete):
738 (UIScriptContext::registerCallback):
739 (UIScriptContext::fireCallback):
740 (UIScriptContext::requestUIScriptCompletion):
741 (UIScriptContext::tryToCompleteUIScriptForCurrentParentCallback):
742 (UIScriptContext::currentParentCallbackHasOutstandingAsyncTasks):
743 (UIScriptContext::uiScriptComplete): Deleted.
744 * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
745 (WTR::UIScriptContext::currentParentCallbackIsPendingCompletion):
746 * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
747 (WTR::UIScriptController::setWillBeginZoomingCallback):
748 (WTR::UIScriptController::willBeginZoomingCallback):
749 (WTR::UIScriptController::setDidEndZoomingCallback):
750 (WTR::UIScriptController::didEndZoomingCallback):
751 (WTR::UIScriptController::setDidShowKeyboardCallback):
752 (WTR::UIScriptController::didShowKeyboardCallback):
753 (WTR::UIScriptController::setDidHideKeyboardCallback):
754 (WTR::UIScriptController::didHideKeyboardCallback):
755 (WTR::UIScriptController::uiScriptComplete):
756 * WebKitTestRunner/UIScriptContext/UIScriptController.h:
757 * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
758 (WTR::UIScriptController::doAsyncTask):
759 (WTR::UIScriptController::zoomToScale):
760 (WTR::UIScriptController::singleTapAtPoint):
761 (WTR::UIScriptController::doubleTapAtPoint):
762 (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
763 (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
764 (WTR::UIScriptController::platformSetDidEndZoomingCallback):
765 (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
766 (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
767 (WTR::UIScriptController::platformClearAllCallbacks): Deleted.
768 * WebKitTestRunner/mac/UIScriptControllerMac.mm:
769 (WTR::UIScriptController::doAsyncTask):
771 2015-11-10 Daniel Bates <dabates@apple.com>
773 Teach Makefile to build LayoutTestRelay when building for iOS Simulator
774 https://bugs.webkit.org/show_bug.cgi?id=150849
776 Reviewed by Alexey Proskuryakov.
778 Unless variable DO_NOT_BUILD_LAYOUT_TEST_RELAY is non-empty, build LayoutTestRelay when
779 building WebKit tools.
783 2015-11-10 David Kilzer <ddkilzer@apple.com>
785 [check-webkit-style] False positive (readability/enum_casing) on CF-styled enum members
786 <http://webkit.org/b/104417>
788 Reviewed by Brent Fulgham.
790 * Scripts/webkitpy/style/checkers/cpp.py:
791 (_EnumState.process_clean_line): Allow 'k' to start enums.
792 (check_enum_casing): Update error message to discuss 'k'.
793 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
794 (NoNonVirtualDestructorsTest.test_enum_casing): Update error
795 messages, and add new tests for enums that start with lowercase
798 2015-11-10 Geoffrey Garen <ggaren@apple.com>
800 run-jsc-benchmarks doesn't work with internal benchmarks
801 https://bugs.webkit.org/show_bug.cgi?id=151047
803 Reviewed by Filip Pizlo.
805 * Scripts/run-jsc-benchmarks: Use Pathname so we get a "/" inserted when
808 2015-11-10 Carlos Garcia Campos <cgarcia@igalia.com>
810 [GTK] Use CROSS_PLATFORM_CONTEXT_MENUS
811 https://bugs.webkit.org/show_bug.cgi?id=150642
813 Reviewed by Martin Robinson.
815 Remove test for input methods submenu.
817 * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
819 2015-11-09 Joonghun Park <jh718.park@samsung.com>
821 Unreviewed, add myself to the committers list.
823 * Scripts/webkitpy/common/config/contributors.json:
825 2015-11-09 Ryuan Choi <ryuan.choi@navercorp.com>
827 [EFL] Crash while opening child webview with EWK_PROCESS_MODEL_MULTIPLE_SECONDARY
828 https://bugs.webkit.org/show_bug.cgi?id=145924
830 Reviewed by Gyuyoung Kim.
832 * MiniBrowser/efl/main.c:
835 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
836 (TestWebKitAPI::TEST):
837 * TestWebKitAPI/efl/PlatformWebView.cpp:
838 (TestWebKitAPI::PlatformWebView::PlatformWebView):
839 * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
840 (WTR::PlatformWebView::PlatformWebView):
842 2015-11-09 Anders Carlsson <andersca@apple.com>
844 Add reply blocks to _WKRemoteObjectInterface similar to NSXPCConnection
845 https://bugs.webkit.org/show_bug.cgi?id=151056
846 rdar://problem/23222609
848 Reviewed by Tim Horton.
852 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm:
854 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm:
855 (-[RemoteObjectRegistryPlugIn sayHello:completionHandler:]):
857 2015-11-09 Tim Horton <timothy_horton@apple.com>
859 Add drawsBackground SPI to WKWebView, and get rid of drawsTransparentBackground from WebKit2
860 https://bugs.webkit.org/show_bug.cgi?id=151054
861 <rdar://problem/22907994>
863 Reviewed by Simon Fraser.
865 * MiniBrowser/mac/WK1BrowserWindowController.m:
866 (-[WK1BrowserWindowController didChangeSettings]):
867 * MiniBrowser/mac/WK2BrowserWindowController.m:
868 (-[WK2BrowserWindowController didChangeSettings]):
869 Use drawsBackground instead, and make sure to set the window background color,
870 otherwise it might end up being gray anyway!
872 WebKit1 still doesn't work unless you turn off toolbar blurring, but at least
873 WebKit2 is working now!
875 2015-11-09 Isaac Devine <isaac@devinesystems.co.nz>
877 Fresh checkout fails to build on windows, DumpRenderTree can't find cairo_win.h
878 https://bugs.webkit.org/show_bug.cgi?id=151013
880 Use the variable defined in the CMake scripts to determine the cairo include location, rather
881 than relying on a environment variable to be set correctly. Otherwise the DumpRenderTreeLib.vcxproj will
882 contain "\include\cairo" rather than the fully qualified path to the cairo include location.
884 Reviewed by Darin Adler.
886 * DumpRenderTree/PlatformWin.cmake:
888 2015-11-09 Csaba Osztrogonác <ossy@webkit.org>
890 [EFL] Fix the gst-plugins-bad jhbuild module build on Ubuntu 15.10
891 https://bugs.webkit.org/show_bug.cgi?id=150928
893 Reviewed by Gyuyoung Kim.
895 * efl/jhbuild.modules:
897 2015-11-07 Daniel Bates <dabates@apple.com>
899 Attempt to fix the Windows EWS bot after r192087
900 (https://bugs.webkit.org/show_bug.cgi?id=150859)
902 Following r192087 Port._build_path() stores the computed root directory path in option
903 _cached_root instead of overwriting option root. We need to teach the Windows-specific
904 logic to make use of option _cached_root instead of option root when computing its adjusted
905 path and to cache its adjusted in _cached_root instead of root.
907 * Scripts/webkitpy/port/win.py:
908 (WinPort._build_path):
910 2015-11-06 Daniel Bates <dabates@apple.com>
912 Do not build LayoutTestRelay when --root is specified to run-webkit-tests
913 https://bugs.webkit.org/show_bug.cgi?id=150989
915 Reviewed by Alexey Proskuryakov.
917 The script run-webkit-tests should only check if LayoutTestRelay exists when invoked with
918 --root and exit with an error if it does not exist. That is, we should not build LayoutTestRelay
919 when it does not exist and an explicit directory of built executables was specified via --root.
920 This will make the criterion for building LayoutTestRelay match the criterion for building
921 DumpRenderTree/WebKitTestRunner.
923 * Scripts/webkitpy/port/ios.py:
924 (IOSSimulatorPort._check_port_build): Moved logic from IOSSimulatorPort.{_check_build_relay, check_build} to here.
925 (IOSSimulatorPort._check_build_relay): Deleted.
926 (IOSSimulatorPort.check_build): Deleted.
928 2015-11-06 Tim Horton <timothy_horton@apple.com>
930 Add preliminary (SPI) support for NSTextFinder on WKWebView
931 https://bugs.webkit.org/show_bug.cgi?id=150907
932 <rdar://problem/19171624>
934 Reviewed by Darin Adler.
936 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
937 * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm: Added.
938 (-[FindInPageNavigationDelegate webView:didFinishNavigation:]):
942 * WebEditingTester/WK1WebDocumentController.m:
943 * WebEditingTester/WK2WebDocumentController.m:
944 (-[WK2WebDocumentController awakeFromNib]):
945 (-[WK2WebDocumentController contentView]):
946 Use incremental find, and show the overlay/indicator.
948 2015-11-06 Alexey Proskuryakov <ap@apple.com>
950 iOS test results are not visible on the flakiness dashboard
951 https://bugs.webkit.org/show_bug.cgi?id=150884
953 Reviewed by Darin Adler.
955 One more change was needed for the minimal fix.
957 * TestResultServer/static-dashboards/flakiness_dashboard.js:
959 2015-11-06 Daniel Bates <dabates@apple.com>
961 Teach Makefile to build LayoutTestRelay when building for iOS Simulator
962 https://bugs.webkit.org/show_bug.cgi?id=150849
964 Reviewed by Alexey Proskuryakov.
966 Override the user-specified arguments SDKROOT and ARCHS to use the default SDK
967 and default ARCHS since LayoutTestRelay is a Mac command line tool.
969 * LayoutTestRelay/Makefile: Define OVERRIDE_SDKROOT and OVERRIDE_ARCHS.
971 2015-11-05 Nikos Andronikos <nikos.andronikos-webkit@cisra.canon.com.au>
973 Add runtime and compile time flags for enabling Web Animations API and model.
974 https://bugs.webkit.org/show_bug.cgi?id=150914
976 Reviewed by Benjamin Poulain.
978 Add ENABLE_WEB_ANIMATIONS compile time flag, runtime flag webAnimationsEnabled and Expose WK2 preference for runtime flag.
980 * Scripts/webkitperl/FeatureList.pm:
982 2015-11-05 Ryuan Choi <ryuan.choi@navercorp.com>
984 [EFL] Separate beforeunload confirm callback from confirm callback
985 https://bugs.webkit.org/show_bug.cgi?id=150964
987 Reviewed by Gyuyoung Kim.
989 * MiniBrowser/efl/main.c:
990 (on_javascript_before_unload_confirm):
993 2015-11-05 Jason Marcell <jmarcell@apple.com>
995 run-webkit-test should look in --root directory for LayoutTestRelay
996 https://bugs.webkit.org/show_bug.cgi?id=150859
998 Reviewed by Daniel Bates.
1000 For iOS run-webkit-tests, use LayoutTestRelay specified by --root; otherwise find
1001 LayoutTestRelay in the Mac build directory when --root is unspecified.
1003 * Scripts/webkitpy/port/base.py:
1004 (Port._build_path): Use '_cached_root' instead of 'root' so that we don't overwrite the
1005 argument that was passed in via the --root argument.
1006 * Scripts/webkitpy/port/ios.py:
1007 (IOSSimulatorPort.relay_path):
1009 2015-11-05 David Kilzer <ddkilzer@apple.com>
1011 TestWebKitAPI crashed in TestWebKitAPI: TestWebKitAPI::SharedBufferTest_copyBufferCreatedWithContentsOfExistingFile_Test::TestBody
1012 <http://webkit.org/b/150931>
1013 <rdar://problem/23409384>
1015 Reviewed by Youenn Fablet.
1017 * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp:
1018 (TestWebKitAPI::TEST_F(SharedBufferTest, copyBufferCreatedWithContentsOfExistingFile)):
1019 - Switch from strnstr() to memcmp() since strings are
1020 not guaranteed to be NULL-terminated.
1021 - Add another expectation that the size is greater than
1022 zero since memcmp() returns 0 (matching) if the length
1024 (TestWebKitAPI::TEST_F(SharedBufferTest, appendBufferCreatedWithContentsOfExistingFile)):
1025 - Same change to keep tests consistent, although the
1026 second string is NULL-terminated in this case.
1028 2015-11-05 Commit Queue <commit-queue@webkit.org>
1030 Unreviewed, rolling out r192073.
1031 https://bugs.webkit.org/show_bug.cgi?id=150962
1033 "Broke the internal iOS build; will investigate offline"
1034 (Requested by dydz on #webkit).
1038 "Teach Makefile to build LayoutTestRelay when building for iOS
1040 https://bugs.webkit.org/show_bug.cgi?id=150849
1041 http://trac.webkit.org/changeset/192073
1043 2015-11-05 Daniel Bates <dabates@apple.com>
1045 Teach Makefile to build LayoutTestRelay when building for iOS Simulator
1046 https://bugs.webkit.org/show_bug.cgi?id=150849
1048 Reviewed by Alexey Proskuryakov.
1050 * LayoutTestRelay/Makefile: Temporarily override SDKROOT when it is iphonesimulator so
1051 that we build with the default SDK. We assume that the default SDK is the OS X SDK.
1052 * Makefile: Append LayoutTestRelay to the list of modules to build when building with
1053 SDK iphonesimulator.
1055 2015-11-05 Ryuan Choi <ryuan.choi@navercorp.com>
1057 [EFL] Add try_close API to handle beforeunload event
1058 https://bugs.webkit.org/show_bug.cgi?id=150705
1060 Reviewed by Gyuyoung Kim.
1062 * MiniBrowser/efl/main.c:
1063 (on_window_deletion):
1064 Call ewk_view_try_close instead of removing object directly.
1065 (window_create): Fixed that passes wrong data.
1067 2015-11-04 Wenson Hsieh <wenson_hsieh@apple.com>
1069 Fix crashing and flaky UIScriptController-based tests in fast/events/ios
1070 https://bugs.webkit.org/show_bug.cgi?id=150901
1071 <rdar://problem/23261499>
1073 Reviewed by Simon Fraser.
1075 Clear out zooming and keyboard-related callbacks after uiScriptComplete has been invoked. This prevents
1076 later tests from calling into code which previous tests attached to these callbacks and causing
1077 WebKitTestRunner to crash due to accessing a deallocated UIScriptController.
1079 * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1080 (WTR::UIScriptController::platformClearAllCallbacks):
1081 (WTR::UIScriptController::uiScriptComplete):
1082 * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1083 * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1084 (WTR::UIScriptController::platformClearAllCallbacks):
1086 2015-11-04 Jer Noble <jer.noble@apple.com>
1088 [iOS] <video> elements without audio tracks should not interrupt music
1089 https://bugs.webkit.org/show_bug.cgi?id=149888
1091 Reviewed by Eric Carlson.
1093 Add tests to ensure that the AVAudioSession category is correctly set when playing
1094 back media both with and without audio tracks.
1096 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1097 * TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm: Added.
1098 (-[AudioSessionCategoryUIWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:]):
1099 (TestWebKitAPI::TEST):
1100 * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html: Added.
1101 * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.mp4: Added.
1102 * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html: Added.
1103 * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.mp4: Added.
1105 2015-11-04 Alexey Proskuryakov <ap@apple.com>
1107 iOS test results are not visible on the flakiness dashboard
1108 https://bugs.webkit.org/show_bug.cgi?id=150884
1110 Reviewed by Darin Adler.
1112 Re-generated builders.jsonp using generate_builders_json.py.
1114 I think that this is all that's needed for basic support. There is more work needed
1115 to display test expectations, but that's already mostly broken even for Mac.
1117 * TestResultServer/static-dashboards/builders.jsonp:
1119 2015-11-03 Commit Queue <commit-queue@webkit.org>
1121 Unreviewed, rolling out r191995.
1122 https://bugs.webkit.org/show_bug.cgi?id=150880
1124 Broke iOS tests (Requested by ap on #webkit).
1128 "run-webkit-test should look in --root directory for
1130 https://bugs.webkit.org/show_bug.cgi?id=150859
1131 http://trac.webkit.org/changeset/191995
1133 2015-11-03 Said Abou-Hallawa <sabouhallawa@apple.com>
1135 Add graphics benchmark to performance bot
1136 https://bugs.webkit.org/show_bug.cgi?id=150450
1138 Reviewed by Chris Dumez.
1140 * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Added.
1141 * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Added.
1142 Add a patch and a plan to set the defaults of the benchmark, run it,
1143 collect the result and report it to the benchmark runner.
1145 2015-11-03 Jason Marcell <jmarcell@apple.com>
1147 run-webkit-test should look in --root directory for LayoutTestRelay
1148 https://bugs.webkit.org/show_bug.cgi?id=150859
1150 Reviewed by Daniel Bates.
1152 For iOS run-webkit-tests, use LayoutTestRelay specified by --root; otherwise find
1153 LayoutTestRelay in the Mac build directory when --root is unspecified.
1155 * Scripts/webkitpy/port/ios.py:
1156 (IOSSimulatorPort.relay_path):
1158 2015-11-03 Alexey Proskuryakov <ap@apple.com>
1160 build.webkit.org/dashboard should use ISO dates in Trac URLs
1161 https://bugs.webkit.org/show_bug.cgi?id=150855
1163 Reviewed by Darin Adler.
1165 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
1166 (Trac.prototype._xmlTimelineURL):
1168 2015-11-03 Said Abou-Hallawa <sabouhallawa@apple.com>
1170 Unreviewed, add myself to the SVG watchlist.
1172 * Scripts/webkitpy/common/config/watchlist:
1174 2015-11-03 Wenson Hsieh <wenson_hsieh@apple.com>
1176 Fix touch event sending crash in WebKitTestRunner
1177 https://bugs.webkit.org/show_bug.cgi?id=150848
1178 <rdar://problem/23360841>
1180 Reviewed by Simon Fraser.
1182 Fixes a redundant force event generated by HIDEventGenerator. See the Radar diagnosis for more details.
1184 * WebKitTestRunner/ios/HIDEventGenerator.mm:
1185 (-[HIDEventGenerator _createIOHIDEventType:]): Deleted.
1187 2015-11-03 Brent Fulgham <bfulgham@apple.com>
1189 [Win] Unreviewed build fix after r191958.
1191 * MiniBrowser/win/MiniBrowser.h: Add missing include.
1192 * MiniBrowser/win/MiniBrowserWebHost.h: Ditto.
1194 2015-11-02 Jiewen Tan <jiewen_tan@apple.com>
1196 Add Jiewen Tan (jiewen_tan@apple.com) to committer list.
1198 * Scripts/webkitpy/common/config/contributors.json:
1200 2015-11-03 Csaba Osztrogonác <ossy@webkit.org>
1202 Unreviewed, add unittest after r191827.
1204 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1206 2015-11-02 Andy Estes <aestes@apple.com>
1208 [Cocoa] Add tvOS and watchOS to SUPPORTED_PLATFORMS
1209 https://bugs.webkit.org/show_bug.cgi?id=150819
1211 Reviewed by Dan Bernstein.
1213 This tells Xcode to include these platforms in its Devices dropdown, making it possible to build in the IDE.
1215 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1216 * MiniBrowser/Configurations/Base.xcconfig:
1217 * TestWebKitAPI/Configurations/Base.xcconfig:
1218 * WebKitTestRunner/Configurations/Base.xcconfig:
1220 2015-11-02 Anders Carlsson <andersca@apple.com>
1222 Begin work on supporting reply blocks in _WKRemoteObjectRegistry
1223 https://bugs.webkit.org/show_bug.cgi?id=150739
1225 Reviewed by Tim Horton.
1227 Add a test. We only test the encoding right now.
1229 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.h:
1230 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm:
1232 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm:
1233 (-[RemoteObjectRegistryPlugIn sayHello:completionHandler:]):
1235 2015-11-02 Tim Horton <timothy_horton@apple.com>
1237 Get rid of WKWebView's inner WKView (WKView being inside WKWebView leads to weird API issues)
1238 https://bugs.webkit.org/show_bug.cgi?id=150174
1240 Reviewed by Anders Carlsson.
1242 * WebKitTestRunner/mac/EventSenderProxy.mm:
1243 (WTR::EventSenderProxy::mouseUp):
1244 (WTR::EventSenderProxy::mouseMoveTo):
1245 Revert some parts of r188828 which no longer apply.
1247 2015-10-30 Dana Burkart <dburkart@apple.com>
1249 svn-apply should handle unified diffs
1250 https://bugs.webkit.org/show_bug.cgi?id=150650
1252 Reviewed by Darin Adler.
1254 * Scripts/VCSUtils.pm:
1255 (parseUnifiedDiffHeader):
1256 This method parses a unified diff header, and returns a information in the
1257 style of parseGitDiffHeader and parseSvnDiffHeader.
1260 Teach parseDiffHeader to recognize unified diff headers.
1263 Teach parseDiff to recognize unified diffs.
1265 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
1266 * Scripts/webkitperl/VCSUtils_unittest/parseUnifiedDiffHeader.pl: Added.
1268 2015-11-02 Csaba Osztrogonác <ossy@webkit.org>
1270 Fix the FTL JIT build with system LLVM on Linux
1271 https://bugs.webkit.org/show_bug.cgi?id=150795
1273 Reviewed by Filip Pizlo.
1275 * efl/install-dependencies:
1276 * gtk/install-dependencies:
1278 2015-11-02 Csaba Osztrogonác <ossy@webkit.org>
1280 [EFL] Bump harfbuzz versions to 0.9.35
1281 https://bugs.webkit.org/show_bug.cgi?id=150448
1283 Reviewed by Gyuyoung Kim.
1285 * efl/jhbuild.modules:
1287 2015-11-02 Csaba Osztrogonác <ossy@webkit.org>
1289 [EFL] gnutls-3.3.0 jhbuild module build fails on Ubuntu 15.10
1290 https://bugs.webkit.org/show_bug.cgi?id=150622
1292 Reviewed by Gyuyoung Kim.
1294 * efl/install-dependencies:
1295 * efl/jhbuild.modules:
1297 2015-11-02 Csaba Osztrogonác <ossy@webkit.org>
1299 Fix EFL jhbuild module build on Ubuntu 15.10
1300 https://bugs.webkit.org/show_bug.cgi?id=150621
1302 Reviewed by Gyuyoung Kim.
1304 * efl/jhbuild.modules:
1305 * efl/patches/efl-remove-XPrint.patch: Added.
1307 2015-11-02 Carlos Garcia Campos <cgarcia@igalia.com>
1309 [GLIB] Remove delete on destroy GMainLoopSources
1310 https://bugs.webkit.org/show_bug.cgi?id=150771
1312 Reviewed by Žan Doberšek.
1314 * TestWebKitAPI/Tests/WTF/glib/GMainLoopSource.cpp:
1315 (TestWebKitAPI::TEST): Remove DeleteOnDestroy unit tests.
1316 * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1317 (WebViewTest::wait): Use g_timeout_add instead of GMainLoopSource.
1319 2015-11-01 Yusuke Suzuki <utatane.tea@gmail.com>
1321 [ES6] Support Generator Syntax
1322 https://bugs.webkit.org/show_bug.cgi?id=150769
1324 Reviewed by Geoffrey Garen.
1326 Added ENABLE_ES6_GENERATORS flag.
1328 * Scripts/webkitperl/FeatureList.pm:
1330 2015-11-01 Alexey Proskuryakov <ap@apple.com>
1332 Sort EWS bots in popovers
1333 https://bugs.webkit.org/show_bug.cgi?id=150782
1335 Reviewed by Darin Adler.
1337 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
1338 (BubbleQueueView.prototype._popoverContentForBubbleQueue):
1340 2015-10-31 Filip Pizlo <fpizlo@apple.com>
1342 B3::reduceStrength's DCE should be more agro and less wrong
1343 https://bugs.webkit.org/show_bug.cgi?id=150748
1345 Reviewed by Geoffrey Garen.
1347 Add an LLVM version of testb3's "testComplex".
1349 * ReducedFTL/ComplexTest.cpp: Added.
1351 2015-11-01 Commit Queue <commit-queue@webkit.org>
1353 Unreviewed, rolling out r191831.
1354 https://bugs.webkit.org/show_bug.cgi?id=150774
1356 The new test fails (Requested by ap on #webkit).
1360 "Begin work on supporting reply blocks in
1361 _WKRemoteObjectRegistry"
1362 https://bugs.webkit.org/show_bug.cgi?id=150739
1363 http://trac.webkit.org/changeset/191831
1365 2015-10-31 Andreas Kling <akling@apple.com>
1367 Add a debug overlay with information about web process resource usage.
1368 <https://webkit.org/b/150599>
1370 Reviewed by Darin Adler.
1372 Add a menu item to the MiniBrowser so we can toggle the resource usage overlay on/off.
1374 * MiniBrowser/mac/SettingsController.h:
1375 * MiniBrowser/mac/SettingsController.m:
1376 (-[SettingsController _populateMenu]):
1377 (-[SettingsController validateMenuItem:]):
1378 (-[SettingsController toggleShowResourceUsageOverlay:]):
1379 (-[SettingsController resourceUsageOverlayVisible]):
1380 * MiniBrowser/mac/WK2BrowserWindowController.m:
1381 (-[WK2BrowserWindowController didChangeSettings]):
1383 2015-10-31 Lucas Forschler <lforschler@apple.com>
1385 Teach the CompileWebKit step to look for additional arguments.
1387 Unreviewed config change.
1389 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1390 (CompileWebKit.start):
1392 2015-10-30 Anders Carlsson <andersca@apple.com>
1394 Begin work on supporting reply blocks in _WKRemoteObjectRegistry
1395 https://bugs.webkit.org/show_bug.cgi?id=150739
1397 Reviewed by Tim Horton.
1399 Add a test. We only test the encoding right now.
1401 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.h:
1402 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm:
1404 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm:
1405 (-[RemoteObjectRegistryPlugIn sayHello:completionHandler:]):
1407 2015-10-30 Lucas Forschler <lforschler@apple.com>
1409 Add CMAke builder to build.webkit.org
1410 https://bugs.webkit.org/show_bug.cgi?id=150738
1412 Reviewed by Alex Christensen.
1414 * BuildSlaveSupport/build.webkit.org-config/config.json:
1416 2015-10-30 Brent Fulgham <bfulgham@apple.com>
1418 [Win] build-jsc and run-javascriptcore-tests do not work
1419 https://bugs.webkit.org/show_bug.cgi?id=150700
1421 Reviewed by Mark Lam.
1423 Correct our build system so that it expects Windows to be using CMake,
1424 and to build the correct sub-projects for our JSC helper scripts.
1426 * Scripts/build-jsc: Make sure to build the testapi harness when
1427 building for Windows.
1428 * Scripts/build-webkit:
1429 (1) Use the existing 'cmakeBasedPortName()'
1430 (2) Use File::Spec rather than hard-coding path delimeters.
1431 (3) Refer to Visual Studio 14.0, rather than the unsupported 12.0.
1432 method rather than hard-coding the name based on conditional.
1433 * Scripts/copy-webkitlibraries-to-product-directory: Don't try to grab
1434 LLVM libraries on Apple Windows build.
1435 * Scripts/run-javascriptcore-tests:
1436 (testapiPath): Use File::Spec rather than hard-coding path delimeters.
1437 * Scripts/run-jsc: Ditto.
1438 * Scripts/webkitdirs.pm:
1439 (cmakeBasedPortName): Update to return the right value for the Apple
1440 Windows port and the WinCairo port.
1441 (isCMakeBuild): Expect CMake build for all Windows ports.
1443 2015-10-30 Carlos Garcia Campos <cgarcia@igalia.com>
1445 [JHBuild] Do not try to update the dependencies if jhbuild configuration hasn't changed
1446 https://bugs.webkit.org/show_bug.cgi?id=150665
1448 Reviewed by Csaba Osztrogonác.
1450 We check it only to wipe the directory or not, but we are still
1451 tryihng to update every module even when the configuration hasn't
1452 changed. This is problematic because it makes the whole build fail
1453 when any repository fails to checkout an already checked out
1454 revision, because the server is down for example. This is even
1455 more problematic for the bots that skip perfectly valid revisions.
1456 It's still possible to force an update passing --force command
1459 * Scripts/update-webkit-libs-jhbuild:
1460 (deleteJhbuildMd5): Delete the md5sum files if exist.
1461 (runJhbuild): Return early if the md5sum files haven't
1462 changed. Only write them after a successful build and delete them
1463 if the build fails to ensure we don't skip next run.
1465 2015-10-30 Philippe Normand <pnormand@igalia.com>
1467 [GTK] Fix MacCLang build errors in Tools
1468 https://bugs.webkit.org/show_bug.cgi?id=150031
1470 Reviewed by Carlos Garcia Campos.
1472 * TestWebKitAPI/PlatformWebView.h: Fix PlatformWindow typedef on OSX flavor of the GTK port.
1473 * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp: Include WKView.h for WKViewCreate().
1474 * WebKitTestRunner/PlatformWebView.h: Fix PlatformWindow typedef on OSX flavor of the GTK port.
1475 * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp: Include WKView.h for WKViewCreate().
1477 2015-10-29 Hunseop Jeong <hs85.jeong@samsung.com>
1479 [EFL] MiniBrowser didn't work after r191749.
1480 https://bugs.webkit.org/show_bug.cgi?id=150706
1482 Reviewed by Alex Christensen.
1484 Renamed jhbuildWrapperPrefixIfNeeded to wrapperPrefixIfNeeded in r191749.
1486 * Scripts/run-minibrowser:
1488 2015-10-29 Commit Queue <commit-queue@webkit.org>
1490 Unreviewed, rolling out r191766.
1491 https://bugs.webkit.org/show_bug.cgi?id=150707
1493 Problem with Cygwin build (Requested by bfulgham_ on #webkit).
1497 "[Win] build-jsc and run-javascriptcore-tests do not work"
1498 https://bugs.webkit.org/show_bug.cgi?id=150700
1499 http://trac.webkit.org/changeset/191766
1501 2015-10-29 Brent Fulgham <bfulgham@apple.com>
1503 [Win] build-jsc and run-javascriptcore-tests do not work
1504 https://bugs.webkit.org/show_bug.cgi?id=150700
1506 Reviewed by Mark Lam.
1508 Correct our build system so that it expects Windows to be using CMake,
1509 and to build the correct sub-projects for our JSC helper scripts.
1511 * Scripts/build-jsc: Make sure to build the testapi harness when
1512 building for Windows.
1513 * Scripts/build-webkit:
1514 (1) Use the existing 'cmakeBasedPortName()'
1515 (2) Use File::Spec rather than hard-coding path delimeters.
1516 (3) Refer to Visual Studio 14.0, rather than the unsupported 12.0.
1517 method rather than hard-coding the name based on conditional.
1518 * Scripts/run-javascriptcore-tests:
1519 (testapiPath): Use File::Spec rather than hard-coding path delimeters.
1520 * Scripts/run-jsc: Ditto.
1521 * Scripts/webkitdirs.pm:
1522 (cmakeBasedPortName): Update to return the right value for the Apple
1523 Windows port and the WinCairo port.
1524 (isCMakeBuild): Expect CMake build for all Windows ports.
1526 2015-10-29 Alex Christensen <achristensen@webkit.org>
1528 Fix build-jsc on Mac after r191749.
1530 * Scripts/build-jsc:
1531 Use isCMakeBuild to determine if we are building with CMake instead of cmakeBasedPortName.
1533 2015-10-29 Alex Christensen <achristensen@webkit.org>
1536 https://bugs.webkit.org/show_bug.cgi?id=150686
1538 Reviewed by Filip Pizlo.
1540 * Scripts/build-webkit:
1541 * Scripts/webkitdirs.pm:
1542 (isCachedArgumentfileOutOfDate):
1543 (wrapperPrefixIfNeeded):
1544 (generateBuildSystemFromCMakeProject):
1545 (buildCMakeGeneratedProject):
1546 (cmakeBasedPortName):
1547 (determineIsCMakeBuild):
1550 (jhbuildWrapperPrefixIfNeeded): Deleted.
1552 2015-10-29 Lucas Forschler <lforschler@apple.com>
1554 Teach JSC bots to build 32bit instead of x86_64
1556 Reviewed by Mark Lam.
1558 * BuildSlaveSupport/build.webkit.org-config/config.json:
1560 2015-10-29 Per Arne Vollan <peavo@outlook.com>
1562 [WinCairo] Fall back to AppleWin results in layout tests.
1563 https://bugs.webkit.org/show_bug.cgi?id=150672
1565 Reviewed by Alex Christensen.
1567 * Scripts/webkitpy/port/win.py:
1569 (WinCairoPort.default_baseline_search_path):
1571 2015-10-28 Keith Rollin <krollin@apple.com>
1573 Do not sanitize user input for input[type=url]
1574 https://bugs.webkit.org/show_bug.cgi?id=150346
1575 <rdar://problem/23243240>
1577 Reviewed by Brent Fulgham.
1579 The Windows version of DumpRenderTree's eventSender.keyDown handler
1580 simulates user-entry by decomposing the given character into a virtual
1581 key code and a set of modifier keys. The code that determines if the
1582 shift key should be simulated only worked if the character was an
1583 upper case character. Extend this support to also include symbols that
1584 (on the U.S. keyboard) require holding down the shift key.
1586 This change allows fast/forms/input-user-input-sanitization.html
1587 to succeed, which requires us to simulate the entering of '@' and ':'.
1589 * DumpRenderTree/win/EventSender.cpp:
1592 2015-10-28 Alex Christensen <achristensen@webkit.org>
1594 Compile and link with CMake on Mac
1595 https://bugs.webkit.org/show_bug.cgi?id=150632
1597 Reviewed by Tim Horton.
1599 * TestWebKitAPI/PlatformMac.cmake:
1601 2015-10-28 Xabier Rodriguez Calvar <calvaris@igalia.com>
1605 * Scripts/webkitpy/common/config/watchlist: Removed dead files from Streams API watchlist.
1607 2015-10-28 Per Arne Vollan <peavo@outlook.com>
1609 Add WinCairo to list of ports in run-webkit-tests.
1610 https://bugs.webkit.org/show_bug.cgi?id=150625
1612 Reviewed by Brent Fulgham.
1614 * Scripts/webkitpy/common/config/ports.py:
1615 (DeprecatedPort.port):
1616 (WinPort.run_webkit_tests_command):
1619 * Scripts/webkitpy/port/factory.py:
1621 * Scripts/webkitpy/port/win.py:
1622 (WinPort.find_system_pid):
1625 2015-10-27 Alexey Proskuryakov <ap@apple.com>
1627 WebKitTestRunner leaks in generateWhitelist()
1628 https://bugs.webkit.org/show_bug.cgi?id=150563
1630 Reviewed by Andreas Kling.
1632 * WebKitTestRunner/mac/TestControllerMac.mm:
1633 (WTR::generateWhitelist):
1635 2015-10-27 Anders Carlsson <andersca@apple.com>
1637 Add an API test for _WKRemoteObjectRegistry
1638 https://bugs.webkit.org/show_bug.cgi?id=150597
1640 Reviewed by Andreas Kling.
1642 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1643 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.h: Added.
1644 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm: Added.
1646 * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm: Added.
1647 (-[RemoteObjectRegistryPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
1648 (-[RemoteObjectRegistryPlugIn sayHello:]):
1650 2015-10-26 Youenn Fablet <youenn.fablet@crf.canon.fr>
1652 Add myself to the reviewers list
1653 https://bugs.webkit.org/show_bug.cgi?id=150581
1657 * Scripts/webkitpy/common/config/contributors.json:
1659 2015-10-26 Ryan Haddad <ryanhaddad@apple.com>
1661 Adding myself to contributors.json
1663 * Scripts/webkitpy/common/config/contributors.json:
1665 2015-10-26 Tim Horton <timothy_horton@apple.com>
1667 Don't expose the whitelist/blacklist in _WKUserStyleSheet
1668 https://bugs.webkit.org/show_bug.cgi?id=150566
1670 Reviewed by Anders Carlsson.
1672 * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1675 2015-10-26 Philippe Normand <pnormand@igalia.com>
1677 Unreviewed, rolling out r191576.
1683 "[GStreamer] Bump internal jhbuild versions to 1.6.0"
1684 https://bugs.webkit.org/show_bug.cgi?id=149594
1685 http://trac.webkit.org/changeset/191576
1687 2015-10-26 ChangSeok Oh <changseok.oh@collabora.com>
1689 [GStreamer] Bump internal jhbuild versions to 1.6.0
1690 https://bugs.webkit.org/show_bug.cgi?id=149594
1692 Reviewed by Philippe Normand.
1694 Bump up whole gstreamer libraries to 1.6.0. Relevant patches are no more
1695 useful so they are removed accordingly.
1697 * gtk/jhbuild.modules:
1698 * gtk/patches/gst-plugins-bad-fix-faad2-version-check.patch: Removed.
1699 * gtk/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed.
1700 * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Removed.
1702 2015-10-25 Alexey Proskuryakov <ap@apple.com>
1704 API tests fail on El Capitan after r191543
1705 https://bugs.webkit.org/show_bug.cgi?id=150547
1707 Reviewed by Dan Bernstein.
1709 * Scripts/run-api-tests: (listAllTests): Add appropriate arch arguments in one more place.
1711 2015-10-24 Tim Horton <timothy_horton@apple.com>
1713 Add a way to add user style sheets to WKUserContentController
1714 https://bugs.webkit.org/show_bug.cgi?id=150531
1715 <rdar://problem/23191691>
1717 Reviewed by Darin Adler.
1719 * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1722 2015-10-24 Tim Horton <timothy_horton@apple.com>
1724 Expose more information about the exception in WKErrorJavaScriptExceptionOccurred errors
1725 https://bugs.webkit.org/show_bug.cgi?id=150525
1727 Reviewed by Darin Adler.
1729 * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
1731 Test the various new keys.
1733 2015-10-24 Frederic Wang <fred.wang@free.fr>
1735 check-webkit-style complains about missing operator whitespace inside character literal
1736 https://bugs.webkit.org/show_bug.cgi?id=150396
1738 Reviewed by Darin Adler.
1740 * Scripts/webkitpy/style/checkers/cpp.py: Improve matching of C++ character literal.
1741 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1742 (WebKitStyleTest.test_spacing): Add a test to verify that the spacing for the character literal 'OS/2' is not tested.
1744 2015-10-23 Michael Saboff <msaboff@apple.com>
1746 REGRESSION (r179357-r179359): WebContent Crash using AOL Mail @ com.apple.JavascriptCore JSC::linkPolymorphicCall(JSC::ExecState*, JSC::CallLinkInfo&, JSC::CallVariant, JSC::RegisterPreservationMode) + 1584
1747 https://bugs.webkit.org/show_bug.cgi?id=150513
1749 Reviewed by Saam Barati.
1751 Added a new test function, failNextNewCodeBlock() to simplify the writing of a regression test.
1753 * DumpRenderTree/TestRunner.cpp:
1754 (simulateWebNotificationClickCallback):
1755 (failNextCodeBlock):
1756 (numberOfDFGCompiles):
1757 (TestRunner::staticFunctions):
1758 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1759 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1760 (WTR::TestRunner::setBlockAllPlugins):
1761 (WTR::TestRunner::failNextCodeBlock):
1762 (WTR::TestRunner::numberOfDFGCompiles):
1763 * WebKitTestRunner/InjectedBundle/TestRunner.h:
1765 2015-10-23 Anders Carlsson <andersca@apple.com>
1767 Simplify the WebKitLegacy menu conversion code
1768 https://bugs.webkit.org/show_bug.cgi?id=150509
1770 Reviewed by Andreas Kling.
1772 Implement the context menu delegate method so we'll test that code path.
1774 * MiniBrowser/mac/WK1BrowserWindowController.m:
1775 (-[WK1BrowserWindowController webView:contextMenuItemsForElement:defaultMenuItems:]):
1777 2015-10-23 Per Arne Vollan <peavo@outlook.com>
1779 [WinCairo] Improve test results for fast layouttests.
1780 https://bugs.webkit.org/show_bug.cgi?id=150464
1782 Reviewed by Alex Christensen.
1784 Set custom device scale factor to 1.0.
1786 * DumpRenderTree/win/DumpRenderTree.cpp:
1787 (createWebViewAndOffscreenWindow):
1789 2015-10-23 Mark Salisbury <mark.salisbury@hp.com>
1791 [GTK] update-webkitgtk-libs should use mesa tarball
1793 https://bugs.webkit.org/show_bug.cgi?id=150470
1795 update-webkitgtk-libs downloads all build dependencies; in fixing
1796 bug 148941 mesa was switched from ftp to git access. Now an http
1797 tarball is available, which is preferred over accessing via git.
1799 Reviewed by Philippe Normand
1801 * gtk/jhbuild.modules:
1802 Mesa access changed to http tarball.
1804 2015-10-22 Sam Weinig <sam@webkit.org>
1806 Navigations on the same host (but with different schemes and ports) should not trigger universal links
1807 <rdar://problem/22811325>
1808 https://bugs.webkit.org/show_bug.cgi?id=150481
1810 Reviewed by Dan Bernstein.
1812 * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm:
1813 Update test to test that navigations on the same host but with different schemes does not
1814 trigger universal links, but that changes in the host do.
1816 2015-10-22 Ryosuke Niwa <rniwa@webkit.org>
1818 REGRESSION (r181972): Scroll position changes to top of youtube page when switching tabs
1819 https://bugs.webkit.org/show_bug.cgi?id=150428
1821 Reviewed by Antti Koivisto.
1823 Added a regression test using WebKit API test.
1825 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1826 * TestWebKitAPI/Tests/mac/FirstResponderScrollingPosition.mm: Added.
1827 (TestWebKitAPI::didFinishLoadForFrame):
1828 (TestWebKitAPI::TEST):
1830 2015-10-22 Carlos Garcia Campos <cgarcia@igalia.com>
1832 Unreviewed. Fix GTK+ build after r191423.
1834 Add WebKitDOMHTMLBaseFontElement to the list of deleted classes.
1837 (WebKitDOMDocGenerator):
1839 2015-10-22 Aakash Jain <aakash_jain@apple.com>
1841 [Win][EFL][GTK] webkitpy test failed after r191374.
1842 https://bugs.webkit.org/show_bug.cgi?id=150433
1844 Reviewed by Alexey Proskuryakov.
1846 * Scripts/webkitpy/common/system/crashlogs_unittest.py:
1847 (CrashLogsTest.test_find_all_log_darwin): Check platform before running test.
1848 (CrashLogsTest.test_find_log_darwin): Same.
1850 2015-10-21 Brian Burg <bburg@apple.com>
1852 Unreviewed, update watchlist for JS builtins.
1854 Add a category for JS builtins code generator, similar to other generators.
1856 Add a nag message to rebaseline builtins generator tests when touching
1857 code generator files in Source/JavaScriptCore/Scripts/builtins/.
1859 * Scripts/webkitpy/common/config/watchlist:
1861 2015-10-21 Brian Burg <bburg@apple.com>
1863 Restructure generate-js-bindings script to be modular and testable
1864 https://bugs.webkit.org/show_bug.cgi?id=149929
1866 Reviewed by Alex Christensen.
1868 Add a stub shell script and basic webkitpy support for running builtins
1871 * Scripts/run-builtins-generator-tests: Added.
1873 * Scripts/webkitpy/codegen/__init__.py: Added.
1874 * Scripts/webkitpy/codegen/main.py: Added.
1876 The only interesting difference here from the inspector protocol
1877 generator equivalent is that this implementation decodes the target
1878 framework and output mode (combined or separate) from the test's file name.
1880 (BuiltinsGeneratorTests):
1881 (BuiltinsGeneratorTests.__init__):
1882 (BuiltinsGeneratorTests.generate_from_js_builtins):
1883 (BuiltinsGeneratorTests.write_error_file):
1884 (BuiltinsGeneratorTests.detect_changes):
1885 (BuiltinsGeneratorTests.run_tests):
1886 (BuiltinsGeneratorTests.main):
1888 2015-10-21 Aakash Jain <aakash_jain@apple.com>
1890 run-webkit-tests does not copy all crash logs for layout test failures on Mac
1891 https://bugs.webkit.org/show_bug.cgi?id=150407
1892 <rdar://problem/22239750>
1894 Reviewed by Alexey Proskuryakov.
1896 * Scripts/webkitpy/port/mac.py:
1897 (MacPort._merge_crash_logs): Merge unique crash logs from two dictionaries.
1898 (MacPort._look_for_all_crash_logs_in_log_dir): Get the crash logs from
1900 (MacPort.look_for_new_crash_logs): Uses above method to get crash logs
1901 from log directory and merge them with the list of already crashed tests.
1903 2015-10-21 Filip Pizlo <fpizlo@apple.com>
1905 Failures in PutStackSinkingPhase should be less severe
1906 https://bugs.webkit.org/show_bug.cgi?id=150400
1908 Reviewed by Geoffrey Garen.
1910 Add a test mode for no PutStackSinkingPhase.
1912 * Scripts/run-jsc-stress-tests:
1914 2015-10-21 Nan Wang <n_wang@apple.com>
1916 AX: Expose table size and cell indexes on iOS
1917 https://bugs.webkit.org/show_bug.cgi?id=150366
1919 Reviewed by Chris Fleizach.
1921 * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1922 (AccessibilityUIElement::rowCount):
1923 (AccessibilityUIElement::columnCount):
1924 (AccessibilityUIElement::indexInTable):
1925 (AccessibilityUIElement::numberAttributeValue):
1926 * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1927 (WTR::AccessibilityUIElement::numberAttributeValue):
1928 (WTR::AccessibilityUIElement::rowCount):
1929 (WTR::AccessibilityUIElement::columnCount):
1930 (WTR::AccessibilityUIElement::indexInTable):
1932 2015-10-21 Youenn Fablet <youenn.fablet@crf.canon.fr>
1934 W3C test importer should not import reference files as regular tests
1935 https://bugs.webkit.org/show_bug.cgi?id=150331
1937 Reviewed by Darin Adler.
1939 Updated test_parser to return information that a file can be a referencefile or a manual test.
1940 Updated test importer to skip those files.
1941 Updated/Added test parser unit tests accordingly.
1943 Updated test importer to import all not-test files, as they are usually used by tests and lead to test failing or timing out.
1944 Updated test importer to log these 'resource' files that are not in a resources folder, and suggest to import script user
1945 to mark these files as Skip, since they are not direct tests.
1947 * Scripts/webkitpy/w3c/test_importer.py:
1948 (TestImporter.__init__):
1949 (TestImporter.find_importable_tests):
1950 (TestImporter.import_tests):
1951 * Scripts/webkitpy/w3c/test_parser.py:
1952 (TestParser.analyze_test):
1953 * Scripts/webkitpy/w3c/test_parser_unittest.py:
1954 (test_analyze_non_html_file):
1955 (test_reference_test):
1957 2015-10-20 Aakash Jain <aakash_jain@apple.com>
1959 run-webkit-tests does not copy all crash logs for layout test failures on iOS
1960 https://bugs.webkit.org/show_bug.cgi?id=150056
1961 <rdar://problem/9280656>
1963 Reviewed by Alexey Proskuryakov.
1965 * Scripts/webkitpy/common/system/crashlogs.py:
1966 (CrashLogs.find_all_logs): Generic method to find all crash logs.
1967 (CrashLogs._find_all_logs_darwin): Darwin based method to find all crash logs.
1968 It iterates through log directory and returns all the logs based on timestamp.
1969 * Scripts/webkitpy/common/system/crashlogs_unittest.py:
1970 (CrashLogsTest.create_crash_logs_darwin): Creates sample crash logs and verify them.
1971 (CrashLogsTest.test_find_all_log_darwin): Testcase for above find_all_logs method
1972 (CrashLogsTest.test_find_log_darwin): Restructured to share code with other methods.
1973 * Scripts/webkitpy/layout_tests/controllers/manager.py:
1974 (Manager.run): Modified start_time to start counting before simulator launch
1975 so that we can capture crashes during simualator launch.
1976 (Manager._look_for_new_crash_logs): Browse through list of crashes and append
1977 any test which is not already marked as CRASH to the run_results.
1978 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1979 (TestExpectationsModel.get_expectations_string): return PASS in case there
1980 are no expectations defined for this test.
1981 * Scripts/webkitpy/layout_tests/models/test_run_results.py:
1982 (summarize_results): Add other_crashes in a separte category in full_results.json.
1983 * Scripts/webkitpy/port/ios.py:
1984 (IOSSimulatorPort._merge_crash_logs): Merge unique crash logs from two dictionaries.
1985 (IOSSimulatorPort._look_for_all_crash_logs_in_log_dir): Get the crash logs
1986 from the log directory.
1987 (IOSSimulatorPort.look_for_new_crash_logs): Uses above method to get crash
1988 logs from log directory and merge them with the list of already crashed tests.
1990 2015-10-20 Dana Burkart <dburkart@apple.com>
1996 My previous patch was missing a necessary space character.
1998 * Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl:
2000 2015-10-20 Dana Burkart <dburkart@apple.com>
2002 svn-apply fails to apply binary diffs in some cases
2003 https://bugs.webkit.org/show_bug.cgi?id=64647
2005 Reviewed by Daniel Bates.
2007 * Scripts/VCSUtils.pm:
2008 (decodeGitBinaryPatchDeltaSize): Modified.
2009 We need to handle the case where the binary diff is the last in the patch; so we match on "-- \n" or "\Z".
2010 * Tools/Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl: Added.
2012 2015-10-20 Alexey Proskuryakov <ap@apple.com>
2014 Mac Debug EWS never finishes when there are failures
2015 https://bugs.webkit.org/show_bug.cgi?id=150334
2017 Reviewed by Daniel Bates.
2019 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
2020 * Scripts/webkitpy/tool/commands/queues.py:
2022 2015-10-20 Philippe Normand <pnormand@igalia.com>
2024 [GTK] Enable OpenWebRTC test video/audio sources in tests
2026 This is needed because we can't expect the buildbots to have
2027 webcam/mic devices plugged in.
2029 Rubber-stamped by Carlos Garcia Campos.
2031 * Scripts/run-gtk-tests:
2032 (TestRunner._setup_testing_environment):
2033 * Scripts/webkitpy/port/gtk.py:
2034 (GtkPort.setup_environ_for_server):
2036 2015-10-20 Yoav Weiss <yoav@yoav.ws>
2038 Rename the PICTURE_SIZES flag to CURRENTSRC
2039 https://bugs.webkit.org/show_bug.cgi?id=150275
2041 Reviewed by Dean Jackson.
2043 * Scripts/webkitperl/FeatureList.pm:
2045 2015-10-19 Hunseop Jeong <hs85.jeong@samsung.com>
2047 Unreviewed, add myself to the committers list.
2049 * Scripts/webkitpy/common/config/contributors.json:
2051 2015-10-19 Alexey Proskuryakov <ap@apple.com>
2053 Add new EWS queues to bot watcher's dashboard
2054 https://bugs.webkit.org/show_bug.cgi?id=150297
2056 Reviewed by Darin Adler.
2058 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
2059 (BubbleQueueServer):
2061 2015-10-19 ChangSeok Oh <changseok.oh@collabora.com>
2063 REGRESSION(r190262): User media unit test failures after r190262
2064 https://bugs.webkit.org/show_bug.cgi?id=149580
2066 Reviewed by Carlos Garcia Campos.
2068 The test failures on usermedia-permission-requests and WebKit2.UserMediaBasic have gone.
2069 So we do not need to skip them anymore.
2071 * Scripts/run-gtk-tests:
2072 (TestRunner): Deleted.
2074 2015-10-19 Csaba Osztrogonác <ossy@webkit.org>
2076 Add historical addresses to contributors.json
2077 https://bugs.webkit.org/show_bug.cgi?id=150227
2079 Reviewed by Darin Adler.
2081 * Scripts/webkitpy/common/config/contributors.json:
2083 2015-10-18 Sungmann Cho <sungmann.cho@navercorp.com>
2085 [Win] Change the DLL name in MiniBrowserLib.vcxproj to match webkit.org/b/150124.
2086 https://bugs.webkit.org/show_bug.cgi?id=150307
2088 Reviewed by Brent Fulgham.
2090 The DLL build rules have been changed to generate "{Name}Lib.DLL",
2091 but these changes have not yet been applied to the Visual Studio builds.
2093 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj:
2095 2015-10-16 Andreas Kling <akling@apple.com>
2097 [EFL, AppleWin] WTF.ConcatenateCharacterArrayAndEmptyString API test failed
2098 <https://webkit.org/b/150153>
2102 Just use simple arrays of LChar and UChar for this test instead of creating String
2103 objects and then getting the characters8()/characters16() from them, since that
2104 doesn't guarantee null-termination (the bug.)
2106 * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
2107 (TestWebKitAPI::TEST):
2108 (TestWebKitAPI::build): Deleted.
2110 2015-10-16 Tim Horton <timothy_horton@apple.com>
2112 WebKit2.AutoLayoutIntegration API test is failing on some of the bots
2113 https://bugs.webkit.org/show_bug.cgi?id=150255
2115 Reviewed by Simon Fraser.
2117 * Scripts/run-api-tests:
2119 * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
2120 (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:]):
2121 (-[AutoLayoutWKWebView layoutAtMinimumWidth:andExpectContentSizeChange:]):
2122 (-[AutoLayoutWKWebView load:expectingContentSize:]): Deleted.
2123 (-[AutoLayoutWKWebView expectContentSizeChange:]): Deleted.
2124 Don't set the layout size until after the load finishes and we're waiting
2125 for the reply, so that there is no race between the new size coming in
2126 and us waiting for it.
2128 2015-10-16 Anders Carlsson <andersca@apple.com>
2130 WebEditingDelegate should be a formal protocol
2131 https://bugs.webkit.org/show_bug.cgi?id=150254
2132 <rdar://problem/23149847>
2134 Reviewed by Dan Bernstein.
2136 * DumpRenderTree/mac/EditingDelegate.h:
2137 Conform to the WebEditingDelegate protocol.
2139 2015-10-16 Tim Horton <timothy_horton@apple.com>
2141 Hook up autolayout intrinsic sizing for WKWebView
2142 https://bugs.webkit.org/show_bug.cgi?id=150219
2143 <rdar://problem/20016905>
2145 Reviewed by Simon Fraser.
2147 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2148 * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm: Added.
2149 (-[AutoLayoutNavigationDelegate webView:didFinishNavigation:]):
2150 (-[AutoLayoutWKWebView load:expectingContentSize:]):
2151 (-[AutoLayoutWKWebView expectContentSizeChange:]):
2152 (-[AutoLayoutWKWebView invalidateIntrinsicContentSize]):
2154 Add a variety of tests, including one which catches the bug that
2155 the WebCore part of this patch fixes.
2157 2015-10-15 Csaba Osztrogonác <ossy@webkit.org>
2159 Update the help message of --system-malloc
2160 https://bugs.webkit.org/show_bug.cgi?id=150169
2162 Reviewed by Geoffrey Garen.
2164 * Scripts/webkitperl/FeatureList.pm:
2166 2015-10-15 Youenn Fablet <youenn.fablet@crf.canon.fr>
2168 Update ImportExpectations according currently imported wpt tests
2169 https://bugs.webkit.org/show_bug.cgi?id=150158
2171 Reviewed by Chris Dumez.
2173 * Scripts/webkitpy/w3c/test_downloader.py:
2174 (TestDownloader.copy_tests): ensuring that directories marked as [ Skip ] are not copied.
2176 2015-10-15 Eunmi Lee <eunmi15.lee@samsung.com>
2178 Unreviewed, Update my email address.
2180 * Scripts/webkitpy/common/config/contributors.json:
2182 2015-10-15 Carlos Garcia Campos <cgarcia@igalia.com>
2184 [GTK] Test WebKit2.RestoreSessionStateContainingFormData fails
2185 https://bugs.webkit.org/show_bug.cgi?id=84960
2187 Reviewed by Žan Doberšek.
2189 * Scripts/run-gtk-tests:
2190 (TestRunner): Unskip tests using SessionState.
2191 * TestWebKitAPI/PlatformGTK.cmake: Add
2192 WKPageCopySessionStateWithFiltering test.
2194 2015-10-14 Carlos Garcia Campos <cgarcia@igalia.com>
2196 [GTK] Missing return value on TestWebExtensions.cpp:193
2197 https://bugs.webkit.org/show_bug.cgi?id=149755
2199 Unreviewed. Add missing return value.
2201 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2202 (permissionRequestCallback):
2204 2015-10-14 Andy Estes <aestes@apple.com>
2206 [iOS] build-dumprendertree does not build ImageDiff
2207 https://bugs.webkit.org/show_bug.cgi?id=150152
2209 Reviewed by Tim Horton.
2211 run-webkit-tests attempts to build the tools it requires by calling build-dumprendertree and build-webkittestrunner.
2212 On iOS, build-dumprendertree builds the DumpRenderTree.app target, which does not contain the ImageDiff target
2213 as a dependent. If you haven't built ImageDiff by other means (say, because you built the 'All Source' scheme in
2214 WebKit.xcworkspace), tests that rely on image diffing won't work properly.
2216 There's actually no reason to build the DumpRenderTree.app target on iOS; the default aggregate target works
2217 fine on that platform, and results in ImageDiff being built.
2219 * Scripts/build-dumprendertree:
2221 2015-10-14 Brent Fulgham <bfulgham@apple.com>
2223 [Win] Enforce launcher/library naming scheme
2224 https://bugs.webkit.org/show_bug.cgi?id=150124
2226 Reviewed by Alex Christensen.
2228 * DumpRenderTree/PlatformWin.cmake: Use 'Lib' suffix for DLLs.
2229 * MiniBrowser/win/CMakeLists.txt: Ditto.
2230 * TestWebKitAPI/PlatformWin.cmake: Ditto.
2231 * win/DLLLauncher/DLLLauncherMain.cpp:
2232 (wWinMain): Look for a DLL named {name}Lib.dll, rather than the
2233 original {name}.dll.
2235 2015-10-14 Andreas Kling <akling@apple.com>
2237 REGRESSION(r190882): Concatenating a character array and an empty string is broken.
2238 <https://webkit.org/b/150135>
2240 Reviewed by Geoffrey Garen.
2242 Add a new WTF API test that covers this issue.
2244 * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
2245 (TestWebKitAPI::build):
2246 (TestWebKitAPI::TEST):
2248 2015-10-14 Alex Christensen <achristensen@webkit.org>
2250 Add SPI for reloading without content blockers
2251 https://bugs.webkit.org/show_bug.cgi?id=150058
2252 rdar://problem/22742222
2254 Reviewed by Sam Weinig.
2256 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2257 (WTR::TestController::cocoaResetStateToConsistentValues):
2258 * WebKitTestRunner/mac/TestControllerMac.mm:
2259 (WTR::TestController::platformConfigureViewForTest):
2261 2015-10-14 Mark Lam <mark.lam@apple.com>
2263 Rename some JSC option names to be more uniform.
2264 https://bugs.webkit.org/show_bug.cgi?id=150127
2266 Reviewed by Geoffrey Garen.
2268 * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
2269 * Scripts/run-jsc-stress-tests:
2271 2015-10-14 Anders Carlsson <andersca@apple.com>
2273 Change the bundle app cache APIs to take a page
2274 https://bugs.webkit.org/show_bug.cgi?id=150123
2276 Reviewed by Sam Weinig.
2280 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2281 (WTR::InjectedBundle::beginTesting):
2282 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2283 (WTR::InjectedBundlePage::didReachApplicationCacheOriginQuota):
2284 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2285 (WTR::TestRunner::clearAllApplicationCaches):
2286 (WTR::TestRunner::clearApplicationCacheForOrigin):
2287 (WTR::TestRunner::setAppCacheMaximumSize):
2288 (WTR::TestRunner::applicationCacheDiskUsageForOrigin):
2289 (WTR::TestRunner::originsWithApplicationCache):
2291 2015-10-14 Youenn Fablet <youenn.fablet@crf.canon.fr>
2293 Update web-platform-tests tools to the latest revision
2294 https://bugs.webkit.org/show_bug.cgi?id=149645
2296 Reviewed by Darin Adler.
2298 Disabling git submodules information conversion to json install file for web-platform-tests.
2299 Disabling related python unit tests.
2300 The tools submodules contain submodules and the conversion tool does not support that yet.
2302 Updating wpt launcher script to aling it with web-platform-test main script.
2304 * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
2306 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
2307 (TestWebPlatformTestServer.test_corrupted_subserver_files): Deleted.
2308 * Scripts/webkitpy/w3c/test_importer_unittest.py:
2309 (TestImporterTest.test_submodules_generation):
2311 2015-10-13 Alexey Proskuryakov <ap@apple.com>
2313 More debug queue build fixing.
2315 Preserve the build style in one more place. Changed mock build_style from "both"
2316 to "release", as we don't support testing both debug and release.
2318 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
2319 (MockCommitQueue.archive_last_test_results):
2321 (MockCommitQueue.build_style):
2322 (MockCommitQueue.did_pass_testing_ews):
2323 * Scripts/webkitpy/tool/bot/patchanalysistask.py:
2324 (PatchAnalysisTask._test):
2325 (PatchAnalysisTask._build_and_test_without_patch):
2326 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
2327 (EarlyWarningSystemTest._default_expected_logs):
2328 * Scripts/webkitpy/tool/commands/queues_unittest.py:
2330 2015-10-13 Alexey Proskuryakov <ap@apple.com>
2332 More debug queue build fixing.
2334 Add build_style argument to derived classes as well.
2336 * Scripts/webkitpy/common/config/ports.py:
2338 (MacPort.run_webkit_tests_command):
2339 (WinPort.run_bindings_tests_command):
2341 (WinPort.run_webkit_tests_command):
2342 (GtkWK2Port.build_webkit_command):
2344 (GtkWK2Port.run_webkit_tests_command):
2346 2015-10-13 Myles C. Maxfield <mmaxfield@apple.com>
2352 Mach-O section names are limited to 16 characters.
2354 * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
2355 * DumpRenderTree/mac/DumpRenderTree.mm:
2358 2015-10-13 Alexey Proskuryakov <ap@apple.com>
2360 Build fix for mac-debug EWS queue.
2364 Pass --debug to run-webkit-tests.
2366 While at it, removed unsupported run_webkit_unit_tests_command. All the test steps
2367 will need to be substantially modified to work in EWS, so the dummy implementation
2370 * Scripts/webkitpy/common/config/ports.py:
2371 (DeprecatedPort.run_javascriptcore_tests_command):
2373 (DeprecatedPort.run_webkit_tests_command):
2374 (DeprecatedPort.run_python_unittests_command):
2375 (DeprecatedPort.run_webkit_unit_tests_command): Deleted.
2376 * Scripts/webkitpy/common/config/ports_mock.py:
2377 (MockPort.run_javascriptcore_tests_command):
2379 (MockPort.run_webkit_tests_command):
2380 (MockPort.run_bindings_tests_command):
2381 (MockPort.run_webkit_unit_tests_command): Deleted.
2382 * Scripts/webkitpy/tool/commands/download_unittest.py:
2383 * Scripts/webkitpy/tool/steps/runtests.py:
2385 * Scripts/webkitpy/tool/steps/runtests_unittest.py:
2386 (RunTestsTest.test_webkit_run_unit_tests):
2387 * Scripts/webkitpy/tool/steps/steps_unittest.py:
2388 (StepsTest.test_runtests_args):
2390 2015-10-13 Brent Fulgham <bfulgham@apple.com>
2392 [Win] Generate Crash Traces
2393 https://bugs.webkit.org/show_bug.cgi?id=150103
2395 Reviewed by Daniel Bates.
2397 We were using an exception filter to try to emit "#CRASHED" to stderr
2398 when a test program crashed. However, the modern Python implementation
2399 seems capable of recognizing crashes on its own. Furthermore, registering
2400 the exception handler was preventing the JIT debugger (NTSD) from
2401 automatically attaching to the crashing program, so we were not getting
2404 * DumpRenderTree/win/DumpRenderTree.cpp:
2405 (main): Don't register an exception filter.
2406 (exceptionFilter): Deleted.
2407 * Scripts/webkitpy/common/system/crashlogs.py:
2408 (CrashLogs): Add another regular expression to handle a second crash trace
2409 syntax I encountered during testing.
2410 (CrashLogs._find_newest_log_win): If the old regular expression doesn't match,
2411 try the new one. The PID found by the new expression is in hexadecimal, so
2412 convert it to an integer before returning it.
2413 * Scripts/webkitpy/port/driver.py:
2414 (Driver._check_for_driver_crash_or_unresponsiveness): Windows was not recognizing
2415 the "#CRASHED" state because it was appending '\r\n', rather than just '\r'. Instead,
2416 check for "#CRASHED" after stripping off the EOL characters.
2417 * Scripts/webkitpy/port/win.py:
2418 (WinPort.setup_crash_log_saving): Put back the '-e %ld' flag in the debugger
2419 invocation. This is apparently used to signal an event when the debugger is finished.
2421 2015-10-13 Alexey Proskuryakov <ap@apple.com>
2423 Mac Debug and 32-bit queues should be separate
2424 https://bugs.webkit.org/show_bug.cgi?id=150092
2426 Reviewed by Lucas Forschler.
2428 * QueueStatusServer/config/queues.py:
2429 * QueueStatusServer/model/queues.py:
2430 (Queue._capitalize_after_dash):
2431 (Queue._caplitalize_after_dash): Deleted.
2432 * Scripts/webkitpy/common/config/ews.json:
2434 2015-10-13 Sergio Villar Senin <svillar@igalia.com>
2436 [GTK] Fix build for ENABLE_TOUCH_EVENTS=OFF
2437 https://bugs.webkit.org/show_bug.cgi?id=150085
2439 Reviewed by Carlos Garcia Campos.
2441 * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2443 2015-10-13 Sebastian Dröge <sebastian@centricular.com>
2445 Unreviewed, add myself to the committers list.
2447 * Scripts/webkitpy/common/config/contributors.json:
2449 2015-10-12 Alexey Proskuryakov <ap@apple.com>
2451 Update bot watcher's dashboard to reflect that EWS is on iOS 9 now
2452 https://bugs.webkit.org/show_bug.cgi?id=149983
2454 Reviewed by Dan Bates.
2456 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
2457 (BubbleQueueServer):
2458 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2460 2015-10-12 Alexey Proskuryakov <ap@apple.com>
2462 Fix webkitpy tests after r190922.
2464 * Scripts/webkitpy/common/config/ews.json:
2465 * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
2466 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
2468 2015-10-12 Alexey Proskuryakov <ap@apple.com>
2470 Add a Mac debug EWS queue
2471 https://bugs.webkit.org/show_bug.cgi?id=150069
2473 Reviewed by Geoffrey Garen.
2475 * QueueStatusServer/config/queues.py:
2476 * Scripts/webkitpy/common/config/ews.json:
2477 * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
2478 (AbstractEarlyWarningSystem):
2479 (AbstractEarlyWarningSystem.archive_last_test_results):
2480 (AbstractEarlyWarningSystem.build_style):
2481 (AbstractEarlyWarningSystem.refetch_patch):
2482 (AbstractEarlyWarningSystem.load_ews_classes):
2484 2015-10-12 Mario Sanchez Prada <mario@endlessm.com>
2486 [GTK] Update jhbuild's version of harfbuzz
2487 https://bugs.webkit.org/show_bug.cgi?id=149749
2489 Reviewed by Martin Robinson.
2491 Update harfbuzz to 0.9.35, following the lead of Debian Stable.
2493 * gtk/jhbuild.modules: Updated details for harfbuzz.
2495 2015-10-12 Mario Sanchez Prada <mario@endlessm.com>
2497 [GTK] Media tests crashing with gst-plugins-bad 1.4.4 and cpp 5.2
2498 https://bugs.webkit.org/show_bug.cgi?id=150026
2500 Reviewed by Philippe Normand.
2502 Backport upstream patch from gst-plugins-bad so that the right version
2503 of FAAD2 can be found with newer versions of cpp, so that gst-plugins-bad
2504 gets compiled properly, avoiding crashes on runtime while running tests.
2506 * gtk/patches/gst-plugins-bad-fix-faad2-version-check.patch: Added.
2507 * gtk/jhbuild.modules: Referenced the newly added patch for gst-plugins-bad.
2509 2015-10-11 Myles C. Maxfield <mmaxfield@apple.com>
2511 Test font-variant-* and font-feature-settings with mocked preinstalled fonts
2512 https://bugs.webkit.org/show_bug.cgi?id=149777
2514 Reviewed by Simon Fraser.
2516 Include FontWithFeatures in DumpRenderTree and WebKitTestRunner. Add it
2517 to the list of tests to preinstall at startup time.
2519 Also, update the generation of the 'name' table in the FontWithFeatures font.
2521 * DumpRenderTree/mac/DumpRenderTree.mm:
2522 (allowedFontFamilySet):
2523 (activateTestingFonts):
2525 * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
2526 (Generator::generate):
2527 (Generator::appendCFFTable):
2528 (Generator::appendNameSubtable):
2529 (Generator::appendNAMETable):
2530 * FontWithFeatures/FontWithFeatures/main.cpp:
2532 * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
2533 (WTR::allowedFontFamilySet):
2534 (WTR::activateFonts):
2535 * WebKitTestRunner/mac/TestControllerMac.mm:
2536 (WTR::allowedFontFamilySet):
2538 2015-10-11 Jinyoung Hur <hur.ims@navercorp.com>
2540 Unreviewed. Add Jinyoung Hur as a committer.
2542 * Scripts/webkitpy/common/config/contributors.json:
2544 2015-10-10 Dan Bernstein <mitz@apple.com>
2546 [iOS] Remove unnecessary iOS version checks
2547 https://bugs.webkit.org/show_bug.cgi?id=150002
2549 Reviewed by Alexey Proskuryakov.
2551 * WebKitTestRunner/ios/HIDEventGenerator.mm:
2552 (-[HIDEventGenerator _createIOHIDEventType:]):
2553 (-[HIDEventGenerator _sendHIDEvent:]):
2554 (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
2555 * WebKitTestRunner/ios/UIKitSPI.h:
2557 2015-10-09 Myles C. Maxfield <mmaxfield@apple.com>
2559 Unreviewed, rolling out r190689
2560 https://bugs.webkit.org/show_bug.cgi?id=149992
2562 Fixed in other repository.
2564 Reverted changesets:
2566 "Unreviewed, rolling out r190572, r190593, r190594, and r190639."
2567 https://bugs.webkit.org/show_bug.cgi?id=149897
2569 2015-10-09 Brian Burg <bburg@apple.com>
2571 Teach webkitperl how to figure out IOS versions from the SDK
2572 https://bugs.webkit.org/show_bug.cgi?id=149963
2574 Reviewed by Daniel Bates.
2576 It should be easier to check the major and minor version of IOS SDKs.
2578 * Scripts/copy-webkitlibraries-to-product-directory: use iosVersion().
2579 * Scripts/webkitdirs.pm:
2580 (splitVersionString): Added.
2581 (determineOSXVersion): Use splitVersionString.
2582 (determineIOSVersion): Added. Look at the SDK version and make a tuple.
2583 (iosVersion): Added.
2585 2015-10-09 Simon Fraser <simon.fraser@apple.com>
2587 [iOS WK2] Fix some leaks in TestRunnerWKWebView and UIScriptContext
2588 https://bugs.webkit.org/show_bug.cgi?id=149960
2590 Reviewed by Tim Horton.
2592 Use adoptWK(), and null out some members (file is not using ARC).
2594 * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
2595 (UIScriptContext::uiScriptComplete):
2596 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
2597 (-[TestRunnerWKWebView dealloc]):
2599 2015-10-09 Csaba Osztrogonác <ossy@webkit.org>
2601 Remove ENABLE_SUID_SANDBOX_LINUX cruft
2602 https://bugs.webkit.org/show_bug.cgi?id=149954
2604 Reviewed by Darin Adler.
2606 * Scripts/webkitperl/FeatureList.pm:
2608 2015-10-09 Daniel Bates <dabates@apple.com>
2610 Make iOS builders generate debug information in a separate dSYM file
2611 https://bugs.webkit.org/show_bug.cgi?id=149696
2613 Reviewed by Darin Adler.
2615 Similar to the Mac builders, the iOS builders should write debug information
2616 into a separate dSYM file instead of including such information in the binary
2617 itself (default Xcode behavior)
2619 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2620 (CompileWebKit.start):
2622 2015-10-09 Csaba Osztrogonác <ossy@webkit.org>
2624 Fix webkitpy tests after r190779
2625 https://bugs.webkit.org/show_bug.cgi?id=149949
2627 Reviewed by Ryosuke Niwa.
2629 * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
2630 (BenchmarkResults.format):
2631 (BenchmarkResults._format_values):
2633 2015-10-08 Dewei Zhu <dewei_zhu@apple.com>
2635 Extend run-benchmark script to support human-readable results conversion.
2636 https://bugs.webkit.org/show_bug.cgi?id=149944
2638 Reviewed by Ryosuke Niwa.
2640 Add '--read-results-json' and '--no-adjust-unit' options.
2641 '--read-results-json' option converts result file to human readable format.
2642 '--no-adjust-unit' option skips scientific notation convertion.
2643 '--platform' defaults to 'osx' and '--browser' defaults to 'safari'.
2645 * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
2646 (BenchmarkResults.format):
2647 (BenchmarkResults._format_tests):
2648 (BenchmarkResults._format_values):
2649 * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2650 (BenchmarkRunner.__init__):
2651 (BenchmarkRunner._run_benchmark):
2652 (BenchmarkRunner._dump):
2653 (BenchmarkRunner.show_results):
2654 (BenchmarkRunner._show_results): Deleted.
2655 * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
2659 2015-10-08 Daniel Bates <dabates@apple.com>
2661 Add iOS 9 device builder to WebKit Bot Watcher's Dashboard
2662 https://bugs.webkit.org/show_bug.cgi?id=149945
2664 Reviewed by Dan Bernstein.
2666 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9.png: Added.
2667 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9@2x.png: Added.
2668 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2669 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2671 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2672 (table.queue-grid tr.platform.ios-9 img.logo):
2674 2015-10-08 Daniel Bates <dabates@apple.com>
2676 Teach build-webkit to install LLVM binaries for iOS when building for device with the public iOS SDK
2677 https://bugs.webkit.org/show_bug.cgi?id=149943
2679 Reviewed by Dan Bernstein.
2681 Following the addition of the LLVM binaries for iOS in changeset r190759 (bug #149913) we should
2682 teach build-webkit to install them when building for iOS device using the public iOS SDK.
2684 * Scripts/build-webkit:
2686 2015-10-08 Daniel Bates <dabates@apple.com>
2688 Add LLVM binaries for iOS 9 device
2689 https://bugs.webkit.org/show_bug.cgi?id=149913
2691 Reviewed by Filip Pizlo.
2693 Implement support for building LLVM for ARM64-based iOS devices.
2695 * Scripts/build-jsc: Enable the FTL when building for Mac or iOS device.
2696 * Scripts/copy-webkitlibraries-to-product-directory: Move logic to clean
2697 an existing build earlier in the file such that remove previously built
2698 libraries before building/copying new ones (if applicable).
2699 (fileContains): Moved function outside of if-block.
2700 (isContentOfFileEqualToString): Renamed; formerly named fileContentsEquals().
2701 (buildLLVM): Added. Extracted machinery to build LLVM into this function and
2702 added logic to build LLVM for ARM64-based iOS devices.
2703 (symlinkLLVMLibrariesIfNeeded): Added. Extracted machinery to symlink the built
2704 LLVM into the WebKitBuild directory.
2706 2015-10-08 Alexey Proskuryakov <ap@apple.com>
2708 Crash-only queues on bot watcher's dashboard should not have non-crashing tests in popovers
2709 https://bugs.webkit.org/show_bug.cgi?id=149848
2711 Reviewed by Darin Adler.
2713 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2715 2015-10-07 Brent Fulgham <bfulgham@apple.com>
2717 [Win] Support 64-bit Build and Testing
2718 https://bugs.webkit.org/show_bug.cgi?id=149904
2720 Reviewed by Daniel Bates.
2722 Extend our existing scripts to support 64-bit build and test operations on
2725 * Scripts/build-dumprendertree: We don't need to build DRT on its own;
2726 Windows always builds the whole stack.
2727 * Scripts/webkit-build-directory: Add an option to return the location of
2728 the executable files produced by a specific configuration. This change is
2729 actually useful for Gtk and EFL, too.
2730 * Scripts/webkitdirs.pm:
2731 (executableProductDir): Added. This function appends the proper binary
2732 path to the productDir. This is useful for Windows, Gtk, and EFL ports.
2733 (jscProductDir): Use the new 'executableProductDir' method.
2734 (setPathForRunningWebKitApp): Ditto.
2736 (runMiniBrowser): Ditto.
2737 * Scripts/webkitpy/port/factory.py:
2738 (configuration_options): Add a 64-bit option, used on Windows to specify
2739 which binary target should be used for testing.
2740 * Scripts/webkitpy/port/win.py:
2741 (WinPort._port_flag_for_scripts): Added. Supply the 64-bit flag to child
2742 processes when needed.
2743 (WinPort._build_path): Add the correct binary target path to _build_path.
2744 (WinPort._ntsd_location): Check 32-bit paths when running 32-bit tests,
2745 64-bit paths for 64-bit tests.
2746 (WinPort.setup_crash_log_saving): Remove '-e %ld' argument, since the
2747 NTSD debugger does not understand this argument.
2749 2015-10-07 Myles C. Maxfield <mmaxfield@apple.com>
2751 Test font-variant-* and font-feature-settings with TrueType fonts
2752 https://bugs.webkit.org/show_bug.cgi?id=149776
2754 Reviewed by Simon Fraser.
2756 This test extends our existing FontWithFeatures project to be able to generate a
2757 TrueType font. This font is conceptually similar as the existing OpenType font,
2758 except the feature -> character mapping is different.
2760 The font itself only supports the following characters:
2761 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
2762 However, the shape of these letters are either an X or a check mark.
2763 The letter "A" always is a check mark.
2764 The letter "B" always is an X.
2765 Each font feature has an letter associated with it. When the font feature is enabled,
2766 that letter is shown as a check mark. For example, when
2767 "kLowerCaseType / kLowerCaseSmallCapsSelector" is enabled, "S" is shown as a check
2770 Here are the mappings of font features to letters:
2771 kLigaturesType / kCommonLigaturesOnSelector: C
2772 kLigaturesType / kContextualLigaturesOnSelector: D
2773 kLigaturesType / kRareLigaturesOnSelector: G
2774 kLigaturesType / kHistoricalLigaturesOnSelector: I
2775 kContextualAlternatesType / kContextualAlternatesOnSelector: L
2776 kVerticalPositionType / kInferiorsSelector: O
2777 kVerticalPositionType / kSuperiorsSelector: P
2778 kLowerCaseType / kLowerCaseSmallCapsSelector: S
2779 kUpperCaseType / kUpperCaseSmallCapsSelector: V
2780 kLowerCaseType / kLowerCasePetiteCapsSelector: T
2781 kUpperCaseType / kUpperCasePetiteCapsSelector: W
2782 kLetterCaseType / 14: Y
2783 kStyleOptionsType / kTitlingCapsSelector: a
2784 kNumberCaseType / kUpperCaseNumbersSelector: c
2785 kNumberCaseType / kLowerCaseNumbersSelector: d
2786 kNumberSpacingType / kProportionalNumbersSelector: f
2787 kNumberSpacingType / kMonospacedNumbersSelector: g
2788 kFractionsType / kDiagonalFractionsSelector: i
2789 kFractionsType / kVerticalFractionsSelector: j
2790 kVerticalPositionType / kOrdinalsSelector: Q
2791 kTypographicExtrasType / kSlashedZeroOnSelector: k
2792 kLigaturesType / kHistoricalLigaturesOnSelector: K
2793 kCharacterShapeType / kJIS1978CharactersSelector: m
2794 kCharacterShapeType / kJIS1983CharactersSelector: n
2795 kCharacterShapeType / kJIS1990CharactersSelector: o
2796 kCharacterShapeType / kJIS2004CharactersSelector: p
2797 kCharacterShapeType / kSimplifiedCharactersSelector: q
2798 kCharacterShapeType / kTraditionalCharactersSelector: r
2799 kTextSpacingType / kMonospacedTextSelector: t
2800 kTextSpacingType / kProportionalTextSelector: u
2801 kRubyKanaType / kRubyKanaOnSelector: v
2803 * FontWithFeatures/FontWithFeatures.xcodeproj/project.pbxproj:
2804 * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
2805 (CFFBuilder::moveTo):
2806 (CFFBuilder::lineTo):
2807 (GLYFBuilder::GLYFBuilder):
2808 (GLYFBuilder::takeResult):
2809 (GLYFBuilder::moveTo):
2810 (GLYFBuilder::lineTo):
2811 (GLYFBuilder::closePath):
2812 (GLYFBuilder::writePoint):
2813 (GLYFBuilder::append16):
2814 (generateBoxCharString):
2815 (generateCheckCharString):
2816 (generateXCharString):
2818 (Generator::generate):
2819 (Generator::insertSelector):
2820 (Generator::insertFeature):
2821 (Generator::generateFeatureDescription):
2822 (Generator::appendCFFTable):
2823 (Generator::appendGLYFTable):
2824 (Generator::appendLOCATable):
2825 (Generator::appendFEATTable):
2826 (Generator::appendMetamorphosisChain):
2827 (Generator::appendMORXTable):
2828 (Generator::appendHEADTable):
2829 (Generator::appendHMTXTable):
2830 (Generator::appendNameSubtable):
2831 (Generator::append2ByteASCIIString):
2832 (Generator::appendNAMETable):
2834 (CFFBuilder::curveToCubic): Deleted.
2835 (charStringForGlyph): Deleted.
2836 * FontWithFeatures/FontWithFeatures/FontCreator.h:
2837 * FontWithFeatures/FontWithFeatures/main.cpp:
2838 (constructFontWithTrueTypeFeature):
2839 (constructFontWithOpenTypeFeature):
2842 (drawTextWithFeature): Deleted.
2844 2015-10-07 Commit Queue <commit-queue@webkit.org>
2846 Unreviewed, rolling out r190572, r190593, r190594, and
2848 https://bugs.webkit.org/show_bug.cgi?id=149897
2850 Breaks Mavericks build (Requested by litherum on #webkit).
2852 Reverted changesets:
2854 "Allow WKRetainPtrs to be used as keys in hashing data
2856 https://bugs.webkit.org/show_bug.cgi?id=149762
2857 http://trac.webkit.org/changeset/190572
2859 "REGRESSION(189668?): http/tests/notifications/events.html
2860 flakily asserts or times out"
2861 https://bugs.webkit.org/show_bug.cgi?id=149218
2862 http://trac.webkit.org/changeset/190593
2864 "Prospective Mavericks build fix."
2865 http://trac.webkit.org/changeset/190594
2867 "Post-review cleanup after r190572."
2868 http://trac.webkit.org/changeset/190639
2870 2015-10-06 Michael Catanzaro <mcatanzaro@igalia.com>
2872 [GTK] Add autocleanups
2873 https://bugs.webkit.org/show_bug.cgi?id=149588
2875 Reviewed by Darin Adler.
2877 * TestWebKitAPI/Tests/WebKit2Gtk/AutocleanupsTest.cpp: Added.
2878 (AutocleanupsTest::create):
2879 (AutocleanupsTest::testWebProcessAutocleanups):
2881 * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2882 * TestWebKitAPI/Tests/WebKit2Gtk/TestAutocleanups.cpp: Added.
2883 (testUIProcessAutocleanups):
2884 (testWebProcessAutocleanups):
2888 2015-10-06 Brian Burg <bburg@apple.com>
2890 Unreviewed, try to fix the iOS 8 build after r190368.
2892 On older versions, IOHIDEventCreateForceEvent is not available.
2894 * WebKitTestRunner/ios/HIDEventGenerator.mm:
2895 (-[HIDEventGenerator _createIOHIDEventType:]): Add another guard for force events.
2897 2015-10-06 Keith Miller <keith_miller@apple.com>
2899 Add gmalloc option to run-javascriptcore-tests.
2900 https://bugs.webkit.org/show_bug.cgi?id=149858
2902 Reviewed by Geoffrey Garen.
2904 run-javascriptcore-tests takes a new option --gmalloc with an optional string argument, the path to the gmalloc dylib.
2905 If no argument is provided then /usr/lib/libgmalloc.dylib is used by default.
2907 * Scripts/run-javascriptcore-tests:
2909 2015-10-06 Myles C. Maxfield <mmaxfield@apple.com>
2911 Post-review cleanup after r190572.
2915 * TestWebKitAPI/Tests/WebKit2/WKRetainPtr.cpp:
2917 2015-10-06 Brent Fulgham <bfulgham@apple.com>
2919 [Win] Unreviewed build correction.
2921 * TestWebKitAPI/PlatformWin.cmake: We don't need to link to all of these libraries. Most
2922 are soft-linked at runtime.
2924 2015-10-06 Keith Miller <keith_miller@apple.com>
2926 Fix run-javascriptcore-tests/run-jsc-stress-tests to work with rootless, add a --quick option and deprecate the Mozilla driver.
2927 https://bugs.webkit.org/show_bug.cgi?id=149815
2929 Reviewed by Filip Pizlo.
2931 Rootless has an issue where it will strip any environment variables that start with DYLD starting a perl/ruby/python script.
2932 Now, run-jsc-stress-tests takes an new argument, --env-vars, that will set the specified environment variables before
2933 running tests. Additionally, I added a quick option that only runs default and the NoCJITValidate versions of each test.
2934 Finally, I removed the calls to the mozilla jsDriver.pl since the run-jsc-stress-tests runner runs the same test suite
2935 so should just use one test runner.
2937 * Scripts/run-javascriptcore-tests:
2938 (runJSCStressTests):
2939 (runMozillaTests): Deleted.
2940 (defaultJsDriverArgsForMozillaTests): Deleted.
2941 * Scripts/run-jsc-stress-tests:
2943 2015-10-06 Mark Salisbury <mark.salisbury@hp.com>
2945 [GTK] Make update-webkitgtk-libs work behind firewall
2947 update-webkitgtk-libs can work behind a firewall with changes to
2948 a few packages. Where outbound git and active FTP connections
2949 fail, using http protocol succeeds. Most packages are
2950 already accessed using http.
2952 https://bugs.webkit.org/show_bug.cgi?id=148941
2954 Reviewed by Martin Robinson.
2957 * gtk/jhbuild.modules:
2958 Replace git URLs with http. Remove no longer used ftp repositories.
2959 Update argument for libxml2's autogen.sh script (--without-python
2960 is ignored; --with-python=no is correct).
2961 * jhbuild/jhbuild-wrapper:
2962 Instead of connecting to git://git.gnome.org/jhbuild, connect to
2963 http://git.gnome.org/browse/jhbuild.
2965 2015-10-06 Daniel Bates <dbates@webkit.org>
2967 Enable XSLT when building WebKit for iOS using the public iOS SDK
2968 https://bugs.webkit.org/show_bug.cgi?id=149827
2970 Reviewed by Alexey Proskuryakov.
2972 Teach script configure-xcode-for-ios-development to copy the OS X XSLT headers to the iPhoneOS
2973 and iPhoneSimulator SDKs so as to support building WebKit for iOS with XSLT. A person must
2974 run this script before building WebKit for iOS or the build will fail because one or more XSLT
2975 headers cannot be found.
2977 * Scripts/configure-xcode-for-ios-development:
2978 (copyMissingXSLTHeadersToSDKIfNeeded): Added.
2980 2015-10-05 Myles C. Maxfield <mmaxfield@apple.com>
2982 REGRESSION(189668?): http/tests/notifications/events.html flakily asserts or times out
2983 https://bugs.webkit.org/show_bug.cgi?id=149218
2985 Reviewed by Alexey Proskuryakov.
2987 Because of r189668, WebKitTestRunner now tears down and recreates its WKNotificationManagerRef
2988 when the TestOptions change. Previously, WebNotificationProvider only could handle a single
2989 WKNotificationManagerRef. Because the ower of the WKNotificationManagerRef is reference counted,
2990 and AppKit internally retains some objects which end up retaining the WKNotificationManagerRef,
2991 the old WKNotificationManager may not be destroyed before the new one is created. Therefore,
2992 WebNotificationProvider must be updated to appropriately handle multiple
2993 WKNotificationManagerRefs in flight at the same time.
2995 * WebKitTestRunner/WebNotificationProvider.cpp:
2996 (WTR::WebNotificationProvider::~WebNotificationProvider):
2997 (WTR::WebNotificationProvider::showWebNotification):
2998 (WTR::WebNotificationProvider::closeWebNotification):
2999 (WTR::WebNotificationProvider::addNotificationManager):
3000 (WTR::WebNotificationProvider::removeNotificationManager):
3001 (WTR::WebNotificationProvider::simulateWebNotificationClick):
3002 (WTR::WebNotificationProvider::reset):
3003 * WebKitTestRunner/WebNotificationProvider.h:
3005 2015-10-05 Daniel Bates <dabates@apple.com>
3007 Disable Bitcode when building for iOS device
3008 https://bugs.webkit.org/show_bug.cgi?id=149818
3010 Reviewed by Alexey Proskuryakov.
3012 Xcode 7 generates bitcode for iOS device apps by default. Do not generate bitcode
3013 when building for iOS device.
3015 * Scripts/webkitdirs.pm:
3018 2015-10-05 Daniel Bates <dabates@apple.com>
3020 [iOS] Make it possible to build WebKit using iphoneos SDK without a developer certificate installed
3021 https://bugs.webkit.org/show_bug.cgi?id=140828
3022 <rdar://problem/19520599>
3024 Reviewed by Alexey Proskuryakov.
3026 Support building WebKit for iOS device without an iOS Developer certificate installed. Otherwise,
3027 we will pass CODE_SIGN_IDENTITY="iPhone Developer: " to Xcode to find a iOS Developer certificate
3028 to use. To use a specific installed iOS Developer certificate, explicitly pass CODE_SIGN_IDENTITY
3031 * Scripts/webkitdirs.pm:
3032 (XcodeOptions): Cleaned up code. When building for iOS device, pass to Xcode CODE_SIGN_IDENTITY="iPhone Developer: "
3033 to code sign using the installed iOS development certificate (if it exists - we assume there is only one such certificate).
3034 Otherwise, pass CODE_SIGN_IDENTITY="" and CODE_SIGNING_REQUIRED=NO to Xcode to disable code signing.
3035 (hasIOSDevelopmentCertificate): Added.
3037 2015-10-05 Daniel Bates <dabates@apple.com>
3039 DumpRenderTree built with public iOS SDK crashes under -[WebPreferences(WebPrivate) _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]
3040 https://bugs.webkit.org/show_bug.cgi?id=149766
3042 Reviewed by Alexey Proskuryakov.
3044 Create network storage testing session on iOS.
3046 Currently we do not create a network storage testing session on iOS. A network storage testing session always
3047 has an associated cookie store. When WebKit is built without USE(CFNETWORK), NetworkStorageSession::defaultStorageSession().cookieStorage()
3048 returns nullptr because the caller is expected to interact with NSHTTPCookieStorage instead of querying
3049 NetworkStorageSession for the cookie store. When WebKit is built with USE(CFNETWORK) accessing
3050 NetworkStorageSession::defaultStorageSession().cookieStorage() returns a valid cookie store (creating one if
3051 it does not exist). Instead we should make use of NetworkStorageSession::switchToNewTestingSession() to
3052 create a network storage testing session when building DumpRenderTree for iOS so as to ensure a consistent
3053 testing environment regardless of whether we built with USE(CFNETWORK). This will also make the behavior of
3054 DumpRenderTree on iOS more consistent with the behavior of DumpRenderTree on Mac.
3056 As a side effect of this change DumpRenderTree no longer crashes in -[WebPreferences(WebPrivate) _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]
3057 when WebKit is built without USE(CFNETWORK) because NetworkStorageSession::defaultStorageSession().cookieStorage()
3058 returns a non-null pointer to a cookie store.
3060 * DumpRenderTree/mac/DumpRenderTree.mm:
3061 (prepareConsistentTestingEnvironment):
3063 2015-10-05 Simon Fraser <simon.fraser@apple.com>
3065 Fix the iOS 8 build again, where -[UIApplication _enqueueHIDEvent:] is not
3068 * WebKitTestRunner/ios/HIDEventGenerator.mm:
3069 (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
3071 2015-10-05 Myles C. Maxfield <mmaxfield@apple.com>
3073 Allow WKRetainPtrs to be used as keys in hashing data structures
3074 https://bugs.webkit.org/show_bug.cgi?id=149762
3076 Reviewed by Anders Carlsson.
3078 * TestWebKitAPI/PlatformGTK.cmake:
3079 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3080 * TestWebKitAPI/Tests/WebKit2/WKRetainPtr.cpp: Added.
3081 (TestWebKitAPI::TEST):
3083 2015-10-05 Simon Fraser <simon.fraser@apple.com>
3085 Fix the iOS 8 build, where -[UIApplication _enqueueHIDEvent:] is not
3086 available, and tidy up the #ifdefs in the UIKitSPI header.
3088 * WebKitTestRunner/ios/HIDEventGenerator.mm:
3089 (-[HIDEventGenerator _sendHIDEvent:]):
3090 * WebKitTestRunner/ios/UIKitSPI.h:
3092 2015-10-04 Zan Dobersek <zdobersek@igalia.com>
3094 [GTK] Remove duplicate entries in WebKitTestRunner_SOURCES
3095 https://bugs.webkit.org/show_bug.cgi?id=149792
3097 Reviewed by Martin Robinson.
3099 * WebKitTestRunner/PlatformGTK.cmake: Don't list build targets
3100 for WebKitTestRunner multiple times.
3102 2015-10-04 Daniel Bates <dabates@apple.com>
3104 Fix the Apple Internal iOS build after <http://trac.webkit.org/changeset/190515>
3105 (https://bugs.webkit.org/show_bug.cgi?id=149753)
3107 For now, support calling build-layouttestrelay without --ios-simulator so long
3108 as we are building on a Mac.
3110 * Scripts/build-layouttestrelay:
3112 2015-10-04 Alexey Proskuryakov <ap@apple.com>
3114 Support Trac 1.0.x XML timeline link format
3115 https://bugs.webkit.org/show_bug.cgi?id=149786
3117 Reviewed by Lucas Forschler.
3119 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3120 (Trac.prototype._convertCommitInfoElementToObject):
3122 2015-10-04 Alexey Proskuryakov <ap@apple.com>
3124 Fix some errors on bot watcher's dashboard
3125 https://bugs.webkit.org/show_bug.cgi?id=149789
3127 Reviewed by Lucas Forschler.
3129 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3130 (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): We may not get to layout
3131 tests step, in which case layoutTestResults.tooManyFailures would raise an exception.
3133 2015-10-04 Alexey Proskuryakov <ap@apple.com>
3135 Bot watcher's dashboard builders should turn yellow when svn fails
3136 https://bugs.webkit.org/show_bug.cgi?id=149791
3138 Reviewed by Lucas Forschler.
3140 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
3141 (BuildbotBuilderQueueView.prototype.appendBuilderQueueStatus):
3142 (BuildbotBuilderQueueView.prototype.update):
3144 2015-10-02 Daniel Bates <dabates@apple.com>
3146 Add iOS 9 Simulator builders and testers to WebKit Bot Watcher's Dashboard
3147 https://bugs.webkit.org/show_bug.cgi?id=149769
3149 Reviewed by Alexey Proskuryakov.
3151 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9Simulator.png: Added.
3152 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9Simulator@2x.png: Added.
3153 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3154 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3156 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3157 (table.queue-grid tr.platform.ios-simulator-9 img.logo):
3159 2015-10-02 Ryosuke Niwa <rniwa@webkit.org>
3161 REGRESSION(r190370): Speedometer spits out an extra console message
3162 https://bugs.webkit.org/show_bug.cgi?id=149720
3164 Unreviewed. Temporarily ignore the console error message.
3166 * Scripts/webkitpy/performance_tests/perftest.py:
3167 (PerfTest._filter_output):
3169 2015-10-02 Brent Fulgham <bfulgham@apple.com>
3171 Provide "--no-ninja" option to avoid using Ninja
3172 https://bugs.webkit.org/show_bug.cgi?id=149757
3174 Reviewed by Alex Christensen.
3176 Add a new command line argument understood by webkitdirs.pm so
3177 that we can conditionally avoid using Ninja. This is an
3178 'opt-out' argument, so no existing Ninja users should be affected.
3180 * Scripts/webkitdirs.pm:
3181 (canUseNinja): Check for option and block ninja if present.
3183 2015-10-02 Aakash Jain <aakash_jain@apple.com>
3185 Flakiness dashboard should support OS X El Capitan
3186 https://bugs.webkit.org/show_bug.cgi?id=149648
3188 Reviewed by Alexey Proskuryakov.
3190 * TestResultServer/static-dashboards/flakiness_dashboard.js: Fix the broken dashboard for ElCapitan.
3192 2015-10-02 Daniel Bates <dabates@apple.com>
3194 Fix run-webkit-tests --ios-simulator after <http://trac.webkit.org/changeset/190515>
3195 (https://bugs.webkit.org/show_bug.cgi?id=149753)
3197 For now, pass --ios-simulator.
3199 * Scripts/webkitpy/port/ios.py:
3200 (IOSSimulatorPort._build_relay):
3202 2015-10-02 Simon Fraser <simon.fraser@apple.com>
3204 Remove a "nullable" that breaks the iOS 8 build.
3206 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
3207 (-[TestRunnerWKWebView scrollViewWillBeginZooming:withView:]):
3209 2015-10-02 Daniel Bates <dabates@apple.com>
3211 LayoutTestRelay is not built and archived when building for iOS Simulator
3212 https://bugs.webkit.org/show_bug.cgi?id=149753
3214 Reviewed by Alexey Proskuryakov and Andy Estes.
3216 Towards running layout tests on the iOS Simulator test bots, we need to teach scripts build-webkit
3217 and built-product-archive to build the Mac tool LayoutTestRelay and include this tool in the built
3218 product archive when building for iOS Simulator, respectively.
3220 * BuildSlaveSupport/built-product-archive:
3221 (main): Pass the full platform name (options.platform) to archiveBuiltProduct() so that it can
3222 differentiate between iOS device and iOS Simulator platforms.
3223 (webkitBuildDirectoryForConfigurationAndPlatform): Extracted logic to run the script webkit-build-directory
3224 from determineWebKitBuildDirectories() into this function so that it can be used by both
3225 determineWebKitBuildDirectories() and archiveBuiltProduct().
3226 (determineWebKitBuildDirectories): Moved logic to execute the script webkit-build-directory from here to
3227 webkitBuildDirectoryForConfigurationAndPlatform().
3228 (createZip): Added parameter embedParentDirectoryNameOnDarwin (defaults to False) to specify whether
3229 we should call ditto(1) with --keepParent to embed the parent directory name in the zip archive. This
3230 argument is only applicable when building on Darwin. We only pass embedParentDirectoryNameOnDarwin=True
3231 when making an archive for a Mac or iOS device build. For iOS Simulator builds we archive two directories
3232 and we do not want to keep the parent directory because it is a placeholder directory used as a workaround
3233 for the limitation that ditto(1) can only accept a single directory to archive on its command line.
3234 (archiveBuiltProduct): Modified to take the full platform name as an argument. Added logic for iOS.
3235 For iOS device builds we use the same logic as for a Mac build and archive the configuration-specific
3236 build directory. For iOS Simulator builds we archive the configuration-specific iOS build directory,
3237 LayoutTestRelay and LayoutTestRelay.dSYM (if it exists) from the configuration-specific Mac build.
3238 * Scripts/build-layouttestrelay:
3239 - Remove unnecessary include of Perl module POSIX.
3240 - Only build LayoutTestRelay when building for iOS Simulator (i.e. --ios-simulator is passed).
3241 * Scripts/build-webkit:
3242 - Invoke script build-layouttestrelay when building for iOS Simulator.
3244 2015-10-02 Brent Fulgham <bfulgham@apple.com>
3246 [Win] Unreviewed test fix.
3248 You cannot run 'run-webkit-tests' from the command line because it does not know
3249 to append the binary subdirectory (bin32/bin64). We don't see this on our builders
3250 because they explicitly set use the 'root' argument to provide the full path to
3253 * Scripts/webkitpy/port/win.py:
3254 (WinPort._build_path): Added.
3256 2015-10-02 Alex Christensen <achristensen@webkit.org>
3258 Reloading without content blockers doesn't apply to resource loads after the main frame finishes
3259 https://bugs.webkit.org/show_bug.cgi?id=149430
3260 rdar://problem/22742222
3262 Reviewed by Geoffrey Garen.
3264 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3265 (WTR::TestController::cocoaResetStateToConsistentValues):
3266 * WebKitTestRunner/mac/TestControllerMac.mm:
3267 (WTR::TestController::platformConfigureViewForTest):
3268 Test what happens when you disable content blockers from the SPI.
3270 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3272 [Win] Unreviewed build fix for run-api-tests
3274 * Scripts/run-api-tests:
3275 (testToolPaths): Windows run needs to specify the binary path.
3277 2015-10-01 Daniel Bates <dabates@apple.com>
3279 Another attempt to fix the Windows builders after <https://trac.webkit.org/changeset/190387>
3280 (https://bugs.webkit.org/show_bug.cgi?id=149695)
3282 Following r190424 we can now rely on webkit-build-directory to return the path to
3283 the correct configuration-specific build directory on Windows.
3285 * BuildSlaveSupport/built-product-archive:
3286 (archiveBuiltProduct):
3288 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3290 [Win] Unreviewed build fix.
3292 * Scripts/webkitdirs.pm:
3293 (setupAppleWinEnv): Use 64-bit build tools if available
3295 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3297 [Win] Fix TestWebKitAPI build under CMake.
3299 Reviewed by Alex Christensen.
3301 * TestWebKitAPI/PlatformWin.cmake: Add missing link command
3304 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3306 [Win] Fix behavior of webkit-build-directory script
3307 https://bugs.webkit.org/show_bug.cgi?id=149718
3309 Reviewed by Alex Christensen.
3311 * Scripts/webkitdirs.pm:
3312 (determineConfigurationProductDir): Do not include the binary
3313 sub-directory in the configuration product directory output.
3314 (jscProductDir): Append correct binary path for Windows build.
3315 (setPathForRunningWebKitApp): Include properly binary subdirectories.
3316 (runSafari): Update for revised productDir behavior.
3317 (runMiniBrowser): Ditto.
3319 2015-10-01 Alexey Proskuryakov <ap@apple.com>
3321 Stop building LayoutTestRelay for now. It's a Mac project, but build-webkit tries to
3322 use iOS SDK, like with all the others.
3324 * Scripts/build-webkit:
3326 2015-10-01 Daniel Bates <dabates@apple.com>
3328 Attempt to fix the iOS 9 Simulator testers
3330 Add dependency DumpRenderTree.app to target All of project DumpRenderTree so that we
3331 build DumpRenderTree.app, if applicable. Also, teach build-webkit to build project
3332 LayoutTestRelay when building for iOS Simulator.
3334 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3335 * Scripts/build-webkit:
3337 2015-10-01 Carlos Garcia Campos <cgarcia@igalia.com>
3339 [GTK] Websites with invalid auth header keep loading forever
3340 https://bugs.webkit.org/show_bug.cgi?id=149710
3342 Reviewed by Martin Robinson.
3344 Add test case to check that we can authenticate sites with an
3347 * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
3348 (testWebViewAuthenticationEmptyRealm):
3352 2015-10-01 Alexey Proskuryakov <ap@apple.com>
3354 [Mac] Make run-api-tests work with System Integrity Protection
3355 https://bugs.webkit.org/show_bug.cgi?id=149711
3356 rdar://problem/22928202
3358 Reviewed by Dan Bernstein.
3360 * Scripts/run-api-tests:
3362 (archCommandLineArgumentsForRestrictedEnvironmentVariables):
3364 2015-10-01 Daniel Bates <dabates@apple.com>
3366 Attempt to fix the Windows build after <https://trac.webkit.org/changeset/190387>
3367 (https://bugs.webkit.org/show_bug.cgi?id=149695)
3369 For some reason built-product-archive hardcodes the assumption that we build for 32-bit Windows.
3370 For now, use the path to the top-level WebKit build directory instead of using the configuration-
3371 specific build directory.
3373 * BuildSlaveSupport/built-product-archive:
3374 (archiveBuiltProduct):
3376 2015-10-01 Csaba Osztrogonác <ossy@webkit.org>
3378 [EFL] Fix the openwebrtc and gst-plugins-openwebrtc build with clang
3379 https://bugs.webkit.org/show_bug.cgi?id=145837
3381 Reviewed by Philippe Normand.
3383 * efl/jhbuild.modules:
3384 * efl/patches/openwebrtc-clang-warning-fix.patch: Added.
3385 * efl/patches/openwebrtc-gst-plugins-clang-warning-fix.patch: Added.
3387 2015-10-01 Wenson Hsieh <wenson_hsieh@apple.com>
3389 Unreviewed. Fix the iOS build after r190407.
3391 * WebKitTestRunner/ios/IOKitSPI.h:
3393 2015-10-01 Wenson Hsieh <wenson_hsieh@apple.com>
3395 Implement keyboard event sending for iOS in WebKitTestRunner
3396 https://bugs.webkit.org/show_bug.cgi?id=149676
3398 Reviewed by Simon Fraser.
3400 Adds support for generating and sending key events in WebKitTestRunner. This is accomplished in a similar
3401 way as touch events, using IOHIDEvent machinery. Also adds callbacks to the UIScriptController JS API that
3402 allows us to run code when the keyboard is shown or hidden.
3404 * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl: Adds the typeCharacter JS interface.
3405 * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
3406 (WTR::UIScriptController::setDidShowKeyboardCallback):
3407 (WTR::UIScriptController::didShowKeyboardCallback):
3408 (WTR::UIScriptController::setDidHideKeyboardCallback):
3409 (WTR::UIScriptController::didHideKeyboardCallback):
3410 (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
3411 (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
3412 (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
3413 * WebKitTestRunner/UIScriptContext/UIScriptController.h:
3414 * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
3415 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
3416 (-[TestRunnerWKWebView initWithFrame:configuration:]): Registers the TestRunnerWKWebView to listen to
3417 the notifications that the keyboard has been raised or lowered.
3418 (-[TestRunnerWKWebView _keyboardDidShow:]):
3419 (-[TestRunnerWKWebView _keyboardDidHide:]):
3420 * WebKitTestRunner/ios/HIDEventGenerator.h:
3421 * WebKitTestRunner/ios/HIDEventGenerator.m:
3422 (-[HIDEventGenerator _sendIOHIDKeyboardEvent:usage:isKeyDown:]): Helper to send a HID keyboard event.
3423 (shouldWrapWithShiftKeyEventForCharacter): Helper used to generate key events.
3424 (hidUsageCodeForCharacter): Ditto.
3425 (-[HIDEventGenerator keyDown:completionBlock:]): Synthesizes and sends HIDKeyboardEvents, triggering
3426 a keyDown event in WebKit.
3427 * WebKitTestRunner/ios/IOKitSPI.h:
3428 * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3430 2015-10-01 Carlos Garcia Campos <cgarcia@igalia.com>
3432 Unreviewed, rolling out r190399.
3434 Tests are still failing even after r190362
3438 "Unreviewed. Unskip GTK+ user media unit tests after r190362."
3439 http://trac.webkit.org/changeset/190399
3441 2015-10-01 Csaba Osztrogonác <ossy@webkit.org>
3443 [jhbuild] switch to new upstream usrsctp library
3444 https://bugs.webkit.org/show_bug.cgi?id=149494
3446 Reviewed by Philippe Normand.
3448 * efl/jhbuild.modules:
3449 * gtk/jhbuild.modules:
3451 2015-10-01 Carlos Garcia Campos <cgarcia@igalia.com>
3453 Unreviewed. Unskip GTK+ user media unit tests after r190362.
3455 They should pass now.
3457 * Scripts/run-gtk-tests:
3460 2015-09-30 Daniel Bates <dabates@apple.com>
3462 Another attempt to fix the build after <https://trac.webkit.org/changeset/190387>
3463 (https://bugs.webkit.org/show_bug.cgi?id=149695)
3465 * BuildSlaveSupport/built-product-archive:
3466 (determineWebKitBuildDirectories): Substitute _configurationBuildDirectory for _buildDirectory.
3467 (extractBuiltProduct): Substitute _topLevelBuildDirectory for _buildDirectory.
3469 2015-09-30 Daniel Bates <dabates@apple.com>
3471 Attempt to fix the build after <https://trac.webkit.org/changeset/190387>
3472 (https://bugs.webkit.org/show_bug.cgi?id=149695)
3474 Actually, we need to pass --configuration to script webkit-build-directory to have
3475 it return the path to the configuration-specific build directory.
3477 * BuildSlaveSupport/built-product-archive:
3478 (determineWebKitBuildDirectories):
3480 2015-09-30 Daniel Bates <dabates@apple.com>
3482 built-product-archive archives incorrect build directory for iOS port
3483 https://bugs.webkit.org/show_bug.cgi?id=149695
3485 Reviewed by Darin Adler.
3487 Fixes an issue where the script built-product-archive archives a non-existent
3488 build directory for the iOS port. Without loss of generality, the script assumes
3489 the path to the Release configuration build for iOS is in directory WebKitBuild/Release.
3490 But the built products for this configuration are in directory WebKitBuild/Release-iphonesimulator.
3492 Currently the script built-product-archive calls `webkit-build-directory --top-level ...`
3493 to determine the top-level build directory and computes the configuration-specific
3494 build directory to be the concatenation of the the top-level build directory and
3495 the configuration (e.g. Release). This is incorrect. Instead we should call
3496 webkit-build-directory omitting the flag --top-level to compute the path to the
3497 configuration-specific build directory.
3499 * BuildSlaveSupport/built-product-archive: Fix up the style such that we use single quoted literals.
3500 (main): Renamed global variable _buildDirectory to _topLevelBuildDirectory to better describe
3501 its purpose and added global variable _configurationBuildDirectory to store the path
3502 to the configuration-specific build directory. Ensure that we have a non-empty string
3503 for both the top-level and configuration-specific build directories.
3504 (determineWebKitBuildDirectories): Formerly named determineWebKitBuildDirectory.
3505 Compute the configuration-specific build directory and store it in the global variable