Commit Graph
448 Commits
Author SHA1 Message Date
Ryan VanderMeulen 0b523d24c4 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 bd5841d6d4 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 cec10249d8 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
2017-09-28 12:09:56 -07:00
Geoff Brown f3a26d459b Bug 1397615 - Skip some long-running mochitests on Android Debug only; r=snorp 2017-09-21 12:39:35 -06:00
Emilio Cobos Álvarez c10bb124e6 Bug 1387942: Relax backdrop frame parenthood assertion, and re-enable test. r=xidorn
MozReview-Commit-ID: 99I3apwe52l
2017-09-12 08:41:17 +02:00
Christoph Kerschbaumer 829d995d83 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 20f426ec63 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.
2017-08-23 04:23:13 -04:00
Andrew Sutherland 8e70eb8a9b 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.
2017-08-23 04:18:39 -04:00
btian ca506e236d Bug 1390394 - Mochitest to ensure FormData gets the new files after setting <input type=file>.files. r=smaug 2017-08-17 17:09:41 +08:00
Henry Chang 9f4dcfe743 Bug 1390777 - Use srcdoc to replace src=data:xxx whenever possible. r=ckerschb
MozReview-Commit-ID: 1FeRTmZv46N
2017-08-17 16:00:29 +08:00
Xidorn Quan e7a93ba0fd Bug 1374902 - Check pref when parsing :fullscreen pseudo-class. r=TYLin
MozReview-Commit-ID: 3UHeQ10E48J
2017-08-02 16:34:47 +10:00
Stone Shih d0b41d3f32 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 0ed25c46ed Backed out changeset b6025d3c4d03 (bug 1351148) 2017-08-11 15:19:24 +08:00
Stone Shih 1dc56ce519 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 3913a95452 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM
2017-08-09 08:31:26 +10:00
Yoshi Huang 95bc40b1d9 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 f2159349e9 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
2017-07-12 10:49:11 +08:00
Blake Kaplan 7d8ee0173c Bug 1374460 - Remove mochitests using showModalDialog. r=smaug
MozReview-Commit-ID: 5vLjdti5oW8
2017-06-08 11:44:24 -07:00
Nicholas Nethercote 1dde4c33d7 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
Kestrel cb30f12dc8 Bug 918780 - Add new PopupControlState for permitting file/color picker popup regardless of dom_allowed_events. r=smaug
MozReview-Commit-ID: 1GbjQ6IkMsv
2016-04-24 04:49:00 +01:00
Kyle Machulis 74bf40ac81 Bug 1279218 - Additional applet tag logic removal; r=bz
I've been having problems with interdiffs on mozreview lately, so for
ease of review, this patch is being submitted as a seperate patch for
review. Once it is r+'d, it will be folded into the first patch in
this set before landing.

MozReview-Commit-ID: CS9MngaXlBd
2017-07-28 16:44:39 -07:00
Kyle Machulis 045afdc521 Bug 1279218 - Remove tests related to the applet tag; r=bz
MozReview-Commit-ID: FzzA5Qic4Uq
2017-07-10 16:15:16 -07:00
Carsten "Tomcat" Book 45036acc75 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Carsten "Tomcat" Book 7256507af7 Backed out changeset 4e29b5422902 (bug 1351148) 2017-07-28 09:20:17 +02:00
Luke Chang 35858cc1c2 Bug 1362290 - Support non-experimental autocomplete pref. r=baku
MozReview-Commit-ID: LABuNLbq2Io
2017-07-27 11:41:15 +08:00
Jessica Jong c8a9b64795 Bug 1376695 - Part 2: Avoid rebuilding the list returned by getElementsByName when not needed. r=ehsan
The list returned by getElementsByName is cached, however, it's rebuilt
frequently due to content mutations. We can avoid rebuilding the list when
the attribute changed is not the name attribute. We can also speed up the
name matching process by skipping the elements that do not have a name
attribute.

MozReview-Commit-ID: 9TUPaQonjHz
2017-07-26 02:34:00 -04:00
Stone Shih 4f6befa6b6 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
Jessica Jong 5ae1986233 Bug 1366361 - Part 2: Update reflectURL() and web platform tests. r=smaug
MozReview-Commit-ID: A4ARFegoCrW
2017-07-17 14:17:22 +08:00
3070975e34 Bug 1222633 - Add rel=preload - tests. r=smaug 2017-07-10 15:05:48 +02:00
Yoshi Huang c4049e5312 Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
Jessica Jong d14eef00ce Bug 1374967 - Part 2: Consider step when deciding whether to show second/millisecond field. r=smaug
We should consider step and step base when deciding whether to show second and
millisecond field, since step and step base can affect the valid time intervals,
and the valid intervals may have second/millisecond part.

