Commit Graph

576363 Commits

Author SHA1 Message Date
Cameron McCormack
3ddc9f5f5f Bug 1427519 - Remove unused inCSSValueSearch and related interfaces. r=jryans
MozReview-Commit-ID: 1FR5tsi1Ll6
2018-01-11 12:59:40 +08:00
Makoto Kato
3f840ba7f5 Bug 1425652 - mosueDown, mouseUp and mouseMove should be removed from nsIHTMLObjectResizer. r=masayuki
comm-central and bluegriffon don't use mosueDown, mouseUp and mouseMove in
nsIHTMLObjectResizer, so we should remove these methods from this interface.

MozReview-Commit-ID: BnSkkH7f0xc

--HG--
extra : rebase_source : 40811e1a0b714e3ef30fd9ac5e4f840241de3780
2018-01-10 12:47:16 +09:00
Cameron McCormack
3c49d82e69 Bug 1427419 - Part 27: Remove inIDOMUtils. r=bz
And rename inDOMUtils.cpp to InspectorUtils.cpp.

MozReview-Commit-ID: IIqo25MHsQE

--HG--
rename : layout/inspector/inDOMUtils.cpp => layout/inspector/InspectorUtils.cpp
2018-01-11 12:38:01 +08:00
Cameron McCormack
3ef428b913 Bug 1427419 - Part 26: Move inIDOMUtils.scrollElementIntoView to InspectorUtils. r=bz
This is unused in mozilla-central but still used in comm-central.

MozReview-Commit-ID: HlJT7dthI41
2018-01-11 12:38:01 +08:00
Cameron McCormack
ce7231c196 Bug 1427419 - Part 25: Move inIDOMUtils.parseStyleSheet to InspectorUtils. r=bz
MozReview-Commit-ID: FQlNRP8ycY3
2018-01-11 12:38:01 +08:00
Cameron McCormack
afa1299635 Bug 1427419 - Part 24: Move pseudo-class lock methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: ItruGMmf5Ih
2018-01-11 12:38:01 +08:00
Cameron McCormack
3f17a89ba7 Bug 1427419 - Part 23: Move inIDOMUtils.getCSSPseudoElementNames to InspectorUtils. r=bz
MozReview-Commit-ID: A6FhXc2mJm1
2018-01-11 12:38:01 +08:00
Cameron McCormack
c4663ea0f0 Bug 1427419 - Part 22: Move inIDOMUtils.getUsedFontFaces to InspectorUtils. r=bz
This also changes the function to return a sequence (JS Array) instead of
an nsFontFaceList object, and converts nsFontFace/nsIDOMFontFace into a
Web IDL implemented object too.

MozReview-Commit-ID: 1iAW3DYe5kO

--HG--
rename : layout/inspector/nsFontFace.cpp => layout/inspector/InspectorFontFace.cpp
2018-01-11 12:38:01 +08:00
Cameron McCormack
25abd91980 Bug 1427419 - Part 21: Move content state methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: KfrUdNU4as3
2018-01-11 12:38:01 +08:00
Cameron McCormack
075f0e5256 Bug 1427419 - Part 20: Move inIDOMUtils.getBindingURLs to InspectorUtils. r=bz
This is unused in mozilla-central but still used by comm-central.

The only consumer of this API really just wants the URL strings, so
we return a sequence<DOMString> instead of an array of nsIURI objects.

MozReview-Commit-ID: ITcEe42shHw
2018-01-11 12:38:01 +08:00
Cameron McCormack
45c9e50a65 Bug 1427419 - Part 19: Move inIDOMUtils.getChildrenForNode to InspectorUtils. r=bz
MozReview-Commit-ID: 5AznAfpZIuN
2018-01-11 12:38:00 +08:00
Cameron McCormack
41ac7e60e0 Bug 1427419 - Part 18: Move inIDOMUtils.getParentForNode to InspectorUtils. r=bz
MozReview-Commit-ID: 5GxNmyVHf8u
2018-01-11 12:38:00 +08:00
Cameron McCormack
5a4d54c425 Bug 1427419 - Part 17: Move inIDOMUtils.isIgnorableWhitespace to InspectorUtils. r=bz
This is still being used by the old DOM Inspector in comm-central.

