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

6329 Коммитов

Автор SHA1 Сообщение Дата
Edgar Chen d9f0623861 Bug 1577175 - Part 2: Add tests; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44360

--HG--
extra : moz-landing-system : lando
2019-09-02 22:45:11 +00:00
Boris Zbarsky 58b843488c Bug 1569735. Move almost all uses of binaryNames out of Bindings.conf and into .webidl files. r=peterv
The one exception, apart from tests, is a place where the constructor is being
renamed, because there is no way to support that syntactically yet.  There will
be if https://github.com/heycam/webidl/issues/636 is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D39792

--HG--
extra : moz-landing-system : lando
2019-08-28 17:51:37 +00:00
Boris Zbarsky 3c20a5844b Bug 921496 part 1. Remove the one consumer of NavigatorProperty. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D40110

--HG--
extra : moz-landing-system : lando
2019-08-26 18:56:34 +00:00
Andreas Farre 6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Alex Vincent cec0c5cbdb Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called.  This is to remove these methods.
A comm-central patch will be along shortly.

Differential Revision: https://phabricator.services.mozilla.com/D39273
2019-08-24 00:49:55 +02:00
Logan Smyth 66e57fe122 Bug 1562708 - Allow disabling of the mutation event warning for system-group event listeners. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43147

--HG--
extra : moz-landing-system : lando
2019-08-23 14:35:05 +00:00
Ryan Alderete 4b595ec1a8 Bug 1570158 - Add proxy information to candidates table in about:webrtc r=bwc,baku
This adds a field to about:webrtc which indicates whether an associated
candidate is behind a proxy or not.

Differential Revision: https://phabricator.services.mozilla.com/D39974

--HG--
extra : moz-landing-system : lando
2019-08-21 10:04:45 +00:00
Thomas Nguyen 32ab8293ff Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug
ReferrerPolicy gets tossed back and forth as a uint32_t and
ReferrerPolicy enum in header file. Expose ReferrerPolicyValues from
webidl file and use consistently in native code.

Differential Revision: https://phabricator.services.mozilla.com/D41954

--HG--
extra : moz-landing-system : lando
2019-08-21 13:24:45 +00:00
Sebastian Streich db893cf0d7 Bug 1561056 - Pass CSP on Link-drop r=ckerschb,Gijs,farre
***
Fix linux build

Differential Revision: https://phabricator.services.mozilla.com/D37563

--HG--
extra : moz-landing-system : lando
2019-08-20 12:43:02 +00:00
Ehsan Akhgari 7b2ff7275b Bug 1572240 - Part 1: Introduce Document.contentBlockingAllowListPrincipal; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42202

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:32 +00:00
Daisuke Akatsuka c6a47f400c Bug 1571650: Add an API to change the style of AnonymousContent from devtools. r=smaug
DevTools is using AnonymousContent to highlight the element inspecting.
And now, the z-order of highlighting became to be importance. In case of normal
element, we can change the z-order by z-index or order of DOM. However,
AnonymousContent does not have the such the way to change the z-order from
DevTools side. This patch introduces an API to change the style, and makes the
z-order changeable by the z-index.

Differential Revision: https://phabricator.services.mozilla.com/D41927

--HG--
extra : moz-landing-system : lando
2019-08-16 07:38:39 +00:00
Daniel Varga 95ce40b8d4 Backed out changeset a7ac9f64f6ea (bug 1561056) for build bustage at widget/gtk/nsDragService. On a CLOSED TREE 2019-08-16 09:30:39 +03:00
Sebastian Streich c051155f99 Bug 1561056 - Pass CSP on Link-drop r=ckerschb,Gijs,farre
Differential Revision: https://phabricator.services.mozilla.com/D37563

--HG--
extra : moz-landing-system : lando
2019-08-15 18:44:00 +00:00
Kagami Sascha Rosylight b14e2b2516 Bug 1414372: Introduce interface mixins r=bzbarsky
Add IDLInterfaceMixin with a new superclass shared with existing IDLInterfaceOrNamespace.

