Commit Graph

11427 Commits

Author SHA1 Message Date
Xidorn Quan
a8e64a94e1 Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
MozReview-Commit-ID: 3uS9s5ZrPFd

--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Jared Wein
072c1a6ba3 Bug 1323618 - Allow locking off of psuedo-classes through inIDOMUtils. r=heycam
MozReview-Commit-ID: DppYTmILpwy

--HG--
extra : rebase_source : c0befc8f86b92cfc88b537e520c3aa032846ba6a
2017-01-12 12:10:07 -05:00
Sebastian Hengst
7e8e7b64ec Backed out changeset 6c4807171f00 (bug 1323618) on jaws' request. r=backout 2017-01-12 18:45:39 +01:00
Jared Wein
213d81f2f4 Bug 1323618 - Allow locking off of psuedo-classes through inIDOMUtils. r=heycam
This patch doesn't currently work. The test fails in two test cases. Right now the styles for a 'locked-off' psuedo class are still being applied.

MozReview-Commit-ID: DppYTmILpwy
* * *
[mq]: temp

MozReview-Commit-ID: 74iIOQumfrw

--HG--
extra : rebase_source : 276e694b61aaeb0cb55a963c793d58876a92546f
2017-01-12 12:10:07 -05:00
Boris Zbarsky
34c39939f2 Bug 1330060 part 1. Move GetInlineStyleDeclaration up to Element so it doesn't have to be virtual. r=bkelly 2017-01-11 19:03:16 -05:00
Bill McCloskey
8ebd98768a Back out bug 1323207, part 2 - Assert early if we're painting at various points we enter JS (a=backout)
This reverts commit cc6bc31c9f3fb10877292b31c1cf26927856a837.

MozReview-Commit-ID: Dljoh4lYVZ9
2017-01-11 13:20:21 -08:00
Mats Palmgren
fde90825e1 Bug 1328030 - Add basic tests that select content including form controls, using various mouse/kbd gestures. 2017-01-11 16:57:27 +01:00
Nathan Froyd
676dfa4114 Bug 1322396 - report external resources of documents when flushing use counters in tests; r=dholbert
Our use counter tests force reporting of use counters from documents to
make the tests more deterministic: relying on the default
report-at-document-destruction behavior would introduce any number of
intermittents.  However, documents may have any number of external
resource documents, and we have no mechanism for forcing a deterministic
reporting of the use counters from those documents.  Relying on those
external resources to have been destroyed (and thereby reported their
use counters) when we examine the values of the use counters in question
is a recipe for intermittent failures.

Therefore, we introduce an optional report kind for use counter
reporting: if a document is reporting its use counters for the purposes
of a test, we will also report the use counters for the document's
external resource documents.  This change makes everything more
deterministic.
2017-01-11 09:52:23 -05:00
Carsten "Tomcat" Book
b77b4b1c41 Backed out changeset 1f9103460d1a (bug 1321865)
--HG--
extra : rebase_source : ce62e2845e5f32303c00283c18c3a966dadae481
2017-01-11 10:13:15 +01:00
Edgar Chen
bc56617eab Bug 1321300 - Back out bug 1264768 and add test; r=hsivonen
MozReview-Commit-ID: KsN18tG0Ptb
2017-01-09 11:50:55 +08:00
Tobias Schneider
4c8db026e6 Bug 1321865: Enable Tests. r=smaug
--HG--
extra : rebase_source : 477288611dce6c306c30756ef7d49bf928caa48d
2016-12-15 16:03:05 -08:00
Wes Kocher
0b29e777da Merge m-c to inbound, a=merge
MozReview-Commit-ID: 6eBJRasdMck
2017-01-10 18:36:19 -08:00
Wes Kocher
1d16e48df0 Merge inbound to central, a=merge
MozReview-Commit-ID: FLWmryRuVoL
2017-01-10 17:56:46 -08:00
Boris Zbarsky
0738cc6861 Bug 1329323. Stop throwing on nightly/aurora when trying to define a non-configurable property on the window, since we've determined that this is not web-compatible. r=peterv 2017-01-10 14:46:30 -05:00
Ben Kelly
7254b4bfa4 Bug 1329284 Refactor DOM timeout to set mWhen/mTimeRemaining from one place. r=ehsan 2017-01-10 08:08:18 -08:00
Sebastian Hengst
1ad33c840a Backed out changeset 9532ebc3faf0 (bug 1328030) 2017-01-10 22:36:29 +01:00
Nathan Froyd
ec503a0996 Bug 1329718 - remove nsISupportsVoid and associated machinery; r=erahm
Nothing uses it, it's virtually impossible to use from script, and there
are better ways to pass a |void*| around in C++.
2017-01-10 16:31:48 -05:00
Mats Palmgren
206a47399e Bug 1328030 - Add basic tests that select content including form controls, using various mouse/kbd gestures. 2017-01-10 21:37:49 +01:00
Carsten "Tomcat" Book
89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Phil Ringnalda
d55961eb9d Backed out 2 changesets (bug 1322396) for unexpected-pass failures in browser_use_counters.js
Backed out changeset 211d8715c965 (bug 1322396)
Backed out changeset aae1f858f6de (bug 1322396)

