Commit Graph

2830 Commits

Author SHA1 Message Date
Robert Longson
783bfbb1e4 Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 09:54:02 +00:00
Phil Ringnalda
961aa85243 Merge m-c to autoland 2016-12-17 20:13:12 -08:00
Andrew McCreight
74da5843c7 Backed out changeset 016b87fe9145 (bug 1321865) for bug 1324209. 2016-12-17 12:57:37 -08:00
Andrea Marchesini
3f9ca03e22 Bug 1323676 - Remove ConsoleTimerStart.started, r=bgrins 2016-12-16 22:42:10 +01:00
Daosheng Mu
94effe3091 Bug 1315896 - Part 2: Remove MOZ_GAMEPAD in Gamepad module; r=ted.mielczarek
MozReview-Commit-ID: Hbv6THaI5Rk

--HG--
extra : rebase_source : aa6b247881c45b2d615d5e37576801e91ed77312
2016-12-08 13:00:44 -10:00
Tobias Schneider
4a9908d359 Bug 1321865 - Enable IntersectionObserver tests. r=smaug 2016-12-15 16:03:05 -08:00
Edgar Chen
267e044ff4 Bug 1274159 - Part 4: Add test cases for HTMLConstructor; r=bz,wchen
MozReview-Commit-ID: DCLMBz2nZB0
2016-12-01 14:35:21 +08:00
Edgar Chen
8a160d47da Bug 1318630 - Part 2: Create correct html element object when "is" is specified for custom element; r=wchen
MozReview-Commit-ID: B7cEhy5ZqL3
2016-12-08 09:33:44 -10:00
Sebastian Hengst
b9b9b83d86 Backed out changeset 86d70a2e93e1 (bug 1274159) 2016-12-14 13:27:10 +01:00
Carsten "Tomcat" Book
7e4633f6a4 Backed out changeset ed256c5c7d23 (bug 1321865)
--HG--
extra : rebase_source : d8944c5e6b88e4ddca238619cc4c3ff92e4bd540
2016-12-14 11:13:21 +01:00
Tobias Schneider
a5e5892100 Bug 1321865 - Enable IntersectionObserver Tests. r=smaug 2016-12-11 20:48:02 -08:00
Edgar Chen
4ce7b6c291 Bug 1274159 - Part 4: Add test cases for HTMLConstructor; r=bz,wchen
MozReview-Commit-ID: DCLMBz2nZB0

--HG--
extra : rebase_source : c402b7a63943e8601bc2f767bcc8b65de312813f
2016-12-01 14:35:21 +08:00
Tooru Fujisawa
515ef9ba45 Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
André Bargull
8843a98210 Bug 1319936 - Remove String generics uses in dom. r=billm
--HG--
extra : rebase_source : f2b40e5d4a423035d2de8739570a76305a058cf0
2016-11-24 13:17:00 -08:00
Andrea Marchesini
c741caf609 Bug 1311707 - dom-private-storage2-changed notification, r=janv 2016-11-29 07:19:08 +01:00
Olli Pettay
79719d0e36 Bug 1320704 - Disable IntersectionObserver, r=bkelly 2016-11-28 21:11:35 +02:00
Geoff Brown
ef0d47334a Bug 1296845 - Increase wait interval in test_beaconRedirect, on Android only; r=francois 2016-11-25 21:44:10 -07:00
Carsten "Tomcat" Book
8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Jeff Gilbert (:jgilbert)
94f694f70f Bug 1318523 - Remove removed class from test_interfaces. - r=qdot CLOSED TREE
MozReview-Commit-ID: EDYztMlDSAP
2016-11-21 19:51:39 -08:00
Shih-Chiang Chien
18c0f98fc6 Bug 1318214 - enable presentation API for 1-UA mode on Fennec nightly. r=smaug.
MozReview-Commit-ID: 37ykiqcaa8d

--HG--
extra : rebase_source : 8bd1c84042012b79de282acc88e7d68b7ae86c3b
2016-11-21 14:49:30 +08:00
Geoff Brown
184da4b586 Bug 1296845 - Skip test_beaconRedirect.html on Android Debug only; r=ckerschb 2016-12-19 11:22:06 -07:00
Carsten "Tomcat" Book
4accb2ccc4 Backed out changeset 5414d6a71785 (bug 1315105)
--HG--
extra : rebase_source : 32ab8a0003ae643e467bcc24bd857ce58679c82f
2016-12-19 15:58:54 +01:00
Michael Layzell
83167f96d3 Bug 1315105 - Part 4: Add a test for basic prerendering functionality, r=smaug
MozReview-Commit-ID: JYIpE8aeJRX
2016-12-19 15:06:30 +08:00
Andrea Marchesini
2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst
7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini
cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Daosheng Mu
1350fb4f8f Bug 1317706 - Remove Pose WebIDL for sharing the implementation to Pose class. r=bz
MozReview-Commit-ID: Lvu0AOBi5Ti

