Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: gm/rebaseline_server/static/constants.js

Issue 195943004: rebaseline_server: generate JSON that can be viewed without a live server (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Constants used by our imagediff-viewing Javascript code. 2 * Constants used by our imagediff-viewing Javascript code.
3 */ 3 */
4 var module = angular.module( 4 var module = angular.module(
5 'ConstantsModule', 5 'ConstantsModule',
6 [] 6 []
7 ); 7 );
8 8
9 module.constant('constants', (function() { 9 module.constant('constants', (function() {
10 return { 10 return {
(...skipping 27 matching lines...) Expand all
38 KEY__IMAGESETS__DESCRIPTION: 'description', 38 KEY__IMAGESETS__DESCRIPTION: 'description',
39 39
40 // NOTE: Keep these in sync with ../results.py 40 // NOTE: Keep these in sync with ../results.py
41 KEY__EXPECTATIONS__BUGS: 'bugs', 41 KEY__EXPECTATIONS__BUGS: 'bugs',
42 KEY__EXPECTATIONS__IGNOREFAILURE: 'ignore-failure', 42 KEY__EXPECTATIONS__IGNOREFAILURE: 'ignore-failure',
43 KEY__EXPECTATIONS__REVIEWED: 'reviewed-by-human', 43 KEY__EXPECTATIONS__REVIEWED: 'reviewed-by-human',
44 KEY__EXTRACOLUMN__BUILDER: 'builder', 44 KEY__EXTRACOLUMN__BUILDER: 'builder',
45 KEY__EXTRACOLUMN__CONFIG: 'config', 45 KEY__EXTRACOLUMN__CONFIG: 'config',
46 KEY__EXTRACOLUMN__RESULT_TYPE: 'resultType', 46 KEY__EXTRACOLUMN__RESULT_TYPE: 'resultType',
47 KEY__EXTRACOLUMN__TEST: 'test', 47 KEY__EXTRACOLUMN__TEST: 'test',
48 KEY__HEADER: 'header',
49 KEY__HEADER__DATAHASH: 'dataHash',
50 KEY__HEADER__IS_EDITABLE: 'isEditable',
51 KEY__HEADER__IS_EXPORTED: 'isExported',
52 KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading',
48 KEY__HEADER__RESULTS_ALL: 'all', 53 KEY__HEADER__RESULTS_ALL: 'all',
49 KEY__HEADER__RESULTS_FAILURES: 'failures', 54 KEY__HEADER__RESULTS_FAILURES: 'failures',
55 KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable',
56 KEY__HEADER__TIME_UPDATED: 'timeUpdated',
57 KEY__HEADER__TYPE: 'type',
50 KEY__NEW_IMAGE_URL: 'newImageUrl', 58 KEY__NEW_IMAGE_URL: 'newImageUrl',
51 KEY__RESULT_TYPE__FAILED: 'failed', 59 KEY__RESULT_TYPE__FAILED: 'failed',
52 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored', 60 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored',
53 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison', 61 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison',
54 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded', 62 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded',
55 63
56 // NOTE: Keep these in sync with ../server.py 64 // NOTE: Keep these in sync with ../server.py
57 KEY__EDITS__MODIFICATIONS: 'modifications', 65 KEY__EDITS__MODIFICATIONS: 'modifications',
58 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash', 66 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash',
59 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType', 67 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType',
60 KEY__HEADER: 'header',
61 KEY__HEADER__DATAHASH: 'dataHash',
62 KEY__HEADER__IS_EDITABLE: 'isEditable',
63 KEY__HEADER__IS_EXPORTED: 'isExported',
64 KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading',
65 KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable',
66 KEY__HEADER__TIME_UPDATED: 'timeUpdated',
67 KEY__HEADER__TYPE: 'type',
68 } 68 }
69 })()) 69 })())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698