Bug 1973726 - Set DOM file path for webkitRelativePath. r=sefeng,geckoview-reviewers,webidl,smaug,ohall
Actually, there is no way to set webkitRelativePath from JavaScript.
Since GeckoView's folder picker handles virtual file data, we need to
set relative path from JavaScript directly.
A content URI of System storage document provider only allow file data
access from file/folder picker, so there is no way to test it on
geckoivew-junit.
Also, after landing bug 1591640, GVE always crash when using folder
picker. So this includes a fix for it.
Differential Revision: https://phabricator.services.mozilla.com/D255615
<!--Copyright (c) 2019 The Khronos Group Inc.Use of this source code is governed by an MIT-style license that can befound in the LICENSE.txt file.--><!--This file is auto-generated from py/tex_image_test_generator.pyDO NOT EDIT!--><!DOCTYPE html><html><head><metacharset="utf-8"><linkrel="stylesheet"href="../../../resources/js-test-style.css"/><scriptsrc="../../../js/js-test-pre.js"></script><scriptsrc="../../../js/webgl-test-utils.js"></script><scriptsrc="../../../js/tests/tex-image-and-sub-image-utils.js"></script><scriptsrc="../../../js/tests/tex-image-and-sub-image-2d-with-webgl-canvas.js"></script></head><body><canvasid="example"width="32"height="32"></canvas><divid="description"></div><divid="console"></div><script>"use strict";functiontestPrologue(gl){returntrue;}generateTest("RGBA16F","RGBA","FLOAT",testPrologue,"../../../resources/",2)();</script></body></html>