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

6844 Коммитов

Автор SHA1 Сообщение Дата
Nico Grunbaum 9a0ceb7126 Bug 1668359 - Add call bandwidth estimation to about:webrtc r=dminor,emilio
Differential Revision: https://phabricator.services.mozilla.com/D92038
2020-10-06 04:04:12 +00:00
Marcos Cáceres a9ea25e663 Bug 1665252 - remove allowpaymentrequest attribute from HTMLIFrameElement r=dom-workers-and-storage-reviewers,smaug,asuth
Differential Revision: https://phabricator.services.mozilla.com/D90505
2020-10-05 05:45:38 +00:00
Emilio Cobos Álvarez 3761c0dd12 Bug 1659410 - Resolve whenDefined promises with custom element constructor. r=edgar
This passes the tests added in
https://github.com/web-platform-tests/wpt/pull/25033.

Differential Revision: https://phabricator.services.mozilla.com/D88281
2020-09-28 21:55:35 +00:00
Dorel Luca eb27bbe130 Backed out changeset a06cc26fbb60 (bug 1665252) for WPT failures in feature-policy/payment-allowed-by-feature-policy-attribute.https.sub.html. CLOSED TREE 2020-09-24 15:06:19 +03:00
Marcos Cáceres 41461b2487 Bug 1665252 - remove allowpaymentrequest attribute from HTMLIFrameElement r=dom-workers-and-storage-reviewers,smaug,asuth
Differential Revision: https://phabricator.services.mozilla.com/D90505
2020-09-24 03:41:26 +00:00
Nico Grunbaum 54d899d308 Bug 1664900 - move /media/webrtc/signaling/src to /dom/media/webrtc;r=dminor,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D90179
2020-09-23 04:22:29 +00:00
Anny Gakhokidze 5842740ef5 Bug 1666287 - Remove pref dom.datatransfer.mozAtAPIs and make relevant APIs ChromeOnly, r=nika
Make mozItemCount, mozTypesAt, mozClearDataAt, mozSetDataAt, mozGetDataAt
DataTransfer APIs ChromeOnly

Differential Revision: https://phabricator.services.mozilla.com/D91017
2020-09-22 16:16:29 +00:00
Makoto Kato 3759e7c3b5 Bug 1425291 - Part 1. Implement autocapitalize attribute. r=webidl,smaug
Virtual keyboard on Android (and API level of GTK) supports autocapitalization
that is automatically capitalize words and etc.

atucapitalize attribute inherits from form element if the element is button,
fieldset, input, output, select and textarea. Its tests are included in wpt.

WebKit on iOS and Blink on Android already support this HTML attribute, so I
would like to support this on Firefox/GeckoView Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D86674
2020-09-15 14:33:27 +00:00
pbz b81e69ee95 Bug 1314912 - Rate limit calls to History and Location interfaces. r=smaug
This adds a rate limit to methods and setters of the History and Location
for non-system callers.
The rate limit is counted per BrowsingContext and can be controlled by prefs.

This patch is based on the original rate limit patch by :freesamael.

Differential Revision: https://phabricator.services.mozilla.com/D90136
2020-09-21 11:54:50 +00:00
Tom Tung fc951d200a Bug 1654531 - Remove the support for cache option from cache.match; r=dom-workers-and-storage-reviewers,webidl,asuth,baku
Fix the test cases for "Cache.match does not support cacheName option"

Depends on D84502

Differential Revision: https://phabricator.services.mozilla.com/D84503
2020-09-17 13:02:46 +00:00
Dorel Luca 72ef712fd0 Backed out 10 changesets (bug 1518999) for GeckoView failures in PanZoomControllerTest.scroll. CLOSED TREE
Backed out changeset 7b5bdd071d05 (bug 1518999)
Backed out changeset 401e488734dd (bug 1518999)
Backed out changeset c13e51e17329 (bug 1518999)
Backed out changeset 2a2d67ba15b8 (bug 1518999)
Backed out changeset 3d4d84003227 (bug 1518999)
Backed out changeset 972731762965 (bug 1518999)
Backed out changeset f21b13582dad (bug 1518999)
Backed out changeset 13a4c749a802 (bug 1518999)
Backed out changeset 5a6cea5fd344 (bug 1518999)
Backed out changeset c3bb552e76a3 (bug 1518999)
2020-09-17 02:58:34 +03:00
Sean Feng 11a2849f32 Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-09-14 15:13:18 +00:00
Andreas Farre f9f96d23ca Bug 1662410 - Part 1: Fix usage of ChildSHistory.legacySHistory . r=peterv
ChildSHistory.legacySHistory isn't valid for content processes when
session history in the parent is enabled. We try to fix this by either
delegating to the parent by IPC or move the implementation partially
or as a whole to the parent.

