Tools/ChangeLog

 12012-04-02 Keishi Hattori <keishi@webkit.org>
 2
 3 Disable ENABLE_DATALIST for now
 4 https://bugs.webkit.org/show_bug.cgi?id=82871
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * Scripts/build-webkit: Disable ENABLE_DATALIST on all ports except Blackberry.
 9
1102012-04-01 Ryosuke Niwa <rniwa@webkit.org>
211
312 perf-o-matic should store test results' units

Tools/Scripts/build-webkit

@@my @features = (
187187 define => "ENABLE_SQL_DATABASE", default => 1, value => \$sqlDatabaseSupport },
188188
189189 { option => "datalist", desc => "Toggle HTML5 datalist support",
190  define => "ENABLE_DATALIST", default => 1, value => \$datalistSupport },
 190 define => "ENABLE_DATALIST", default => isBlackBerry(), value => \$datalistSupport },
191191
192192 { option => "data-transfer-items", desc => "Toggle HTML5 data transfer items support",
193193 define => "ENABLE_DATA_TRANSFER_ITEMS", default => 0, value => \$dataTransferItemsSupport },

LayoutTests/ChangeLog

 12012-04-02 Keishi Hattori <keishi@webkit.org>
 2
 3 Disable ENABLE_DATALIST for now
 4 https://bugs.webkit.org/show_bug.cgi?id=82871
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 We should disable ENABLE_DATALIST so we can show the fallback content when we don't have a UI.
 9 Moved datalist tests into directory fast/forms/datalist and added it to Skipped files.
 10
 11 * fast/forms/datalist/datalist-expected.txt: Moved from LayoutTests/fast/forms/datalist-expected.txt.
 12 * fast/forms/datalist/datalist-nonoption-child-expected.txt: Moved from LayoutTests/fast/forms/datalist-nonoption-child-expected.txt.
 13 * fast/forms/datalist/datalist-nonoption-child.html: Moved from LayoutTests/fast/forms/datalist-nonoption-child.html.
 14 * fast/forms/datalist/datalist.html: Moved from LayoutTests/fast/forms/datalist.html.
 15 * platform/efl/Skipped:
 16 * platform/gtk/Skipped:
 17 * platform/mac/Skipped:
 18 * platform/qt/Skipped:
 19 * platform/win/Skipped:
 20
1212012-04-01 Li Yin <li.yin@intel.com>
222
323 [WebSocket]Reserved bits test case should cover both extension and no-extension scenarios

LayoutTests/fast/forms/datalist-expected.txt

1 Test for the datalist element.
2 
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4 
5 
6 PASS datalist.options.length is 4
7 PASS datalist.options.length is 3
8 PASS successfullyParsed is true
9 
10 TEST COMPLETE
11 The choices are , , , and .

LayoutTests/fast/forms/datalist-nonoption-child-expected.txt

1 Test for child elements of a datalist element.
2 
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4 
5 
6 PASS datalist.firstChild.nodeName is "#text"
7 PASS datalist.firstChild.nodeName is "B"
8 PASS datalist.firstChild.nodeName is "DIV"
9 PASS successfullyParsed is true
10 
11 TEST COMPLETE
12 Text is ok. An inline element is ok.
13 A block element is not ok.
14 

LayoutTests/fast/forms/datalist-nonoption-child.html

1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 
10 <datalist id="dl1">Text is ok.</datalist>
11 <datalist id="dl2"><b>An inline element is ok.</b></datalist>
12 <datalist id="dl3"><div>A block element is not ok.</div></datalist>
13 
14 <script>
15 description('Test for child elements of a datalist element.');
16 
17 var datalist = document.getElementById('dl1');
18 shouldBe('datalist.firstChild.nodeName', '"#text"');
19 
20 datalist = document.getElementById('dl2');
21 shouldBe('datalist.firstChild.nodeName', '"B"');
22 
23 datalist = document.getElementById('dl3');
24 shouldBe('datalist.firstChild.nodeName', '"DIV"');
25 </script>
26 <script src="../../fast/js/resources/js-test-post.js"></script>
27 </body>
28 </html>

LayoutTests/fast/forms/datalist.html

1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 
10 <datalist id="dl1">
11  The choices are
12  <option>value1</option>,
13  <option value="value2">label2</option>,
14  <option label="label3">value3</option>, and
15  <option id="o4">value4</option>.
16  <option></option>
17 </datalist>
18 
19 <script>
20 description('Test for the datalist element.');
21 
22 var datalist = document.getElementById('dl1');
23 // An option element with empty value is not included.
24 shouldBe('datalist.options.length', '4');
25 
26 document.getElementById('o4').disabled = true;
27 // A disabled option element is not included.
28 shouldBe('datalist.options.length', '3');
29 // After datalist is implemented, the expected text should not contain the
30 // text in the datalist element.
31 </script>
32 <script src="../../fast/js/resources/js-test-post.js"></script>
33 </body>
34 </html>

