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

74461 Коммитов

Автор SHA1 Сообщение Дата
vinoth ea1f6cdedb 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-05-07 14:59:51 -04:00
Emilio Cobos Álvarez e6040e95d1 Bug 1459688: Properly traverse the stylesheet list of the shadow root. r=smaug
This is sound because the unlink implementation of the stylesheet drops the
preserved wrapper, and there are no strong references back to any node from the
stylesheet or any of the non-unlinked members.

This almost is the same setup that works for document sheets. We need to account
for a double reference in case the sheet is applicable because Servo keeps
another reference to it in that case, instead of in the StyleSet / PresShell.

Added the testcase as a crashtest, in the hopes that if it regresses leak
reporting on automation will catch it.

MozReview-Commit-ID: Kcc5oaOvP9A
2018-05-07 20:42:20 +02:00
Tim Taubert 368a1dde38 Bug 1458755 - Web Authentication - Copy flag bits 0 & 1 for Sign operations r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1458755

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

--HG--
extra : amend_source : 349a05210460beefbfe0dcc3e3f36885bb02246c
2018-05-07 11:23:10 +02:00
Narcis Beleuzu 03f91b79ef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-07 12:11:06 +03:00
Narcis Beleuzu 2b99556758 Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
Narcis Beleuzu f76ef214fb Merge inbound to mozilla-central. a=merge 2018-05-07 11:55:22 +03:00
Emilio Cobos Álvarez 6553891e16 Bug 1459528: Remove nsXULPrototypeDocument::{Set,Get}HeaderData. r=heycam
MozReview-Commit-ID: BMZNOyBG4RC
2018-05-07 10:36:00 +02:00
Emilio Cobos Álvarez d6f7b1d2f5 Bug 1459497: Refactor the preferred style set stuff in order to move the state away from the loader. r=heycam
The main thing to have into account is that the styleset to use is either
mLastStyleSheetSet, or mPreferredStyleSheetSet.

This last one gets set from Loader::IsAlternateSheet, which is quite nasty and
what I'm trying to remove.

MozReview-Commit-ID: BI4P1Chqtli
2018-05-07 03:55:36 +02:00
Emilio Cobos Álvarez 14dba54ee1 Bug 1459401: Remove unused container argument in EventStateManager::ContentRemoved. r=smaug
MozReview-Commit-ID: HAuTfzuo3iY
2018-05-06 16:38:30 +02:00
Kearwood Gilbert 612a66cbd0 Bug 1459362 - Disable WebVR in release on macOS (Backed out changeset 1b24d52edebb) r=smaug
MozReview-Commit-ID: BMuGwXYP750

--HG--
extra : rebase_source : 504ddec40e851c216dbb4fd0ca95756e3c895ea8
2018-05-04 17:14:39 -07:00
Emilio Cobos Álvarez 27ca8b58c8 Bug 1458814: Remove code that is no longer called. r=hiro
Au revoir!

MozReview-Commit-ID: DjqszUSIzXs
2018-05-05 16:31:20 +02:00
Emilio Cobos Álvarez ceca84ff64 Bug 1458814: Remove a bit of trivially dead code. r=hiro
MozReview-Commit-ID: GG41v4TejBU
2018-05-05 16:31:19 +02:00
Emilio Cobos Álvarez d7f92df0f2 Bug 1458814: Make SMIL values not roundtrip through strings. r=hiro
MozReview-Commit-ID: DpbFSutIv3t
2018-05-05 16:31:17 +02:00
Csoregi Natalia d69aac5687 Merge inbound to mozilla-central. a=merge 2018-05-05 12:47:28 +03:00
Olli Pettay 96c6253308 Bug 1449560 - clear event.target and .relatedTarget in case they would otherwise reveal targets in shadow DOM, r=bz 2018-05-05 02:21:15 +03:00
Brindusan Cristian 2d54f42738 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-05 00:43:22 +03:00
Brindusan Cristian 89a097be09 Merge inbound to mozilla-central. a=merge 2018-05-05 00:35:50 +03:00
Thomas Wisniewski 870d5a37fa Bug 1405552 - Do not expose FileReaderSync to serviceworkers, to match the spec; r=baku,bkelly
MozReview-Commit-ID: 1EJbrt8TXiq

