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

5138 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
Dan Minor f9c46ca973 Bug 1421958 - OfferToReceiveVideo and OfferToReceiveAudio should be of type Boolean not Long; r=smaug,jib
--HG--
extra : rebase_source : 68289fb95af5c346df85680686748af39ba11327
2017-12-01 12:10:40 -05:00
Tim Taubert bd80af118b Backed out changeset 3d02d52b92ee (bug 1333140) 2017-12-01 11:27:05 +01:00
Nico Grunbaum 2e647f7e53 Bug 1363667 - P5 - RTP Source PeerConnection JS IF r=bkelly,mjf
MozReview-Commit-ID: HLG5MFzhMNK

--HG--
extra : rebase_source : 9aa29fea2b6b96d1c9802e35cf68e3afe13a3b2a
2017-11-14 10:29:44 -08:00
Nico Grunbaum 0abf999334 Bug 1363667 - P1 - Add RTP Sources WebIDL r=bkelly,mjf
MozReview-Commit-ID: 61RqPKfbrDw

--HG--
extra : rebase_source : 413164df9bbabe6e93c217f33b1127ddde6716b9
2017-11-14 09:20:29 -08:00
Brindusan Cristian 6a74eec204 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
Chung-Sheng Fu 63739feac3 Bug 1037335 - Add a pref to enable only within Nightly and Early Beta. r=ckerschb,smaug
MozReview-Commit-ID: Bi82dHm53qX

--HG--
extra : rebase_source : 61a7c517afb2759d672a1c486213a73ef505a324
extra : amend_source : 572a2c8613fe36ae1ebd613a361bb23acc019912
2017-11-29 16:55:00 +02:00
Chung-Sheng Fu 8dd7eb1b95 Bug 1037335 - Implement security policy violation event. r=ckerschb,smaug
MozReview-Commit-ID: 4BYThUXduI4

--HG--
extra : rebase_source : 5d4a34c5e6bb7fd3774fafb1de72e761bce4591f
2017-11-29 16:53:00 +02:00
Olli Pettay af3373dc1d Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
Bogdan Tara df97c78dbf Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-30 01:10:06 +02:00
Bogdan Tara d8635b15e4 Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
Kate McKinley f9f14d6f64 Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
Per https://github.com/w3c/webappsec-secure-contexts/issues/42, the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.
2017-11-29 10:40:00 -05:00
Tim Taubert c5eda6e272 Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug
Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1406462

Differential Revision: https://phabricator.services.mozilla.com/D278
2017-11-29 13:58:33 +01:00
Edgar Chen 9f4324f41e Bug 1416999 - Remove document.registerElement; r=smaug
MozReview-Commit-ID: HiX07Vbljhk

--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Kartikaya Gupta 9154159eef Bug 1419834 - Add hit-testing results for MozMouseHittest events to APZTestData. r=botond,mrbkap
This allows us to fire MozMouseHittest events from tests and then read
the hittest result from the compositor APZTestData. The MozMouseHittest
event was chosen in particular because the existing uses of it are
similar in nature - it is a dummy event that is used to determine what
elements a particular coordinate targets. It is also an event that is
never generated by the OS and so using this event gives us more control
over what ends up in the APZTestData.

MozReview-Commit-ID: KHjIX7EpK2A

--HG--
extra : rebase_source : f7d7d729c1935eefd49ed06d8644ff9ef537f2e1
2017-11-29 23:16:26 -05:00
Byron Campen [:bwc] 5daf41d807 Bug 1290948 - Part 2: webidl for RTCRtpTransceiver and supporting interfaces r+jib, r+ehsan r=ehsan+251051,jib
MozReview-Commit-ID: DmXufKwCAyW

--HG--
extra : rebase_source : 30948762aa31846ac6ae89cd757010a60e6f44db
2017-08-23 15:47:54 -05:00
Tim Taubert b98c0ba73b Bug 1333140 - Require [SecureContext] for WebCrypto API r=bz,smaug 2017-05-18 14:58:05 +02:00
Brindusan Cristian 9f3bd430c2 Merge inbound to mozilla-central a=merge r=merge 2017-11-28 11:50:57 +02:00
Dave Townsend 27380b996e Bug 1404420: Add custom element support to XUL. r=edgar, r=smaug
MozReview-Commit-ID: BietEX2gOoG

--HG--
extra : rebase_source : 6fd9a732a21f2c048d37c3f7139cd18503148767
2017-10-10 15:25:10 -07:00
bechen@mozilla.com 173e42059a Bug 1415805 - region.scroll setter should not throw. r=smaug
MozReview-Commit-ID: FU9YBBeLT5B

--HG--
extra : rebase_source : f0b0ff7b8c1ac44c9f4c9d6058bb6027178d44c6
2017-11-22 16:10:11 +08:00
bechen@mozilla.com 3f824300d2 Bug 1415805 - throw exception at region.lines setter if value is negative. r=smaug
MozReview-Commit-ID: 2SMJGQBFpgJ

