Commit Graph

4774 Commits

Author SHA1 Message Date
Peter Van der Beken
3455c5b415 Bug 1252211 - Convert TreeContentView to WebIDL. r=bz.
--HG--
extra : rebase_source : 78b770df8863b8165639c4a7a0eaabd5463c1090
2017-06-08 21:04:02 +02: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
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03: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
Carsten "Tomcat" Book
dc97c12485 Backed out changeset 629ace67da3b (bug 1252211) 2017-06-13 12:20:14 +02:00
Peter Van der Beken
d34f37d164 Bug 1252211 - Convert TreeContentView to WebIDL. r=bz.
--HG--
extra : rebase_source : 246c1dda3db15ed0332af895485853e6e5d1ffa4
extra : intermediate-source : 0312d6ff0792f8d9cb20f2e06cbae59d5bbf690a
extra : source : 7b808c16e93cbd395a9f57bda4a9206e11a6df69
2017-06-08 21:04:02 +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
Ben Kelly
bd95903746 Bug 1197401 Remove the disabled HTML imports implementation. r=wchen 2017-06-12 07:36:02 -07:00
David Keeler
838ea1425f bug 1332681 - part 4/4 - convert authentication.getAssertion to credentials.get r=jcj,qdot
MozReview-Commit-ID: 13EqlQVQApx

--HG--
extra : rebase_source : 5790d61619e4d4a0d4039b9379bcf06169bd762f
2017-05-23 14:55:10 -07:00
David Keeler
abac00aea3 bug 1332681 - part 3/4 - convert authentication.makeCredential to credentials.create r=jcj,qdot
MozReview-Commit-ID: 1xfsQqGCEcl

--HG--
rename : dom/webauthn/WebAuthentication.cpp => dom/credentialmanagement/CredentialsContainer.cpp
rename : dom/webauthn/WebAuthentication.h => dom/credentialmanagement/CredentialsContainer.h
extra : rebase_source : d92546a7f6a3780c6ec8790dfabb23a9ea29efbe
2017-05-22 17:09:49 -07:00
David Keeler
0ecb59e4a9 bug 1332681 - part 2/4 - authentication.getAssertion: return a PublicKeyCredential instead of a WebAuthnAssertion r=jcj,qdot
MozReview-Commit-ID: 72p9lvhQISe

--HG--
rename : dom/webauthn/WebAuthnAssertion.cpp => dom/webauthn/AuthenticatorAssertionResponse.cpp
rename : dom/webauthn/WebAuthnAssertion.h => dom/webauthn/AuthenticatorAssertionResponse.h
extra : rebase_source : f5e77b0a71556764b58ba7822a5716bee5c47d99
2017-05-22 13:03:58 -07:00
David Keeler
07f967118b bug 1332681 - part 1/4 - authentication.makeCredential: return a PublicKeyCredential instead of a ScopedCredentialInfo r=jcj,qdot
(This is part of updating WebAuthn to Working Draft 5.)

MozReview-Commit-ID: 7o5yvtijo1P

--HG--
rename : dom/webauthn/WebAuthnAttestation.cpp => dom/webauthn/AuthenticatorResponse.cpp
rename : dom/webauthn/WebAuthnAttestation.h => dom/webauthn/AuthenticatorResponse.h
rename : dom/webauthn/ScopedCredentialInfo.cpp => dom/webauthn/PublicKeyCredential.cpp
rename : dom/webauthn/ScopedCredentialInfo.h => dom/webauthn/PublicKeyCredential.h
extra : rebase_source : 89633847ed85c75f1f277d040f6a6c86b73687a3
2017-05-16 17:07:01 -07:00
Samuel Vargas
901459a071 Bug 1325113 - Implement support for WEBGL_compressed_texture_s3tc_srgb - r=jgilbert,qdot
MozReview-Commit-ID: mI4dlB2lK
2017-06-08 14:54:37 -07:00
Kris Maglione
761a458cda Bug 1356546: Part 1 - Add a StructuredCloneHolder JS helper to hold opaque structured clone blobs. r=billm
There are several places in the WebExtensions framework where we currently
need to repeatedly serialize and deserialize structured clone data as it
passes through message managers, which can lead to significant performance
issues.