--HG--
extra : rebase_source : 0559794bbdc1736f67bcee416001d2f56779b542
2018-05-04 09:28:13 -04:00
Cosmin Sabou 603420de74 Backed out 3 changesets (bug 1452536) for causing crashes bug 1458166. a=backout
Backed out changeset 1259c5bc20a7 (bug 1452536)
Backed out changeset c454505cc025 (bug 1452536)
Backed out changeset 006f976d7963 (bug 1452536)
2018-05-04 20:56:41 +03:00
Cosmin Sabou dc4e10c449 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Ben Kelly 56feba67de Bug 1456986 Make ServiceWorker::Inner::PostMessage() use StructuredCloneData. r=baku 2018-05-04 06:38:52 -07:00
Ben Kelly c6174cef5a Bug 1458970 Avoid accessing mClientSource when a worker is Terminating in more places. r=baku 2018-05-04 06:35:36 -07:00
Ben Kelly 2e65d96a69 Bug 1458953 Remove a verbose warning from ServiceWorkerRegistrationImpl. r=baku 2018-05-04 06:34:41 -07:00
Andrea Marchesini b4b5d38767 Bug 1458883 - Remove File.lastModifiedDate, r=qdot 2018-05-04 14:39:53 +02:00
Tim Taubert c9c8df1225 Bug 1459174 - Web Authentication - Use sha2 crate instead of rust-crypto for example/main r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1459174

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

--HG--
extra : amend_source : bbd971da279930b9689dd282804f5f14e9d65991
2018-05-04 14:33:46 +02:00
Tim Taubert c6c270b3f6 Bug 1459173 - Web Authentication - rustfmt u2f-hid-rs r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1459173

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

--HG--
extra : amend_source : a23a6a2a00f31b8cb3b14c323917aec7b9a660b7
2018-05-04 14:28:20 +02:00
Andreas Farre 21d26b0afe Bug 1450066 - Fall back to 0 if setInterval interval not supplied. r=bkelly
--HG--
extra : rebase_source : 55bacede7cacd5b18f710a303acf077e777e817b
2018-05-03 06:20:00 +03:00
Cosmin Sabou 2f93cbd6cb Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Olli Pettay 7721939208 Bug 1457867, remove useless virtual, r=bustage, CLOSED TREE 2018-05-04 20:01:32 +03:00
Olli Pettay ed65a2bfc8 bug 1457867, store DOMEventTargetHelper objects in global object as a linked list, r=bkelly
--HG--
extra : rebase_source : 415c03249bae1edc4313bcf15f91716a748565f9
2018-05-04 19:25:05 +03:00
Dão Gottwald b0f0c31ea8 Bug 1456611 - Remove insertItemAt and removeItemAt methods from XUL widgets. r=enn
MozReview-Commit-ID: BaChYp8bBbI
2018-04-24 21:42:26 +02:00
shindli 8fad8a2218 Merge inbound to mozilla-central. a=merge 2018-05-04 11:35:37 +03:00
Noemi Erli 6e6ddaaf1f Backed out 4 changesets (bug 1458814) for failres in builds/worker/workspace/build/tests/reftest/tests/layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-pct-pct.svg on a CLOSED TREE
Backed out changeset d0990dff4fc4 (bug 1458814)
Backed out changeset c61d211a9f1d (bug 1458814)
Backed out changeset e7f7ea7ab4af (bug 1458814)
Backed out changeset 9ac18a3eeaa5 (bug 1458814)
2018-05-04 08:39:52 +03:00
Jan Varga 9f92306824 Bug 1411908 - Part 2: Wait for all factory operations to finish when shutting down; r=asuth 2018-05-04 06:32:23 +02:00
Jan Varga ba5642c8cd Bug 1411908 - Part 1: Wait for all live database objects to finish when shutting down; r=asuth 2018-05-04 06:32:11 +02:00
Ciure Andrei 82f7c496dc Merge inbound to mozilla-central. a=merge 2018-05-04 00:52:04 +03:00
Andrea Marchesini a8e0f09bb6 Bug 1452950 - Make IPCBlobInputStream thread-safe, r=smaug 2018-05-03 18:41:26 +02:00
Andrea Marchesini 7797a22378 Bug 1429127 - Workers should allow the loading of file URLs if they are on the same directory of the loader - tests, r=smaug 2018-05-03 17:42:58 +02:00
Andrea Marchesini 34a52976b2 Bug 1429127 - Workers should allow the loading of file URLs if they are on the same directory of the loader, r=smaug 2018-05-03 17:42:58 +02:00
Andrea Marchesini 5c5b562242 Bug 1458821 - Rename nsIAsyncFileMetadata.asyncWait to asyncFileMetadataWait, r=smaug 2018-05-03 17:03:17 +02:00
Andrea Marchesini b4926a31d2 Bug 1458836 - No needs to inform WorkerHolders when in Closing state, r=bkelly 2018-05-03 17:03:13 +02:00
Eugen Sawin 8bee753352 Bug 1458687 - [1.0] Remove obsolete isUserTriggered argument in nsContentUtils::TriggerLink. r=smaug 2018-05-03 16:05:34 +02:00
Emilio Cobos Álvarez a3a9886c6b Bug 1458814: Remove code that is no longer called. r=hiro
Au revoir!