Differential Revision: https://phabricator.services.mozilla.com/D38802

--HG--
extra : moz-landing-system : lando
2019-08-15 16:53:49 +00:00
Ciure Andrei c8c4bf08bf Backed out 4 changesets (bug 1571650) for AddressSanitizer failures CLOSED TREE
Backed out changeset 9c93a75bc692 (bug 1571650)
Backed out changeset 9f62e449f9ca (bug 1571650)
Backed out changeset 48438a9d64f1 (bug 1571650)
Backed out changeset eaef1d403d31 (bug 1571650)
2019-08-14 18:51:36 +03:00
Daisuke Akatsuka cbfbede5a3 Bug 1571650: Add an API to change the style of AnonymousContent from devtools. r=smaug
DevTools is using AnonymousContent to highlight the element inspecting.
And now, the z-order of highlighting became to be importance. In case of normal
element, we can change the z-order by z-index or order of DOM. However,
AnonymousContent does not have the such the way to change the z-order from
DevTools side. This patch introduces an API to change the style, and makes the
z-order changeable by the z-index.

Differential Revision: https://phabricator.services.mozilla.com/D41927

--HG--
extra : moz-landing-system : lando
2019-08-14 09:39:54 +00:00
Brendan Dahl b474db77c6 Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie
All .xul files have been loading as HTMLDocuments for a few weeks now, so
it should be safe to remove the XULDocument implementation.

Differential Revision: https://phabricator.services.mozilla.com/D41238

--HG--
extra : moz-landing-system : lando
2019-08-09 19:57:50 +00:00
Andrew McCreight b4b41c012d Bug 1571121 - Change Window.print() from using Func to Pref. r=bzbarsky
This can be done by changing the pref from being enable instead of disable.

Differential Revision: https://phabricator.services.mozilla.com/D40522

--HG--
extra : moz-landing-system : lando
2019-08-03 02:17:00 +00:00
Masayuki Nakano 23a22c597a Bug 1569902 - part 2: Stop using attribute to consider whether a `<br>` element is a special node for empty last line or not r=m_kato,smaug
Editor creates a `<br>` element to end of a block if last line
of the block is empty because caret should be placed as there is an empty
line.  Such special `<br>` element has `type` attribute whose value is "_moz".
However, adding/removing the attribute is expensive and such hacky attribute
shouldn't be referred nor changed by web apps.

Therefore, this patch makes `HTMLBRElement` take another specific flag whether
it's a special node for empty last line.  For making the meaning clearer,
this patch calls the such `<br>` elements as "padding `<br>` element for
empty last line" insead of "moz-br".  So, this patch also includes a lot of
renaming methods and variables, and modifying related comments.

Note that with this change, `IMEContentObserver` counts the padding `<br>`
element in `<textarea>` because it's inserted before setting the new flag
and setting the flag does not cause DOM tree mutation.  This issue will be
fixed by the following patches.

Differential Revision: https://phabricator.services.mozilla.com/D39858

--HG--
extra : moz-landing-system : lando
2019-08-02 05:45:18 +00:00
Masayuki Nakano 765e91b497 Bug 1569902 - part 1: Stop using attribute to consider whether a `<br>` element is an editor bogus node or not r=m_kato,smaug
Editor creates a `<br>` element when it's root element is empty.
Then, it's stored by `TextEditRules::mBogusNode` and used for checking
whether the editor is empty quickly.  However, this `<br>` element has
`mozeditorbogusnode` attribute whose value is `true`.  However, adding or
removing the attribute is not cheap and web apps can refer such illegal
attribute.

Therefore, this patch makes `HTMLBRElement` take a specific flag whether
it's a bogus node or not.  However, this means that this hacky thing will be
exposed outside editor module.  For making what is the bogus node clearer,
this patch calls the such `<br>` elements as "padding `<br>` element for
empty editor".  So, this patch also includes a lot of renaming methods and
variables, and modifying related comments.

Differential Revision: https://phabricator.services.mozilla.com/D39857