--HG--
extra : rebase_source : f8458e7eb5d4d356642918c83de5d08f7d76039e
2016-11-17 07:11:00 -05:00
Andrea Marchesini
3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Jeff Gilbert (:jgilbert)
fe681ec2cb Bug 1308057 - Add to interface list. - r=qdot
MozReview-Commit-ID: Rk7c100tgE
2016-11-14 15:32:06 -08:00
Wes Kocher
cee41d5b80 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Neil Deakin
3e2bb046b6 Bug 1310403, Remove special mouse handling for buttons which fixes extra focus events, r=smaug 2016-11-11 10:30:36 -05:00
Daosheng Mu
7168326772 Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot
MozReview-Commit-ID: DiJadVc2TyE

--HG--
extra : rebase_source : f4571090518a084b6d4b1e6fccf951510b227fbd
2016-10-24 18:04:41 +08:00
Tom Tung
a63de77d6a Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Andreas Farre
10ea97a276 Bug 1315672 - Only check for IdleDeadline on nightly. r=bkelly
MozReview-Commit-ID: HgR5FIhM0R6

--HG--
extra : rebase_source : 3c1c527c2dac20669e7f1e3e7ec0888e6bcc8ec9
2016-11-07 19:28:52 +01:00
Sebastian Hengst
41d0a78bc2 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/tests. r=RyanVM
MozReview-Commit-ID: 83L2jqWhzZe

--HG--
extra : rebase_source : 58c7339e13a0abdb3da2c6ccd2dc424b51869b08
2016-11-05 11:29:18 +01:00
Michael Layzell
063bebec5e Bug 1304140 - Part 2: Add tests for the Large-Allocation header, r=smaug
MozReview-Commit-ID: B2UpbKd2ptp
2016-10-31 16:38:54 -04:00
Phil Ringnalda
021e8e0cee Merge m-i to m-c, a=merge 2016-10-30 10:55:00 -07:00
Thomas Wisniewski
83f91a1422 Bug 1313533 - Have sendBeacon throw TypeErrors on invalid URLs to match a spec change. r=smaug 2016-10-28 18:42:52 -04:00
Tobias Schneider
5b2ef3c1db Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange 2016-10-28 10:24:00 -04:00
Wes Kocher
876ad139ba Bug 1304966 - Mark Storage APIs as nightly-only r=bz a=me CLOSED TREE
--HG--
extra : amend_source : 3ab5ad4d67c2752e318a9aadcd4e27b519e1e7cf
extra : histedit_source : 401472005646e5e3800a94c508eb8b1c71041fc4%2C7b315988fe6ed4c603a20d87a7f61e6c9549b1df
2016-10-28 11:28:51 -07:00
Wes Kocher
dcffb6b66c Backout revision 111c1227f51e (bug 1243846) for test_intersectionobservers.html failures on android a=backout CLOSED TREE
--HG--
extra : histedit_source : deadf3597a7fdb80b5836c4588516dfb4a06445b%2C5de29fcbccbf12173908822681f6f789186bd3bf
2016-10-27 14:16:10 -07:00
Tobias Schneider
aa61833e3d Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
--HG--
extra : rebase_source : de93bbd5bdecddc2cbf30b57de0fabfe1e4806c3
2016-10-26 22:04:00 -04:00
Sebastian Hengst
53db5c5046 Backed out changeset 1e1185804088 (bug 1243846) 2016-10-26 18:49:07 +02:00
Tobias Schneider
201d753e6c Bug 1243846 - Add Intersection Observer interfaces to test_interfaces.html. r=mrbkap
--HG--
extra : rebase_source : e728e2fdbe30f1a0c8499e83929734c8e44e5941
extra : histedit_source : 4f2b0998753c0106f2bf2cbc33b1d2abcf568c9f
2016-10-13 16:56:43 -07:00
Aryeh Gregor
3b1cc7049b Bug 1298818 - Port test_bug411103.html to wpt; r=jst
This allows other UAs to use it, removes duplicated checks, and
increases the chance of us noticing if the spec changes.  Some of the
expected values in our mochitest were contrary to the spec.

I checked the new expected failures against the spec and the other UAs.
I filed a spec bug for one group because it was contrary to all UAs
(although IMO the spec makes more sense and the UAs are buggy), and the
others are fixed in the next patch.

MozReview-Commit-ID: 1j11XgfuErB
2016-10-26 16:49:36 +03:00
Andreas Farre
cb4bba507f Bug 1198381 - Add tests for requestIdleCallback, r=smaug
MozReview-Commit-ID: HRdU1SJEg9K