LayoutTests/fast/forms/datalist/datalist-expected.txt

 1Test for the datalist element.
 2
 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 4
 5
 6PASS datalist.options.length is 4
 7PASS datalist.options.length is 3
 8PASS successfullyParsed is true
 9
 10TEST COMPLETE
 11The choices are , , , and .

LayoutTests/fast/forms/datalist/datalist-nonoption-child-expected.txt

 1Test for child elements of a datalist element.
 2
 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 4
 5
 6PASS datalist.firstChild.nodeName is "#text"
 7PASS datalist.firstChild.nodeName is "B"
 8PASS datalist.firstChild.nodeName is "DIV"
 9PASS successfullyParsed is true
 10
 11TEST COMPLETE
 12Text is ok. An inline element is ok.
 13A block element is not ok.
 14

LayoutTests/fast/forms/datalist/datalist-nonoption-child.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<script src="../../fast/js/resources/js-test-pre.js"></script>
 5</head>
 6<body>
 7<p id="description"></p>
 8<div id="console"></div>
 9
 10<datalist id="dl1">Text is ok.</datalist>
 11<datalist id="dl2"><b>An inline element is ok.</b></datalist>
 12<datalist id="dl3"><div>A block element is not ok.</div></datalist>
 13
 14<script>
 15description('Test for child elements of a datalist element.');
 16
 17var datalist = document.getElementById('dl1');
 18shouldBe('datalist.firstChild.nodeName', '"#text"');
 19
 20datalist = document.getElementById('dl2');
 21shouldBe('datalist.firstChild.nodeName', '"B"');
 22
 23datalist = document.getElementById('dl3');
 24shouldBe('datalist.firstChild.nodeName', '"DIV"');
 25</script>
 26<script src="../../fast/js/resources/js-test-post.js"></script>
 27</body>
 28</html>

LayoutTests/fast/forms/datalist/datalist.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<script src="../../fast/js/resources/js-test-pre.js"></script>
 5</head>
 6<body>
 7<p id="description"></p>
 8<div id="console"></div>
 9
 10<datalist id="dl1">
 11 The choices are
 12 <option>value1</option>,
 13 <option value="value2">label2</option>,
 14 <option label="label3">value3</option>, and
 15 <option id="o4">value4</option>.
 16 <option></option>
 17</datalist>
 18
 19<script>
 20description('Test for the datalist element.');
 21
 22var datalist = document.getElementById('dl1');
 23// An option element with empty value is not included.
 24shouldBe('datalist.options.length', '4');
 25
 26document.getElementById('o4').disabled = true;
 27// A disabled option element is not included.
 28shouldBe('datalist.options.length', '3');
 29// After datalist is implemented, the expected text should not contain the
 30// text in the datalist element.
 31</script>
 32<script src="../../fast/js/resources/js-test-post.js"></script>
 33</body>
 34</html>

LayoutTests/platform/efl/Skipped

@@fast/media/print-restores-previous-mediatype.html
299299# ENABLE(SHADOW_DOM) is disabled
300300fast/dom/shadow
301301
 302# ENABLE(DATALIST) is disabled
 303fast/forms/datalist
 304
302305# defined(ENABLE_INPUT_TYPE_COLOR) is disabled
303306fast/forms/color/input-color-onchange-event.html
304307

LayoutTests/platform/gtk/Skipped

@@http/tests/inspector/indexeddb
251251# StorageTracker is not enabled.
252252storage/domstorage/localstorage/storagetracker
253253
 254# Datalist is not yet enabled.
 255fast/forms/datalist
 256
254257# Color input is not yet enabled.
255258fast/forms/color
256259

LayoutTests/platform/mac/Skipped

@@fast/events/drag-image-filename.html
209209# Hits an assert in FrameLoader.cpp. https://bugs.webkit.org/show_bug.cgi?id=31387
210210http/tests/multipart/policy-ignore-crash.php
211211
 212# Datalist is not yet enabled.
 213fast/forms/datalist
 214
212215# Color input is not yet enabled.
213216fast/forms/color
214217

LayoutTests/platform/qt/Skipped

@@canvas/philip/tests/2d.drawImage.outsidesource.html
6767# Disabled features. #
6868# =========================================================================== #
6969
 70# ENABLE_DATALIST is not yet enabled.
 71fast/forms/datalist
 72
7073# ENABLE_INPUT_TYPE_COLOR is disabled.
7174fast/forms/color
7275

LayoutTests/platform/win/Skipped

@@fast/forms/number/input-number-size.html
11571157fast/forms/number/input-spinbutton-capturing.html
11581158fast/forms/number/spin-button-gets-disabled-or-readonly.html
11591159
 1160# Datalist is not yet enabled.
 1161fast/forms/datalist
 1162
11601163# Color input is not yet enabled.
11611164fast/forms/color
11621165