--HG--
extra : rebase_source : a8a640636be0394d410bf4ba57f094525a4c92c4
2017-11-22 15:12:03 +08:00
Brian Birtles e83e1a5e71 Bug 1412765 - Add Animation.pending member; r=bz,hiro
This reflects the change made to the Web Animations specification in:

  9e2053f553
  1c3415f4cc
  (I got it wrong the first time. The second commit fixes the first.)

And discussed in:

  https://github.com/w3c/web-animations/issues/196

In summary, we are splitting the "pending" play state out into a separate
boolean member so that it is possible to distinguish between "play-pending" and
"pause-pending" and because most of the time when you check for
animation.playState === 'running' you also really want to include play-pending
animations.

MozReview-Commit-ID: IJSNoZTKW2I

--HG--
extra : rebase_source : 5d17239fd087cfe3cce1c9697eff97d062b6dd4b
2017-11-21 17:10:59 +09:00
Brindusan Cristian e61c64950f Backed out 4 changesets (bug 1415805)for mochitest failures on dom/tests/mochitest/general/test_interfaces.html. r=backout a=backout on a CLOSED TREE
Backed out changeset edede99fa1c9 (bug 1415805)
Backed out changeset 67a5bc2dcdc7 (bug 1415805)
Backed out changeset ddfad494a323 (bug 1415805)
Backed out changeset fa895478ed71 (bug 1415805)
2017-11-23 14:02:03 +02:00
bechen@mozilla.com 70bd4b61da Bug 1415805 - region.scroll setter should not throw. r=smaug
MozReview-Commit-ID: FU9YBBeLT5B

--HG--
extra : rebase_source : f0b0ff7b8c1ac44c9f4c9d6058bb6027178d44c6
2017-11-22 16:10:11 +08:00
bechen@mozilla.com cedf178ade Bug 1415805 - throw exception at region.lines setter if value is negative. r=smaug
MozReview-Commit-ID: 2SMJGQBFpgJ

--HG--
extra : rebase_source : a8a640636be0394d410bf4ba57f094525a4c92c4
2017-11-22 15:12:03 +08:00
Kris Maglione 77ae77c2c9 Bug 1415352: Part 4b - Capture the subject principal in textContent setters. r=bz
This is necessary in order to capture the correct triggering principal for
inline <style> nodes.

MozReview-Commit-ID: 7g1n3bdHVi4

--HG--
extra : rebase_source : eb84775237e662f20112f54b148ef11005746950
2017-11-07 14:01:21 -08:00
Kris Maglione 0af54ad118 Bug 1415352: Part 4a - Capture subject principal in innerHTML setters. r=bz
This is necessary in order to capture the correct triggering principal for
inline <style> nodes.

MozReview-Commit-ID: 9EaD40vRNkH

--HG--
extra : rebase_source : cdd4a730f24dc57783edcf666ae803379c0d6173
2017-11-07 13:48:58 -08:00
Kris Maglione 58662abbfe Bug 1415352: Part 1c - Store the subject principal when setting Element.style properties. r=bz
This causes the subject principal that was responsible for setting a CSS
property, or the full cssText of an attribute, to be threaded through the call
chain to the point where CSS parsing happens, so that it can be used as the
triggering principal when loading URLs for that property.

Note that this allows for different properties defined in the same style
attribute to have different triggering principals, depending on the caller
which originally set them, as long as the cssText of that attribute is not
modified. Once it is, all properties revert to the principal of the caller
that modified the CSS text.

MozReview-Commit-ID: ISUyxbqAZMX

--HG--
extra : rebase_source : d4173d76d9afed74889269e3bf029abca54a4abb
2017-11-03 21:44:03 -07:00
shindli 6d2a972dfe Backed out 1 changesets (bug 1410364)
Backed out changeset 681fece780ae (bug 1410364) for failing in  /secure-contexts/basic-popup-and-iframe-tests.html r=backout a=backout on a CLOSED TREE
2017-11-22 22:17:02 +02:00
Matthew Noorenberghe f8961d0aed Bug 1020698 - Implement @autocomplete for <textarea>. r=baku
The dom.forms.autocomplete.formautofill check in nsContentUtils::InternalSerializeAutocompleteAttribute
will control if values other than "on" and "off" are supported.

MozReview-Commit-ID: 48X3OzvuOpV

--HG--
rename : dom/html/test/forms/test_input_autocomplete.html => dom/html/test/forms/test_autocomplete.html
extra : rebase_source : b759672d2e9ef3b1e63fd999d149cf753df60539
2017-11-08 21:35:04 -08:00
Matthew Noorenberghe d1db4c539c Bug 1020698 - Remove dom.forms.autocomplete.formautofill check on HTMLSelectElement.autocomplete. r=baku
It's not necessary to hide the implementation of the property since nsContentUtils::InternalSerializeAutocompleteAttribute
already does a pref check to decide whether values other than "on"/"off" are supported.

MozReview-Commit-ID: 4yG1tfOJavX

--HG--
extra : rebase_source : b58e600aab991eebf1c3f732fb432fb0aa6d47d7
2017-11-22 14:09:44 -05:00
Kate McKinley 35c01740e5 Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
Per https://github.com/w3c/webappsec-secure-contexts/issues/42, the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.