--HG--
extra : rebase_source : 8fba6ee01df0db7211d7db24f6d4380b1ccde785
2016-08-30 16:02:08 +02:00
Andrea Marchesini
2ba4b94b43 Bug 1312410 - Tests for Fetch API + MutableBlobStorage, r=qdot 2016-10-26 09:08:09 +02:00
Carsten "Tomcat" Book
b46ba94f25 Merge mozilla-central to mozilla-inbound 2016-10-25 12:36:02 +02:00
Carsten "Tomcat" Book
26626464f0 Backed out changeset 377601350abc (bug 1198381) 2016-10-25 12:32:52 +02:00
Lars T Hansen
b52e1a1b80 Bug 1309861 - new APIs whitelisted for Aurora. r=h4writer
--HG--
extra : rebase_source : 2a3d6f990b5394a75ec38e06a3c42d6b6e01e723
2016-10-25 10:27:21 +02:00
Andreas Farre
45c050dc12 Bug 1198381 - Add tests for requestIdleCallback, r=smaug
MozReview-Commit-ID: HRdU1SJEg9K

--HG--
extra : rebase_source : 5e0f3117e8e78cd005a3143208c826238db178d9
2016-08-30 16:02:08 +02:00
Manish Goregaokar
1feab4fa75 Bug 1311959 - Remove marker-offset; r=tromey,xidorn
MozReview-Commit-ID: 72Fse0z1BiY

--HG--
extra : rebase_source : 45743ae282b861fc84f3462d1e49abde9ca0997f
2016-10-21 15:34:46 +05:30
Dan Minor
a480f90374 Bug 1308432 - Add webidl for ConstantSourceNode; r=smaug
MozReview-Commit-ID: 1VtsBk7icrW

--HG--
extra : rebase_source : 702a5c607bf69245c82fba81b561fcb95290dc96
2016-10-13 10:40:29 -04:00
Saurabh Singhal
0a5645d30d Bug 1278275 - Update Headers::GetAll and Headers::Get to match the specification. r=jdm, r=bkelly 2016-10-10 22:50:14 +05:30
Ehsan Akhgari
e3186e29a7 Bug 1310910 - Remove ChromeNotifications; r=baku
This partially backs out bug 967475.
2016-10-18 09:41:56 -04:00
Ehsan Akhgari
1978fee9f2 Bug 1310385 - Remove support for UndoManager; r=smaug
There hasn't been any traction on this feature, and we keep
paying the maintenance and code size and memory usage penalty
of having this implementation.

We can revive this from VCS history in the future if we decide
to start working on it again.  In the mean time, it's better
to remove it.
2016-10-17 10:06:11 -04:00
John Dai
48b937b61e Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
MozReview-Commit-ID: 3gYTaRVcV0y

--HG--
rename : dom/base/CustomElementsRegistry.cpp => dom/base/CustomElementRegistry.cpp
rename : dom/base/CustomElementsRegistry.h => dom/base/CustomElementRegistry.h
rename : dom/webidl/CustomElementsRegistry.webidl => dom/webidl/CustomElementRegistry.webidl
2016-10-12 15:26:02 +08:00
Ehsan Akhgari
13850f4183 Bug 1309628 - Hide support for dispatching selection events on the contents of text controls behind a pref; r=mystor
This patch adds a pref to control whether we dispatch the selection
events for changes in the contents of input and textarea text controls.
The spec for this feature hasn't been written yet, and we need to exclude
this part of the selection API from the part we want to ship.
2016-10-13 16:52:07 -04:00
Ehsan Akhgari
430e61c30f Bug 1248148 - Disable firing selection events during HTML editor initialization; r=mystor
This is similar to what we do for the plaintext editor initialization.
2016-10-13 13:46:40 -04:00
Ehsan Akhgari
9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Thomas Wisniewski
a8940b87e6 Bug 1305928 - Part 2: Only allow <svg>, <math>, XUL, and HTML elements to requestFullscreen. r=smaug 2016-10-11 12:04:59 -04:00
kearwood
c7632b77c1 Bug 1306415 - Part 2: Add VRFrameData to test_interfaces.html,r=smaug
--HG--
extra : rebase_source : 6bfb046d8b9653a9e5f58a2fbed7f658a9cc3ac4
2016-10-06 13:28:37 -07:00
Ehsan Akhgari
02de98992a Bug 1308267 - Part 1: Remove b2g interfaces from test_interfaces.html; r=baku 2016-10-09 17:44:23 -04:00
John Dai
efa715302c Bug 1275839 - Implement CustomElementsRegistry whenDefined function. r=wchen 2016-10-07 02:16:00 -04:00
Dan Minor
621afd7f92 Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Ethan Glasser-Camp
320a1b9240 Bug 1307898 - Fix typo, r=jdm
MozReview-Commit-ID: kKrJ66cEGB