MozReview-Commit-ID: DjqszUSIzXs

--HG--
extra : rebase_source : b81bb905449eb1e4d7cbc1094da9a151011b0350
2018-05-03 18:47:47 +02:00
Emilio Cobos Álvarez 0566c42687 Bug 1458814: Remove a bit of trivially dead code. r=hiro
MozReview-Commit-ID: GG41v4TejBU

--HG--
extra : rebase_source : 5dc1f255178ae723eed47ec3fdbd6595fa84da62
2018-05-03 18:41:17 +02:00
Emilio Cobos Álvarez d97d041be2 Bug 1458814: Make SMIL values not roundtrip through strings. r=hiro
MozReview-Commit-ID: DpbFSutIv3t

--HG--
extra : rebase_source : 034bb584fcb3f6b67a6b38f70149e167ba0c300c
2018-05-03 18:27:44 +02:00
Emilio Cobos Álvarez da45aa5fed Bug 1458927: Fix perspective squared distance computation. r=hiro
MozReview-Commit-ID: YwjTheRonB

--HG--
extra : rebase_source : d3734aad5d37dda1ccaf24f1f84e2f0972e45f5d
2018-05-03 17:43:30 +02:00
Ciure Andrei 3a5c693e28 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-04 00:54:35 +03:00
Dorel Luca eb41b7b796 Merge mozilla-central to mozilla-inbound 2018-05-03 13:03:06 +03:00
Dorel Luca 8d9f459c77 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-03 12:58:18 +03:00
Dorel Luca 48f71154c5 Backed out 2 changesets (bug 1457048) for multiple failures. CLOSED TREE
Backed out changeset a5d71f8bf413 (bug 1457048)
Backed out changeset cd70fc188bc8 (bug 1457048)
2018-05-03 08:39:36 +03:00
Gurzau Raul 295c747edd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-03 00:08:38 +03:00
Gurzau Raul 30662c7545 Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
Tom Schuster 5a642e8bf6 Bug 1458449 - Allow FTP subresource in FTP documents. r=ckerschb
--HG--
extra : rebase_source : 035bd3782abb6deeff4aaf1d227ce7197f9234a6
2018-05-02 13:32:08 +02:00
Andrea Marchesini cae9cf0b13 Bug 1458505 - grapping 'self' in mozilla::MakeScopeExit instead of '&' when needed, in HTMLMediaElement, r=me CLOSED TREE 2018-05-03 08:37:27 +02:00
Andrea Marchesini 3ac438523c Bug 1458505 - grapping 'self' in mozilla::MakeScopeExit instead of '&' when needed, in DOM code, r=erahm 2018-05-03 08:09:58 +02:00
Chris Pearce d7eacf6ae5 Bug 1457048 - Ensure origins with autoplay-media exact permission can autoplay. r=bryce,johannh
Sites which are whitelisted should be allowed to autoplay audible media.
So check whether a HTMLMediaElement's owner doc's principal has an exact
"autoplay-media" permission. This ensures whitelisted origins can autoplay,
but sub-origins of whitelisted origins need their own permission.

