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

2797 Коммитов

Автор SHA1 Сообщение Дата
Jessica Jong 18378d0e3a Bug 1334051 - Part 2: Invoke attributeChangedCallback only if attribute name is in the observed attribute list. f=jdai, r=smaug
We call attributeChangedCallback in two cases:
1. When any of the attributes in the observed attribute list has changed,
   appended, removed, or replaced.
2. When upgrading an element, for each attribute in element's attribute list
   that is in the observed attribute list.

MozReview-Commit-ID: LKUY5ibp9RI
* * *
Bug 1334051 - Part 3: Optimize attributeChanged callbacks. r=smaug
2017-08-27 23:25:00 -04:00
Andrea Marchesini 1fbe4316ad Bug 1395006 - Use preferences to enable Abort API for testing in release. r=qdot
--HG--
rename : dom/tests/mochitest/fetch/slow.sjs => dom/abort/tests/slow.sjs
extra : rebase_source : 8bb35c3f2f92a06bebaba181d29c903d38deb40a
2017-08-29 23:09:00 -04:00
Matt Woodrow 5d9dd5a30b Bug 1387059 - When checking if nsDisplayPerspective participates in preserve-3d, check the underlying transformed frame. r=mstange 2017-08-25 11:51:37 +02:00
Sebastian Hengst 7e5c12872d Backed out changeset 61a168afa436 (bug 1387059) for unexpectedly passing web-platform-reftest /css/css-transforms-2/transform3d-sorting-001.html. r=backout 2017-08-25 10:05:22 +02:00
Matt Woodrow 3cd9715429 Bug 1387059 - When checking if nsDisplayPerspective participates in preserve-3d, check the underlying transformed frame. r=mstange 2017-08-25 15:40:45 +12:00
Ryan VanderMeulen 3d0158833d Merge autoland to m-c. a=merge 2017-08-24 20:20:08 -04:00
Honza Bambas b0e6a5e1a5 Bug 1392382 - Don't assume request order in test_bug1053321.html. r=bkelly 2017-08-24 07:47:00 -04:00
Dão Gottwald b34674d9c1 Bug 1054740 - When a session should be restored, don't load the homepage before the session file has been read. r=mikedeboer
MozReview-Commit-ID: 7W4ihQZEeWf

--HG--
extra : rebase_source : c8d6acbed4ddbff148523982b0b218479063855c
2017-08-24 18:39:39 +02:00
Honza Bambas 2f9f6408e0 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly 2017-08-19 05:35:00 -04:00
Wes Kocher 3945278423 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Bryce Van Dyk d5ec1b23bd Bug 1275856 - Update dom event tests to reflect removal of RecorderErrorEvent and new MediaRecorderErrorEvent. r=smaug
MozReview-Commit-ID: 52YJMJncLyM

--HG--
extra : rebase_source : dc3db183c900bc7269fc85e84f599ba2ae8ab278
2017-08-11 14:03:23 +12:00
John Dai 5abb05dc54 Bug 1299363 - Part 6: Add tests for custom element upgrade. r=wchen
MozReview-Commit-ID: HsmtLzg9qP5

--HG--
extra : rebase_source : 99e670bd2a08b02f68818bfca5a410625e5aa7ee
extra : histedit_source : 669c2d72773079d6b0f24da012f5cde1444c898c
2017-08-13 16:40:49 +08:00
Ehsan Akhgari 623069c803 Bug 1390020 - Set the dom.select_events.textcontrols.enabled pref in test_selectevents.html; r=mystor 2017-08-15 12:31:52 -04:00
Yoshi Huang 60b7d9f697 Bug 1390398: fix failures on windows for new data: URI inheritance model. r=smaug 2017-08-15 18:09:28 +08:00
Andrea Marchesini 76f69afc03 Bug 1128959 - Implement the WHATWG Streams spec - part 15 - setting the correct global when ReadableStream.getReader() is called, r=bz 2017-08-10 18:04:56 -07:00
Andrea Marchesini 60f0e12e3d Bug 1128959 - Implement the WHATWG Streams spec - part 14 - cross-compartment tests, r=bz 2017-08-10 18:04:56 -07:00
Andrea Marchesini da90cb5c31 Bug 1128959 - Implement the WHATWG Streams spec - part 13 - testing ReadableStream with more than 1mb of data, r=bkelly 2017-08-10 18:04:55 -07:00
Andrea Marchesini cb3c4dda07 Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
This patch does 2 things:

. when SetBodyUsed() is called, the pump for the stream reading is activated.

. Just because of the reading of the stream could end up executing JS code, we
  need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Andrea Marchesini 4928cd7694 Bug 1128959 - Implement the WHATWG Streams spec - part 11 - add some stream mochitests r=bkelly 2017-08-10 18:04:55 -07:00
Valentin Gosu 953c52ffc5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Valentin Gosu 3b95ce67d2 Bug 1380617 - Fix tests that use nsIURI.host expecting unicode domain name r=smaug,honzab
MozReview-Commit-ID: GKnbpc8GMb2
2017-08-09 17:44:06 +02: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
Christoph Kerschbaumer b0c46464c7 Bug 1385818 - Convert dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul to comply with new data: URI inheritance model. r=smaug 2017-08-03 10:53:42 +02:00
Wes Kocher baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Phil Ringnalda c5ab89e934 Backed out changeset 548ed79f2337 (bug 1053321) for strange and terribly-reported failures in Android opt mochitest-15 and debug mochitest-36
CLOSED TREE

MozReview-Commit-ID: IigWQ1wnxhZ

--HG--
extra : source : 70bd3854b6d034b67419ba11044b6cbe82b713bc
2017-08-01 23:13:42 -07:00
Wes Kocher 8df4a18d1a Backed out changeset 385dd315c9ca (bug 1385818) for failures in test_popup_blocker_chrome.xul a=backout
MozReview-Commit-ID: 8voTYwwVoIm

--HG--
extra : source : 40a251b511b32f5938a42f92caf4947494025b7b
2017-08-01 16:39:59 -07:00
Honza Bambas ad5889f413 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
--HG--
extra : source : 548ed79f2337ba14e61519958f145e2f22078276
extra : amend_source : ed7dcf32e55ad3feb93b57590583d2c3d0781fdd
2017-08-01 21:21:09 +02:00
Honza Bambas f33b5cb515 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
--HG--
extra : histedit_source : 1743f499ca20d75df7e957fab1c942c4f4e22df8
2017-08-01 21:21:09 +02:00
Christoph Kerschbaumer 7cc8a29254 Bug 1385818 - Convert dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul to comply with new data: URI inheritance model. r=smaug 2017-08-01 15:57:47 +02:00
Phil Ringnalda 91ca7a8cc8 Backed out changeset 548ed79f2337 (bug 1053321) for strange and terribly-reported failures in Android opt mochitest-15 and debug mochitest-36
CLOSED TREE

MozReview-Commit-ID: IigWQ1wnxhZ
2017-08-01 23:13:42 -07:00
Wes Kocher 5f641b641b Backed out changeset 385dd315c9ca (bug 1385818) for failures in test_popup_blocker_chrome.xul a=backout
MozReview-Commit-ID: 8voTYwwVoIm
2017-08-01 16:39:59 -07:00
Christoph Kerschbaumer 653d6f7ced Bug 1385273 - Convert tests within dom/tests/mochitest/chrome to comply with new data: URI inheritance model. r=smaug 2017-08-01 10:59:57 +02:00
Kyle Machulis 2533883d04 Bug 1279218 - Rename HTMLSharedObjectElement to HTMLEmbedElement; r=bz
MozReview-Commit-ID: KkvRkFXAX30

--HG--
rename : dom/html/HTMLSharedObjectElement.cpp => dom/html/HTMLEmbedElement.cpp
rename : dom/html/HTMLSharedObjectElement.h => dom/html/HTMLEmbedElement.h
extra : rebase_source : 460c2a018e2a737b6397e8306127d73bc017d8da
2017-07-28 21:35:43 -07:00
Kyle Machulis ef8d138ba7 Bug 1279218 - Remove tests related to the applet tag; r=bz
MozReview-Commit-ID: FzzA5Qic4Uq