--HG--
extra : rebase_source : 559b7b51e8abab0edab79420fe54cf6376cd54ab
2016-10-05 15:19:10 -04:00
Kan-Ru Chen
e18f79eb18 Bug 1283563 - Followup - properly finish test in case timeout is really flaky. r=me
MozReview-Commit-ID: 9XkB9dExF7Y
2016-10-05 16:33:22 +08:00
Kan-Ru Chen
bdfa3e49c9 Bug 1283563 - Change geo.wifi.url BASE_URL based on test type. r=jdm
MozReview-Commit-ID: CbyHe017B25
2016-10-05 11:53:43 +08:00
Kan-Ru Chen
244b68ec56 Bug 1283563 - Add mochitest/geolocation/chrome.ini back. r=jdm
MozReview-Commit-ID: IH7RkPaumCk
2016-10-05 11:53:43 +08:00
Carsten "Tomcat" Book
02f4754fbc merge mozilla-inbound to mozilla-central a=merge 2016-10-04 11:58:07 +02:00
Phil Ringnalda
7026f16e79 Merge m-c to autoland 2016-10-03 20:36:09 -07:00
Blake Kaplan
34e6eff4f8 Bug 1304531 - Remove CPOW usage from browser_ConsoleStorageAPITests.js. r=Felipe
This was a little tricky to get right. The "spin the event loop" bit is weird
but doing a setTimout to call resolve is already redundant since resolve calls
the promise callbacks on the next turn of the event loop anyway. Basically,
the test just needed to move more stuff to the content process.

MozReview-Commit-ID: KrZZU5reJf7

--HG--
extra : rebase_source : 0817cdefc2e3941a5f59e3e8365d72395d8c4869
2016-09-20 18:04:15 -07:00
Stone Shih
7b63299a94 Bug 1292063 - Part 2: Add composed argument to getEventTargetChainFor and refine test cases. r=smaug
--HG--
extra : rebase_source : 221e1bd75cfa3ab1c8ef435e8e87c5a6f56b82aa
2016-09-13 17:29:08 +08:00
Kan-Ru Chen
6ca2f575d0 Bug 1283563 - Don't reset timeout for oneshot geolocation request. r=jdm
MozReview-Commit-ID: 4EkPD54Xu7f
2016-09-29 17:13:59 +08:00
Robert Longson
22f105c045 Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08:00
Phil Ringnalda
40fd25db11 Backed out 3 changesets (bug 1293786) for wpt unexpected passes and fails
Backed out changeset f8911c81ee9a (bug 1293786)
Backed out changeset 8cba8a0a730c (bug 1293786)
Backed out changeset 5c60775f445e (bug 1293786)
2016-09-28 20:39:16 -07:00
Robert Longson
baaeeaf6ca Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08:00
Michelangelo De Simone
51d093d40f Bug 1218627 - Remove MozSettings API from Geo (and fix randomly failing tests). r=dougt
MozReview-Commit-ID: J74XihIkeHH

--HG--
extra : rebase_source : b88d74cb37f4cce2c892ea4790ee3de10d2747e5
2016-09-27 13:54:15 -07:00
Thomas Wisniewski
778b8e1ef7 Bug 1300986 - Improve exception messages for XMLHttpRequest. r=smaug
--HG--
extra : rebase_source : 911c543155d894f106b4e32599db89da4d781add
2016-09-28 13:04:17 -04:00
Ryan VanderMeulen
10262ed0cb Backed out changeset 4bdbbae12cb3 (bug 918719) for causing webcompat issues.
--HG--
extra : rebase_source : 58d99de7d9ee9e32383b9d18e4fb80a1bc59d0ad
2016-09-27 15:58:01 -04:00
Edgar Chen
cf7304c3c6 Bug 1306007 - Part 1: Remove srcset/picture feature control preference; r=jdm,smaug
MozReview-Commit-ID: BsyTHeqiGZL

--HG--
extra : rebase_source : 2add2510dbe16c641fe997a8349c1a36009bec20
2016-04-16 18:07:56 -04:00
Carsten "Tomcat" Book
d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
John Dai
18aca2998b Bug 1275838 - Implement CustomElementsRegistry get function. r=smaug, r=wchen 2016-09-21 19:40:00 -04:00
Jeff Gilbert (:jgilbert)
80826a7490 Bug 1303814 - WebGL 2 isn't Nightly-only. - r=mrbkap
MozReview-Commit-ID: I059mORhrn4

--HG--
extra : rebase_source : 6876fa88903a8b2a1dd9268a7a7155450c103c7a
2016-09-19 18:51:09 -07:00
Manish Goregaokar
63e75ca24b Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
MozReview-Commit-ID: 9rKqASXgKZH