--HG--
extra : rebase_source : 3d7fa73976571f357e84e369093aecfc10c5872e
extra : amend_source : ca86714f357b653577f3186b6312bfa00f1f45b9
2017-10-31 17:57:06 +09:00
Ciure Andrei c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Edgar Chen e6375927b8 Bug 1419313 - Add [CEReactions] to contentEditable attribute; r=smaug
MozReview-Commit-ID: KC9YCswvOKd

--HG--
extra : rebase_source : 26a6d6390470b4f7969050a3f87dbec38cce29d7
2017-11-21 22:02:00 +08:00
Adam Gashlin 7404b3ac92 Bug 1369194 - Remove MozWakeLock. r=baku
--HG--
extra : histedit_source : 16cb49cbf3bf39bc2bddc721c002741cd5a953df
2017-11-20 17:14:41 -08:00
Adam Gashlin 516257bf9d Bug 1369194 - Remove navigator.requestWakeLock(). r=gsvelto, r=baku
--HG--
extra : histedit_source : b0e47d20d2064273759d387c55acf51ae749920c
2017-11-17 15:17:57 -08:00
Coroiu Cristina 9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00
Coroiu Cristina d6a2b15dbc Merge inbound to mozilla-central r=merge a=merge 2017-11-22 01:32:34 +02:00
Jesse Schwartzentruber ff2729cb15 Bug 1348028 - Implement fuzzPriv.enableAccessibility() in FuzzingFunctions r=smaug,surkov
This enables accessibility until the next GC, which is also how fuzzPriv worked.
2017-11-16 16:42:39 -05:00
Samael Wang 9d2c8ac38e Bug 1406253 - Part 2: Implement nsIImageLoadingContent.currentRequestFinalURI. r=bz
ImageLoadingContent.currentURI returns the "URI" of currentRequest, which is
the URI used to start that request.  Some consumers need to know the final URI
of that request instead.

If the image request gets redirected on loading (e.g. an add-on intercepts the
request), currentRequestFinalURI will be the redirected URI, while currentURI
would be the original URI before redirect.

MozReview-Commit-ID: 9lX063uAIp1

--HG--
extra : rebase_source : 91451128abc5c3f29c11d3cabfc98cde6c440ea6
2017-11-14 18:20:03 +08:00
Ben Kelly c223495e4f Bug 1419536 P2 Create a ClientSource for the WorkerPrivate and mark it execution ready after the script loads. r=baku 2017-11-21 15:13:04 -05:00
Brad Werth c9815751c2 Bug 1414920 Part 1: Add chrome-only API getElementsWithGrid(), for devtools. r=dholbert,smaug
MozReview-Commit-ID: L44Q95wEqDA

--HG--
extra : rebase_source : d3892120516b30b1ee090ed7b9f5a108313d0532
2017-10-31 12:05:02 -07:00
Edouard Oger 6341dc253c Bug 1419146 - Respect mozErrors in Request. r=bkelly
MozReview-Commit-ID: Lbx395q7BYF

--HG--
extra : rebase_source : 9928a998378b4f84914f0b45ebb2266f34b04230
2017-11-20 17:07:26 -05:00
Brindusan Cristian 9bd6ed7630 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 4c68fb1a967a7c1b64e9779851573eb29a412908
2017-11-21 00:24:13 +02:00
Boris Zbarsky b5de3264a2 Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug
MozReview-Commit-ID: 4xrSSqXna7F
2017-11-20 13:59:22 -05:00
J.C. Jones 9e3d3fcc01 Bug 1276968 - Update the U2F webIDL to point to U2F v1.1 r=qdot
We implemented v1.1 of the U2F specification, which wasn't publicly published
at the time. Bug 1276968 was to come back and fix those links, so here it is.

MozReview-Commit-ID: 8hprQncPwcO
2017-11-16 18:11:02 -07:00
Andreas Pehrson 167e43c316 Bug 1208378 - Implement MediaStreamTrack's muted state and events. r=jib,smaug
MozReview-Commit-ID: 1Sp9utMnWXI

--HG--
extra : rebase_source : f2d1036ab37ed9882c0bb9aa1d7b7d68eb7799e4
2017-11-06 19:03:52 +01:00
Luca Greco 60c56aed5c Bug 1332273 - Support programmatically registered content scripts. r=baku,kmag
MozReview-Commit-ID: BiWlyYV7ZvB

--HG--
extra : rebase_source : 25249cef5853c147cb7c76cbc7d49656c549e94c
2017-11-03 17:01:58 +01:00
Noemi Erli e90c67896c Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang 9a66d9924f Bug 1406253 - Part 2: Implement nsIImageLoadingContent.currentRequestFinalURI. r=bz
ImageLoadingContent.currentURI returns the "URI" of currentRequest, which is
the URI used to start that request.  Some consumers need to know the final URI
of that request instead.

If the image request gets redirected on loading (e.g. an add-on intercepts the
request), currentRequestFinalURI will be the redirected URI, while currentURI
would be the original URI before redirect.

MozReview-Commit-ID: 9lX063uAIp1

--HG--
extra : rebase_source : 6e9752b4df52e3874815557fe727c3fe94af2902
2017-11-14 18:20:03 +08:00