--HG--
extra : rebase_source : 64206ee3e5073bafd822b23040fe6e24dda3463f
2017-07-10 16:15:16 -07:00
Till Schneidereit 847290985c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-29 16:47:26 +02:00
Sebastian Hengst 2a076b4002 Backed out changeset 862ba8683d19 (bug 1272697) 2017-07-28 20:18:28 +02:00
Till Schneidereit 8b46f09d1c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-28 17:48:14 +02:00
Carsten "Tomcat" Book 198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Christoph Kerschbaumer 8c36096164 Bug 1384151 - Convert selectAtPoint-innerframe.html to comply with new data: URI inheritance model. r=smaug 2017-07-25 17:11:09 +02:00
Xidorn Quan 4a92d308fc Bug 1374872 - Disable tests involving web components for stylo. r=wchen
MozReview-Commit-ID: JWA210RkpAW

--HG--
extra : rebase_source : cd2a4ed75b43d500bf3a6e1e49eccb1bd38ed777
2017-06-21 14:51:37 +10:00
Zibi Braniecki cc3d3ab8cd Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
MozReview-Commit-ID: IqGbT6ZUfuN

--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
extra : rebase_source : 3180b337ec33bfc8959d0189c8a53ca2c3306e95
2017-07-14 16:47:23 -07:00
Andrew Sutherland 9138402fac Bug 1374943 - Fetch needs to handle redirect=error not resulting in NS_FAILED. r=bkelly
The included test crashes without the included fix if run with --disable-e10s.
e10s doesn't crash because HttpChannelChild examines the return value of the
call to the listener's OnStartRequest method and invokes Cancel() if it
NS_FAILED.  This is a divergence between e10s and non-e10s.  See the bug for
more details and discussion.

--HG--
extra : rebase_source : 9da386b0f1c0b349728170b301f62b0175c2c571
2017-06-21 08:28:34 -04:00
Wes Kocher b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Jim Chen 8b6bd21a0b Bug 1351170 - 2. Notify selection listeners after adjusting range offsets; r=smaug
`nsRange` registers mutation observers to adjust the range when content
changes. However, there are some cases where we adjust the start and/or
end offsets but don't notify selection listeners (i.e. we don't call
`nsRange::DoSetRange` to set the new range points, contrary to what the
comment above `nsRange::DoSetRange` says). This patch makes us call
`nsRange::DoSetRange` in those cases. The patch adds a testcase in
test_selectevents.html, and changes a few unexpected-pass cases in
test_composition_text_querycontent.xul that this patch fixed.

MozReview-Commit-ID: 73D8RYMS3MS

--HG--
extra : rebase_source : da0cc3073e4b8ad23c6f6eab42da5aa8b269cae9
2017-07-19 14:29:59 -04:00
John Dai b6b41eca6c Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. r=wchen
--HG--
extra : rebase_source : 0ccd628ce1f0904bf2d412ade2710c6e1203641e
2017-07-18 20:30:00 -04:00
Zibi Braniecki 2c5f451dee Bug 1344625: Revert "Bug 1349879 - Intl object is hidden on Android beta and release channel". r=m_kato
MozReview-Commit-ID: 3hMis1hhqag

--HG--
extra : rebase_source : c746c2dd26a9076ab57ce75efcaf36b0dae38c42
2017-07-17 22:21:47 -07:00
Dragana Damjanovic dd.mozilla@gmail.com 4a4943b2d5 Bug 1222633 - Add rel=preload - tests. r=smaug 2017-07-10 15:05:48 +02:00
Dan Banner d8518d604e Bug 1351089 - Remove unused PresentationDeviceInfoManager.jsm r=schien,smaug
MozReview-Commit-ID: FoMZNIFtgFM