This helper class lets us serialize a value directly from the source extension
context into an opaque blob, and then directly deserialize it into the target
context on the other end, with no X-ray overhead or clones into privileged
scopes in-between.

MozReview-Commit-ID: 4QzHi89onxc

--HG--
extra : rebase_source : 2ec196ca9ce9be90b7eadf136c938373ac7d3fdd
2017-05-20 15:09:24 -07:00
Kris Maglione
1bc28104c6 Bug 1368102: Part 8 - Move extension page matching into C++. r=billm,mixedpuppy
Bill, can you please review the WebIDL change, and Shane the rest?

MozReview-Commit-ID: 6N3sGrAsHzs

--HG--
extra : rebase_source : adb925ec3dc2a350fc6f9d6cde7a3607f6877384
2017-05-26 12:07:06 -07:00
Kris Maglione
02c1b0890c Bug 1368102: Part 2 - Add WebExtensionContentScript bindings. r=billm,mixedpuppy
Bill, can you please review the binding code? Shane and zombie, can you please
review the content script matching?

MozReview-Commit-ID: IJB5s0a7r7S

--HG--
extra : rebase_source : 4026105b8c04e6b88c9be8cf76898fca26f1c3e0
2017-06-03 22:03:19 -07:00
Kris Maglione
414584f497 Bug 1322235: Part 5 - Add an ExtensionPolicyService singleton class to track active extension policies. r=billm,mixedpuppy
Bill, can you please review the binding changes? Shane, can you please review
the policy service?

This is the first step to making extension policy data directly available to
C++ code without any COM overhead. It tracks the set of currently active
extensions, and how they map to add-on IDs and URIs.

MozReview-Commit-ID: 9Z61AXFll3P

--HG--
extra : rebase_source : c38898905a63ab8d0a424bfda7c61ea6c645ff32
2017-05-23 19:15:10 -07:00
Kris Maglione
d9d83b9f73 Bug 1322235: Part 4 - Add initial native WebExtensionPolicy bindings. r=billm,aswan
Bill, can you please review the binding code and the general sanity of the
platform code? Andrew and zombie, can you please review the policy logic and
tests?

As in part 1, this aims to reduce the overhead of our extension policy logic
by making it directly available to native code with as little JS and XPConnect
overhead as possible.

MozReview-Commit-ID: 40m1wSEYtBo

--HG--
extra : rebase_source : c03834791707f78431440af9b88035ab03dc9564
2017-05-24 15:58:19 -07:00
Kris Maglione
186924219b Bug 1322235: Part 1 - Add native MatchPattern and MatchGlob bindings. r=billm,aswan
Bill, can you please review the binding code, and the general sanity of the
platform code. Andrew and zombie, can you please matching algorithms and
tests.

Change summary:

The existing JavaScript matching code works well overall, but it needs to be
called a lot, particularly from hot code paths. In most cases, the overhead of
the matching code on its own adds up enough to cause a problem. When we have
to call out to JavaScript via XPConnect to make a policy decision, it adds up
even more.

These classes solve both of these problems by a) being very fast, and b) being
accessible directly from C++. They are particularly optimized for the common
cases where only literal or prefix matches are required, and they take special
steps to avoid virtual calls wherever possible, and caching computed URL
values so that they can be reused across many match operations without
additional overhead.

MozReview-Commit-ID: BZzPZDQRnl