--HG--
extra : moz-landing-system : lando
2019-08-02 05:44:40 +00:00
Boris Zbarsky 4b604e5a0b Bug 1570490. Remove some unnecessary argument name escapes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40109

--HG--
extra : moz-landing-system : lando
2019-07-31 22:00:37 +00:00
Andreas Pehrson 719dfe4ede Bug 1493613 - Update muted state through MediaStreamTrackSource. r=bwc,smaug
This ensures all clones of the original track also receives the new muted state.

Differential Revision: https://phabricator.services.mozilla.com/D37933

--HG--
extra : moz-landing-system : lando
2019-07-31 09:35:06 +00:00
Dylan Roeh 1e945a8dd6 Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746

--HG--
extra : moz-landing-system : lando
2019-07-30 18:13:05 +00:00
Andreas Pehrson 10202bfc64 Bug 1561254 - Support groupId in constraints. r=achronop,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D37692

--HG--
extra : moz-landing-system : lando
2019-07-30 16:28:44 +00:00
Ehsan Akhgari 5aacc9192f Bug 1569677 - Part 2: Move HTMLDocument.userInteractionForTesting to Document; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D39724

--HG--
extra : moz-landing-system : lando
2019-07-29 19:32:53 +00:00
Ehsan Akhgari 373fbdc037 Bug 1569677 - Part 1: Move the Safebrowsing helpers from HTMLDocument to Document; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D39723

--HG--
extra : moz-landing-system : lando
2019-07-29 19:32:51 +00:00
Boris Zbarsky a2ab584ff7 Bug 1568585. Stop implementing JS-exposed QueryInterface on Window. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39234

--HG--
extra : moz-landing-system : lando
2019-07-25 14:31:10 +00:00
Boris Zbarsky 6179d86a65 Bug 1568285. Stop implementing JS-exposed QueryInterface for TreeColumns and TreeContentView. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39077

--HG--
extra : moz-landing-system : lando
2019-07-24 13:22:07 +00:00
Boris Zbarsky 63783b438f Bug 1568303. Stop implementing JS-exposed QueryInterface on some core DOM objects. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39085

--HG--
extra : moz-landing-system : lando
2019-07-24 08:52:41 +00:00
Boris Zbarsky 2f8935720c Bug 1568301. Stop implementing JS-exposed QueryInterface on Selection. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39083

--HG--
extra : moz-landing-system : lando
2019-07-24 08:50:59 +00:00
Boris Zbarsky c41064df1d Bug 1568298. Stop implementing JS-exposed QueryInterface on XMLHttpRequest. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39082

--HG--
extra : moz-landing-system : lando
2019-07-24 08:50:41 +00:00
Boris Zbarsky a4d2c02692 Bug 1568281. Stop implementing JS-exposed QueryInterface on DOMParser. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39070

--HG--
extra : moz-landing-system : lando
2019-07-24 08:08:30 +00:00
Mike Conley 6d1794690b Bug 1565927 - Default FrameCrashedEvent's isTopFrame to true if never set. r=nika
This is the safer assumption, since we normally skip setting isTopFrame
explicitly if no BrowsingContext exists (which is the case if, for example,
the crash is due to the fact that creating the top-level browser failed).

Differential Revision: https://phabricator.services.mozilla.com/D38119

--HG--
extra : moz-landing-system : lando
2019-07-17 01:50:04 +00:00
Emilio Cobos Álvarez 1e51ee6ad5 Bug 1564466 - Remove MediaSource::{Enabled,ExperimentalEnabled}, and use [Pref] on the IDL instead. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38098

--HG--
extra : moz-landing-system : lando
2019-07-18 13:06:25 +00:00
Jan-Ivar Bruaroey 3aef894f49 Bug 1551316 - Add pc.restartIce() method. r=bwc,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30976

--HG--
extra : moz-landing-system : lando
2019-07-17 21:19:51 +00:00
Razvan Maries adc6758e36 Backed out 2 changesets (bug 1564466) for perma fails on EnsureMTA.h. CLOSED TREE
Backed out changeset 8011dd41d7d3 (bug 1564466)
Backed out changeset b162d0e42bee (bug 1564466)
2019-07-17 22:48:41 +03:00
Emilio Cobos Álvarez 4cfbe11244 Bug 1564466 - Remove MediaSource::{Enabled,ExperimentalEnabled}, and use [Pref] on the IDL instead. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38098