--HG--
extra : rebase_source : 0fef4325bdea8c346f526a4fb6459a6dfe31fc5b
2017-07-03 19:51:01 +01:00
Andrea Marchesini 68ee090884 Bug 1333981 - Introduce StorageNotifierService for the dispatching of StorageEvent using the correct mainthread event target, r=billm 2017-07-06 19:35:33 +02:00
Florian Quèze fb91723a8a Bug 1374282 - hand cleanup for the script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze 66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Blake Kaplan 97cd29dbb5 Bug 981796 - Disable this test on Android. r=nalexander
Android sets dom.disable_window_showModalDialog to true in mobile.js so this
test now fails because it explicitly sets the pref to false. For the time
being, it's easiest to simply skip this test on Android and turn it back on
once we remove the test entirely.

MozReview-Commit-ID: 5XsiXupESvg

--HG--
extra : rebase_source : 8d176e069aac5cc49ec06b7055be5a81b45c188a
2017-06-19 17:23:11 -07:00
Blake Kaplan 4aafd09754 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

--HG--
extra : rebase_source : d23643b388538955cc831a3b6e1473232ab5498a
2017-06-16 12:41:01 -07:00
Stone Shih 39f13a468a Bug 1352278 - [Pointer Event] Turn on PointerEvent preference on Mac and Linux nightly. r=masayuki.
MozReview-Commit-ID: JeuDOjTMkl1
2017-03-31 09:24:24 +08:00
Michael Layzell f9f7306ed3 Bug 1369627 - Part 1: Add a test for the behavior of window.resizeBy right after opening a new window, r=smaug
MozReview-Commit-ID: GLqs4YU0lbX
2017-06-15 14:34:46 -04:00
Matt Woodrow 1323cbe13d Bug 1359709 - Use the DOM-ordering parent frame when deciding if a frame combines its transform with ancestors. r=dbaron 2017-06-14 13:47:50 +12:00
Peter Van der Beken ae390ac4ca Bug 1252211 - Convert XUL template builders to WebIDL. r=bz.
--HG--
rename : layout/xul/tree/nsITreeView.idl => dom/webidl/TreeView.webidl
rename : dom/xul/templates/nsIXULTemplateBuilder.idl => dom/webidl/XULTemplateBuilder.webidl
extra : rebase_source : ccfc87c460e20027a4ea6b3cc04efe14802dc41e
2017-05-24 11:51:10 +02:00
Peter Van der Beken 9b9495bf79 Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
--HG--
extra : rebase_source : 5a24af4928dbd7754850c6e3ceff6646bfe58c93
2017-05-18 09:07:25 +02:00
Carsten "Tomcat" Book 4a5a3d9f30 Backed out changeset 2c51cdd42834 (bug 1252211) for bustage 2017-06-13 12:20:33 +02:00
Carsten "Tomcat" Book 3ef39f1665 Backed out changeset 82c5f20d6ee2 (bug 1252211) 2017-06-13 12:20:16 +02:00
Peter Van der Beken 7c1c7552a6 Bug 1252211 - Convert XUL template builders to WebIDL. r=bz.
--HG--
rename : layout/xul/tree/nsITreeView.idl => dom/webidl/TreeView.webidl
rename : dom/xul/templates/nsIXULTemplateBuilder.idl => dom/webidl/XULTemplateBuilder.webidl
extra : rebase_source : 6788542d65fe446e851eebd4804d7dba428c8c84
extra : source : 599f27e86cb7ba543b4014c91be89c67225064ec
2017-05-24 11:51:10 +02:00
Peter Van der Beken 9d549d2f23 Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
--HG--
extra : rebase_source : db24985f7e8f6d4ca4df13015d565ec0063ba355
extra : source : f361697cb50b47dc4db94a6730b6604ab69217f5
2017-05-18 09:07:25 +02:00
Greg Mierzwinski ae7beae008 Bug 1357082 - Retry synthesizeMouseAtCenter until it is performed. r=xidorn
This patch is for the intermittent bug 1357082 which has a failure in the test 'test_pointerlock-api.html' and is more frequent when it is run on Ubuntu 16.04. This failure is resolved by retrying the mouse movement until it actually occurs.

MozReview-Commit-ID: 9XC4zmWj8Gn