MozReview-Commit-ID: 2IO5KIyplEa

--HG--
extra : rebase_source : 4d9afdec0caa4a82b53bedfd645f259a5c760e4d
2018-04-30 17:40:50 +12:00
Chris Pearce bf5b9dea2d Bug 1457048 - Test that whitelisted origins are able to autoplay. r=bryce
MozReview-Commit-ID: 9kLIx8MzCY8

--HG--
extra : rebase_source : f58d0010837182ef4d78ea5b2c41eb40d3bda417
2018-04-30 17:40:22 +12:00
Botond Ballo 9033e3e120 Bug 1458063 - Introduce a new wheel action for pinch-zooming. r=kats
MozReview-Commit-ID: 7DWNvQc2pBE

--HG--
extra : rebase_source : 02d3efe180fb1cd6d49ca9b8a49e4051e6e05cac
2018-05-02 16:51:27 -04:00
Botond Ballo 2add094650 Bug 1458063 - Refactor WillHandleWheelEvent() to also indicate the type of action APZ should take. r=kats
MozReview-Commit-ID: LfinNZYqiwt

--HG--
extra : rebase_source : 2ea04360700530e1fbbbaaf94b484b6df2f79fe4
2018-04-30 22:11:10 -04:00
Markus Stange 90d2624508 Bug 1219985 - The canvas rendering context 2d should be opaque if either the moz-opaque attribute is set or if it has been initialized with alpha:false. r=jrmuizel
If the canvas is cleared by setting the width or height attributes, its
opaqueness should not be affected.

This patch keeps support for moz-opaque, and also keeps the behavior that
changing the moz-opaque attribute clears the canvas, even if this does not
affect the actual opaqueness of the canvas.

MozReview-Commit-ID: LOlsJxiP9kc

--HG--
extra : rebase_source : 8bb95b1d5932c39a8085e007f9fd1b88b97afe55
2018-05-02 11:23:53 -04:00
Cosmin Sabou a1f7ce21a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-02 18:07:21 +03:00
Cosmin Sabou 435ba6ef00 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Jean-Yves Avenard f627e9792e Bug 1457960 - P2. Don't make MediaDecoder::Seek virtual. r=bryce
It's unnecessary.

MozReview-Commit-ID: Hau3nb9WLKe

--HG--
extra : rebase_source : d210489cd6a470c7954068306703482342a45092
2018-04-30 19:59:32 +02:00
Jean-Yves Avenard 1e4866d526 Bug 1457960 - P1. make MediaDecoder::Seek returns void. r=bryce
MozReview-Commit-ID: 2pbZprnYqcF

--HG--
extra : rebase_source : b6c521f65be5fb17d7d33b7ed86eb044d4cdfa9f
2018-04-30 19:58:11 +02:00
Jean-Yves Avenard 97cad9b3dd Bug 1456743 - P4. Actual implementation of SourceBuffer.changeType. r=bryce
Currently, the new init segment provided following a call to changeType() must contain the same number of audio and video tracks as previously.

The Chrome team has indicated concerns in regards to this restriction. TBD.

MozReview-Commit-ID: 3S6YVtQILF9