Differential Revision: https://phabricator.services.mozilla.com/D89353
2020-09-16 14:51:01 +00:00
Emilio Cobos Álvarez edd6eea1f1 Bug 1664691 - Remove nsImageLoadingContent.imageBlockingStatus. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D90037
2020-09-15 11:59:28 +00:00
Emilio Cobos Álvarez 948fa5c6d2 Bug 1664156 - Remove -moz-suppressed. r=edgar
Per spec we shouldn't behave differently depending on how we blocked the
image/object/etc.

This may have made sense in the past when ad blockers were implemented
via nsIContentPolicy, but I think nowadays it doesn't make sense, and
showing fallback is preferred.

There's a couple extra cleanups we can do after this lands, like
removing HTMLImageElement.imageBlockingStatus and simplifying a bit that
code. But I'll do that in a separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D89912
2020-09-13 11:33:13 +00:00
Noemi Erli 733e3b440c Backed out changeset 64eb902728bc (bug 1664156) for causing mochitest failures in test_meta_csp_self.html CLOSED TREE 2020-09-12 22:56:18 +03:00
Emilio Cobos Álvarez 4b18c556e4 Bug 1664156 - Remove -moz-suppressed. r=edgar
Per spec we shouldn't behave differently depending on how we blocked the
image/object/etc.

This may have made sense in the past when ad blockers were implemented
via nsIContentPolicy, but I think nowadays it doesn't make sense, and
showing fallback is preferred.

There's a couple extra cleanups we can do after this lands, like
removing HTMLImageElement.imageBlockingStatus and simplifying a bit that
code. But I'll do that in a separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D89912
2020-09-12 17:39:18 +00:00
Emilio Cobos Álvarez 1ef2a5628a Bug 1664432 - Remove -moz-user-disabled. r=edgar
We treat it exactly the same as -moz-broken. The pseudo-class is not
exposed to content, so I don't think we have a reason to keep it around.

Differential Revision: https://phabricator.services.mozilla.com/D89904
2020-09-11 19:26:40 +00:00
Frederik Braun 4f871039e0 Bug 1652481: expose experimental sanitizer api r=ckerschb,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D82347
2020-09-08 13:54:01 +00:00
Brad Werth 42d0bcb4ee Bug 1661283 Part 1: Add a ChromeOnly method to Element for getting scrollbar visibility. r=emilio
This will be used to support the display of "scroll" badges in devtools.

Differential Revision: https://phabricator.services.mozilla.com/D88504
2020-08-28 22:17:56 +00:00
Michael Froman ab2c4d061c Bug 1654399 - pt1 - webidl changes for RTCDtlsTransport. r=webidl,smaug
Partial implementation of RTCDtlsTransport (state and onstatechange)
for wfh.  Stubbed out methods so everything builds.

Differential Revision: https://phabricator.services.mozilla.com/D84459
2020-08-31 22:54:29 +00:00
Corentin Arnould 27494fab83 Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.

Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-09-01 15:09:47 +00:00
Bogdan Tara bce6a28762 Backed out 2 changesets (bug 1614009) for webaudio related bustage CLOSED TREE
Backed out changeset e05106d5d786 (bug 1614009)
Backed out changeset c3832cde86d2 (bug 1614009)
2020-09-01 17:40:17 +03:00
Corentin Arnould 199e56325a Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.

Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-09-01 13:37:12 +00:00
Cosmin Sabou 2a9db10f24 Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE
Backed out changeset d93cb254eef5 (bug 1518999)
Backed out changeset a9715e73e862 (bug 1518999)
Backed out changeset e28081d16e3c (bug 1518999)
Backed out changeset c9d88f3f1f5b (bug 1518999)
Backed out changeset 9836adcc4e83 (bug 1518999)
Backed out changeset 9f01755d327f (bug 1518999)
Backed out changeset ef494065b8e2 (bug 1518999)
2020-08-28 06:27:11 +03:00
Emilio Cobos Álvarez eeaa6d826f Bug 1493223 - Allow fuzzers to call window.printPreview. r=smaug
It'll open a window / tab that they can then close. This allows fuzzers
to catch crashes in our printing codepaths. Can't wait for the fun to
start.