--HG--
extra : rebase_source : 8f2d80661f8da82a68eeade2261a2d729c13c84d
2017-06-06 09:22:36 -04: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
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
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
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
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
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
Tobias Schneider e88372532f Bug 1321865 - Enable IntersectionObserver tests. r=jet
MozReview-Commit-ID: 19WgYHRGCat
2017-04-27 00:17:10 -07: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
Wes Kocher 023a635e1c Backed out changeset d20f6afea6f0 (bug 1348409) for android failures in test_no_find_showDialog.html a=backout
MozReview-Commit-ID: Hq6Ebrk1OJ0

--HG--
extra : rebase_source : 17629d1db652c5cebb88ee76050194008a63b054
2017-04-20 13:20:47 -07:00
Mike Conley fbc79d4fb5 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 : 02b5b7ce3852d2254016b384f29f2a84063a4957
2017-04-13 11:54:15 -04: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
Michael Layzell 344f335411 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 7c1713568d 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 ea6ac7cbf2 Bug 1356569 - Remove some more newURI null trailing parameters, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 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 738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst 42df6d8c4d Backed out changeset f85a9a62c5bb (bug 1356569) 2017-04-14 23:39:15 +02:00
Joel Maher 59b23525ff 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 d9085a7d38 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 284974064e Bug 1356569 - Remove some more newURI null trailing parameters, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze 3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Wes Kocher 514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Tom Tung 3a17b5eae0 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 d8ee3acbe9 Bug 1336002 - Part 4: Add gamepad button touched tests; r=Lenzak,qdot
MozReview-Commit-ID: 5OoR2vf0zZn

--HG--
extra : rebase_source : 7f1089f5e50a68dc64e7b1615a6d28de167a7ae4
2017-04-10 11:48:30 +08:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Kan-Ru Chen 8b859b3025 Bug 1295815 - retry synthesizeNativeMouseMove until mousemove happens. r=xidorn
MozReview-Commit-ID: 9e10lJbHzDd

--HG--
extra : rebase_source : a5e965815541d6cb730e22a0659d340d49b3608a
2017-04-10 10:08:42 -04:00
Joel Maher 1d28e958d8 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
Andrea Marchesini 3535802d8b Bug 1354441 - Update MediaQueryList to the latest version of the spec, r=jwatt 2017-04-10 16:29:06 +02:00
Ryan VanderMeulen 468cc2b92a Backed out changeset 167d391cabb9 (bug 1325942) for LSAN leaks.
--HG--
extra : rebase_source : d05f26c60198af3cf41e7333e06fa0326bc25f7a
2017-04-06 13:08:28 -04:00
Carsten "Tomcat" Book 207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Mark Banner 5cb239b14a Bug 1347482 - Change various DOM tests to run the navigator checks in sub-iframes. r=mystor
We have to run the navigator checks in sub-iframes as we need to set preferences which affect navigator's API
which may or may not be already initialised with the current settings. The sub-iframes will have a navigator
object set up with the expected preferences for the test.

The iframes all call into the parent to publish the test results, this is because the SimpleTest infrastructure
doesn't cope with results being published from sub-iframes.

MozReview-Commit-ID: GFVQHMVkbMP

--HG--
rename : dom/power/test/test_bug957899.html => dom/power/test/test_bug957899_iframe.html
rename : dom/presentation/tests/mochitest/test_presentation_availability.html => dom/presentation/tests/mochitest/test_presentation_availability_iframe.html
rename : dom/tests/mochitest/gamepad/test_check_timestamp.html => dom/tests/mochitest/gamepad/test_check_timestamp_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_connect_events.html => dom/tests/mochitest/gamepad/test_gamepad_connect_events_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_extensions.html => dom/tests/mochitest/gamepad/test_gamepad_extensions_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_frame_state_sync.html => dom/tests/mochitest/gamepad/test_gamepad_frame_state_sync_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_hidden_frame.html => dom/tests/mochitest/gamepad/test_gamepad_hidden_frame_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad.html => dom/tests/mochitest/gamepad/test_gamepad_iframe.html
rename : dom/tests/mochitest/gamepad/test_navigator_gamepads.html => dom/tests/mochitest/gamepad/test_navigator_gamepads_iframe.html
rename : dom/tests/mochitest/geolocation/test_geolocation_is_undefined_when_pref_is_off.html => dom/tests/mochitest/geolocation/test_geolocation_is_undefined_when_pref_is_off_iframe.html
rename : dom/workers/test/test_navigator.html => dom/workers/test/test_navigator_iframe.html
rename : dom/workers/test/test_navigator.js => dom/workers/test/test_navigator_iframe.js
extra : rebase_source : fe0f3e342cb55b5e9da7038acb59b5e2a5c8767e
2017-04-04 21:53:27 +01:00
Makoto Kato 1c93a16bad Bug 1349879 - Intl object is hidden on Android beta and release channel. r=snorp,Waldo
Some interface tests into mochitest is failure on android beta and release.