MozReview-Commit-ID: EYvhigQ0NSO
2017-01-09 18:45:08 -08:00
Wes Kocher
105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Wes Kocher
4f9d590133 Merge inbound to central, a=merge
MozReview-Commit-ID: 6jzg7wfFO2l
2017-01-09 16:34:44 -08:00
Neil Deakin
726da10015 Bug 1328043, scrolling into view on focus should happen even when event shouldn't fire, fixes tabbing into blank iframes, r=smaug 2017-01-09 11:03:52 -05:00
Nicholas Nethercote
bd8911a9f5 Bug 1325494 (part 5) - Slim down nsParserConstants.h. r=hsivonen.
Many of the constants aren't used. Also, the patch removes #includes of this
header that aren't necessary.

--HG--
extra : rebase_source : 75a0b6cea0cb0423f83b168fcc2be86d05352e2c
2016-12-23 13:51:04 +11:00
Wes Kocher
5b20fb2bce Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8DYKNuMdzFd
2017-01-09 16:39:02 -08:00
Carsten "Tomcat" Book
47628ca590 Merge mozilla-central to autoland 2017-01-10 12:24:10 +01:00
Nicholas Nethercote
649a29a85f Bug 1324330 (part 5) - Remove nsDOMClassInfo::mName. r=mccr8.
It's identical to the mClass.name.

--HG--
extra : rebase_source : 5697a1d7913335b6778de038f060ea51805076a2
2016-12-23 08:30:31 +11:00
Mats Palmgren
2d0ba23745 Bug 1327902 - Test selecting over a user-select:none node next to an <input>. 2017-01-08 21:27:00 +01:00
Mats Palmgren
8eb3b6cd3a Bug 1327902 - Set the range boundary point outside (before) the node if it HasIndependentSelection(). r=smaug 2017-01-08 21:27:00 +01:00
Ryan VanderMeulen
da6a7dfab8 Merge inbound to m-c. a=merge 2017-01-07 15:32:04 -05:00
Thomas Wisniewski
c6aea6cc68 Bug 1329365 - Follow-up adding 201, 202, and 205 to the list of response codes which suppress XML parsing errors. r=bz 2017-01-06 23:23:56 -05:00
Tobias Schneider
7bf1d2ce13 Bug 1326194 - Unlink observed targets as soon as DOMSlots gets unlinked. r=mrbkap
MozReview-Commit-ID: 4OnDvyc98S8

--HG--
extra : rebase_source : ff6336a0af81babf37f5a89a2809a515eb8430cc
2017-01-06 13:47:06 -08:00
J.C. Jones
e6dd50ba10 Bug 1309284 - Implement W3C Web Authentication JS API [part 1] r=keeler,qdot
This patch implements the W3C Web Authentication API from
https://www.w3.org/TR/webauthn/, currently the 28 September 2016
working draft.

It utilizes a tentative binding of the U2F NSS Soft Token to provide
authentication services while waiting on Bug 1245527 to support USB HID-based
U2F tokens. This binding is not in the specification yet, so it should be
considered an experiment to help the specification move fowrard.

There are also a handful of deviations from the specification's WebIDL, which
are annotated with comments in WebAuthentication.webidl.

There are no tests in this commit; they are in Part 4 of this commit series.
There is a small script online at https://webauthn.bin.coffee/ to exercise this
code, but it doesn't do any automated checks.

There are also a handful of TODOS:
1) The algorithm to relax the same-origin restriction is in Part 3.
2) The use of AlgorithmIdentifier and having a way to coerce an object to a
   string is still missing.
3) Timeouts and deadlines aren't there, and are pending reworking how
   the nsIU2FToken interface works.

UPDATED:
- Address qdot, keeler review comments (thanks!)
- Address more qdot, keeler review comments (thanks!)