--HG--
extra : rebase_source : 59574301d8d4b6f04fc40a97a0917222f1d42fe4
2018-04-30 19:16:31 +02:00
Jean-Yves Avenard 5616b876de Bug 1456743 - P3. Add SourceBuffer.changeType experimental method. r=bryce,bz
Non functional code.

SourceBuffer.changeType allows to reconfigure a sourceBuffer so that a new codec type or new container format can be fed later.

The new code is placed behind the media.mediasource.experimental.enabled pref.

MozReview-Commit-ID: 5wj6J4uzLbA

--HG--
extra : rebase_source : b6f57246e0a4c856f6365bb0c8ec8d759a770105
2018-04-30 19:13:15 +02:00
Jean-Yves Avenard 422c1d2336 Bug 1456743 - P2. Have MediaFormatReader debug show live audio codec type. r=bryce
Additionally, show the number of channels and the sampling rate.

MozReview-Commit-ID: L067Hbv0bXz

--HG--
extra : rebase_source : 193482c7e96b0094ec4d717a9cc30e371067aa1d
2018-04-30 19:06:06 +02:00
Jean-Yves Avenard e3a0fefdd0 Bug 1456743 - P1. Create mochitest for new SourceBuffer::changeType. r=bryce
MozReview-Commit-ID: 6X8rVMhVY98

--HG--
extra : rebase_source : 52acce9508ce98c43eef6a7500355fa2465c5fe7
2018-04-30 18:59:34 +02:00
Alex Chronopoulos 4b87e8575c Bug 1456266 - In ConstantSourceNode change the default channelCount to align with the spec. r=padenot
MozReview-Commit-ID: 9cvAztPuZic

--HG--
extra : rebase_source : 5c1ce2f40ca199ac5dda174155c74e5212225aa4
2018-05-01 17:46:09 +02:00
Andreea Pavel 7955752872 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-01 13:13:09 +03:00
Mike Shal 507bbb6ecb Bug 1455799 - Make an explicit webidl export target; r=bz,chmanchester
By including codegen.pp and having a target for codegen.pp, we were
relying on make to build out-of-date include files and re-exec itself
after they are built. However, make produces an error if the file does
not exist, which is why this include was changed to a -include in bug
1378965. Unfortunately this means that make ignores not only a
non-existent file, but also any errors in regenerating the target from
the webidl py_action.

Instead we can make a separate stub file target for webidl generation,
and include the codegen.pp that's generated as a side-effect of the
py_action. This way make will fail properly if the webidl generation
fails, and there is no error message about a missing codegen.pp on the
first build.

MozReview-Commit-ID: GjB8zDuMfnL

--HG--
extra : rebase_source : 560b3ae3e60986d7eb3bbabbac0acca67a3a4aff
2018-04-30 12:52:28 -04:00
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
Steve Fink bc4f45a9ba Bug 1456604 - Add DifferentProcessForIndexedDB scope to handle backwards compatibility with SameProcessSameThread clones, r=jorendorff
--HG--
extra : topic : clone.refactor
extra : rebase_source : 7920e35fb4b2370ce6a06cd27579824faabe7bd9
2018-04-24 15:21:47 -07: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
Ben Kelly d4090dc614 Bug 1357463 Add CopyableErrorResult to opt in to auto-cloning ErrorResult values. r=bz 2018-04-26 13:50:56 -07:00
Karl Tomlinson c3c3a90bcb bug 1457058 remove unused GraphDriver::RemoveCallback() r=padenot
MozReview-Commit-ID: 3ZWfWEJ7bko

--HG--
extra : rebase_source : 2bd9b8fd0f87f87905606f5550c9645fbe68b465
2018-04-26 17:50:59 +12:00
Karl Tomlinson aec8bc8a3a bug 1457060 dereference MixerCallback and receiver on separate lines r=padenot
MozReview-Commit-ID: JNltGvA6tMv