--HG--
rename : toolkit/modules/tests/xpcshell/test_MatchPattern.js => toolkit/components/extensions/test/xpcshell/test_MatchPattern.js
extra : rebase_source : c93c4c6c36460eb5ad0fc3aa86ad42a72e76bb6c
2017-05-24 14:57:29 -07:00
Peter Van der Beken
6c1bf2eef6 Bug 558184 - Part 9 - Optionally load a script in a sandbox in the content process for every plugin instance. r=bz.
--HG--
extra : rebase_source : 7d967d0bfd08ca1bbd3928f95a2a8e42c6e9600c
extra : source : f2d9aadaa14ea115518e005bebe6f04cfba50424
2016-09-27 18:28:36 +08:00
John Schoenick
4ce6580106 Bug 558184 - Part 4.3 - Load fake plugin handlers as eType_FakePlugin in nsObjectLoadingContent. r=peterv.
--HG--
extra : rebase_source : 4683568e90fd65a38c974aa755dd5f6f94479ee3
extra : source : 8e4be859c1a1ec73b29df98422d5ee6935cd9aa9
2015-05-20 15:30:05 +02:00
Ryan VanderMeulen
b2f44e5181 Merge inbound to m-c. a=merge 2017-05-31 20:25:52 -04:00
Chris H-C
b92d148caa Bug 1367110 - Expose XHRMT's ErrorCode to chrome JS. r=baku
This is presently only relevant for XHRMT, so XHRWorker will just report that
everything's a-ok for now.

As noted inline, the permanence of this measure is to be evaluated in
Firefox 60 in bug 1368540.

MozReview-Commit-ID: 6gkTyZO388g

--HG--
extra : rebase_source : d85ec4181c9bd935f8e419d8d450fd17eb5e1837
2017-05-24 08:52:15 -04:00
Kearwood Gilbert
eb3becc0b0 Bug 1362213 - Implement chrome-only API to manage VR sessions r=daoshengmu,kanru,smaug
- Added new chrome-only webidl methods to be used by browser UI and WebExtensions
- Implemented bitmasked group visibility for VR sessions to enable switching
  between chrome and regular content presentations.
- Implemented throttling mechanism to avoid runaway, unthrottled render loops
  for VR sessions that are hidden by group visibility bitmasks or due to
  lower level platform VR events, such as during the Oculus
  "Health and Safety Warning".
- Simplified the PVRManager IPC protocol while extending it to support
  VR session groups and later WebVR content performance profiling API's.
- Removed the last WebVR related sync IPC call.


MozReview-Commit-ID: BMEIPyYeEbq

--HG--
extra : rebase_source : 47d3682cad3d913504175b7d4c3e9d992236f097
2017-05-08 16:01:36 -07:00
Sebastian Hengst
0c1ac2aec4 Backed out changeset 1b93ec532890 (bug 1367110) 2017-05-31 21:02:11 +02:00
Brad Werth
b4e5c552de Bug 1355675 Part 3: Add some Chrome-only getTransformTo... methods to Element. r=mattwoodrow,smaug
MozReview-Commit-ID: 5H2DXKJzE8H

--HG--
extra : rebase_source : a5089158676586e94ac1c8528dd052d52973c869
2017-05-30 09:42:25 -07:00
Chris H-C
4b7c69cdd1 Bug 1367110 - Expose XHRMT's ErrorCode to chrome JS. r=baku
This is presently only relevant for XHRMT, so XHRWorker will just report that
everything's a-ok for now.

As noted inline, the permanence of this measure is to be evaluated in
Firefox 60 in bug 1368540.

MozReview-Commit-ID: 6gkTyZO388g

--HG--
extra : rebase_source : d85ec4181c9bd935f8e419d8d450fd17eb5e1837
2017-05-24 08:52:15 -04:00
Andrea Marchesini
d7289f085d Bug 1368950 - Remove URL Constructor with a URL base argument, r=qdot 2017-05-31 21:18:19 +02:00
Andrea Marchesini
da7aba03b1 Bug 1368712 - Get rid of nsIBrowserElementAPI.{set,get}Visible, r=kanru 2017-05-31 21:15:23 +02:00
Nico Grunbaum
e45ddffb1e Bug 1359775 - Part 1 - add RTCRtpContributingSourceStats;r=jib,smaug
Still left TODO:
  * add an aboutWebrtc.js section
  * write tests

MozReview-Commit-ID: DwFxq19KWeu

--HG--
extra : rebase_source : fad3018d851316af83df48c62db16028a1a84b5c
2017-04-26 04:27:13 -07:00
Nico Grunbaum
e27f339519 Bug 1355220 add RTCRtpSender/Receiver.getStats;r=jib,smaug
MozReview-Commit-ID: LZ4ItjFYxmk