MozReview-Commit-ID: JITapI38iOh

--HG--
extra : rebase_source : 9a09e852dd0c8dc47f42dabbcf8b845a6828b225
2017-01-09 13:22:49 -07:00
Carsten "Tomcat" Book
c9889851e8 Merge mozilla-central to autoland 2017-01-09 10:45:10 +01:00
Masatoshi Kimura
ae77a86895 Bug 1329570 - Restore missing error check in mozilla::dom::Location::GetPathname. r=valentin.gosu
MozReview-Commit-ID: 1g5Skn2R38c

--HG--
extra : rebase_source : fa19a17caf247472dfce77181917bbe97f70e3cd
2017-01-09 15:53:01 +09:00
Michael Layzell
f2c6e39bb7 Bug 1328620 - Rename LargeAllocationRelatedBrowsingContexts to reflect new content, r=smaug
MozReview-Commit-ID: AQVqIFKObsI
2017-01-06 16:48:47 -05:00
Ben Kelly
35c6feb9f3 Bug 1329006 Make RescheduleTimeouts() deadlines correctly for suspended windows. r=smaug 2017-01-06 11:24:43 -08:00
John Dai
40b7810c52 Bug 1312456 - Part 2: Remove Unicode case-insensitive matching for usemap attributes. r=smaug 2017-01-04 23:24:00 -05:00
John Dai
d61dd33bd3 Bug 1312456 - Part 1: Remove Unicode case-insensitive matching for radio button groups. r=smaug 2017-01-04 23:22:00 -05:00
Nathan Froyd
f6a73ed989 Bug 1315274 - rename mozilla::MakeRange to mozilla::IntegerRange; r=Waldo
MakeRange is just way too generic for this sort of thing.
2017-01-06 09:22:53 -05:00
Gregory Moore
c337ff9019 Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.

MozReview-Commit-ID: Gq0b1c3C1eO

--HG--
rename : intl/locale/unix/nsDateTimeFormatUnix.cpp => intl/locale/DateTimeFormatUnix.cpp
extra : source : 7e747433d1c9fae8a0acb4090f61335fcc165e4c
2016-11-21 15:58:37 -08:00
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Cameron McCormack
ce51bd51e0 Bug 1328832 - Part 1: Rename mozFlushType.h to FlushType.h. r=bzbarsky
MozReview-Commit-ID: 1ubwNkBEdfz

--HG--
rename : dom/base/mozFlushType.h => dom/base/FlushType.h
2017-01-05 14:54:02 +08:00
John Dai
4335473f7c Bug 1309184 - Implement upgrade reaction for custom element reactions. r=wchen
--HG--
extra : rebase_source : 0333c91029b6e08961e2ad0e7c04c3364cb429b5
2017-01-05 18:38:00 -05:00
Kyle Machulis
b1835ef2e7 Bug 1318303 - Mochitest for object node data attribute removal; a=TEST-ONLY
MozReview-Commit-ID: 8yP5c0s6Zwx
2017-01-05 10:41:11 -08:00
Kyle Machulis
7b4e7061d8 Bug 1318303 - Fallback without exception when trying to load object in non-active document; r=bz
MozReview-Commit-ID: 6GEH8Iglngt
2017-01-05 10:41:11 -08:00
Gerald Squelart
5d4cad020a Bug 1320785 - Remove obsolete 'ns' from 'StorensRefPtrPassByPtr' - r=froydnj
MozReview-Commit-ID: FuhlsLVFdLi

--HG--
extra : rebase_source : c1bb8330c4ca0dbf15a68a4dbd0dfeff615163be
2017-01-09 07:55:19 +11:00
Gijs Kruitbosch
5854463126 Bug 1328605 - re-add support for type=content-foo in order to smooth the way for add-ons, r=bz
MozReview-Commit-ID: L4NeEAeEA

--HG--
extra : rebase_source : 29c7af2af3d6ed0a1ad3b2ccc16bb9fa04e9d1e5
2017-01-04 17:33:19 +00:00
Jonathan Kingston
91e141995c Bug 1216893 - Add in disabled namespace for SVG r=hsivonen,smaug
MozReview-Commit-ID: 7Gum6wazraS

--HG--
extra : rebase_source : a2348710908e160cb09e48f15adfb50cd485f151
2016-12-01 07:41:22 +00:00
Bobby Holley
b32f310e62 Bug 1323649 - Reenable some crashtests. r=me 2017-01-09 11:50:23 -08:00