Commit Graph

6747 Commits

Author SHA1 Message Date
Andrea Marchesini
22d905d24e Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-03 06:09:52 +00:00
Csoregi Natalia
2d5cafc841 Backed out 5 changesets (bug 1639833) for failures on browser_blockingIndexedDbInWorkers.js. CLOSED TREE
Backed out changeset 6b4f76d65540 (bug 1639833)
Backed out changeset c77acba1aacb (bug 1639833)
Backed out changeset 30c97666919e (bug 1639833)
Backed out changeset d769b313441a (bug 1639833)
Backed out changeset ed41b41d1b03 (bug 1639833)
2020-06-02 15:02:31 +03:00
Andrea Marchesini
e31c7313ca Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-02 08:28:05 +00:00
Razvan Maries
a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Kris Maglione
8805ff3be0 Bug 1638153: Part 0 - Add Window.browsingContext getter. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D75430
2020-05-28 19:34:33 +00:00
Noemi Erli
f08b043cf6 Backed out 5 changesets (bug 1639833) for causing sessionstorage related failures CLOSED TREE
Backed out changeset b36af8d9db34 (bug 1639833)
Backed out changeset 712c11904dbe (bug 1639833)
Backed out changeset 14f1e4783582 (bug 1639833)
Backed out changeset b7f14c4cfe5d (bug 1639833)
Backed out changeset b4b25034dd83 (bug 1639833)
2020-06-01 19:31:50 +03:00
Andrea Marchesini
8c0df411d1 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-01 11:57:46 +00:00
Nico Grunbaum
4814c44333 Bug 1218356 - P0 - Add WebIDL for RTCDataChannelStats;r=smaug
Spec: https://w3c.github.io/webrtc-stats/#dom-rtcdatachannelstats

Note: We do not yet support transport stats, and transportId acts
as key back into the collection of all stats, so for now transportId
must not appear in this object (it has no object to point to).
See bug 1225723

Differential Revision: https://phabricator.services.mozilla.com/D57114
2020-05-29 10:23:40 +00:00
Alex Vincent
3cb405965c Bug 1626015 - Implement ParentNode#ReplaceChildren. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D75891
2020-05-28 00:58:24 +00:00
Razvan Maries
f8a2bcc110 Backed out changeset 004abcb3322e (bug 1626015) for perma failures on idlharness.window.html. CLOSED TREE 2020-05-28 01:23:57 +03:00
Alexander J. Vincent
e9ee229d54 Bug 1626015 - Implement ParentNode#ReplaceChildren. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D75891
2020-05-27 18:44:13 +00:00
longsonr
ef003847e5 Bug 1640280 - Extend autofocus to SVGGraphicsElement r=emilio
Note we're still limited to markup only because of bug 662496
so we don't pass the web platform tests for this feature.
Chrome has implemented support per
https://www.chromestatus.com/feature/5654905853313024
In SVG only SVGGraphicsElements are focusable.

Differential Revision: https://phabricator.services.mozilla.com/D76546
2020-05-27 07:59:07 +00:00
JulianWels
2cc2e49495 Bug 1625156 - Error page for HTTPS Only Mode. r=fluent-reviewers,ckerschb,nhnt11,flod,nika,johannh,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72129
2020-05-26 11:45:21 +00:00
Dorel Luca
a94d31585c Backed out changeset 1334652d0ec4 (bug 1640280) for build bustage in workspace/obj-build/dist/include/mozilla/dom/Document.h. CLOSED TREE 2020-05-25 01:31:54 +03:00
longsonr
cdcace5073 Bug 1640280 - Extend autofocus to SVGGraphicsElement r=emilio
Note we're still limited to markup only because of bug 662496
so we don't pass the web platform tests for this feature.
Chrome has implemented support per
https://www.chromestatus.com/feature/5654905853313024
In SVG only SVGGraphicsElements are focusable.

Differential Revision: https://phabricator.services.mozilla.com/D76546
2020-05-24 21:04:14 +00:00
Mark Banner
5d044573da Bug 1632447 - Disable window.external/sidebar.AddSearchProvider by preference. r=baku
This makes them both operate as dummy functions.

