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

5988 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth 81b95a3014 Bug 1521604 Part 2: Create a Node chrome-only parentFlexElement property, for use by devtools. r=dholbert,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17308

--HG--
extra : moz-landing-system : lando
2019-02-01 22:29:34 +00:00
Jeff Gilbert ac012b5064 Bug 1522018 - Implement webgl draft ext EXT_float_blend. r=lsalzman,qdot
Differential Revision: https://phabricator.services.mozilla.com/D17336

--HG--
rename : dom/canvas/WebGLExtensionBase.cpp => dom/canvas/WebGLExtensions.cpp
extra : moz-landing-system : lando
2019-01-31 23:39:12 +00:00
Andrea Marchesini 43a5f36077 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 1 - UrlClassifierFeatureFactory::IsClassifierBlockingErrorCode, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17637
2019-01-30 13:43:34 +01:00
Mike Conley f41e30ee01 Bug 1441168 - Add some documentation to Window.webidl about DOM modifications within promiseDocumentFlushed callbacks. r=Ehsan
Depends on D14101

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

--HG--
extra : moz-landing-system : lando
2019-01-28 06:50:25 +00:00
John Dai a58878536c Bug 1513878 - Part 1: Expose window global child to window. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D16844

--HG--
extra : moz-landing-system : lando
2019-01-28 19:01:01 +00:00
Timothy Guan-tin Chien f1367fab83 Bug 1507895 - Part III, Remove the marquee binding r=smaug
This patch removes the XBL marquee binding and always uses
UA Widget for the internal "gut" of the marquee element.

Depends on D17572

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

--HG--
extra : moz-landing-system : lando
2019-01-25 14:24:43 +00:00
Dorel Luca 2702a37d2c Backed out 3 changesets (bug 1513878) for build bustage. CLOSED TREE
Backed out changeset a480d92de046 (bug 1513878)
Backed out changeset 0333640041bb (bug 1513878)
Backed out changeset 48b36980fe1c (bug 1513878)
2019-01-25 21:16:50 +02:00
John Dai 08ad3f5e7f Bug 1513878 - Part 1: Expose window global child to window. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D16844

--HG--
extra : moz-landing-system : lando
2019-01-25 18:45:26 +00:00
Peter Van der Beken 61a0d908e5 Bug 1521853 - Remove Throws annotation from some infallible HTMLOptionsCollection/HTMLSelectElement properties. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D17265

--HG--
extra : moz-landing-system : lando
2019-01-22 19:03:07 +00:00
Akshay Kumar aff7fc2c26 Bug 1508115 - Web Authentication - Support Windows Hello r=keeler,jcj,baku
This change adopts Windows Win32 WebAuthN APIs from https://github.com/Microsoft/webauthn

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

--HG--
extra : moz-landing-system : lando
2019-01-21 01:10:44 +00:00
Oana Pop Rus 6174393a3a Merge inbound to mozilla-central. a=merge 2019-01-22 18:24:54 +02:00
Masayuki Nakano 96bd720118 Bug 1521396 - Make ClickHandlerChild prevent multiple action of middle click on link element for preventing middle click paste r=smaug
When user middle clicks a link, most users must not expect to expose clipboard
content to the web application.  Therefore, we should stop firing paste event
when user click a link with middle button.

This patch makes ClickHandlerChild.handleEvent() prevent multiple action
when it posts middle click event on a link.  Note that even if middle click
event is consumed, default event handler will dispatch paste event.
Unfortunately, this is compatible behavior with the other browsers.
Therefore, we cannot change this behavior with calling preventDefault() and
this is the reason why this patch adds Event.preventMultipleActions().

Out of scope of this bug though, if there is an element which looks like a
link but implemented with JS, web apps can steal clipboard content if user
enables middle click event and user just wants to open the link in new tab.
It might be better to stop dispatching paste event in any browsers and request
to change each web apps.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 07:28:55 +00:00
Boris Zbarsky 4dffd37187 Bug 1363208 part 6. Remove the NonOrdinaryGetPrototypeOf annotation. r=peterv
We can just check for a non-global object (so excluding Window) with cross-origin properties.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 03:33:16 +00:00
Tim Nguyen 60a5143df0 Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 22:42:24 +00:00
Andreea Pavel 95431afe85 Backed out 1 changesets (bug 1241885) for build bustages on a CLOSED TREE
Backed out changeset 176be7000d33 (bug 1241885)
2019-01-18 23:49:55 +02:00
Tim Nguyen 495df7ddea Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 16:51:08 +00:00
Cosmin Sabou 60cdb39ab6 Backed out 2 changesets (bug 1516022) for mochitest failures on browser_editcontrols_update. CLOSED TREE
Backed out changeset 4fae3add610f (bug 1516022)
Backed out changeset c683fbe0b984 (bug 1516022)
2019-01-16 21:59:55 +02:00
Mike Conley 06eed2277d Bug 1516022 - promiseDocumentFlushed should ensure no subframes need flushing before running the callback. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D16092