test_serviceworker_interfaces.js has nonReleaseAndroid flag, so we should use it into test_interfaces.js and test_worker_interfaces.js

MozReview-Commit-ID: A1aHrTXwGil

--HG--
extra : rebase_source : 0990ec8a50b664ac711ee4977a104286f40ae07e
2017-03-30 19:44:28 +09:00
Aryeh Gregor b03daa975a Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug
Some code in SVGSVGElement.cpp might be unnecessary now, but Robert said
to leave it for a followup.

MozReview-Commit-ID: 8PpRGeGrREJ
2017-04-04 15:36:22 +03:00
Tobias Schneider 91a8006388 Bug 1321865 - Enable IntersectionObserver and tests. r=smaug, r=jet
--HG--
extra : rebase_source : c7d90f6b41e28c8d736511acb7eabd130919631b
extra : source : cd23e1fc730bb549e4a227e3616a730aab1907f3
2017-01-11 13:07:18 -08:00
Dan Banner cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Catalin Badea fce9859c14 Bug 1325942 - Fix test_fetch_cors_sw_empty_reroute.html. r=ehsan 2017-03-29 01:49:00 +08:00
Sebastian Hengst 95d52e6546 Backed out changeset e4ecf720b3a1 (bug 713680) for crashing in dom/tests/mochitest/chrome/test_xray_event_constructor.xul on Windows 7 debug. r=backout 2017-03-29 21:51:05 +02:00
Chris Peterson 9a7117b6ae Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
MozReview-Commit-ID: 6WPOOCcF43M

--HG--
extra : rebase_source : 83a416e89a479c25281128630935b0ec19dd915f
extra : histedit_source : cea4b90eb46eeac04fd2de120d1044576405aa2f%2C0dc86ac28399a3af673ebd40d11a75c57ef04f4b
2017-03-08 00:20:41 -08:00
Carsten "Tomcat" Book 5b9719c5fc merge mozilla-inbound to mozilla-central a=merge 2017-03-28 13:03:25 +02:00
Shih-Chiang Chien 0566aef2e8 Bug 1320744 - Part 4, Allow iframes in test_bug440572.html to be loaded out of sequence. r=mrbkap.
MozReview-Commit-ID: Hl7kGHP6ILQ

--HG--
extra : rebase_source : 5cd705359887e260b96908cf4bc8f69cea03a4dc
2017-03-26 22:37:01 +08:00
Andreas Farre 42d7612ddb Bug 1350699 - Update test now that IdleDeadline interface is exposed. r=smaug
MozReview-Commit-ID: 4RHPQrhxLRE
2017-03-27 06:29:00 -04:00
Mats Palmgren 00b74113a3 Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Daosheng Mu 62781e3b7d Bug 1299937 - Part 6: Handle Stop vibrating when the window defoucses; r=qdot
MozReview-Commit-ID: Kvd40jnSPvK

--HG--
extra : rebase_source : f9ce4c68fd07376b8e18cbab08718c49d6fed455
2017-03-07 10:17:57 +08:00
Daosheng Mu 3809301030 Bug 1299937 - Part 5: Add gamepad extension API tests; r=Lenzak,qdot
MozReview-Commit-ID: ICeDyGUn4XH