--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Thomas Wisniewski
3cf91c9343 Bug 918719 - Only fire one loading readystatechange per XHR, but keep the old behavior available behind the preference dom.send_multiple_xhr_loading_readystatechanges. r=smaug
--HG--
extra : rebase_source : 296943a67ae8bd3065749cc424a4379320169585
2016-09-12 22:39:01 -04:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Carsten "Tomcat" Book
1c61ba654e merge mozilla-inbound to mozilla-central a=merge 2016-09-07 17:20:12 +02:00
Matteo Ferretti
46b536cd2f Bug 1299154 - added Set/GetOverrideDPPX to restorefromHistory; r=mstange
MozReview-Commit-ID: AsyAcG3Igbn
2016-09-07 10:21:51 +02:00
Edgar Chen
eaa3aed9dd Bug 1275835 - Part 2: Implement CustomElementsRegistry define function; r=wchen
MozReview-Commit-ID: 10NPmzTRogc

--HG--
extra : rebase_source : 9f4b5b79f1ef4d65a457066b079a338fd3895c40
2016-09-01 15:11:32 +08:00
Edgar Chen
67946850ab Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
MozReview-Commit-ID: 9gTSFrYW7o3

--HG--
extra : rebase_source : f123f21aadaa18641ddd7fa7fa67eb27a4152f83
2016-08-30 11:48:53 +08:00
Shawn Huang
ba9fa0d68a Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku 2016-06-14 13:57:36 +01:00
Sebastian Hengst
90f3f13901 Backed out changeset 72f66ce70dd8 (bug 1298818) for invalid wpt log messages. r=backout on a CLOSED TREE 2016-09-01 20:48:24 +02:00
Aryeh Gregor
865efbc170 Bug 1298818 - Port test_bug411103.html to wpt; r=jst
This allows other UAs to use it, removes duplicated checks, and
increases the chance of us noticing if the spec changes.  Some of the
expected values in our mochitest were contrary to the spec.

I checked the new expected failures against the spec and the other UAs.
I filed a spec bug for one group because it was contrary to all UAs
(although IMO the spec makes more sense and the UAs are buggy), and the
others are fixed in the next patch.

MozReview-Commit-ID: 1j11XgfuErB
2016-09-01 20:37:31 +03:00
Aryeh Gregor
76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Andrew McCreight
eba50c94d8 Bug 1298456 - Make historyframes.html and test_bug590573.html use generators. r=smaug
MozReview-Commit-ID: 1Fi2UnUC36g

--HG--
extra : rebase_source : 8f4fe3e5a577bfec73e088da471f63404293621c
2016-08-24 14:13:45 -07:00
Ryan VanderMeulen
71d43e7c12 Merge inbound to m-c. a=merge 2016-08-30 09:52:55 -04:00
Thomas Wisniewski
756abf6cfa Bug 289714 - Do not write <parsererror> nodes for invalid XML documents in XMLHttpRequests made by web content. r=billm, r=bz
--HG--
extra : rebase_source : 4cc87bbeca140953a90b31e1fd5b32098d37a2de
2016-08-29 16:30:36 -04:00
Matteo Ferretti
c0ce371e10 Bug 1241867 - override the DPR without affecting the rendering; r=dbaron
- added overrideDPPX to nsIContentViewer
- made CSSStyleSheet and GlobalWindow using the overrideDPPX value
- added unit test with frame check

MozReview-Commit-ID: AOWpGs4vb9H

--HG--
extra : rebase_source : 45d9ae2c9b7aad835b5602e805ec7260c69c05b8
2016-08-25 13:15:19 +02:00
Doug Turner
50df756b3f Bug 1286325 - Re-enable all geolocation tests. r=blassey
--HG--
extra : rebase_source : c2a5f1ed7ca6a867e533bbb3f81e98fd78ab3fec
2016-07-15 19:32:27 -07:00
Andrea Marchesini
27624bd372 Bug 1295570 - Entries API - part 8 - Remove [NoInterfaceObject], r=smaug 2016-08-18 09:20:16 +02:00
Wes Kocher
a177bd0ff1 Merge m-c to inbound a=merge 2016-08-17 17:24:02 -07:00
Thomas Wisniewski
fe6139c017 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
--HG--
extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
2016-08-17 00:11:24 -04:00
Wes Kocher
48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Marcos Caceres
7be5df61f7 Bug 1295434 - Typo in test in file test_picture_apng.html. r=heycam 2016-08-15 23:53:00 -04:00
Wes Kocher
88bc8189f9 Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Joel Maher
37e7cf1020 Bug 1291015 - move more clipboard tests and plugin tests to the hardware based m-cl job. r=RyanVM
MozReview-Commit-ID: HJHdiFrNRWM

--HG--
extra : rebase_source : e211c8f0751c7f3a58fac0430bb63c18023c3c07
2016-08-03 15:07:39 -04:00
Wes Kocher
45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
kearwood
64542d8c51 Bug 1250244 - Part 9: Update test_interfaces.html,r=bz
- DOM Mochitests ensure that a dom peer has reviewed
  new interfaces listed in the test_interfaces.html file.