--HG--
extra : rebase_source : 13c7fec9f0aa4f9b1276b6b4eb9350ce15ff7213
2017-04-20 17:54:20 -07:00
Eden Chuang
68cf4559f8 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Ryan VanderMeulen
df9dd3967c Backed out changeset 437d6df1859c (bug 1345361) for ESLint failures. 2017-05-25 18:05:15 -04:00
Eden Chuang
80717194b1 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
btian
6ca867236b Bug 1338166 - Remove "list" from <menu>.type's known values. r=qdot
Also set <menu>.type's default value as "toolbar" and
remove HTMLButtonElement.menu per HTML spec.

MozReview-Commit-ID: jE6TmmvWa5

--HG--
extra : rebase_source : f0ded9a69055777b9430aeb91b53fef1a43af8e0
2017-05-25 10:11:07 +08:00
Daosheng Mu
911478d912 Bug 1343730 - Part 2: Get the submitframe result from VRDisplay; r=baku,kip
MozReview-Commit-ID: 91SqChn6jlO

--HG--
extra : rebase_source : 6254f99af8b4b08857961cebd8491264bfb9b8f5
2017-05-23 17:13:15 +08:00
Robert Longson
00985268d8 Bug 1240275 - Support SVG 2 radialGradient fr attribute. r=cam r=peterv (see comment 16) 2017-05-23 07:15:02 +01:00
Wes Kocher
76ed70ac15 Backed out changeset 6eabcbe4f0a1 (bug 1240275) for win64 reftest failures in radialGradient-fr-02.svg a=backout
MozReview-Commit-ID: 1rJZeqPUykw
2017-05-22 15:26:29 -07:00
Robert Longson
941e4c568e Bug 1240275 - Support SVG 2 radialGradient fr attribute. r=cam r=peterv (see comment 16) 2017-05-22 19:31:37 +01:00
btian
03466ff5ab Bug 1299390 - part 3: Remove BrowserElement methods required by BrowserElementAudioChannel only. r=alwu,baku
MozReview-Commit-ID: LAyGMvmmZpz

--HG--
extra : rebase_source : 29d72475fcc809a3e5d1f6f74a8fc3d703987457
2017-05-18 09:31:00 +08:00
btian
a3d3d85da1 Bug 1299390 - part 1: Remove BrowserElementAudioChannel. r=alwu,baku
MozReview-Commit-ID: BdRE9biPn5r

--HG--
extra : rebase_source : 53dd4eecac1512a235b340e181d2a5ecb4d88540
2017-05-18 09:31:00 +08:00
bechen
1ac826c95f Bug 1298307 - Check cue's active state first, then verify displaystate. r=alwu,smaug
MozReview-Commit-ID: 4sqPNY9Czsr

--HG--
extra : rebase_source : e612e00520c839c3460d56618b5f3e30e47bc026
2017-05-18 11:02:25 +08:00
Jan-Ivar Bruaroey
85b8864f71 Bug 1366415: Unprefix mozAutoGainControl and mozNoiseSuppression w/deprecation warnings. r=jesup,smaug
MozReview-Commit-ID: EdWjSsIhtIM

--HG--
extra : rebase_source : 373bf802ae7a0f957770f2f6ec18fa4cc6c736da
2017-05-19 20:57:44 -04:00
Xidorn Quan
fbf065fd31 Backed out changeset 94b5ea8bed5c (bug 1355683)
MozReview-Commit-ID: AJJ7hSuOQNX

--HG--
extra : source : d149b46f49c26eae291cead8dc65d2844452b1b3
2017-05-19 14:57:35 +10:00
Andrea Marchesini
fa3e172e3c Bug 1365598 - Updating the Constructor of HTMLOptionElement, r=smaug 2017-05-18 11:56:27 +02:00
Andrea Marchesini
7453988cd7 Bug 1364297 - Worker and SharedWorker constructors have an optional WorkerOptions parameter, r=smaug 2017-05-17 16:48:54 +02:00
Andrea Marchesini
77507dec8b Bug 1365537 - Worker and SharedWorker Constructors should receive the URL parameter as a USVString, r=smaug 2017-05-17 14:21:45 +02:00