MozReview-Commit-ID: H4mJvLTvBOM
2017-06-29 11:47:00 -04:00
Sebastian Hengst 28cdad74be Backed out changeset bc8aa66de70b (bug 1374944) for frequently timing out in test_fullscreen-api-race.html. r=backout 2017-06-29 21:42:23 +02:00
Yoshi Huang ff7cf7db2f Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-29 10:46:25 -07:00
Carsten "Tomcat" Book 911b7bbf48 merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Olli Pettay 6416d12291 Bug 1375484 - ScrollSelectionIntoViewEvent should be called during refresh driver tick, r=ehsan 2017-06-25 00:38:42 +03:00
Cameron McCormack 542bcca28c Bug 1291515 - Part 1: Introduce a pref for <style scoped>. r=bholley,dbaron
MozReview-Commit-ID: 1J9IvPrC0xh
2017-06-21 09:25:43 +08:00
Wes Kocher 8ddaccacfb Backed out 2 changesets (bug 1291515) for reftest assertions in textarea-fieldset-legend-ref-2.html a=backout CLOSED TREE
Backed out changeset 4fac24cc0437 (bug 1291515)
Backed out changeset 4e8b918dc410 (bug 1291515)

MozReview-Commit-ID: F4yQK5ujqLP
2017-06-25 05:18:22 -07:00
Cameron McCormack b16d764b3a Bug 1291515 - Part 1: Introduce a pref for <style scoped>. r=bholley,dbaron
MozReview-Commit-ID: 1J9IvPrC0xh
2017-06-21 09:25:43 +08:00
Florian Quèze c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze ecd98ba423 Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze d0406d270c Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Wes Kocher 0942b0ec9f Merge inbound to m-c a=merge
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Blake Kaplan 262b9150f7 Bug 981796 - Make tests that use showModalDialog pass. r=smaug
Annoyingly, setting the pref doesn't magically make the function appear on the
current window, so we create an iframe and retrieve it from there.

MozReview-Commit-ID: 9fOr4YJOzXh
2017-06-16 12:41:01 -07:00
Jessica Jong 508c171997 Bug 1372369 - Part 2: Set validity state to 'bad input' when the entered date value is invalid. r=smaug
If all fields in date/time input box are available but the input element's
value is empty, implies that it has been sanitized. In this case, we'll set the
'bad input' validity state. If any of the fields is cleared, we'll remove the
'bad input' validity state, as incomplete field does not imply 'bad input'.

MozReview-Commit-ID: 4EBpH5CWqXM
2017-06-19 01:13:00 -04:00
John Dai e759882a74 Bug 556743 - Update web-platform tests for labels attribute. r=smaug 2017-06-05 06:27:00 -04:00
Yoshi Huang 6d9acbbe41 Bug 1368893 - rewrite dom/html/test/test_iframe_sandbox_inheritance.html. r=smaug
Move the data URI in 'if_no_scripts' and 'if_scripts' to seperate files.

Also remove the test 'if_19', as it seems redundant, it tests the same
thing with the iframe 'if_scripts', and it also lacks of 'allow-scripts'
in its sandbox flag.
2017-06-16 10:52:25 +08:00
Jessica Jong fe51256000 Bug 1370858 - Fire change/input events after selecting a date/time from picker. r=smaug
Per spec [1], date/time inputs fall into this category:

"For input elements without a defined input activation behavior, but to which
 these events apply, and for which the user interface involves an explicit
 commit action but no intermediate manipulation, then any time the user commits
 a change to the element's value, the user agent must queue a task to first fire
 an event named input at the input element, with the bubbles attribute
 initialized to true, and then fire an event named change at the input element,
 with the bubbles attribute initialized to true."

So, we fire input/change events when:
- User selects a date/time from the picker
- User changes the value using up/down keys in a already complete date/time
  value
- User changes the value using the number keyboard in a already complete
  date/time value
- User clears the value (using reset button or using backspace)


MozReview-Commit-ID: E7Jc5qMKZj4
2017-06-12 02:21:00 +02:00
Ben Kelly d7552a9f9d Bug 1197401 Remove the disabled HTML imports implementation. r=wchen 2017-06-12 07:36:02 -07:00
Edgar Chen 871e4504c2 Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Carsten "Tomcat" Book 472feeff02 Backed out changeset f9147bef9fc6 (bug 1236512) 2017-06-20 14:30:34 +02:00