Commit Graph
2958 Commits
Author SHA1 Message Date
Yoshi Huang 973ffb6923 Bug 1363632 - rewrite test_497898.html. r=smaug
test_497898.html uses encoded URI in data:text/html, so I am going to
replace it with srcdoc attribute and also decode the URI into plain
html.
2017-05-16 16:57:20 +08:00
Yoshi Huang 4fad74d949 Bug 1363612 - Part 1: move to seperate files. r=smaug 2017-05-16 16:57:19 +08:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Ben Kelly cd4d93b574 Bug 1364276 Wait for service worker to activate before proceeding in tests. r=asuth 2017-05-15 06:22:20 -07:00
Matt Brubeck 4eebd81661 Bug 1349651 - stylo: Implement HasAuthorSpecifiedRules. r=bholley
MozReview-Commit-ID: 8ta5KqKzncZ
2017-05-10 13:11:36 -07:00
Wes Kocher 04034100b2 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
btian bb11bec2bd Bug 1351795 - part 2: Remove console.markTimeline. r=baku
MozReview-Commit-ID: EmbscFp9oD4
2017-05-09 15:34:18 +08:00
btian 8a1cc22a43 Bug 1351795 - part 1: Remove console.timeline and timelineEnd. r=baku
MozReview-Commit-ID: DLoqGD5NDwt
2017-05-09 11:39:27 +08:00
Edgar Chen f26c06473b Bug 1354013 - Creating customized built-in elements without relevant definitions registered first shouldn't throw NotFoundError; r=wchen
per spec change: https://github.com/w3c/webcomponents/issues/608

MozReview-Commit-ID: 3W4qTndQsP7
2017-04-06 17:00:41 +08:00
Yoshi Huang a3678213e2 Bug 1361641 - Part 1: convert mochitest plain tests in dom to use srcdoc. r=smaug 2017-05-09 10:25:23 +08:00
Andrea Marchesini 65f693ccac Bug 1361975 Fixing tests in order to support window.location not nullable, r=me 2017-05-08 15:53:03 +02:00
Tim Taubert bbc0d503f3 Bug 1361974 - Add nsIDOMWindowUtils API to check usage of a given storage r=mayhemer 2017-05-04 14:29:36 +02:00
Iris Hsiao bf9b30899a merge mozilla-inbound to mozilla-central a=merge 2017-05-04 11:18:36 +08:00
Hiroyuki Ikezoe 85c0fdbc46 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk
2017-05-04 06:39:30 +09:00
Ben Kelly 34fd870542 Bug 1361722 Remove bogus document.write() from test_formdataparsing.js. r=jdm 2017-05-03 13:51:19 -07:00
Aryeh Gregor 38e8ea1915 Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku
Discussion at <https://github.com/whatwg/dom/issues/319>.  In short, the
specification used to say to throw sometimes InvalidCharacterError and
sometimes NamespaceError, but browsers disagreed on which to throw in
corner cases, and everyone agreed it wasn't worth the effort to spec the
distinction, so we just changed it to InvalidCharacterError across the
board.

The test changes are already upstream.

MozReview-Commit-ID: AWSZBznQprG
2017-04-20 17:37:07 +03:00
Mike Conley 08e90b1806 Bug 1336763 - Update browser_beforeunload_between_chrome_content.js to use ContentTask. r=jessica
By using ContentTask, we get a Promise that resolves once we've heard confirmation from
the content process that the ContentTask function has completed running. This means we
can be certain that browser_beforeunload_between_chrome_content.js has had the beforeunload
event handlers added before attempting to unload the page.

MozReview-Commit-ID: DhoTsOZ4BNk
2017-04-27 12:46:59 -04:00
Mike Conley 8edbff2b54 Bug 1336763 - Regression tests that exercise nsITabParent's hasBeforeUnload attribute. r=Ehsan
MozReview-Commit-ID: 5prqteICE7M
2017-04-14 18:32:37 -04:00
Shing Lyu 688a98f536 Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu e6b1b20ff7 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Tobias Schneider e98e24e830 Bug 1321865 - Enable IntersectionObserver tests. r=jet
MozReview-Commit-ID: 19WgYHRGCat
2017-04-27 00:17:10 -07:00
Sebastian Hengst 5f2945b3ec Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst ce63b37abb Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 66fcd4c2bf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu a6e0a62b7d Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Aryeh Gregor 594c362b60 Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.