- This patch includes the changes to this file that
  will require DOM Peer review.

MozReview-Commit-ID: Jll2kKyNBLA
2016-07-07 15:51:49 -07:00
Kearwood (Kip) Gilbert
0fa828c884 Bug 1250244 - Part 5: Rename VRDevice to VRDisplay,r=bz
- In order to reduce the size of the following patches
  and increase their readability, we rename VRDevice
  to VRDisplay here first.

MozReview-Commit-ID: 3pv8scdIi5w
2016-04-12 17:39:28 -07:00
Marcos Caceres
4b42312a6f Bug 1160200 - APNG can't be used with type switching. r=mcaceres, r=jrmuizel, r=johns 2016-08-09 22:15:00 +02:00
Shih-Chiang Chien
5695b2c3e7 Bug 1278205 - use preference for exposing presentation API. r=smaug.
MozReview-Commit-ID: AXkZmPe9J6k

--HG--
extra : rebase_source : 4edf7b15349f235f0f655edadbce340b22a6abf7
2016-06-03 19:50:30 +08:00
Markus Stange
ebb461c874 Bug 1012752 - Snap scrolled area to layer pixels. r=tnikkel
We want the maximum scroll position to be aligned with layer pixels. That way
we don't have to re-rasterize the scrolled contents once scrolling hits the
edge of the scrollable area.

Here's how we determine the maximum scroll position: We get the scroll port
rect, snapped to layer pixels. Then we get the scrolled rect and also snap
that to layer pixels. The maximum scroll position is set to the difference
between right/bottom edges of these rectangles.
Now the scrollable area is computed by adding this maximum scroll position
to the unsnapped scroll port size.
The underlying idea here is: Pretend we have overflow:visible so that the
scrolled contents start at (0, 0) relative to the scroll port and spill over
the scroll port edges. When these contents are rendered, their rendering is
snapped to layer pixels. We want those exact pixels to be accessible by
scrolling.

This way of computing the snapped scrollable area ensures that, if you scroll
to the maximum scroll position, the right/bottom edges of the rendered
scrolled contents line up exactly with the right/bottom edges of the scroll
port. The scrolled contents are neither cut off nor are they moved too far.
(This is something that no other browser engine gets completely right, see the
testcase in bug 1012752.)

There are also a few disadvantages to this solution. We snap to layer pixels,
and the size of a layer pixel can depend on the zoom level, the document
resolution, the current screen's scale factor, and CSS transforms. The snap
origin is the position of the reference frame. So a change to any of these
things can influence the scrollable area and the maximum scroll position.
This patch does not make us adjust the current scroll position in the event
that the maximum scroll position changes such that the current scroll position
would be out of range, unless there's a reflow of the scrolled contents. This
means that we can sometimes render a slightly inconsistent state where the
current scroll position exceeds the maximum scroll position. We can fix this
once it turns out to be a problem; I doubt that it will be a problem because
none of the other browsers seems to prevent this problem either.

The size of the scrollable area is exposed through the DOM properties
scrollWidth and scrollHeight. At the moment, these are integer properties, so
their value is rounded to the nearest CSS pixel. Before this patch, the
returned value would always be within 0.5 CSS pixels of the value that layout
computed for the content's scrollable overflow based on the CSS styles of the
contents.
Now that scrollWidth and scrollHeight also depend on pixel snapping, their
values can deviate by up to one layer pixel from what the page might expect
based on the styles of the contents. This change requires a few changes to
existing tests.
The fact that scrollWidth and scrollHeight can change based on the position of
the scrollable element and the zoom level / resolution may surprise some web
pages. However, this also seems to happen in Edge. Edge seems to always round
scrollWidth and scrollHeight upwards, possibly to their equivalent of layout
device pixels.

MozReview-Commit-ID: 3LFV7Lio4tG

--HG--
extra : rebase_source : 3e4e0b60493397e61283aa1d7fd93d7c197dec29
extra : source : d43c2d5e87f31ff47d7f3ada66c3f5f27cef84a9
2016-08-04 23:51:58 -04:00
Xidorn Quan
eaf4527336 Bug 931445 - Part 5 - Avoid childIframe subtest to be started twice. r=smaug
This is a silly bug that start() is called twice in this subtest, one
from the load event of the document (by pointerlock_utils.js), the other
is by onload of the iframe. Given the document's load event comes later,
I removed the onload of iframe.

MozReview-Commit-ID: 7TQJVa3xCb9