--HG--
extra : rebase_source : bbdfc8e0c28a5e7bef26d4765dc95937270730a1
2018-04-26 18:30:31 +12:00
Ben Kelly dd31895639 Bug 1457187 P2 Call NoteTerminating() from WorkerPrivate::NotifyInternal(). r=baku 2018-04-26 09:18:01 -07:00
Ben Kelly 70aa4c4f62 Bug 1457187 P1 Add a DOMMozPromiseRequestHolder helper class to auto-disconnect MozPromise Thenables when the global dies. r=baku 2018-04-26 09:18:01 -07:00
Emilio Cobos Álvarez 081d926e7b Bug 1457026: Teach nsDocumentEncoder about display: contents. r=mats
MozReview-Commit-ID: 5F3qurRHMNM
2018-04-26 18:06:37 +02:00
Emilio Cobos Álvarez e7d5158b29 Bug 1458458: Move setting SMIL override values into nsDOMCSSAttrDeclaration. r=hiro
MozReview-Commit-ID: KkXGtl6vz2L
2018-05-02 18:09:05 +02:00
Ben Kelly 8ffadd093a Bug 1457157 P5 Make ClientManager keep its actor alive until the worker reaches Terminating. r=baku 2018-05-02 06:29:27 -07:00
Ben Kelly 173b706d4d Bug 1457157 P4 Use DOMMozPromiseRequestHolder in ClientSource. r=baku 2018-05-02 06:29:27 -07:00
Ben Kelly 24a39442fe Bug 1457157 P3 Replace ClientHandleOpChild MozPromise direct std::function callbacks. r=baku 2018-05-02 06:29:27 -07:00
Ben Kelly 00d42d9d6b Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku 2018-05-02 06:29:26 -07:00
Ben Kelly 0ece66c8ff Bug 1457157 P1 Use DOMMozPromiseRequestHolder in the clients API binding objects. r=baku 2018-05-02 06:29:26 -07:00
Ben Kelly d269a40f2e Bug 1457157 P0 Don't call DisconnectFromOwner() in DOMMozPromiseRequestHolder::Complete(). r=baku 2018-05-02 06:29:26 -07:00
Kyle Machulis 54713b5c80 Bug 1433221 - Revert changes to classid checks for object tags; r=bz
As part of applet/java plugin removal in bug 1279218, classid checking
was removed, as it was not obvious that this was used anywhere other
than java plugins. The classid is still a valid attribute on object
tags (and is sometimes used on tags for flash embedding). We want
to use a fallback strategy when we find objects with classid
attributes, as we don't support them, meaning we need to revert our
prior removal of the check.

MozReview-Commit-ID: BKQ34HGTkvt

--HG--
extra : rebase_source : 671bc831a7b500ba1a5643a8dbae69dd0c44acf4
2018-04-30 21:53:48 -07:00
Jean-Yves Avenard 7c6fc40c1a Bug 1458566 - Make MediaDecoder::Play() return void. r=bryce
MediaDecoder::Play() cannot fail and was always returning NS_OK

MozReview-Commit-ID: 7OgwZQw569Y

--HG--
extra : rebase_source : 907f6304df42640ccd03e8d144fe89cd748eec07
2018-05-02 17:27:27 +02:00
Alex Gaynor fda419d39c Bug 1457899 - use IPC_FAIL_NO_REASON instead of KillHard in ContentParent::RecvFileCreationRequest; r=baku
MozReview-Commit-ID: LoO4Kxh7aZn

--HG--
extra : rebase_source : 73f35ed36903878b27fcf8e0b44eb310f8a960a0
extra : source : a8dea58b54da6e4a6f124b4ca0c2215048a3b35b
2018-04-27 14:58:59 -04:00
Alex Gaynor 8a6d2c1753 Bug 1457208 - use IPC_FAIL_NO_REASON instead of KillHard in ContentParent::RecvPlaySound; r=mikedeboer
MozReview-Commit-ID: 1qixpl6qshu