Notes on specific events:

CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).

DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.

ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.

SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.

TimeEvent: This is still in because it has no constructor, so there's no
other way to create it.  Ideally we'd update the SMIL spec to add a
constructor.  I did remove TimeEvents.

MozReview-Commit-ID: 7Yi2oCl9SM2
2017-04-20 15:45:37 +03:00
Mike Conley 32f70bcce9 Bug 1348409 - Stop supporting the showDialog argument for window.find r=mrbkap
The dialog functionality of the non-standard window.find API has been broken
with e10s since it shipped, and bug 1182569 or bug 1232432 (or both) have
broken it for non-e10s.

This patch remove showDialog support entirely, for both e10s and non-e10s,
in a more deliberate way. We now ignore the argument.

MozReview-Commit-ID: 1CTzgEkDhHW
2017-04-13 11:54:15 -04:00
Andrea Marchesini 5b11b585fb Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
Andrea Marchesini 94b9d42abb Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Michael Layzell c7fec0113f Bug 1356277 - Part 2: Add a test for LIMIT_THIRD_PARTY permission with sessionStorage, r=ehsan
MozReview-Commit-ID: 6EI2eynexN0
2017-04-19 17:07:07 -04:00
Tom Tung c6914afb70 Bug 1330297 - Part 3: Update mochitests to align with spec since we normalize value before checking and throwing. r=baku 2017-04-12 10:44:52 +08:00
Michael Layzell 9de4a15170 backout bug 1356277 due to failing test_localStorageSessionPrefOverride.html on try
I looked at the wrong try push before pushing this change to inbound. Backing it
out hopefully before it turns too many pushes orange.

MozReview-Commit-ID: 5cREsyfWrmb
2017-04-17 15:44:17 -04:00
Michael Layzell 2d602c5c95 Bug 1356277 - Part 2: Add a test for LIMIT_THIRD_PARTY permission with sessionStorage, r=ehsan
MozReview-Commit-ID: 6EI2eynexN0
2017-04-17 15:14:56 -04:00
Florian Queze 08b934cecd Bug 1356569 - Remove some more newURI null trailing parameters, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze 451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst 1abce56e72 Backed out changeset f85a9a62c5bb (bug 1356569) 2017-04-14 23:39:15 +02:00
Joel Maher d364c9f760 Bug 1325942 - disable two tests in asan for leaks. r=RyanVM
MozReview-Commit-ID: AnkQlsyoNw
2017-04-14 16:25:25 -04:00
Catalin Badea ce8684cae1 Bug 1325942 - Fix test_fetch_cors_sw_empty_reroute.html. r=ehsan
MozReview-Commit-ID: HyT8APTWxN1
2017-03-29 01:49:00 +08:00
Florian Queze 6bba1d01fb Bug 1356569 - Remove some more newURI null trailing parameters, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze 61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Wes Kocher e18b7d684a Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Tom Tung bb659078f0 Bug 1346313 - Part 3: Update mochitests since we change the format for combined value. r=baku 2017-04-11 18:32:23 +08:00
Daosheng Mu 7c5ba56f64 Bug 1336002 - Part 4: Add gamepad button touched tests; r=Lenzak,qdot
MozReview-Commit-ID: 5OoR2vf0zZn
2017-04-10 11:48:30 +08:00
Wes Kocher 0f1d144954 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Kan-Ru Chen beaee1e0fd Bug 1295815 - retry synthesizeNativeMouseMove until mousemove happens. r=xidorn
MozReview-Commit-ID: 9e10lJbHzDd
2017-04-10 10:08:42 -04:00
Joel Maher abd5c4aa78 Bug 1313972 - backout bug 1321865 for extremely high test failure rate. r=me
MozReview-Commit-ID: 365ppF9DbRb
2017-04-07 05:09:47 -04:00