Differential Revision: https://phabricator.services.mozilla.com/D88477
2020-08-27 20:18:11 +00:00
Sean Feng 61ec0bd3c3 Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-27 14:50:43 +00:00
Emilio Cobos Álvarez 044b3c4332 Bug 1636728 - Centralize printing entry points in nsGlobalWindowOuter, and move cloning out of nsPrintJob. r=jwatt,geckoview-reviewers,smaug,agi
This centralizes our print and preview setup in nsGlobalWindowOuter so
that we never re-clone a clone, and so that we reuse the window.open()
codepath to create the browsing context to clone into.

For window.print, for both old print dialog / silent printing and new
print preview UI, we now create a hidden browser (as in with visibility:
collapse, which takes no space but still gets a layout box).

 * In the modern UI case, this browser is swapped with the actual print
   preview clone, and the UI takes care of removing the browser.

 * In the print dialog / silent printing case, the printing code calls
   window.close() from nsDocumentViewer::OnDonePrinting().

 * We don't need to care about the old print preview UI for this case
   because it can't be open from window.print().

We need to fall back to an actual window when there's no
nsIBrowserDOMWindow around for WPT print tests and the like, which don't
have one. That seems fine, we could special-case this code path more if
needed but it doesn't seem worth it.

Differential Revision: https://phabricator.services.mozilla.com/D87063
2020-08-25 17:45:12 +00:00
Cosmin Sabou 7b214fd81a Backed out 6 changesets (bug 1518999) for geckoview failures on scrollToVerticalOnZoomedContentAuto.
Backed out changeset 10bf1552e301 (bug 1518999)
Backed out changeset e62cd63e3595 (bug 1518999)
Backed out changeset 1bf0b02bb0e0 (bug 1518999)
Backed out changeset 2203a9c52afa (bug 1518999)
Backed out changeset 10f07ca7a246 (bug 1518999)
Backed out changeset b90cf6b54c09 (bug 1518999)
2020-08-25 01:02:36 +03:00
Sean Feng 517cde9bae Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-24 16:03:31 +00:00
James Teh 3f51028817 Bug 1659625: Expose DOMLocalization interface to UA widgets. r=zbraniecki,smaug
This is needed in order for UA widgets to use Fluent.

Differential Revision: https://phabricator.services.mozilla.com/D87389
2020-08-18 11:29:08 +00:00
Emilio Cobos Álvarez 325d955f89 Bug 1660048 - Remove dom.forms.color and dom.forms.datetime. r=smaug,marionette-reviewers,whimboo
They're enabled in all configurations and there's no plan to change
this. With it, dom.experimental_forms is also useless, so we can remove
it too.

Differential Revision: https://phabricator.services.mozilla.com/D87623
2020-08-19 18:24:06 +00:00
Csoregi Natalia c1ed2ba64f Backed out 6 changesets (bug 1518999) for marionette failures on test_refresh_firefox.py. CLOSED TREE
Backed out changeset eb8e5411868e (bug 1518999)
Backed out changeset 0924e0169dcb (bug 1518999)
Backed out changeset b7de245b329c (bug 1518999)
Backed out changeset f2a6a3797ef1 (bug 1518999)
Backed out changeset 123403a14312 (bug 1518999)
Backed out changeset 1968b8ca14d7 (bug 1518999)
2020-08-18 23:53:26 +03:00
Sean Feng d914187ce2 Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-06 16:13:44 +00:00
Dan Minor 0a102a5434 Bug 1657449 - Add browserId to webrtc internal stats r=webidl,smaug
This is only used on the about:webrtc page.