--HG--
extra : rebase_source : c5b34a15eebf85806d8f7e70b11058bace0990e0
extra : source : 09fb4b50b043f8260e88309d0b89dd4aaf8862ad
2018-04-26 09:35:18 -04:00
Alex Chronopoulos dbb6212da3 Bug 1458979 - Update AudioBuffer's throw errors according to spec. r=dminor
MozReview-Commit-ID: GtDHG1evFfD

--HG--
extra : rebase_source : 31755230b4207e55d7a4cea0bcbaa884b9b84fb5
2018-05-04 14:49:10 +02:00
Brad Werth 809981099e Bug 1436431 Part 4: Disable and update an existing mochitest of find-in-page. r=bz
The changes made to this test make the test failure messages more useful. The
test is disabled because the test fails on some platforms. The failures seem
to indicate that, after a Find for text with multiple matches, the match that
is selected is not the first match after the currently highlighted text. Other
expected success indicators like total number of matches are correct.
Bug 1458393 has been opened to investigate this differing behavior and
re-enable the test.

MozReview-Commit-ID: 8Jwr9mKNzGr

--HG--
extra : rebase_source : a8a79a85e08dc5fdc7efe6b14f74a9bd18cb8864
2018-04-27 10:56:39 -07:00
Brad Werth 1be59957e9 Bug 1456590 Part 2: Update test expectations to check that names from implicit named areas are not assigned to lines. r=mats
MozReview-Commit-ID: Bn3zGWkYSup

--HG--
extra : rebase_source : b462cc029b92d18ac63a7b6582c3dcf2d38c2056
2018-05-02 16:38:02 -07:00
Brad Werth 33507e6126 Bug 1456590 Part 1: Omit line names from implicitly named areas, to avoid confusion. r=mats
MozReview-Commit-ID: 3vK2MUeEuqw

--HG--
extra : rebase_source : 52b948982757381deed80879917135c887103b2b
2018-05-02 16:24:20 -07:00
Alex Chronopoulos 16cac69ac6 Bug 1458673 - In start and stop methods of AudioBufferSourceNode change the throw error to align with the spec. r=dminor
MozReview-Commit-ID: 7CwazXg1JWm

--HG--
extra : rebase_source : 5c84a5a652d8114c0fe99db584a63732b3ffd420
2018-05-03 11:40:34 +02:00
Csoregi Natalia aa73cfd14b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-28 00:55:43 +03:00
Kartikaya Gupta 549ac4326c Bug 1457443 - Don't expect WebRender windows if WebRender isn't built. r=milan
MozReview-Commit-ID: 2i25nGMsvxE

--HG--
extra : rebase_source : 9bdd28048504bcde5150b252777f46ab523ca1ff
2018-04-27 12:51:40 -04:00
Cosmin Sabou 6b8c87c819 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 13:12:22 +03:00
Paul Adenot b7f37d63fd Bug 1457137 - Move instead of copying strings returned from various GetDebugInfo functions for HTMLMediaElement::MozDumpDebugInfo. r=gerald
MozReview-Commit-ID: LbZ0cWe7yb0

--HG--
extra : rebase_source : 31946e6dcfd2f750e16437f5876f29c851698b9f
extra : source : 4fd9b0ce611c4ad4ecbec1aace1777944214212a
2018-04-26 15:57:39 +02:00
Mark Banner 88e4fd5825 Bug 1456076 - Update ESLint to 4.19.1 & eslint-plugin-html to 4.0.3. r=mossop
MozReview-Commit-ID: Gs6T8AsLPPo

--HG--
extra : rebase_source : bf189ef047294ea405d8e7628eae94daa6d93e89
2018-04-23 11:33:31 +01:00
Eric Rahm 51ccde5982 Bug 1453525 - Remove OOM check of infallible method. r=mccr8
--HG--
extra : rebase_source : 2cbe66638e3a77417414bd8ca3ae9e7bf37d5b2c
2018-04-11 17:09:55 -07:00