--HG--
extra : transplant_source : %88%DFF%5E%CD%84%19%01e%A9%18%7E%85%C75%E4%BAb%EC%03
2016-08-03 15:14:49 +10:00
Michael Layzell
420156f40f Bug 1271819 - Rewrite browser_focus_steal_from_chrome to avoid race condition, r=enndeakin 2016-08-03 13:25:06 -04:00
Christoph Kerschbaumer
1ded1763e4 Bug 1290065 - Extend timeout for sendBeacon redirect test so redirect can happen before querying the result. r=tomcat 2016-07-28 14:53:37 +02:00
Mike Conley
d190976dae Bug 1287827 - Fix a race-y test_bug260264.html mochitest. r=mrbkap
In nsGlobalWindow, we have a static counter for how many popups we've seen
recently. We increment it and decrement it when popups open and close - although
the decrement only occurs once the DocShell is detached, which happens asynchronously.

The test uses a utility that returns Promises for window.open and window.close,
but it uses dom-window-destroyed for resolving close, which happens _before_ the
counter is decremented. The dom-window-destroyed observer queues a runnable which
resolves the Promise.

This means that the test is attempting to open windows before the windows from a
previous test have finished detaching their DocShells (and decrementing the counter),
which means that the attempts to open the window hit the popup limit, which blocks
the popups.

This test switches us to waiting for outer-window-destroyed instead, which gives us
a greater certainty that the decrement has occurred.

MozReview-Commit-ID: 3a7QzxelP0a
2016-07-30 08:48:26 +01:00
Xidorn Quan
0aa8c340df Bug 991899 part 2 - Unprefix PointerLock tests. r=smaug
MozReview-Commit-ID: BPAuJWKZgBG

--HG--
extra : source : e8aea995c048039521246d2032a28e3b903c30c5
2016-07-28 17:15:21 +10:00
Chih-Yi Leu
266cc7eff8 Bug 1282874 - Move addEventListener into the first callback in test_gamepad_connect_events.html. r=qDot 2016-07-27 01:20:00 -04:00
John Dai
0ff1457b76 Bug 1274505 - Remove SVG-based custom element support. r=wchen
--HG--
extra : rebase_source : a2caaa0fc1a49ca989dafc9e73c55ad752b83752
2016-07-26 00:35:00 -04:00
Christoph Kerschbaumer
5bc0a6e499 Bug 1280692: Remove redundant sendBeacon tests due to spec update of using 'no-cors' per default. r=sicking 2016-07-26 13:46:48 +02:00
Christoph Kerschbaumer
5ccdcb67f4 Bug 1280692: Update sendBeacon origin header test. r=sicking 2016-07-26 13:46:33 +02:00
Christoph Kerschbaumer
d95c44acb7 Bug 1280692: Update sendBeacon redirect test. r=sicking
--HG--
rename : dom/tests/mochitest/beacon/beacon-cors-redirect-handler.sjs => dom/tests/mochitest/beacon/beacon-redirect-handler.sjs
rename : dom/tests/mochitest/beacon/test_beaconCORSRedirect.html => dom/tests/mochitest/beacon/test_beaconRedirect.html
2016-07-26 13:46:17 +02:00
Carsten "Tomcat" Book
a3904e8a8a Merge mozilla-central to mozilla-inbound 2016-07-25 15:59:01 +02:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
John Dai
61e4473134 Bug 1275833 - Update wpt and test_interfaces.html. r=smaug, wchen
--HG--
extra : rebase_source : 660b579caba59d32d0b57045319610cf144fc088
2016-07-21 23:44:00 +02:00
Xidorn Quan
834c029b00 Bug 1284788 - Allow change target of pointer lock when the pointer has been locked in the document. r=smaug
MozReview-Commit-ID: HiPkCPrQQr0

--HG--
extra : rebase_source : ce3826834065242a4e99b82d52ac65ddc205ae61
2016-07-20 14:42:08 +10:00
Blake Kaplan
b43a6820bf Bug 1267479 - Use ContentTask to avoid using intermittent CPOWs in browser_bug396843.js. r=wchen 2016-07-22 16:45:47 -07:00
Carsten "Tomcat" Book
c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Fabrice Desré
f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Jocelyn Liu
9420e6fa26 Bug 1276579: Add 'options' argument into |document.createElement[NS]()| methods and remove overloaded |createElement[NS]()| methods. r=smaug,wchen
MozReview-Commit-ID: FWd6g33SSiR

--HG--
extra : rebase_source : 1b62a987d66952ea420e10e8350399cd26b5511d
2016-06-06 18:43:39 +08:00
Till Schneidereit
f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Markus Stange
6bb3620330 Back out bug 1012752 for causing bug 1285532 and bug 1286674.
MozReview-Commit-ID: DYZ3D4yL1eZ

--HG--
extra : source : b98df554a6f0aa154275d363163ec618189503ed
2016-07-16 17:10:08 -04:00
Alexandre Lissy
84dcf6689f Bug 1287455 - Skip tests that are not useful on Android r=kanru
MozReview-Commit-ID: GklpSjmJZy6