MozReview-Commit-ID: B8fJzjUUewj
2018-01-11 12:38:00 +08:00
Cameron McCormack
0c66b23322 Bug 1427419 - Part 16: Move inIDOMUtils.cssPropertySupportsType to InspectorUtils. r=bz
MozReview-Commit-ID: AfNA6g5lTec
2018-01-11 12:38:00 +08:00
Cameron McCormack
060b4a5e4f Bug 1427419 - Part 15: Move inIDOMUtils.cssPropertyIsShorthand to InspectorUtils. r=bz
MozReview-Commit-ID: LphGIXzOlDB
2018-01-11 12:38:00 +08:00
Cameron McCormack
2212f2845a Bug 1427419 - Part 14: Move inIDOMUtils.getSubpropertiesForCSSProperty to InspectorUtils. r=bz
MozReview-Commit-ID: 8Nyt0V2NUmq
2018-01-11 12:38:00 +08:00
Cameron McCormack
0ef012043a Bug 1427419 - Part 13: Move inIDOMUtils.isValidCSSColor to InspectorUtils. r=bz
MozReview-Commit-ID: DNRfmbDucdT
2018-01-11 12:38:00 +08:00
Cameron McCormack
664c1757c0 Bug 1427419 - Part 12: Move inIDOMUtils.colorToRGBA to InspectorUtils. r=bz
MozReview-Commit-ID: 9EAdNibvZ4
2018-01-11 12:38:00 +08:00
Cameron McCormack
2eef6d3612 Bug 1427419 - Part 11: Move inIDOMUtils.rgbToColorName to InspectorUtils. r=bz
MozReview-Commit-ID: LZcGUEO4Ois
2018-01-11 12:38:00 +08:00
Cameron McCormack
6e85270511 Bug 1427419 - Part 10: Remove unused nsIDOMUtils.colorNameToRGB. r=bz
MozReview-Commit-ID: 962UjCZqX6I
2018-01-11 12:38:00 +08:00
Cameron McCormack
f5ef2d0a72 Bug 1427419 - Part 9: Move inIDOMUtils.getCSSValuesForProperty to InspectorUtils. r=bz
MozReview-Commit-ID: D3jf42KI7kO
2018-01-11 12:38:00 +08:00
Cameron McCormack
1a8d3bfd54 Bug 1427419 - Part 8: Move inIDOMUtils.getCSSPropertyNames to InspectorUtils. r=bz
While we're at it, move to a more friendly API. EXCLUDE_SHORTHANDS is
currently unused so we drop that.

MozReview-Commit-ID: H64ou63We4a
2018-01-11 12:37:59 +08:00
Cameron McCormack
c81f633513 Bug 1427419 - Part 7: Move inIDOMUtils.isInheritedProperty to InspectorUtils. r=bz
MozReview-Commit-ID: AwILrjGiJ3L
2018-01-11 12:37:59 +08:00
Cameron McCormack
710da9d3e3 Bug 1427419 - Part 6: Move selector methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: 8FKRPeIijkC
2018-01-11 12:37:59 +08:00
Cameron McCormack
fc4a76fb7f Bug 1427419 - Part 5: Move nsIDOMUtils.getCSSLexer to InspectorUtils. r=bz
MozReview-Commit-ID: 4UGiS3I2V6B
2018-01-11 12:37:59 +08:00
Cameron McCormack
7371ec9f08 Bug 1427419 - Part 4: Move rule line number methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: HUxWcMPzrSq
2018-01-11 12:37:59 +08:00
Cameron McCormack
abddba8b81 Bug 1427419 - Part 3: Move inIDOMUtils.getCSSStyleRules to InspectorUtils. r=bz
MozReview-Commit-ID: 3pcxsYhguOk
2018-01-11 12:37:59 +08:00
Cameron McCormack
04c11b322d Bug 1427419 - Part 2: Move nsIDOMUtils.getAllStyleSheets to InspectorUtils. r=bz
MozReview-Commit-ID: J6lIx4uvMlS
2018-01-11 12:37:59 +08:00
Cameron McCormack
563e7a0e4a Bug 1427419 - Part 1: Add an InspectorUtils chrome-only IDL namespace. r=bz,tromey
Also add a way to access it from SpecialPowers for tests and from
importGlobalProperties for system JS scopes.