--HG--
extra : moz-landing-system : lando
2019-01-16 18:37:44 +00:00
Mike Conley a3bc11c363 Bug 1519407 - Add documentation to Window.webidl about promiseDocumentFlushed and subframe swaps. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D16471

--HG--
extra : moz-landing-system : lando
2019-01-15 21:38:31 +00:00
Nico Grunbaum 3cb1b02e77 Bug 1347070 - add qpSum to RTC outbound RTP stats r=jib,smaug
This adds qpSum to RTC outbound RTP stats

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

--HG--
extra : moz-landing-system : lando
2019-01-15 21:26:05 +00:00
Timothy Guan-tin Chien 0b0be9c1f9 Bug 1518664 - Make special casting properties available to UA Widget r=smaug
They are needed so the chrome script (CastingApp.js) can read back the state
of the video element.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 09:20:55 +00:00
Oana Pop Rus c42c2ac75f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 11:39:31 +02:00
alwu 8632d7588c Bug 1506290 - part1 : implement 'document.autoplayPolicy'. r=baku,cpearce
`document.autoplayPolicy` returns a enum string that can change overtime based on user session activity:

- “allowed” if autoplay is currently allowed.
- “allowed-muted” if muted video autoplay is currently allowed.
- “disallowed” is autoplay is not current allowed.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 00:13:34 +00:00
Alastor Wu 0f15935379 Bug 1513733 - part3 : add test. r=baku,karlt
Add test and mochitest-only function in document.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:45:31 +00:00
Razvan Maries 642dd2cc11 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-11 17:33:16 +02:00
Christoph Kerschbaumer fbb4bafd5c Bug 1513241: Update loadURI interface and pass a loadURIOptions dictionary from frontend to docshell loads. r=bz 2019-01-11 12:43:39 +01:00
Arnaud Bienner 0de7c09e8d Bug 1501709 - AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11741

--HG--
extra : moz-landing-system : lando
2019-01-10 18:45:38 +00:00
Henri Sivonen 2daf725240 Bug 1514664 - Implement TextEncoder.encodeInto(). r=emk. 2019-01-11 12:35:17 +02:00
Matthew Noorenberghe 9fd4c34227 Bug 1477798 - Expose whether a fieldName should be automatically persisted on getAutocompleteInfo(). r=baku
This allows us to centralize the logic about which field names are "sensitive" and shouldn't be saved in things like form history or session history.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:48:39 +00:00
Andrea Marchesini 5cbe7e145a Bug 1520422 - Entries API should not use callback inferfaces, r=Ms2ger 2019-01-22 10:29:49 +01:00
Neil Deakin cb10352f4b Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo
--HG--
rename : dom/webidl/TreeBoxObject.webidl => dom/chrome-webidl/XULTreeElement.webidl
rename : layout/xul/tree/TreeBoxObject.cpp => dom/xul/XULTreeElement.cpp
rename : layout/xul/tree/TreeBoxObject.h => dom/xul/XULTreeElement.h
2018-12-04 11:25:30 -05:00
Neil Deakin 2a969e45de Bug 1482389, remove deprecated getCellAt and getCoordsForCellItem methods from TreeBoxObject, r=peterv 2018-12-04 11:24:16 -05:00
Masayuki Nakano ed2040ac16 Bug 1447239 - Implement InputEvent.inputType r=smaug
This patch implements InputType.inputType which is declared by Input Events.
The attribute has already been implemented by Chrome and Safari.  Chrome
implements Input Events Level 1, but Safari implements Input Events Level 2.
 Difference between them is only whether it supports "insertFromComposition",
"deleteByComposition" and "deleteCompositionText".  This patch makes the
level switchable with pref and takes Level 1 by default because Level 2 is
still unstable around event order with composition events.