--HG--
extra : rebase_source : f690e6aa529f263825e018a5dd283c460c5a7555
2016-07-18 18:54:58 +02:00
Fabrice Desré
7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Carsten "Tomcat" Book
779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Carsten "Tomcat" Book
a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Carsten "Tomcat" Book
34ed117ba5 Backed out changeset 39cac65eb07c (bug 1286325) for causing merge conflicts with mozilla-central 2016-07-17 09:20:48 +02:00
Carsten "Tomcat" Book
4d078ded39 Backed out changeset b98df554a6f0 (bug 1012752) 2016-07-17 09:20:26 +02:00
Markus Stange
2adb931c36 Back out bug 1012752 for causing bug 1285532 and bug 1286674.
MozReview-Commit-ID: DYZ3D4yL1eZ

--HG--
extra : histedit_source : c6fc9d036cbca0589e74587e17876f9417c3f2ad
2016-07-16 17:10:08 -04:00
Till Schneidereit
3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Doug Turner
dfb8831da1 Bug 1286325 - re-enable all geolocation tests. r=blassey 2016-07-15 19:59:00 +02:00
Alexandre Lissy
6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Fabrice Desré
d9ec9e3a4a Bug 1218627 - backout ef8fcd144a50 2016-07-12 14:00:34 -07:00
Markus Stange
f8e66e0cdf Bug 1012752 - Snap scrolled area to layer pixels. r=tnikkel
We want the maximum scroll position to be aligned with layer pixels. That way
we don't have to re-rasterize the scrolled contents once scrolling hits the
edge of the scrollable area.

Here's how we determine the maximum scroll position: We get the scroll port
rect, snapped to layer pixels. Then we get the scrolled rect and also snap
that to layer pixels. The maximum scroll position is set to the difference
between right/bottom edges of these rectangles.
Now the scrollable area is computed by adding this maximum scroll position
to the unsnapped scroll port size.
The underlying idea here is: Pretend we have overflow:visible so that the
scrolled contents start at (0, 0) relative to the scroll port and spill over
the scroll port edges. When these contents are rendered, their rendering is
snapped to layer pixels. We want those exact pixels to be accessible by
scrolling.

This way of computing the snapped scrollable area ensures that, if you scroll
to the maximum scroll position, the right/bottom edges of the rendered
scrolled contents line up exactly with the right/bottom edges of the scroll
port. The scrolled contents are neither cut off nor are they moved too far.
(This is something that no other browser engine gets completely right, see the
testcase in bug 1012752.)

There are also a few disadvantages to this solution. We snap to layer pixels,
and the size of a layer pixel can depend on the zoom level, the document
resolution, the current screen's scale factor, and CSS transforms. The snap
origin is the position of the reference frame. So a change to any of these
things can influence the scrollable area and the maximum scroll position.
This patch does not make us adjust the current scroll position in the event
that the maximum scroll position changes such that the current scroll position
would be out of range, unless there's a reflow of the scrolled contents. This
means that we can sometimes render a slightly inconsistent state where the
current scroll position exceeds the maximum scroll position. We can fix this
once it turns out to be a problem; I doubt that it will be a problem because
none of the other browsers seems to prevent this problem either.

The size of the scrollable area is exposed through the DOM properties
scrollWidth and scrollHeight. At the moment, these are integer properties, so
their value is rounded to the nearest CSS pixel. Before this patch, the
returned value would always be within 0.5 CSS pixels of the value that layout
computed for the content's scrollable overflow based on the CSS styles of the
contents.
Now that scrollWidth and scrollHeight also depend on pixel snapping, their
values can deviate by up to one layer pixel from what the page might expect
based on the styles of the contents. This change requires a few changes to
existing tests.
The fact that scrollWidth and scrollHeight can change based on the position of
the scrollable element and the zoom level / resolution may surprise some web
pages. However, this also seems to happen in Edge. Edge seems to always round
scrollWidth and scrollHeight upwards, possibly to their equivalent of layout
device pixels.

MozReview-Commit-ID: 3LFV7Lio4tG

--HG--
extra : histedit_source : 5390eeebfe9a2791d9ac8e91ec1dfec4ec7b4118
2016-06-02 15:41:51 -04:00
Michelangelo De Simone
9508c6dd0b Bug 1218627 - Fixing randomly failing test(s) in Geo. r=dougt
MozReview-Commit-ID: LyZVmPBQT84

--HG--
extra : transplant_source : L%0D%F2%BA_%84%8E%B9%B9%7F%E7J%DB%86%8E%B6%83%9B%05%87
2016-07-05 14:46:58 -07:00
Michael Layzell
48f17dbe5d Backout Bug 1279771 due to linux test failures 2016-07-05 13:48:52 -04:00
Michael Layzell
197e47c6a7 Bug 1279771 - Treat change events triggered by changing <select> element selections as user-initiated in e10s, r=enndeakin 2016-07-05 10:40:44 -04:00