--HG--
extra : rebase_source : 365b47581bd44c70be9d8bbefdc4236191abb3a9
2017-02-02 15:00:51 +08:00
Daosheng Mu 9cf81ce92e Bug 1299937 - Part 1: Implement GamepadHapticActuator in Gamepad API; r=qdot
MozReview-Commit-ID: GJZvgxSBVlB

--HG--
extra : rebase_source : 8d7c36b469a791337d7eec2c372a0c40fddb9c62
2017-02-02 14:30:58 +08:00
Andrea Marchesini 0ef3f36c49 Bug 1341738 - Implement FetchController and FetObserver - part 5 - Dispatching observer events, r=bkelly 2017-03-22 11:07:27 +01:00
Andrea Marchesini cd6bd71606 Bug 1341738 - Implement FetchController and FetObserver - part 4 - FetchObserver WebIDL, r=bkelly 2017-03-22 11:06:23 +01:00
Andrea Marchesini e6ad00d782 Bug 1341738 - Implement FetchController and FetObserver - part 3 - FetchSignal in Fetch API, r=bkelly 2017-03-22 11:06:08 +01:00
Andrea Marchesini d80fbab759 Bug 1341738 - Implement FetchController and FetObserver - part 2 - Follow/Unfollow, r=bkelly 2017-03-22 11:05:10 +01:00
Andrea Marchesini 8552a5e7ba Bug 1341738 - Implement FetchController and FetObserver - part 1 - FetchController in WebIDL, r=bkelly 2017-03-22 11:04:57 +01:00
Brad Werth 983df24b1c Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
MozReview-Commit-ID: JDS5l06FAaf

--HG--
extra : rebase_source : c7fa999490b04e591f12b3fe123d6409811f9bfe
2017-03-16 12:05:56 -07:00
Jessica Jong e6024768b9 Bug 1346084 - Expose mozIntl.getLocaleInfo to ChromeOrXBL. r=smaug 2017-03-14 20:38:00 +01:00
Wes Kocher a7c590aa9c Merge inbound to central, a=merge
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Tooru Fujisawa 34e24d3efc Bug 1247519 - Trigger mouse click twice in case the first click is overlooked. r=smaug 2017-03-15 00:27:26 +09:00
Zibi Braniecki fbfa4998fa Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
MozReview-Commit-ID: 2SXD5HaJPXr

--HG--
extra : rebase_source : 44404dfd577f13fde722ef5c13a29f853766786d
2017-03-13 08:31:43 -07:00
Michelangelo De Simone ef7392e0f4 Bug 1341928 - Tag the Geolocation test suite. r=jdm
MozReview-Commit-ID: 9bNXMQNsL1a

--HG--
extra : rebase_source : 99ed74fc1c64472d29687d541d4b254c6b4ba2d8
2017-02-22 15:49:59 -08:00
Ben Kelly 86443f020e Bug 1311324 P3 Remove ServiceWorkerMessageEvent interface. r=bz 2017-03-09 20:50:13 -05:00
Andrea Marchesini 12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Andrea Marchesini 78b899978b Bug 1299500 - Get rid of DeviceStorage API - part 2 - DeviceStorageChangeEvent, r=ehsan 2017-03-08 20:15:44 +01:00
Andrea Marchesini bf74899736 Bug 1299500 - Get rid of DeviceStorage API - part 1 - DeviceStorageAreaChangedEvent, r=ehsan 2017-03-08 20:15:44 +01:00
Carsten "Tomcat" Book f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
Shawn Huang ff64db551b Bug 1339786 - Disable Storage API on Android, r=baku 2017-03-08 19:55:50 +08:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Michael Layzell 2cf62698de Bug 1342057 - Part 2: Add a test that the MIME type is set correctly for image data, r=baku
Unfortunately drag and drop / clipboard data is not super easy to test
with our current testing infrastructure, so we can't do too much better
than this. Additional testing will have to be done manually through our
QA process once this has landed.

MozReview-Commit-ID: 1etmIxjjiBd
2017-03-07 18:18:43 -05:00