Commit Graph

479 Commits

Author SHA1 Message Date
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Emilio Cobos Álvarez
d9220a8cbf Bug 1431041: Fix placeholder-shown when the value of the input is invalid. r=smaug
Wow, the setup for <input type="number"> is really weird :(.

Looking at the callers, this should be sane.

MozReview-Commit-ID: C0ZNNSdg0Hb
2018-01-18 17:20:39 +01:00
Csoregi Natalia
6254005c4b Backed out 2 changesets (bug 1431041) for failing dom/html/test/forms/test_input_number_placeholder_shown.html. on a CLOSED TREE
Backed out changeset 57641ee7058f (bug 1431041)
Backed out changeset 7a4c3ab0ade8 (bug 1431041)
2018-01-18 07:29:14 +02:00
Emilio Cobos Álvarez
fa8af866b9 Bug 1431041: Fix placeholder-shown when the value of the input is invalid. r=smaug
Wow, the setup for <input type="number"> is really weird :(.

Looking at the callers, this should be sane.

MozReview-Commit-ID: C0ZNNSdg0Hb

--HG--
extra : rebase_source : ff8efaaa3b0068b35e3b408e16b6f9d133165e5c
2018-01-17 18:30:59 +01:00
Kate McKinley
e97980a95e Bug 1424917 - Remove support for HSTS Priming. r=mayhemer, r=ckerschb
This patch removes support and tests for HSTS priming from the tree.
2018-01-10 11:07:00 -05:00
Andrea Marchesini
51cbe0791e Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing a broken depending test - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing WPTs - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing tests - CLOSED TREE, r=me
2018-01-09 17:00:49 +01:00
John Dai
408eb5bda0 Bug 1427542 - Fix reset a form can't clear -moz-ui-invalid after calling reportValidity. r=smaug 2018-01-09 16:37:02 +08:00
Narcis Beleuzu
0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
Andrea Marchesini
174498ca29 Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
Kartikaya Gupta
4f18e92ffb Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
MozReview-Commit-ID: nbcWhDq5de

--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -05:00
Bill McCloskey
9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Edgar Chen
9f4324f41e Bug 1416999 - Remove document.registerElement; r=smaug
MozReview-Commit-ID: HiX07Vbljhk

--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Matthew Noorenberghe
f8961d0aed Bug 1020698 - Implement @autocomplete for <textarea>. r=baku
The dom.forms.autocomplete.formautofill check in nsContentUtils::InternalSerializeAutocompleteAttribute
will control if values other than "on" and "off" are supported.

MozReview-Commit-ID: 48X3OzvuOpV

--HG--
rename : dom/html/test/forms/test_input_autocomplete.html => dom/html/test/forms/test_autocomplete.html
extra : rebase_source : b759672d2e9ef3b1e63fd999d149cf753df60539
2017-11-08 21:35:04 -08:00
Timothy Guan-tin Chien
50b6ef9242 Bug 1327097, Part I, Revert bug 1338961, r=smaug
This reverts commit 2b7c469d42bbb4a61471207eede26a8d27f084a3.

MozReview-Commit-ID: H07u9I5w80N

--HG--
extra : rebase_source : 3413d583fc39c881cdc8ebabcec37325d770a36c
2017-11-07 11:30:06 +08:00
Sebastian Hengst
2455936924 No bug - Add back tests which got accidentally removed in previous merge. r=bustage-fix on a CLOSED TREE 2017-11-16 18:38:59 +02:00
Csoregi Natalia
de043261b9 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE
--HG--
extra : rebase_source : cf4ea2aa6cd7874c0ae1aa0a3982453f2347a4d4
2017-11-16 17:57:40 +02:00
Edgar Chen
fb66a70ad5 Bug 1414077 - Don't try to scroll image if the image document is not visible; r=bz
MozReview-Commit-ID: J7Roez2btL

--HG--
extra : rebase_source : c65e1bd1239516dbf64d0025e41832a157d0d2ad
2017-11-07 17:51:13 +08:00
Kyle Machulis
bcce449ae5 Bug 1408186 - Remove nsIDOMHTMLSelectElement and nsIDOMHTMLOptionsCollection; r=bz
MozReview-Commit-ID: Gh3JwLUtmz9

--HG--
extra : rebase_source : 6cdee487246406cafe0e5a9afe4a44f62d131c8b
2017-10-12 16:32:25 -07:00
Gurzau Raul
d274011903 Backed out 3 changesets (bug 1327097) for eslint failures toolkit/content/tests/widgets/test_videocontrols.html:228 r=backout on a CLOSED TREE
Backed out changeset 09c0a4c56c78 (bug 1327097)
Backed out changeset c0c5ee67b3ef (bug 1327097)
Backed out changeset 82a6e4dc5da7 (bug 1327097)
2017-11-16 14:23:20 +02:00
Timothy Guan-tin Chien
a6a21259ab Bug 1327097, Part I, Revert bug 1338961, r=smaug
This reverts commit 2b7c469d42bbb4a61471207eede26a8d27f084a3.

MozReview-Commit-ID: H07u9I5w80N

--HG--
extra : rebase_source : 3413d583fc39c881cdc8ebabcec37325d770a36c
2017-11-07 11:30:06 +08:00
Tom Schuster
d3b457113a Bug 638054 - Remove or fix tests outside JS using watch/unwatch. r=bz,fitzgen 2017-10-24 20:48:14 +02:00
Ryan VanderMeulen
4a8d7024ae Bug 1388764 - Skip test_object_plugin_nav.html on Linux debug builds for frequent mozilla::ipc::MessageChannel::WillDestroyCurrentMessageLoop() shutdown crashes. r=qdot 2017-10-23 21:43:30 -04:00
Brendan Dahl
25dd61aaf2 Bug 1410477 - Re-add file_fullscreen-plugins.html test. r=jrmuizel
Accidentally removed in bug 1408220.

MozReview-Commit-ID: GgzovCsFdcr

--HG--
extra : rebase_source : db3b2b003eed4655cd9ea1ea1f42377f4ee85cc6
2017-10-20 10:32:30 -07:00
Brendan Dahl
734c99161a Bug 1408220 - Skip fullscreen plugin test in headless mode. r=jrmuizel
--HG--
extra : rebase_source : 49eab6c1940b5b865e12e7b9deec478321b832af
2017-10-11 14:11:22 -07:00
Jim Chen
8bfda16485 Bug 1357191 - 2. Fix form tests for new mobile date/time controls; r=jessica
Fix some test failures on mobile for the new date/time controls,

* Because mobile does not use the built-in reset button, tests
  involving the reset button are skipped.

* The mobile-only date/time tests in test_input_typing_sanitization.html
  do not apply to the new date/time controls, so they are removed to make
  mobile match desktop.

* test_input_sanitization.html now takes a lot longer to run on Android
  debug and frequently times out, so it's disabled for debug Android builds.

* time-content-left-aligned.html may fail because of different drawing
  behavior on Android, so the test is made fuzzy on Android.

MozReview-Commit-ID: FTzwHTJgVJe
2017-10-12 12:20:14 -04:00
Sebastian Hengst
592a737256 Backed out 2 changesets (bug 1357191) for frequently failing mochitest dom/html/test/forms/test_input_sanitization.html on Android 4.3 API16+ debug. r=backout
Backed out changeset c6ba568874b0 (bug 1357191)
Backed out changeset 562e7fc9a839 (bug 1357191)
2017-10-10 23:27:21 +02:00
Jim Chen
527ff54289 Bug 1357191 - 2. Fix form tests for new mobile date/time controls; r=jessica
Fix some test failures on mobile for the new date/time controls,

* Because mobile does not use the built-in reset button, tests
  involving the reset button are skipped.

* The mobile-only date/time tests in test_input_typing_sanitization.html
  do not apply to the new date/time controls, so they are removed to make
  mobile match desktop.

* test_input_sanitization.html now takes longer to run on Android and
  may time out, so the timeout limit is increased.

* time-content-left-aligned.html may fail because of different drawing
  behavior on Android, so the test is made fuzzy on Android.

MozReview-Commit-ID: EmfGf6JYdpW
2017-10-10 12:15:50 -04:00
Ryan VanderMeulen
9f63919fe8 Bug 1388764 - Skip test_object_plugin_nav.html on Windows debug builds for frequent mozilla::ipc::MessageChannel::WillDestroyCurrentMessageLoop() shutdown crashes. r=qdot 2017-10-03 14:04:34 -04:00
Ryan VanderMeulen
ddad6938ab Bug 1388764 - Skip test_iframe_sandbox_plugins.html on debug builds for frequent mozilla::ipc::MessageChannel::WillDestroyCurrentMessageLoop() shutdown crashes. r=qdot 2017-10-03 08:41:40 -04:00
Kirk Steuber
0dc3847027 Bug 1402025 - Ensure form submission flush when unsetting relevant attributes r=bz
It seems that we were flushing any pending submission when changing the action or target attributes of a form, but not when unsetting those attributes.

MozReview-Commit-ID: E6aUnokg54k

--HG--
extra : rebase_source : 1e331b0ce03dbd77a79a8bafa6bb3ea39c6ea22b
2017-09-28 12:09:56 -07:00
Geoff Brown
81c675f7bc Bug 1397615 - Skip some long-running mochitests on Android Debug only; r=snorp 2017-09-21 12:39:35 -06:00
Emilio Cobos Álvarez
afb59c871d Bug 1387942: Relax backdrop frame parenthood assertion, and re-enable test. r=xidorn
MozReview-Commit-ID: 99I3apwe52l

--HG--
extra : rebase_source : a9900b925cb58e095572fca75e211cc0e16c942f
2017-09-12 08:41:17 +02:00
Christoph Kerschbaumer
9048e3f216 Bug 1397655 - Update tests within dom/ to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-10 13:24:07 +02:00
Andrew Sutherland
792729291f Bug 1383518 - Part 1: Augment test_formSubmission.html test to include ServiceWorker variants. r=bkelly
This test causes the expected serviceworker failure messages in the child
process and then hangs the test.

--HG--
extra : rebase_source : b1ea1db02d84ce7eb1e7b939cd1ef96825ab8e9f
2017-08-23 04:23:13 -04:00
Andrew Sutherland
9bd2e89d01 Bug 1383518 - Part 0: Test whitespace cleanup. r=bkelly
This test had trailing whitespace in a number of places, including one spot
inside a <textarea> that explicitly had a test expectation against it.

Since it's popular to have text editors purge trailing whitespace, this patch
converts the one significant piece of trailing whitespace to use an HTML
entity to encode a trailing ASCII space character.  This keeps that test happy.

--HG--
extra : rebase_source : ce6b3f3b923d06c3364b44ff006c8e245bd4f133
2017-08-23 04:18:39 -04:00
btian
9de84f5fed Bug 1390394 - Mochitest to ensure FormData gets the new files after setting <input type=file>.files. r=smaug
--HG--
extra : rebase_source : 1987a73e03ffa7191f95f0259ba15f131ce709ee
2017-08-17 17:09:41 +08:00
Henry Chang
d09db9fb2b Bug 1390777 - Use srcdoc to replace src=data:xxx whenever possible. r=ckerschb
MozReview-Commit-ID: 1FeRTmZv46N

--HG--
extra : rebase_source : 1b53de3be3fdb37f2b85550bf2b922d4285721aa
2017-08-17 16:00:29 +08:00
Xidorn Quan
cad67851c2 Bug 1374902 - Check pref when parsing :fullscreen pseudo-class. r=TYLin
MozReview-Commit-ID: 3UHeQ10E48J

--HG--
extra : rebase_source : efad34ea0de70473a323a13b4b4c61de28a6e79e
2017-08-02 16:34:47 +10:00
Stone Shih
497e5b94f7 Bug 1351148 Part5: Revise test_bug1261673.html to continue the test after processing the wheel event. r=smaug.
Enabling event prioritization on content process may change the order of synthesized input event and the posted message. Instead of posting a message, uses the event listener to resolve it.

MozReview-Commit-ID: 3dmZpMgqiFg
2017-05-29 15:02:19 +08:00
Stone Shih
5d5578ad36 Backed out changeset b6025d3c4d03 (bug 1351148) 2017-08-11 15:19:24 +08:00
Stone Shih
1edb92b204 Bug 1351148 Part5: Revise test_bug1261673.html to continue the test after processing the wheel event. r=smaug.
Enabling event prioritization on content process may change the order of synthesized input event and the posted message. Instead of posting a message, uses the event listener to resolve it.

MozReview-Commit-ID: 3dmZpMgqiFg
2017-05-29 15:02:19 +08:00
Xidorn Quan
58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Yoshi Huang
8249b8ae4c Bug 1366151 - rewrite dom/html/test/test_fullscreen-api-race.html. r=smaug
Run this test with security.data_uri.unique_opaque_origin set to false
so we can reply on SimpleTests.waitForFocus() to be fired.
2017-08-09 08:58:11 +08:00
Henry Chang
8ab6a91cb0 Bug 1355746 - Part 4. Fix intermittent full screen test failures. r=smaug,xidorn
We found that a window will not get focus immediately after exiting full screen
mode on Linux. This seems to be a long-standing issue which surfaces due to the
change of background HTML parsing timing. So, we try to get focus everytime
before requesting full screen mode to ensure the request will not fail because
of the focus issue.

MozReview-Commit-ID: 2pOShFZcq8A

--HG--
extra : rebase_source : 47a9431e02549b483874ddfba804bed0d1c6a534
extra : intermediate-source : 64f74f99771510bc06aaf4e9fc875e61b4c67a75
extra : source : 57f259680880504181191c5fe5fa9688c0692703
2017-07-12 10:49:11 +08:00
Blake Kaplan
3e5081b1b0 Bug 1374460 - Remove mochitests using showModalDialog. r=smaug
MozReview-Commit-ID: 5vLjdti5oW8

--HG--
extra : rebase_source : a731afcacc8ea35e9120cce4fb47d444fbdf4efa
2017-06-08 11:44:24 -07:00
Nicholas Nethercote
f5c5231809 Bug 1382955 (part 1) - Remove MozPowerManager and related things. r=bz,gsvelto.
This includes the FactoryReset stuff.
2017-08-02 10:04:36 +10:00