--HG--
extra : moz-landing-system : lando
2019-07-15 18:32:29 +00:00
Karl Tomlinson 0d0c740557 Bug 1542931 Add AudioWorkletProcessorConstructor r=bzbarsky
https://github.com/WebAudio/web-audio-api/issues/1839

Depends on D34476

Differential Revision: https://phabricator.services.mozilla.com/D34477

--HG--
extra : moz-landing-system : lando
2019-06-11 15:45:45 +00:00
Kagami Sascha Rosylight d75e9f219f Bug 1360475: Use union for DOMMatrix constructor r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D35211

--HG--
extra : moz-landing-system : lando
2019-07-16 21:12:38 +00:00
Kagami Sascha Rosylight 8f29f2145b Bug 1514538 - Support DOMMatrix2DInit for addPath r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38054

--HG--
extra : moz-landing-system : lando
2019-07-16 16:35:26 +00:00
Paul Adenot c74b95c375 Bug 1350973 - Implement new attributes MediaStreamAudioSourceNode.mediaStream and MediaElementAudioSourceNode.mediaElement. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37283

--HG--
extra : moz-landing-system : lando
2019-07-11 20:09:58 +00:00
Paul Adenot 553f80fde6 Bug 1324545 - Implement AudioContext getOutputTimestamp(). r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37281

--HG--
extra : moz-landing-system : lando
2019-07-12 11:27:25 +00:00
Paul Adenot 8c692f2f23 Bug 1324552 - Implement AudioContext baseLatency and outputLatency attributes. r=pehrsons,baku
Differential Revision: https://phabricator.services.mozilla.com/D37280

--HG--
extra : moz-landing-system : lando
2019-07-12 11:28:03 +00:00
Boris Zbarsky 6474e0a0f2 Bug 1565055. Use USVString in window.open(). r=peterv
Of course there's no wpt coverage for this... :(

Differential Revision: https://phabricator.services.mozilla.com/D37666

--HG--
extra : moz-landing-system : lando
2019-07-11 16:31:34 +00:00
Boris Zbarsky f471fc6507 Bug 1564663. Clean up the arguments to document.open to align better with the spec. r=mbrodesser
Differential Revision: https://phabricator.services.mozilla.com/D37642

--HG--
extra : moz-landing-system : lando
2019-07-11 16:30:27 +00:00
shindli 883c6619a6 Backed out 3 changesets (bug 1324552, bug 1324545, bug 1350973) for causing perma mda leakcheck failures CLOSED TREE
Backed out changeset db14e59c7e6e (bug 1324545)
Backed out changeset 088e13476d39 (bug 1324552)
Backed out changeset e79a64fc49e7 (bug 1350973)
2019-07-11 18:55:03 +03:00
Paul Adenot e66a2c4316 Bug 1324545 - Implement AudioContext getOutputTimestamp(). r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37281

--HG--
extra : moz-landing-system : lando
2019-07-11 13:34:15 +00:00
Paul Adenot 4c99611f32 Bug 1324552 - Implement AudioContext baseLatency and outputLatency attributes. r=pehrsons,baku
Differential Revision: https://phabricator.services.mozilla.com/D37280

--HG--
extra : moz-landing-system : lando
2019-07-11 13:30:07 +00:00
Paul Adenot 03e7bf883c Bug 1350973 - Implement new attributes MediaStreamAudioSourceNode.mediaStream and MediaElementAudioSourceNode.mediaElement. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37283

--HG--
extra : moz-landing-system : lando
2019-07-11 13:18:51 +00:00
Alphan Chen 02e1dcbe25 bug 1562889 - Convert content-sessionStore to C++: add browser epochs support r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D36606

--HG--
extra : moz-landing-system : lando
2019-07-11 09:46:14 +00:00