Skip to content

Commit

Permalink
Backed out changeset 7b89ee0ae420 (bug 1348119) for causing merge con…
Browse files Browse the repository at this point in the history
…flicts

--HG--
extra : rebase_source : 55fef824b731cb308de012b50139628918d88af7
  • Loading branch information
BavarianTomcat committed Mar 17, 2017
1 parent 479beb9 commit 51a03b4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 114 deletions.
26 changes: 8 additions & 18 deletions testing/web-platform/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -93553,12 +93553,6 @@
{}
]
],
"html/semantics/forms/textfieldselection/selection-value-interactions.html": [
[
"/html/semantics/forms/textfieldselection/selection-value-interactions.html",
{}
]
],
"html/semantics/forms/textfieldselection/selection.html": [
[
"/html/semantics/forms/textfieldselection/selection.html",
Expand Down Expand Up @@ -164838,7 +164832,7 @@
"44b2d8846c79ddf7eb8cb3ab76d8899b7e783fad",
"manual"
],
"geolocation-API/getCurrentPosition_permission_deny.https.html": [
"geolocation-API/getCurrentPosition_permission_deny.html": [
"28939dd8e719ba66497a814edd1f4500ad348e95",
"testharness"
],
Expand Down Expand Up @@ -176687,23 +176681,19 @@
"testharness"
],
"html/semantics/forms/textfieldselection/selection-start-end.html": [
"755fb11ec3d9440d3883ec3e2820a9e77fc144ae",
"testharness"
],
"html/semantics/forms/textfieldselection/selection-value-interactions.html": [
"0f93258e5237c49fa24efe5180409e48721e8025",
"1f3184b72aba5631d6db4379dfa98035ee047283",
"testharness"
],
"html/semantics/forms/textfieldselection/selection.html": [
"7f3969423e86313ec20846c84f8deecc95048b82",
"f7674721b84ec8fca0e5e40258447ce857b87784",
"testharness"
],
"html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html": [
"3bbd350321f5ec9e0a8f3d47da4e11aaa3ad4d68",
"testharness"
],
"html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html": [
"ffcef015b49fd156cc529117509f0ae0a38234bd",
"462049246a2ef3e66c22017ec6ad362e07b467e6",
"testharness"
],
"html/semantics/forms/the-button-element/.gitkeep": [
Expand Down Expand Up @@ -179471,7 +179461,7 @@
"testharness"
],
"html/webappapis/scripting/events/event-handler-processing-algorithm.html": [
"9a1fa2065ba742d6ab945065d65bdc0f60783d94",
"a7c163d53eb559ea710527cace404ed88e9c4d0a",
"testharness"
],
"html/webappapis/scripting/events/event-handler-spec-example.html": [
Expand Down Expand Up @@ -200151,7 +200141,7 @@
"testharness"
],
"service-workers/service-worker/postmessage-from-waiting-serviceworker.https.html": [
"99519ec3ef70e08fe42fce50bb6e9d643a2daa9f",
"a3a2734be01c2e410a32daf9342f1e211ce22325",
"testharness"
],
"service-workers/service-worker/postmessage-msgport-to-client.https.html": [
Expand Down Expand Up @@ -200319,7 +200309,7 @@
"support"
],
"service-workers/service-worker/resources/echo-message-to-source-worker.js": [
"760b04aa2e36f55cfdbea0871a7424f787734a6e",
"449055cd2d8c41f2e3c78a8a748287faee664759",
"support"
],
"service-workers/service-worker/resources/empty-but-slow-worker.js": [
Expand Down Expand Up @@ -219287,7 +219277,7 @@
"support"
],
"webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/newlines.vtt": [
"a5bfb88a0066da230fbf05f0cf9d200f73c0bb12",
"ba3848383a2197647a9c34c52150991ecb87f22a",
"support"
],
"webvtt/webvtt-file-format-parsing/webvtt-file-parsing/support/no-signature.vtt": [
Expand Down
2 changes: 1 addition & 1 deletion testing/web-platform/mozilla/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@
"testharness"
],
"html/semantics/forms/textfieldselection/selection-value-interactions.html": [
"2083d78d4a6a7b48994f17909790dfeb1ac903ae",
"6c5e95a8f2f11d106e669eb82b46ffff73d08335",
"testharness"
],
"html/semantics/scripting-1/the-script-element/create-module-script.html": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,20 @@
}, `selection location after defaultValue set to shorter than selectionStart of ${data.desc}`);
}

for (var data of elemData) {
test(function() {
var el = data.factory();
this.add_cleanup(() => el.remove());
el.defaultValue = sometext;
assert_true(sometext.length > 8,
"sometext too short, test won't work right");
el.selectionStart = 4;
el.selectionEnd = 6;
el.setRangeText("xyz");
el.defaultValue = "set range text";
assert_equals(el.value, sometext.slice(0, 4) + "xyz" + sometext.slice(6),
"Calling setRangeText should set the value dirty flag");
}, `value dirty flag behavior after setRangeText on ${data.desc}`);
}

</script>

This file was deleted.

0 comments on commit 51a03b4

Please sign in to comment.