Differential Revision: https://phabricator.services.mozilla.com/D76329
2020-05-22 11:41:15 +00:00
Andrea Marchesini
81a382b344 Bug 1639247 - Isolate DNS cache per first-party when privacy.partition.network_state is set to true - part 4 - DNS originAttributes suffix in about:networking, r=valentin,fluent-reviewers,necko-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D75986
2020-05-20 16:46:26 +00:00
Razvan Maries
02e0a1d9a4 Backed out 3 changesets (bug 1639247) for build bustages on on StoragePrincipalHelper.cpp. CLOSED TREE
Backed out changeset 48a854ee6710 (bug 1639247)
Backed out changeset 032d302608e4 (bug 1639247)
Backed out changeset 2d2ff22a0ea4 (bug 1639247)
2020-05-20 19:34:22 +03:00
Andrea Marchesini
50ea627cef Bug 1639247 - Isolate DNS cache per first-party when privacy.partition.network_state is set to true - part 3 - DNS originAttributes suffix in about:networking, r=valentin,fluent-reviewers,necko-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D75986
2020-05-20 15:52:54 +00:00
Razvan Maries
481517ce87 Backed out 2 changesets (bug 1558394) for perma failures on iframe_sandbox_anchor_download_block_downloads.sub.tentative.html. CLOSED TREE
Backed out changeset 79046ff8143b (bug 1558394)
Backed out changeset e13ede3c68d4 (bug 1558394)
2020-05-15 19:18:34 +03:00
Sebastian Streich
bb0855332f Bug 1558394 - Pass the TriggeringSandboxFlags to nsILoadinfo r=ckerschb,smaug,necko-reviewers,valentin
Add triggering Sandbox flags to loadinfo
***
Pass triggering Flags into Loadinfo

Differential Revision: https://phabricator.services.mozilla.com/D69588
2020-05-15 14:03:28 +00:00
Bogdan Tara
edcb53f163 Backed out 2 changesets (bug 1558394) for nsDocShellLoadState related bustage CLOSED TREE
Backed out changeset 5889105bd089 (bug 1558394)
Backed out changeset 80a0ea17c9f8 (bug 1558394)
2020-05-14 15:17:32 +03:00
Sebastian Streich
9ce86dc585 Bug 1558394 - Pass the TriggeringSandboxFlags to nsILoadinfo r=ckerschb,smaug,necko-reviewers,valentin
Add triggering Sandbox flags to loadinfo
***
Pass triggering Flags into Loadinfo

Differential Revision: https://phabricator.services.mozilla.com/D69588
2020-05-14 10:04:44 +00:00
Imanol Fernandez
b35d8070b6 Bug 1636509 - Add ProbablyShortLivingWrapper annotation to short living WebXR objects r=kip,daoshengmu,webidl,smaug
WebXR has a lot of short living objects. The ProbablyShortLivingWrapper should help a bit to improve the GC performance of those objects.

Differential Revision: https://phabricator.services.mozilla.com/D74423
2020-05-13 22:11:05 +00:00
Emilio Cobos Álvarez
373d7aa4ef Bug 1636903 - Move dom/webidl/FrameLoader.webidl into chrome-webidl. r=farre
Depends on D74642

Differential Revision: https://phabricator.services.mozilla.com/D74643
2020-05-13 14:43:37 +00:00
Emilio Cobos Álvarez
0ebb3dc178 Bug 1636903 - Sync changes from bug 1576188 into the non-chrome-webidl version. r=farre
This is better than losing all the blame for this file.

Differential Revision: https://phabricator.services.mozilla.com/D74642
2020-05-13 14:44:03 +00:00
Emilio Cobos Álvarez
92acdc30e3 Bug 1637335 - Make MozEditableElement.editor flush frames if needed. r=smaug
URLBarInput relies on it being non-null when created, but that may not
happen if we construct frames lazily without this patch.

Differential Revision: https://phabricator.services.mozilla.com/D74891
2020-05-12 22:32:18 +00:00
Edgar Chen
88a9a03a8a Bug 1618295 - Add imageSrcset and imageSizes attributes in HTMLLinkElement; r=hsivonen
See https://html.spec.whatwg.org/multipage/semantics.html#htmllinkelement.

Depends on D68786

Differential Revision: https://phabricator.services.mozilla.com/D71949
2020-05-11 14:08:58 +00:00
Andrea Marchesini
431d63fa33 Bug 1636847 - Update WebSocket CTOR definition, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D74589
2020-05-11 09:06:20 +00:00
Andrea Marchesini
0f4efcecab Bug 1633197 - WebSocket bufferedAmount must be unsigned long long (uint64_t), r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D74558
2020-05-11 07:44:10 +00:00
sanketh
8b9dee2da4 Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku
In RFP mode, we do not support `PerformanceNavigationTiming`, so don't expose
it. In particular, `window.PerformanceNavigationTiming` should return
`undefined`.

Added a new method `PerformanceNavigationTiming::Enabled` which when used with
the WebIDL `Func` attribute allows us to toggle whether
`window.PerformanceNavigationTiming` is exposed.

