editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 /**
michael@0 2 * This file lists the tests in the BrowserScope suite which we are currently
michael@0 3 * failing. We mark them as todo items to keep track of them.
michael@0 4 */
michael@0 5
michael@0 6 var knownFailures = {
michael@0 7 // Dummy result items. There is one for each category.
michael@0 8 'apply' : {
michael@0 9 '0-undefined' : true
michael@0 10 },
michael@0 11 'unapply' : {
michael@0 12 '0-undefined' : true
michael@0 13 },
michael@0 14 'change' : {
michael@0 15 '0-undefined' : true
michael@0 16 },
michael@0 17 'query' : {
michael@0 18 '0-undefined' : true
michael@0 19 },
michael@0 20 'a' : {
michael@0 21 'createbookmark-0' : true,
michael@0 22 'fontsize-1' : true,
michael@0 23 'subscript-1' : true,
michael@0 24 'superscript-1' : true,
michael@0 25 },
michael@0 26 'u': {
michael@0 27 'removeformat-1' : true,
michael@0 28 'removeformat-2' : true,
michael@0 29 'strikethrough-2' : true,
michael@0 30 'subscript-1' : true,
michael@0 31 'superscript-1' : true,
michael@0 32 'unbookmark-0' : true,
michael@0 33 },
michael@0 34 'q': {
michael@0 35 'fontsize-1' : true,
michael@0 36 'fontsize-2' : true,
michael@0 37 },
michael@0 38 'c': {
michael@0 39 'fontsize-1' : true,
michael@0 40 'fontsize-2' : true,
michael@0 41 },
michael@0 42 };
michael@0 43
michael@0 44 function isKnownFailure(type, test, param) {
michael@0 45 return (type in knownFailures) && ((test + "-" + param) in knownFailures[type]);
michael@0 46 }

mercurial