MozReview-Commit-ID: IewEs0Gf2M9
2018-01-11 12:37:59 +08:00
Randell Jesup
c359f64e82 Bug 1429219: Ensure VP8 simulcast with temporal layers won't fail if there aren't enough bits r=drno 2018-01-10 20:41:09 -05:00
Randell Jesup
aa370f7694 Bug 1426449: set the correct number of temporal layers for screencasts r=drno 2018-01-10 20:41:03 -05:00
Kate McKinley
e97980a95e Bug 1424917 - Remove support for HSTS Priming. r=mayhemer, r=ckerschb
This patch removes support and tests for HSTS priming from the tree.
2018-01-10 11:07:00 -05:00
Ryan VanderMeulen
e876c969d0 Bug 1428087 - Annotate 366583-1.xul to allow for up to 1 assertion on Windows. a=test-only
--HG--
extra : rebase_source : e5f6885b319bbb9819e4325cac11b35901f94c10
2018-01-10 20:46:36 -05:00
Ryan VanderMeulen
32c01229f9 Bug 1426797 - Mark image-size.xul as random on Windows. a=test-only
--HG--
extra : rebase_source : 6a247228bc12ebfb112cb92845f6c2073de6a5fa
2018-01-10 20:46:36 -05:00
vincentliu
b059ffc41f Bug 1418999 - Update PipelineId to associate the latest ImageContainer. r=sotaro 2018-01-11 09:45:02 +08:00
arthur.iakab
5e902ff6cd Backed out changeset 28f876e75d47 (bug 1417680)for failing GTest
--HG--
extra : rebase_source : 2890c797a7cf05d6e82d84e64fd4cd5ed6ec5eb9
2018-01-11 02:56:49 +02:00
Jason Orendorff
93380b4529 Bug 1426783 - Fix error handling in deserialization of invalid typed arrays. r=sfink, a=abillings.
--HG--
extra : rebase_source : 20b5f306e489350cbdeb67e913220730a24b7e4e
extra : source : f10263c3babef5f70e1e8fdb9e52c2de15cf22e1
2018-01-05 15:17:35 -06:00
Emilio Cobos Álvarez
671dccb84a Bug 1428589: Correctly handle expiring all the cookies in an entry. r=jdm
MozReview-Commit-ID: 6qaC9yclvP2
2018-01-11 06:07:38 +01:00
Cameron McCormack
55679ff0a6 Bug 1428531 - Add chrome-only Foo.isInstance static methods to interface objects. r=bz
MozReview-Commit-ID: Kq0xONMnbEO
2018-01-11 13:00:25 +08:00
Tom Ritter
698508cb3e Bug 1424341 Add tests for Atomic*ReleaseAcquire r=bkelly,njn
MozReview-Commit-ID: HvA2QK4KcHf

--HG--
extra : rebase_source : b1ebe75ed557c98eaaf93d2db43e2289d744d498
2017-12-20 14:49:16 -06:00
Tom Ritter
c4cbaaafe9 Bug 1424341 Add tests for dynamically tuning the timer precision r=bkelly,timhuang
MozReview-Commit-ID: IM52HhGY7y

--HG--
extra : rebase_source : a963e0dab3dd07858c050e501bc7106d90b37931
2018-01-09 15:10:59 -06:00
Tom Ritter
08c7f52dc2 Bug 1424341 Add tests for privacy.reduceTimerPrecision for the performance API r=bkelly,timhuang
This commit also adds a test for secureConnectionStart which was missing, and rewords
the error messages to be more readable when reviewing test failures.