For reducing string copy cost at dispatching "input" event, this patch
makes EditorInternalInputEvent store valid input-type as enum class,
EditorInputType and resolves it to string value when
dom::InputEvent::GetInputType() is called.  Note that the reason why
this patch names the enum class as EditorInputType is, there is InputType
enum class already for avoiding conflict the name, this appends "Editor"
prefix because "input" and "beforeinput" events are fired only when an
editor has focus.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:10:57 +00:00
Brian Hackett c73140a5cf Bug 1177346 Part 1 - Add setSuppressedEventListener interface, r=smaug.
--HG--
extra : rebase_source : a01b747e49f06fe6ef7724e38648ea28601b2793
2019-01-03 06:39:12 -10:00
Andrea Marchesini 467a80d06b Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 2 - Cleanup Flash classification, r=dimi, r=edgar 2019-01-04 14:45:53 +01:00
Edgar Chen 1990d76d46 Bug 1425685 - Implement HTMLSlotElement.assignedElements(); r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15653

--HG--
extra : moz-landing-system : lando
2019-01-03 19:14:12 +00:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Peter Van der Beken 066d891adb Bug 1353867 - Add cross-process proxies for WindowProxy. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12656

--HG--
extra : moz-landing-system : lando
2019-01-02 13:29:18 +00:00
Emilio Cobos Álvarez 63814207cb Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15498

--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00
Bogdan Tara 3eb2f351ae Backed out 6 changesets (bug 1353867) for nsDocShell.cpp failures CLOSED TREE
Backed out changeset aa9b106b15d9 (bug 1353867)
Backed out changeset 8c05f4d3f7ad (bug 1353867)
Backed out changeset 00869bed4121 (bug 1353867)
Backed out changeset 700aeb906fd2 (bug 1353867)
Backed out changeset 8b60851b93da (bug 1353867)
Backed out changeset ebdf4531b3bd (bug 1353867)
2018-12-31 17:47:12 +02:00
Peter Van der Beken e25810f1d4 Bug 1353867 - Add cross-process proxies for WindowProxy. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12656

--HG--
extra : moz-landing-system : lando
2018-12-31 12:44:07 +00:00
Jan-Ivar Bruaroey c8bbcb8047 Bug 1321221 - Implement getDisplayMedia() and update related wpt tests. r=pehrsons,smaug
Differential Revision: https://phabricator.services.mozilla.com/D15058

--HG--
extra : moz-landing-system : lando
2018-12-28 03:12:57 +00:00
Emilio Cobos Álvarez b0bc11783b Bug 1513658 - Implement DocumentOrShadowRoot.node(s)FromPoint. r=smaug
ChromeOnly for now, needs tests that I'll make sure to land with.

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

--HG--
extra : moz-landing-system : lando
2018-12-24 12:33:22 +00:00
Olli Pettay 34fc8f6cc6 Bug 1330228 - Expose a chrome-only API indicating whether an <input> was ever type=password r=baku
Cache whether an input was ever type=password so consumers can handle sites which toggle password visibility and don't want to save the value of the field.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 16:43:23 +00:00
Alastor Wu 862fdf36a9 Bug 1511235 - part3 : ensure video is visible before starting test r=jya,baku
Add testing function to know whether video is visible or not.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 06:40:10 +00:00
alwu 16fe01f1fd Bug 1511235 - part2 : add test. r=jya,baku
Add new webidl method for testing only and a test.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 20:01:46 +00:00
Jan Henning af9bb8e48e Bug 1478776 - Part 5: Define Visual Viewport event handlers. r=botond,Ehsan
As per https://wicg.github.io/visual-viewport/#the-visualviewport-interface.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 17:08:47 +00:00
Cameron McCormack 115eddc306 Bug 1515800 - Rename some more GetCurrentTime methods to avoid winbase.h bustage r=birtles,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D15167

--HG--
extra : moz-landing-system : lando
2018-12-21 05:37:58 +00:00
Nico Grunbaum bb1557ee1c Bug 1380555 - remove deprecated WebRTC RTP stat isRemote in favor of new stat types r=jib,smaug
Removes RTP stat field isRemote and adds the new types remote-inbound-rtp, and remote-outbound-rtp

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

--HG--
extra : moz-landing-system : lando
2018-12-21 02:35:58 +00:00
Narcis Beleuzu 1110297dc8 Backed out changeset ccb218cd2d87 (bug 1380555) for mozlint failure on PeerConnection.js . CLOSED TREE 2018-12-21 04:20:58 +02:00