Differential Revision: https://phabricator.services.mozilla.com/D86698
2020-08-12 18:39:51 +00:00
Jeff Gilbert e3e331e9ad Bug 1658433 - Implement WebGL draft extension EXT_texture_norm16. r=lsalzman,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D86630
2020-08-12 15:19:17 +00:00
Emilio Cobos Álvarez 0c03ba166c Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku
We've shipped it on by default since 74 (bug 1617219).

Differential Revision: https://phabricator.services.mozilla.com/D86665
2020-08-12 10:57:04 +00:00
Emilio Cobos Álvarez 906c1a7801 Bug 1658470 - Remove layout.css.shadow-parts.enabled. r=heycam
Shipped since 72 (bug 1559074).

Differential Revision: https://phabricator.services.mozilla.com/D86661
2020-08-11 05:54:17 +00:00
Neil Deakin 707aba1b0b Bug 1644337, add an isAnchored property to popups, as popups can be anchored to a rectangle as well as a node. This prevented the arrow from appearing in panels, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86099
2020-08-10 09:47:38 +00:00
Emilio Cobos Álvarez ac5f577b39 Bug 1657989 - Expose Document::mComposedShadowRoots to front-end code. r=smaug
Seems it's going to be useful for autofill / password-manager.

Differential Revision: https://phabricator.services.mozilla.com/D86415
2020-08-07 21:03:16 +00:00
Sean Feng dcd8cf2781 Bug 1657163 - Enable <dialog> in chrome UI for beta/release r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D85933
2020-08-05 14:26:29 +00:00
John Dai 7e2fb3fe0d Bug 1556342 - Implement customElements.define's form-associated; r=edgar,smaug
Differential Revision: https://phabricator.services.mozilla.com/D85734
2020-08-05 09:35:56 +00:00
Coroiu Cristina f0445806f4 Backed out 2 changesets (bug 1614009) for build bustage at dom/media/webaudio/AudioBuffer.cpp on a CLOSED TREE
Backed out changeset 2bd694126445 (bug 1614009)
Backed out changeset 7c315d9e2030 (bug 1614009)
2020-07-31 17:15:14 +03:00
Corentin Arnould 23c463b2b7 Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.

Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-07-30 23:27:36 +00:00
Corentin Arnould 23717c88b4 Bug 1614019 - Removed negative value from the valid range r=padenot,webidl,smaug
The condition in the if is changed because the minus operation could overflow.
The declaration of sampleRate has been moved to its next use because its first value was never used.

Differential Revision: https://phabricator.services.mozilla.com/D81550
2020-07-30 23:28:34 +00:00
Alexander Surkov 9b0c71a8eb Bug 1655722 - add HTMLElement::inert property r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D82943
2020-07-30 17:30:46 +00:00
Sebastian Streich fb1d1dc1df Bug 1558394 - Pass the TriggeringSandboxFlags to nsILoadinfo r=ckerschb,smaug,necko-reviewers,valentin
Add triggering Sandbox flags to loadinfo
***
Pass triggering Flags into Loadinfo

***
Fix triggeringSandboxflags passing

Differential Revision: https://phabricator.services.mozilla.com/D69588
2020-07-29 11:43:23 +00:00
Dzmitry Malyshau 544f262737 Bug 1653161 - Implement Queue.writeBuffer and writeTexture in WebGPU r=jgilbert,webidl,smaug
Updates wgpu to bd50867bb8c66ac9dec50046d066c02b8f7a3fc1

Differential Revision: https://phabricator.services.mozilla.com/D83734
2020-07-28 22:26:21 +00:00
Brad Werth f825199513 Bug 1228985 Part 1: Extend HTMLStyleElement to allow devtools to become the triggering principal. r=ckerschb,emilio
Differential Revision: https://phabricator.services.mozilla.com/D77557
2020-07-28 15:45:35 +00:00
Arnaud Bienner 0b0b160bc4 Bug 1651703: fix min and max values in AudioParamDescriptor now we don't need this workaround to support MSVC. r=karlt,baku
Differential Revision: https://phabricator.services.mozilla.com/D82977
2020-07-27 09:50:21 +00:00