Граф коммитов

2977 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Brad Werth ad0c130afa Bug 1355675 Part 4: Add tests of Element::getTransformTo... methods. r=mattwoodrow
MozReview-Commit-ID: JQzJ3AZqNC

--HG--
extra : rebase_source : d353b9b574c434a074298d9d2826cfe91311bb4c
2017-05-25 16:01:06 -07:00
Ehsan Akhgari b2b32dd799 Bug 1368272 - Rewrite test_bug534149.html to not rely on the dispatching order of WindowDestroyedEvent; r=mystor 2017-05-28 13:42:21 -04:00
Paolo Amadini d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst 8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini 8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Shing Lyu 5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Yoshi Huang f150e4d3c9 Bug 1366699 - rewrite dom/tests/mochitest/whatwg/test_postMessage_special.xhtml. r=ckerschb
Rewrite test_postMessage_special.xhtml to make it match the latest spec.
2017-05-24 10:03:53 +08:00
Daosheng Mu a720df3b9d Bug 1358395 - Part 2: Enable GamepadExtensions Web API the for the release build; r=kip,qdot
MozReview-Commit-ID: BuIKJy3NEHq

--HG--
extra : rebase_source : 731a0ddd01e12c07f3eaaba491ff203527fd40d1
2017-05-19 00:11:45 +08:00
Daosheng Mu e3e60c3019 Bug 1358395 - Part 1: Enable WebVR APIs of test_interfaces for the release build; r=kip,qdot
MozReview-Commit-ID: 2gsY6JQwKkA

--HG--
extra : rebase_source : 29a2935d764875d409b33006dea325453a2ea714
2017-05-17 18:58:54 +08:00
Ryan VanderMeulen 22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Mats Palmgren 297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book 00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Mats Palmgren e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Yoshi Huang 1608185b2b Bug 1366149 - rewrite test_bug291653.html to not use data: URI. r=smaug 2017-05-23 09:02:07 +08:00
Yoshi Huang a3552b2d1f Bug 1365506 - fix XHTML/XUL tests that use data: URI. r=smaug 2017-05-23 09:02:06 +08:00
Masayuki Nakano 730193bdb6 Bug 1339543 part 2 eKeyPress event should have edit commands for all editor types when it's dispatched to a remote process r=smaug
When eKeyPress event is dispatched from TabParent to a remote process, it
should store edit command for all editor types.  Then, copied
WidgetKeyboardEvent in the remote process doesn't need to request the edit
commands when its ExecuteEditCommands() is called.

Note that this patch also changes a automated test, browser_bug1316330.js,
that uses nsIDOMWindowUtils.dispatchDOMEventViaPresShell() to dispatch
repeated keyboard events in the tab.  However, it should use synthesizeKey()
to emulate everything of native keyboard events and the API can dispatch
repeated keyboard events too.  (And the test has a bug.  It tries to wait 0.5
sec when every keydown or keypress event.  However, it fails since startTime
is never initialized.  This patch fixes this bug too.)

MozReview-Commit-ID: IYhyxqH3Ch8

--HG--
extra : rebase_source : 0db911e8e6ea7fc537bda76f4cc0f8952cc13dd2
2017-05-19 17:24:20 +09:00
Bob Owen 746d38b25f Bug 1351358 Part 8: Check that reload doesn't cause new process when large allocation browser in tab group. r=mystor 2017-05-18 12:08:58 +01:00
Andrea Marchesini 321d6f6cf3 Bug 1364925 - navigator.sendBeacon should not force application/octet-stream as content-type for ArrayBuffer, r=smaug 2017-05-17 14:25:20 +02:00
Yoshi Huang b823849d69 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 9af1bdc477 Bug 1363612 - Part 1: move to seperate files. r=smaug 2017-05-16 16:57:19 +08:00
Christoph Kerschbaumer e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Ben Kelly 979733b37f Bug 1364276 Wait for service worker to activate before proceeding in tests. r=asuth 2017-05-15 06:22:20 -07:00
Matt Brubeck 0c70ae6c1d Bug 1349651 - stylo: Implement HasAuthorSpecifiedRules. r=bholley
MozReview-Commit-ID: 8ta5KqKzncZ

--HG--
extra : rebase_source : 3ec29f283dc6bfec4d2a1676ab3f78296893d94b
2017-05-10 13:11:36 -07:00
Wes Kocher e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
btian bc058622e6 Bug 1351795 - part 2: Remove console.markTimeline. r=baku
MozReview-Commit-ID: EmbscFp9oD4

--HG--
extra : rebase_source : 3f620c05faf82731d384dfca369db62ae8eb871e
2017-05-09 15:34:18 +08:00
btian c28f35b424 Bug 1351795 - part 1: Remove console.timeline and timelineEnd. r=baku
MozReview-Commit-ID: DLoqGD5NDwt

--HG--
extra : rebase_source : 43b55175f9ba1671e8269a227078e205581c8f1c
2017-05-09 11:39:27 +08:00
Edgar Chen 0a24632278 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 6f3ea4d1b4 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 3477eb3e43 Bug 1361975 Fixing tests in order to support window.location not nullable, r=me 2017-05-08 15:53:03 +02:00
Tim Taubert 1eae0fcd88 Bug 1361974 - Add nsIDOMWindowUtils API to check usage of a given storage r=mayhemer 2017-05-04 14:29:36 +02:00
Iris Hsiao e71485e5b0 merge mozilla-inbound to mozilla-central a=merge 2017-05-04 11:18:36 +08:00
Hiroyuki Ikezoe 43a902cb19 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Ben Kelly 5fecc78f44 Bug 1361722 Remove bogus document.write() from test_formdataparsing.js. r=jdm 2017-05-03 13:51:19 -07:00
Aryeh Gregor 527fb3fff5 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

--HG--
extra : rebase_source : 2f0051f48124380f17300a38ceb8c2ab23015ca1
2017-04-20 17:37:07 +03:00
Mike Conley 58788522cd 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

--HG--
extra : rebase_source : ee31ed4e9a8fe0b734a5961c8b0d47d75ccb6703
2017-04-27 12:46:59 -04:00
Mike Conley 021b4cf90f Bug 1336763 - Regression tests that exercise nsITabParent's hasBeforeUnload attribute. r=Ehsan
MozReview-Commit-ID: 5prqteICE7M

--HG--
extra : rebase_source : 6ef3060590051f7f3187734cf6c84acf2f437d91
2017-04-14 18:32:37 -04:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu 435db45b79 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 e88372532f Bug 1321865 - Enable IntersectionObserver tests. r=jet
MozReview-Commit-ID: 19WgYHRGCat
2017-04-27 00:17:10 -07:00
Sebastian Hengst ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu dae014d9d5 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 af57d2df0f 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

--HG--
extra : rebase_source : 199ab921acfc531b8b85e77f90fcd799b03c887b
2017-04-20 15:45:37 +03:00
Mike Conley cb7e9a244f 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

--HG--
extra : rebase_source : 9aa9623ef649fb2c42ad22738130c361acf6b8cc
2017-04-13 11:54:15 -04:00
Andrea Marchesini 26843e3f98 Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
Andrea Marchesini 9a89dabb3e 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 f2c0979851 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 b737881864 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