Changeset 247664 in webkit
- Timestamp:
- Jul 19, 2019 6:15:26 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 7 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r247663 r247664 1 2019-07-19 Zhifei Fang <zhifei_fang@apple.com> 2 3 Move Ref.js to WebKit to support resultsdbpy's frontend 4 https://bugs.webkit.org/show_bug.cgi?id=199956 5 6 Reviewed by Jonathan Bedard. 7 8 * resultsdbpy/resultsdbpy/view/static/js/drawer.js: 9 * resultsdbpy/resultsdbpy/view/static/js/search.js: 10 * resultsdbpy/resultsdbpy/view/static/js/timeline.js: 11 * resultsdbpy/resultsdbpy/view/static/library/js/Ref.js: Added. 12 * resultsdbpy/resultsdbpy/view/static/library/js/Utils.js: Added. 13 * resultsdbpy/resultsdbpy/view/static/library/js/components/BaseComponents.js: Added. 14 * resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js: Added. 15 * resultsdbpy/resultsdbpy/view/templates/base.html: 16 * resultsdbpy/resultsdbpy/view/templates/commits.html: 17 * resultsdbpy/resultsdbpy/view/templates/documentation.html: 18 * resultsdbpy/resultsdbpy/view/templates/search.html: 19 * resultsdbpy/resultsdbpy/view/templates/suite_results.html: 20 * resultsdbpy/resultsdbpy/view/view_routes.py: 21 1 22 2019-07-19 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 23 -
trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/drawer.js
r247628 r247664 22 22 // THE POSSIBILITY OF SUCH DAMAGE. 23 23 24 import {DOM, REF} from '/library/ ref.js';24 import {DOM, REF} from '/library/js/Ref.js'; 25 25 import {QueryModifier} from '/assets/js/common.js'; 26 26 import {Configuration} from '/assets/js/configuration.js' … … 96 96 return `<option value="${branch}">${branch}</option>`; 97 97 }).join(''); 98 }, 98 }, 99 99 }); 100 100 … … 270 270 </div>`; 271 271 }).join('')}`); 272 }, 272 }, 273 273 }); 274 274 configurationsDefinedCallbacks.push(() => { -
trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/search.js
r247628 r247664 22 22 // THE POSSIBILITY OF SUCH DAMAGE. 23 23 24 import {DOM, REF} from '/library/ ref.js';24 import {DOM, REF} from '/library/js/Ref.js'; 25 25 import {QueryModifier, paramsToQuery} from '/assets/js/common.js'; 26 26 -
trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js
r247628 r247664 25 25 import {Configuration} from '/assets/js/configuration.js'; 26 26 import {deepCompare, ErrorDisplay, paramsToQuery, queryToParams} from '/assets/js/common.js'; 27 import {DOM, REF} from '/library/ ref.js';27 import {DOM, REF} from '/library/js/Ref.js'; 28 28 29 29 … … 421 421 --currentCommitIndex; 422 422 } 423 423 424 424 } 425 425 -
trunk/Tools/resultsdbpy/resultsdbpy/view/templates/base.html
r247628 r247664 21 21 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 22 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 24 --> 25 25 … … 28 28 <head> 29 29 <title>{{title}}</title> 30 <link rel="stylesheet" type="text/css" href="/library/ webkit.css">30 <link rel="stylesheet" type="text/css" href="/library/css/webkit.css"> 31 31 {% block head %}{% endblock %} 32 32 </head> -
trunk/Tools/resultsdbpy/resultsdbpy/view/templates/commits.html
r247628 r247664 30 30 31 31 <script type="module"> 32 import {REF, DOM} from '/library/ ref.js';32 import {REF, DOM} from '/library/js/Ref.js'; 33 33 import {ErrorDisplay} from '/assets/js/common.js'; 34 34 import {CommitTable} from '/assets/js/commit.js'; -
trunk/Tools/resultsdbpy/resultsdbpy/view/templates/documentation.html
r247628 r247664 29 29 <script type="module"> 30 30 31 import {DOM} from '/library/ ref.js';31 import {DOM} from '/library/js/Ref.js'; 32 32 import {Expectations} from '/assets/js/timeline.js'; 33 33 -
trunk/Tools/resultsdbpy/resultsdbpy/view/templates/search.html
r247628 r247664 35 35 import {Configuration} from '/assets/js/configuration.js'; 36 36 import {Drawer, BranchSelector, ConfigurationSelectors, LimitSlider} from '/assets/js/drawer.js'; 37 import {DOM, REF} from '/library/ ref.js';37 import {DOM, REF} from '/library/js/Ref.js'; 38 38 import {SearchBar} from '/assets/js/search.js'; 39 39 import {Legend, Timeline} from '/assets/js/timeline.js'; -
trunk/Tools/resultsdbpy/resultsdbpy/view/templates/suite_results.html
r247628 r247664 35 35 import {Configuration} from '/assets/js/configuration.js'; 36 36 import {Drawer, BranchSelector, ConfigurationSelectors, LimitSlider} from '/assets/js/drawer.js'; 37 import {DOM, REF} from '/library/ ref.js';37 import {DOM, REF} from '/library/js/Ref.js'; 38 38 import {SearchBar} from '/assets/js/search.js'; 39 39 import {Legend, Timeline} from '/assets/js/timeline.js'; -
trunk/Tools/resultsdbpy/resultsdbpy/view/view_routes.py
r247628 r247664 112 112 AssertRequest.no_query() 113 113 AssertRequest.is_type() 114 result = { 115 # FIXME: These links are currently dead 116 'ref.js': self.cache_resource('https://build.webkit.org/dashboard/devices/Scripts/Ref.js'), 117 'webkit.css': self.cache_resource('https://build.webkit.org/dashboard/Styles/webkit.css'), 118 }.get(path, None) 119 if not result: 120 abort(404, description=f'{path} is not a known library') 121 return result 114 path_split = os.path.split(path) 115 return send_from_directory(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'static/library', *path_split[:-1]), path_split[-1]) 122 116 123 117 def response_500(self, error=InternalServerError()):
Note: See TracChangeset
for help on using the changeset viewer.