Created
`dom/tests/mochitest/general/test_toggling_performance_navigation_timing.html`
to test whether the toggling works. Updated
`browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js`
to create a new window each time `privacy.resistFingerprinting` is flipped so
this behavior does not leak into other tests.

Differential Revision: https://phabricator.services.mozilla.com/D73528
2020-05-07 16:33:38 +00:00
Dzmitry Malyshau
2a8ae88483 Bug 1634829 - Update WebGPU blend descriptors r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73530
2020-05-02 15:52:26 +00:00
Nika Layzell
c507cc54ac Bug 1633812 - Simplify the subframe crash codepath, r=farre
Previously the BrowsingContext was also being sent down, despite it being
obvious from the PBrowserBridge actor which the message was sent over.

Differential Revision: https://phabricator.services.mozilla.com/D72929
2020-04-29 09:58:50 +00:00
Kris Maglione
c5353a7809 Bug 1630691: Part 1 - Get rid of most of the remaining mozbrowser API. r=nika,mtigley,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D71226
2020-04-29 19:29:06 +00:00
Emilio Cobos Álvarez
bd159a1ad9 Bug 1633362 - Add a use counter for Document.mozSetImageElement. r=smaug
It complicates all the ID tracking code and the SVG code quite a bit.

I want to know if it is used so that we can maybe remove it.

Differential Revision: https://phabricator.services.mozilla.com/D72613
2020-04-27 20:00:09 +00:00
Jan-Ivar Bruaroey
4c6caa0c3d Bug 1624181 - Omit getDisplayMedia() function on android to aid feature detection. r=dminor,snorp,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D72030
2020-04-27 15:05:29 +00:00
Andreas Farre
6adf2b375d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-27 05:41:40 +00:00
Alexander Surkov
a7f32eb773 Bug 1632473 - ARIA reflection fails to build with --disable-accessibility r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72178
2020-04-23 17:14:56 +00:00
Dorel Luca
c2d429f9a0 Backed out 2 changesets (bug 1576188) for Build bustage in docshell/base/BrowsingContext.cpp. CLOSED TREE
Backed out changeset 7e5e86986811 (bug 1576188)
Backed out changeset b731cbad59a8 (bug 1576188)
2020-04-24 23:02:11 +03:00
Andreas Farre
55a186014d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-24 15:47:26 +00:00
Arthur Iakab
c278cf13d3 Backed out 2 changesets (bug 1576188) for causing browser-chrome failures on browser_persist_cross_origin_iframe.js
CLOSED TREE

Backed out changeset d2c102f8d898 (bug 1576188)
Backed out changeset 9ddd9a63d178 (bug 1576188)
2020-04-23 19:38:58 +03:00
Andreas Farre
6a4f39685d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-23 13:56:26 +00:00
Simon Giesecke
86ba544cc6 Bug 1536540 - Implement IDBCursor.request attribute. r=dom-workers-and-storage-reviewers,janv,webidl,baku
Differential Revision: https://phabricator.services.mozilla.com/D71786
2020-04-23 08:38:57 +00:00
Jan-Ivar Bruaroey
dfc7de216e Bug 1631963: Warn in web console about {sdpSemantics: plan-b} usage. r=bwc,emilio
Differential Revision: https://phabricator.services.mozilla.com/D71835
2020-04-22 23:15:25 +00:00
Andreea Pavel
80afdc5ddc Backed out changeset 7dccafbf3437 (bug 1536540) for failing wpt at idlharness.any.worker.html on a CLOSED TREE 2020-04-22 21:54:11 +03:00
Simon Giesecke
bcf94e6de5 Bug 1536540 - Implement IDBCursor.request attribute. r=dom-workers-and-storage-reviewers,janv,webidl,baku
Differential Revision: https://phabricator.services.mozilla.com/D71786
2020-04-22 14:53:17 +00:00
Alexander Surkov
57f209298d Bug 1628418 - ARIA reflection: implement AriaAttributes interface r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71771
2020-04-22 11:32:18 +00:00
Alexander Surkov
bd25b19977 Bug 1628418 - ARIA reflection: implement AccessibilityRole interface r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71169
2020-04-22 11:32:01 +00:00
Kagami Sascha Rosylight
6da77fced9 Bug 1632116 - Introduce dom.window.content.untrusted.enabled r=emilio
`window.content` is currently disabled only in Nightly by C preprecessor, and this patch replaces it with a new flag to allow users to manipulate.

Differential Revision: https://phabricator.services.mozilla.com/D71775
2020-04-22 13:08:25 +00:00
alwu
1933899aff Bug 1625615 - part5 : add test-only attribute and event for media element. r=bryce,emilio
Differential Revision: https://phabricator.services.mozilla.com/D69674
2020-04-20 21:19:57 +00:00