commit | b8deab921bad5c310c723f361988fe3b68caa471 | [log] [tgz] |
---|---|---|
author | commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Jan 26 14:11:03 2022 +0000 |
committer | commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Jan 26 14:11:03 2022 +0000 |
tree | 70052abe338c75207bd02fe74f9dccdf2e82a28a | |
parent | 5eef2ef56e4d6524e0eee7a7fcd3a0dbb9bf30c0 [diff] |
WebGL conformance tests that are pending upstreaming should not duplicate unmodified files https://bugs.webkit.org/show_bug.cgi?id=235631 Patch by Kimmo Kinnunen <kkinnunen@apple.com> on 2022-01-26 Reviewed by Antti Koivisto. Duplicating the unmodified files keeps the pending tests somewhat isolated from the upstream test updates. However, this is not feasible as the tests refer to bigger files that are inconvenient to duplicate, such as videos. Also this makes it harder to write new tests, since if the new pending test starts to use a file, the file would need duplication. Also if the upstream has modified the shared files, the change done to the pending test needs to be done anyway. It is more consistent to use the same helper media, js and css resources for the pending tests as the conformance test suite snapshot uses. Remove all unmodified helper css and js files from the pending test directory and use the unmodified files from the actual test files. WebGL conformance tests are: webgl/2.0.y/ -- autogenerated driver html files referencing the actual test suite test files webgl/resources/webgl_test_files -- the actual test suite files Move the pending tests similarly: webgl/pending -- drivers webgl/pending/resources/webgl_test_files -- old pending actual test files webgl/resources/pending_webgl_test_files -- new pending actual test files This way it is easier to refer to the resources from the actual test files. * webgl/pending/conformance/context/context-attributes-alpha-depth-stencil-antialias-expected.txt: * webgl/pending/conformance/context/context-attributes-alpha-depth-stencil-antialias.html: * webgl/pending/conformance/glsl/misc/shader-with-reserved-words-2-expected.txt: * webgl/pending/conformance/glsl/misc/shader-with-reserved-words-2.html: * webgl/pending/conformance/glsl/misc/swizzle-as-lvalue-expected.txt: * webgl/pending/conformance/glsl/misc/swizzle-as-lvalue.html: * webgl/pending/conformance/textures/misc/tex-image-video-repeated-expected.txt: * webgl/pending/conformance/textures/misc/tex-image-video-repeated.html: * webgl/pending/conformance2/glsl3/empty-shader-with-output-expected.txt: * webgl/pending/conformance2/glsl3/empty-shader-with-output.html: * webgl/pending/conformance2/glsl3/float-constant-expressions-expected.txt: * webgl/pending/conformance2/glsl3/float-constant-expressions.html: * webgl/pending/resources/js-test-pre.js: Removed. * webgl/pending/resources/webgl_test_files/js/glsl-conformance-test.js: Removed. * webgl/pending/resources/webgl_test_files/js/js-test-post.js: Removed. * webgl/pending/resources/webgl_test_files/js/js-test-pre.js: Removed. * webgl/pending/resources/webgl_test_files/js/webgl-test-utils.js: Removed. * webgl/pending/resources/webgl_test_files/resources/glsl-feature-tests.css: Removed. * webgl/pending/resources/webgl_test_files/resources/js-test-style.css: Removed. * webgl/pending/resources/webkit-webgl-test-harness.js: Removed. * webgl/resources/pending_webgl_test_files/conformance/context/context-attributes-alpha-depth-stencil-antialias.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/context/context-attributes-alpha-depth-stencil-antialias.html. * webgl/resources/pending_webgl_test_files/conformance/glsl/misc/shader-with-reserved-words-2.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/glsl/misc/shader-with-reserved-words-2.html. * webgl/resources/pending_webgl_test_files/conformance/glsl/misc/swizzle-as-lvalue.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/glsl/misc/swizzle-as-lvalue.html. * webgl/resources/pending_webgl_test_files/conformance/textures/misc/tex-image-video-repeated.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance/textures/misc/tex-image-video-repeated.html. * webgl/resources/pending_webgl_test_files/conformance2/glsl3/empty-shader-with-output.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance2/glsl3/empty-shader-with-output.html. * webgl/resources/pending_webgl_test_files/conformance2/glsl3/float-constant-expressions.html: Renamed from LayoutTests/webgl/pending/resources/webgl_test_files/conformance2/glsl3/float-constant-expressions.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@288615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit is a cross-platform web browser engine. On iOS and macOS, it powers Safari, Mail, iBooks, and many other applications.
Visit WebKit Feature Status page to see which Web API has been implemented, in development, or under consideration.
On macOS, download Safari Technology Preview to test the latest version of WebKit. On Linux, download Epiphany Technology Preview. On Windows, you'll have to build it yourself.
Once your bug is filed, you will receive email when it is updated at each stage in the bug life cycle. After the bug is considered fixed, you may be asked to download the latest nightly and confirm that the fix works for you.
On Windows, follow the instructions on our website.
Run the following command to clone WebKit's Git SVN repository:
git clone git@github.com:WebKit/WebKit.git WebKit
or
git clone https://github.com/WebKit/WebKit.git WebKit
If you want to be able to track Subversion revision from your git checkout, you can run the following command to do so:
Tools/Scripts/git-webkit setup-git-svn
For information about this, and other aspects of using Git with WebKit, read the wiki page.
If you don‘t want to use Git, run the following command to check out WebKit’s Subversion repository:
svn checkout https://svn.webkit.org/repository/webkit/trunk WebKit
Install Xcode and its command line tools if you haven't done so already:
xcode-select --install
Run the following command to build a debug build with debugging symbols and assertions:
Tools/Scripts/build-webkit --debug
For performance testing, and other purposes, use --release
instead.
You can open WebKit.xcworkspace
to build and debug WebKit within Xcode.
If you don't use a custom build location in Xcode preferences, you have to update the workspace settings to use WebKitBuild
directory. In menu bar, choose File > Workspace Settings, then click the Advanced button, select “Custom”, “Relative to Workspace”, and enter WebKitBuild
for both Products and Intermediates.
iOS, tvOS and watchOS are all considered embedded builds. The first time after you install a new Xcode, you will need to run:
sudo Tools/Scripts/configure-xcode-for-embedded-development
Without this step, you will see the error message: “target specifies product type ‘com.apple.product-type.tool’, but there’s no such product type for the ‘iphonesimulator’ platform.
” when building target JSCLLIntOffsetsExtractor
of project JavaScriptCore
.
Run the following command to build a debug build with debugging symbols and assertions for embedded simulators:
Tools/Scripts/build-webkit --debug --<platform>-simulator
or embedded devices:
Tools/Scripts/build-webkit --debug --<platform>-device
where platform
is ios
, tvos
or watchos
.
For production builds:
cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja ninja sudo ninja install
For development builds:
Tools/gtk/install-dependencies Tools/Scripts/update-webkitgtk-libs Tools/Scripts/build-webkit --gtk --debug
For more information on building WebKitGTK+, see the wiki page.
For production builds:
cmake -DPORT=WPE -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja ninja sudo ninja install
For development builds:
Tools/wpe/install-dependencies Tools/Scripts/update-webkitwpe-libs Tools/Scripts/build-webkit --wpe --debug
For building WebKit on Windows, see the wiki page.
Run the following command to launch Safari with your local build of WebKit:
Tools/Scripts/run-safari --debug
The run-safari
script sets the DYLD_FRAMEWORK_PATH
environment variable to point to your build products, and then launches /Applications/Safari.app
. DYLD_FRAMEWORK_PATH
tells the system loader to prefer your build products over the frameworks installed in /System/Library/Frameworks
.
To run other applications with your local build of WebKit, run the following command:
Tools/Scripts/run-webkit-app <application-path>
Run the following command to launch iOS simulator with your local build of WebKit:
run-safari --debug --ios-simulator
In both cases, if you have built release builds instead, use --release
instead of --debug
.
If you have a development build, you can use the run-minibrowser script, e.g.:
run-minibrowser --debug --wpe
Pass one of --gtk
, --jsc-only
, or --wpe
to indicate the port to use.
Congratulations! You’re up and running. Now you can begin coding in WebKit and contribute your fixes and new features to the project. For details on submitting your code to the project, read Contributing Code.