MozReview-Commit-ID: LpkRGe81eq1

--HG--
extra : rebase_source : c2ab870cd6e8e215353d3695b8ba112863826877
2017-12-12 23:58:53 -06:00
Tom Ritter
58c53866d8 Bug 1424341 Round the Performance Timing APIs when privacy.reduceTimerPrecision is set r=bkelly,timhuang
MozReview-Commit-ID: LrAmrIfKk39

--HG--
extra : rebase_source : e9ded5202406abd07465a0b4a9a6122c86a9c072
2018-01-10 15:51:23 -06:00
Tom Ritter
4298990703 Bug 1424341 Add tests for privacy.reduceTimerPrecision that confirm the default timer resolution works r=bkelly,timhuang
MozReview-Commit-ID: 1tGb0kedqSP

--HG--
extra : rebase_source : 2a2c487726b5e6d74c0c74d79dc1f3eb4cd2de43
2017-12-08 15:24:11 -06:00
Tom Ritter
bc92067c8e Bug 1424341 Add privacy.reduceTimerPrecision and privacy.reduceTimerPrecision.microseconds prefs r=bkelly,timhuang
This pref does not override privacy.resistFingerprinting, but when it is set (and
privacy.resistFingerprinting is not) we will still adjust the precision of almost
all timers. The adjustment amount is the second pref, which is defaulted to
20us but now dynamically adjustable (in the scale of microseconds.)

This patch does _not_ address the performance API, which privacy.resistFingerprinting
disables.

We are landing this preffed on at the current value we clamp performance.now() at
which is 20us.

MozReview-Commit-ID: ESZlSvH9w1D

--HG--
extra : rebase_source : a8afead1bdba958c6c7b383b2216dacb3a1b135c
2018-01-09 14:58:34 -06:00
Andrew Halberstadt
14685fa5e9 Bug 1429223 - [lint] Obsolete the eslintvalidate hooks by printing error message with upgrade path, r=standard8
This replaces the eslintvalidate hooks with an error message
prompting the user to upgrade to tools/lint/hooks.py.

The reasons for deprecating eslintvalidate are twofold:

1) It only runs eslint, so developers might miss errors from
other linters.

2) It isn't as well maintained, and I've started to see
reports of problems in the wild. It doesn't make sense to
maintain two sets of hooks that do the same thing.

MozReview-Commit-ID: CseeVIof2om

--HG--
extra : rebase_source : e859c368d14cd1bf7e7d85f0de5bbb89e88402d9
2018-01-09 20:03:58 -05:00
Thom Chiovoloni
6e3bb55bb8 Bug 1412083 - Avoid syncing preferences that refer to moz-extension or blob urls. r=eoger
MozReview-Commit-ID: 9Ipq5z1dykr

--HG--
extra : rebase_source : a8616485879268ce31ef74f4b3fdbc3f4dc5a585
2018-01-09 17:46:24 -05:00
Steve Fink
5b431f6138 Bug 1426873 - Implement no-arg Shape::dump() to allow calling T->dump() in a templatized function, r=jonco
--HG--
extra : rebase_source : e8668cd0870009d499306872f7f1f36ab5552905
extra : amend_source : a0b4b564e6c3c7e526affdeb47dcc2743e37d9ce
2017-11-17 13:56:20 -08:00
Andrew Swan
63c732760f Bug 1396399 - Clarify rules for applying activeTab permission to content scripts. r=kmag, r=bz
MozReview-Commit-ID: 9xPDX8Qk2iR
2017-11-04 21:06:20 -07:00
Blake Kaplan
586e13b2b7 Bug 1404297 - Temporarily assert that we don't re-enter this function. r=bzbarsky
MozReview-Commit-ID: FoQGVDWtwN1

--HG--
extra : rebase_source : c22cc3a022dc01923696940fc0b0aae708232db0
2018-01-10 18:48:26 -05:00