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

74242 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 788397fa22 Bug 1458016: Fix bad cast to Text. r=bz
I think it's harmless security-wise, since Text and char data are both
nsIContent, so the vtable offset should be the same.

I could also just do AsContent(), which may be cleaner but involve a virtual
call, or add AsCharacterData(), just let me know.

MozReview-Commit-ID: 79I9CuCmioF

--HG--
extra : rebase_source : 59bcd64ee4ae4d444a4dbeed9b5ecf97455c4422
2018-04-30 22:03:33 +02:00
arthur.iakab fe24b0fd35 Merge mozilla-central to autoland 2018-05-01 01:18:08 +03:00
arthur.iakab a4b709fedc Merge inbound to mozilla-central a=merge 2018-05-01 00:57:17 +03:00
Tiberius Oros ebaa12c45e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-30 12:58:12 +03:00
Matthew Gregan 81d70e03c7 Bug 1427011 - Disable default device switching in libcubeb's WASAPI backend. r=padenot 2018-04-30 19:59:32 +12:00
Andreea Pavel 66f222b56d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-28 20:42:49 +03:00
Andreea Pavel 443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
shindli 0282dea08c Backed out 2 changesets (bug 1439330) for wpt3 failures in /content-security-policy/script-src/script-src-strict_dynamic_eval.html on a CLOSED TREE
Backed out changeset 254e0c58f80f (bug 1439330)
Backed out changeset f9abb3479fdd (bug 1439330)
2018-04-28 19:33:32 +03:00
Robert Longson dac58f515c Backout Bug 149075 - While it is compatible with the SVG specification, all other browsers allow it 2018-04-28 16:09:38 +01:00
vinoth f079c17f68 Bug 1439330 - Test added to check if eval is blocked if 'strict-dynamic' is enabled. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D1011
2018-04-28 09:54:40 -04:00
vinoth b48df201fc Bug 1439330 - Condition added to block eval if only strict-dynamic is present without unsafe-eval keyword. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D859
2018-04-28 09:53:25 -04:00
Olli Pettay 30938bcddd Bug 1430020, let sequential focus navigation in shadow DOM enter iframes, r=mrbkap
--HG--
extra : rebase_source : 0ca436dfc8b28a680bdb393f0f9ce8ae0632bd9a
2018-04-28 16:07:06 +03:00
Hiroyuki Ikezoe 549813ca2d Bug 1456372 - Use GetWebRenderBridge() in nsDOMWindowUtils::GetOMTAStyle(). r=kats
We can directly get WebRenderBridgeChild by the function.

MozReview-Commit-ID: 6o4ZJMN2xAn

--HG--
extra : rebase_source : ba410297ad30f0bec00b1c65123b722d0b2869dd
2018-04-30 10:26:52 +09:00
Alex Chronopoulos 1987465bc5 Bug 1456259 - Correct AnalyserNode construction issues. r=padenot,smaug
MozReview-Commit-ID: 2gMZAMonS2F

--HG--
extra : rebase_source : 996e99cd0f62f75ea1e13820ec9c9f72fed52212
2018-04-26 16:32:52 +02:00
Alex Chronopoulos 0c25a4d6cc Bug 1457013 - Update AudioBuffer mochitest to expect not supported error. r=padenot
MozReview-Commit-ID: 1jxh9GZZnXj

--HG--
extra : rebase_source : 21a9f3e0d3aa5654af800a90bbff682873fc96f4
2018-04-27 18:16:43 +02:00
Alex Chronopoulos ea99979765 Bug 1457013 - In AudioBuffer return NOT_SUPPORTED error message for various cases to align with the spec. r=padenot
MozReview-Commit-ID: LdT7rwSK4D0

--HG--
extra : rebase_source : a7fad8a90f4d3ed21ae8346aecf8f0c690a08285
2018-04-26 17:15:53 +02:00
Emilio Cobos Álvarez 981bc1c766 Bug 1457166: Fire online / offline events at the window. r=bz
MozReview-Commit-ID: 2v5zNwM9qSh
2018-04-28 09:38:53 +02:00
Kris Maglione bf4d9f1be5 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt

--HG--
extra : rebase_source : 5fff3d9973a0ea976096339a63ce9ff628b68441
2018-04-23 12:58:34 -07:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Csoregi Natalia 96dbf29680 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-28 00:56:47 +03:00
Csoregi Natalia 12af4303ff Merge inbound to mozilla-central. a=merge 2018-04-28 00:53:15 +03:00
Michal Novotny ee8f43208a Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab
When writing to alt-data output stream fails for whatever reason, we now try to
truncate alternative data and keep the original data instead of dooming the
whole entry. The patch also changes how is the predicted size passed to the
cache. Instead of a dedicated method it's now an argument of openOutputStream
and openAlternativeOutputStream methods which fail in case the entry would
exceed the allowed limit.
2018-04-25 07:01:00 +03:00
Brindusan Cristian 93d1017e0f Backed out changeset b543167ab064 (bug 1457166) for mochitest failures on test_bug336682_1.html CLOSED TREE 2018-04-27 15:44:00 +03:00
Emilio Cobos Álvarez 28b9b16ea6 Bug 1457166: Fire online / offline events at the window. r=bz
MozReview-Commit-ID: 2v5zNwM9qSh
2018-04-27 13:39:02 +02:00
Cosmin Sabou db4c6f9696 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-27 13:13:54 +03:00
Cosmin Sabou 68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
Olli Pettay fed24455b6 bug 1430692, Handle focus navigation on NAC in shadow DOM, r=mrbkap
--HG--
extra : rebase_source : c56c2be2fbf0aa04e520262a419fd49823aad012
2018-04-27 12:37:43 +03:00
Robert Longson e8cda31517 Bug 1457351 - color attribute should apply to filters. r=heycam 2018-04-27 07:35:43 +01:00
Boris Zbarsky 1cbc813260 Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
Boris Zbarsky 76ead58490 Bug 1455674 part 19. Get rid of JS uses of nsIDOMElement. r=qdot
In nsBlocklistService.js we know we're dealing with actual nodes, so .nodeType
checks should be fine.
2018-04-26 23:37:34 -04:00
Boris Zbarsky 25aa42d9a4 Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
Boris Zbarsky 93af0eea13 Bug 1455674 part 14. Remove use of nsIDOMElement in layout. r=qdot 2018-04-26 23:37:33 -04:00
Boris Zbarsky 6bf97b61c0 Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
Boris Zbarsky ba064862db Bug 1455674 part 12. Remove nsIDOMElement use from xpidl in layout. r=mossop 2018-04-26 23:36:30 -04:00
Boris Zbarsky 786ad6bda7 Bug 1455674 part 11. Remove nsIDOMElement use from xpidl in toolkit. r=mossop 2018-04-26 23:36:30 -04:00
Boris Zbarsky 914f11a6d2 Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
Boris Zbarsky ffa08d7425 Bug 1455674 part 9. Remove nsIDOMElement use from nsIFocusManager. r=qdot 2018-04-26 23:35:19 -04:00
Boris Zbarsky f33eebd4cb Bug 1455674 part 8. Remove nsIDOMElement use from nsIDOMWindowUtils. r=qdot 2018-04-26 23:35:19 -04:00
Boris Zbarsky dd4506eee2 Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8 2018-04-26 15:28:31 -04:00
Boris Zbarsky 4773c6d1d9 Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8 2018-04-26 15:28:30 -04:00
Olli Pettay a055a5fc0d Bug 1444285, let custom element upgrades to use backup queue inside chrome/XBL, r=mrbkap
--HG--
extra : rebase_source : 73d484bf9cae0168c4a1dc478ad8d1ccd5eed93f
2018-04-27 02:08:27 +03:00
shindli af700315a1 Backed out 2 changesets (bug 1457155, bug 1457156) for B failures in builds/worker/workspace/build/src/dom/html/HTMLObjectElement.cpp on a CLOSED TREE
Backed out changeset 8b2a6b54336c (bug 1457155)
Backed out changeset 4e267d999797 (bug 1457156)
2018-04-27 01:34:37 +03:00
Boris Zbarsky 25cec96459 Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8 2018-04-26 15:28:31 -04:00
Boris Zbarsky cb54ece0d5 Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8 2018-04-26 15:28:30 -04:00
Ben Kelly a8a8ca5548 Bug 1456981 Use DOMMozPromiseRequestHolder in ServiceWorkerContainer. r=baku 2018-04-26 13:53:20 -07:00
Ben Kelly 5da710f4ea Bug 1456466 P5 Make ServiceWorkerRegistration::Update() use DOMMozPromiseRequestHolder. r=baku 2018-04-26 13:52:30 -07:00
Ben Kelly c4abfe7ba3 Bug 1456466 P4 Make service worker MozPromise types reject with CopyableErrorResult. r=baku 2018-04-26 13:52:30 -07:00
Ben Kelly 45a9b54c7a Bug 1456466 P3 Fix tests to expect ServiceWorkerRegistration.update() to resolve with a registration. r=baku 2018-04-26 13:52:30 -07:00
Ben Kelly 9368ba6249 Bug 1456466 P2 Make ServiceWorkerRegistration::Inner::Update() use MozPromise and IPC-safe types. r=baku 2018-04-26 13:52:28 -07:00
Ben Kelly a97766c64b Bug 1456466 P1 Expose a GetPrincipal() convenience method on service worker descriptor classes. r=baku 2018-04-26 13:52:28 -07:00