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

85351 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 624de194fe Bug 1565110 - Rename abc.def and ghi.jkl prefs as dom.webidl.test[12]. r=bzbarsky
Depends on D37669

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

--HG--
extra : moz-landing-system : lando
2019-07-12 04:39:12 +00:00
Gijs Kruitbosch b5b5d6a0ab Bug 1560178 - fix miscellaneous tests to allow them to keep working when disallowing remote content in the parent process, r=aswan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36310

--HG--
extra : moz-landing-system : lando
2019-07-12 16:27:58 +00:00
Csoregi Natalia fcccd2b6b0 Merge mozilla-central to autoland. CLOSED TREE 2019-07-12 02:06:45 +03:00
Csoregi Natalia d7d499fe52 Merge inbound to mozilla-central. a=merge 2019-07-12 02:00:51 +03:00
Brindusan Cristian 73b4ae530d Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-11 19:23:36 +03:00
Michael Froman c0b45a73e5 Bug 1560366 - add WAV decoding on RDD. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D37619

--HG--
extra : moz-landing-system : lando
2019-07-11 19:43:56 +00:00
Tom Schuster cb66417b55 Bug 1523706 - Use JavaScript mime type for two worker tests. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37713

--HG--
extra : moz-landing-system : lando
2019-07-11 13:26:39 +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
Christoph Kerschbaumer cb21dac12a Bug 1565249: Remove self inclusion of WorkerCSPEventListener. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37748

--HG--
extra : moz-landing-system : lando
2019-07-11 16:48:51 +00:00
Bryce Van Dyk ea20dbf0b2 Bug 1560092 - Create decoder for encrypted h264 media even if an SPS is not found. r=jya
If an mp4 uses the AVC3 sample format then extra data will be stored in sample
data rather than in metadata. In encrypted streams the metadata is unencrypted
but samples are typically encrypted. If all samples are encrypted and the only
SPS data is in samples then the MediaChangeMonitor will never observe any SPS
data.

This updates the MediaChangeMonitor so that it will not try and inspect h264
content once encryption is detected and relies on the CDM to handle such
content.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 16:29:18 +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
Csoregi Natalia 35c91265f9 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-12 02:09:04 +03:00
Jeff Gilbert a4edc05171 No bug - clang-format dom/canvas, gfx/[gl,layers,webrender_bindings]. 2019-07-11 15:36:44 -07: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
Andrea Marchesini d261515486 Bug 1563950 - Worker threads should run with a normal priority, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37694

--HG--
extra : moz-landing-system : lando
2019-07-11 10:49:55 +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
Tarek Ziadé 358d1707a7 Bug 1561404 - Ensure thread safety r=jya
Adds a lock in MediaCacheStream::SizeOfExcludingThis to prevent a race
condition with MediaCache::NoteSeek

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

--HG--
extra : moz-landing-system : lando
2019-07-11 12:15:24 +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
Kagami Sascha Rosylight 8d91017fdb Bug 928150: Implement canvas getTransform() and setTransform() r=bzbarsky
Adds getTransform() and setTransform() to CanvasRenderingContext2D.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 06:14:58 +00:00
John Lin 95099600d5 Bug 1563734 - always sync session ID from remote decoder. r=jya
In bug 1552607/D36382, RemoteDataDecoder always increases session ID but
CodecProxy only performs flush IPC when neccessary. This will cause the
ID numbers out of sync and prevent remote decoder from receiving any
more input. By reading the session ID in dequeued input samples, the
numbers can always be in sync.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 07:25:30 +00:00
Agi Sferro 4ea8939322 Bug 1561964 - Re-enable all tests in dom/security/test on Android. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37488

--HG--
extra : moz-landing-system : lando
2019-07-15 19:42:38 +00:00
Boris Zbarsky 374137e8d8 Bug 1565767 part 5. Remove some unnecesary refcounting at nsIContent::GetBaseURI callsites. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37973

--HG--
extra : moz-landing-system : lando
2019-07-15 18:29:05 +00:00
Boris Zbarsky 75aa8f554d Bug 1565767 part 4. Remove some unnecesary refcounting at Document::GetBaseURI callsites. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37972

--HG--
extra : moz-landing-system : lando
2019-07-15 18:28:43 +00:00
Boris Zbarsky ba4e7d1c8e Bug 1565767 part 3. Remove some unnecesary refcounting at nsINode::GetBaseURI callsites. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37971

--HG--
extra : moz-landing-system : lando
2019-07-15 17:46:43 +00:00
Boris Zbarsky 37f9d50b42 Bug 1565767 part 2. Remove some unnecesary refcounting at nsPluginInstanceOwner::GetBaseURI callsites. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37970

--HG--
extra : moz-landing-system : lando
2019-07-15 18:30:46 +00:00
Boris Zbarsky dfc54dca0e Bug 1565767 part 1. Stop returning addrefed URIs from GetBaseURI(). r=peterv
We only needed this for xml:base.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 17:22:30 +00:00
Will Hawkins 88b4396a69 Bug 1559657: Pass load time in RemoteWebProgress. r=Ehsan,barret
Differential Revision: https://phabricator.services.mozilla.com/D35147

--HG--
extra : moz-landing-system : lando
2019-07-11 04:00:41 +00:00
arthur.iakab 973b98aac6 Backed out changeset 0aea246d01bb (bug 928150) for causing build bustages on DOMMatrix.h CLOSED TREEE 2019-07-11 06:31:59 +03:00
Kagami Sascha Rosylight b65864cf84 Bug 928150: Implement canvas getTransform() and setTransform() r=bzbarsky
Adds getTransform() and setTransform() to CanvasRenderingContext2D.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 02:43:46 +00:00
Kagami Sascha Rosylight 4d85db26bb Bug 1364875: Append double in DOMMatrix stringifier r=bzbarsky,jwalden
Fixed the stringifier as the spec mandates [using full double precision](https://github.com/w3c/fxtf-drafts/issues/120#issuecomment-300713781).

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

--HG--
extra : moz-landing-system : lando
2019-07-11 02:49:51 +00:00
Gijs Kruitbosch c71b8f39cc Bug 1565064 - remove obsolete pref from default files, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D37657

--HG--
extra : moz-landing-system : lando
2019-07-10 22:26:35 +00:00
Noemi Erli ad5ab4b3e4 Backed out changeset 405100db6c45 (bug 1543251) for failing in nsGlobalWindowInner.cpp 2019-07-11 01:47:47 +03:00
Bobby Holley 3b7fbc734f Bug 1562763 - Move some types around. r=jld
Having to namespace these into GeckoChildProcessHost is annoying. The
|using| declarations help to some extent, but it's easier to just put
them in mozilla::ipc.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 22:37:35 +00:00
Bobby Holley 91d8d02207 Bug 1562763 - Make ContentParent::InitInternal fallible. r=jld
Depending on the timing of events, we can invoke InitInternal after
we've already torn down the compositor thread, which can make
CreateContentBridges fail, which in turn makes us unable to make a
correct InitRendering call. Implement the infrastructure to bail out in
this case.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 22:37:34 +00:00
Bobby Holley e40b45dc28 Bug 1562763 - Don't crash child or parent on failed InitBackground. r=nika
This can happen if the parent starts shutting down before a child has
finished starting up.

The main thread case in the child has always just warned, and this MOZ_CRASH was
added recently to the dispatch case in [1]. This can happen if the
parent starts shutting down while the child is still initializing.

[1] https://hg.mozilla.org/mozilla-central/rev/bd8fd9a22dc08d63cec68de475182a1b8eeeca4b

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

--HG--
extra : moz-landing-system : lando
2019-07-10 22:37:32 +00:00
Sebastian Streich c60f801089 Bug 1388015 - Add checks to respect CSP-wildcard + Ports r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35432

--HG--
extra : moz-landing-system : lando
2019-07-04 11:30:17 +00:00
Kashav Madan 0fcee1ff24 Bug 1543251 - Move hasBeforeUnload from PBrowser to PWindowGlobal, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D37003

--HG--
extra : moz-landing-system : lando
2019-07-10 21:13:44 +00:00
Markus Stange e3818b8e81 Bug 1515214 - Add markers with cause stacks and the name of the called function for setTimeout callback execution. r=jesup
These duplicate the existing setTimeout markers a bit.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 20:48:14 +00:00
Markus Stange 7cd7e179b5 Bug 1515214 - Add TimeoutHandler::GetDescription which just calls through to CallbackObject::GetDescription for CallbackTimeoutHandlers. r=smaug
Depends on D19192

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

--HG--
extra : moz-landing-system : lando
2019-07-10 20:48:14 +00:00
Markus Stange 6efbe54e95 Bug 1515214 - Add CallbackObject::GetDescription and TimeoutHandler::GetDescription. r=bzbarsky
This allows us to create profiler markers whose description contains the name
of the function and its file / line number. This allows the profiler UI to
match up setTimeout callbacks for multiple instances of the same page load, in
order to create meaningful profile comparisons based on markers.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 20:48:14 +00:00
Brendan Dahl 28dcf95b41 Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron
386947-1.xul, now has one assertion since we take a different code
path with chrome URL's and XBL files. The assertion is triggered since the
binding is invalid.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 19:40:42 +00:00
Ryan Hunt 27bd25767f Bug 1561395 - Move drawSnapshot API to WindowGlobalParent and allow specifying the whole viewport as a rect. r=mattwoodrow,nika
Differential Revision: https://phabricator.services.mozilla.com/D35842

--HG--
extra : moz-landing-system : lando
2019-07-10 16:45:46 +00:00
Barret Rennie a162e99e2c Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/vr/ r=kip
Differential Revision: https://phabricator.services.mozilla.com/D36951

--HG--
extra : moz-landing-system : lando
2019-07-10 03:28:30 +00:00
Barret Rennie 01286d991e Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/system/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D36950

--HG--
extra : moz-landing-system : lando
2019-07-10 03:28:13 +00:00
Barret Rennie 2b6653fdbe Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/storage/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D36949

--HG--
extra : moz-landing-system : lando
2019-07-10 03:27:55 +00:00
Barret Rennie 6d98deeeab Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D36948

--HG--
extra : moz-landing-system : lando
2019-07-10 03:27:43 +00:00
Barret Rennie c5fb688d6a Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/network/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D36947

--HG--
extra : moz-landing-system : lando
2019-07-10 03:27:30 +00:00
Barret Rennie bb885448d8 Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/media/ r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36946

--HG--
extra : moz-landing-system : lando
2019-07-10 04:14:23 +00:00
Barret Rennie 0c2335e52f Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/ipc/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D36945

--HG--
extra : moz-landing-system : lando
2019-07-10 03:27:27 +00:00
Barret Rennie 528ae0befa Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/indexedDB/ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D36944

--HG--
extra : moz-landing-system : lando
2019-07-10 03:26:31 +00:00
Barret Rennie 6aaca86584 Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/filesystem/ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D36971

--HG--
extra : moz-landing-system : lando
2019-07-10 03:26:14 +00:00
Barret Rennie 1e6227239a Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/crypto/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D36943

--HG--
extra : moz-landing-system : lando
2019-07-10 03:25:56 +00:00
Barret Rennie 4636522c18 Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/bindings/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D36942

--HG--
extra : moz-landing-system : lando
2019-07-10 03:25:38 +00:00
Barret Rennie e6b381544e Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/base/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D36941

--HG--
extra : moz-landing-system : lando
2019-07-10 03:25:21 +00:00
Barret Rennie 55aec3ef61 Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/animation/ r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D36940

--HG--
extra : moz-landing-system : lando
2019-07-10 03:25:03 +00:00
Paul Adenot 7786a2a4d6 Bug 1456263 - Throw appropriate errors in the ChannelMergerNode ctor. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D37433

--HG--
extra : moz-landing-system : lando
2019-07-10 01:31:21 +00:00
Kris Maglione 4503ade360 Bug 1563409: Inherit RemoteSubframes and RemoteTabs flags from parent docshells. r=nika
This also adds an extra assertion against browsing context mismatches that
happen when we don't get this right.

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

--HG--
extra : source : 4b07deb4cd2ef4c98b6d6ee961a20705f4f2deae
2019-07-03 16:09:20 -07:00
Byron Campen [:bwc] 6480f0a928 Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D36818

--HG--
extra : moz-landing-system : lando
2019-07-15 15:49:30 +00:00
Michael Froman 9ade78d985 Bug 1560368 - add Opus decoding on RDD. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D37620

--HG--
extra : moz-landing-system : lando
2019-07-11 14:07:24 +00:00
Boris Zbarsky 5062731c15 Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37968

--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Alphan Chen bd4a8d7302 Bug 1563171 - Move the sessionStore related functions from nsIXULBrowserWindow.idl r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37424

--HG--
extra : moz-landing-system : lando
2019-07-15 10:29:06 +00:00
Frederik Braun 0d65cdff13 Bug 1565988 - fix typo in comment referencing follow-up work r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D38050

--HG--
extra : moz-landing-system : lando
2019-07-15 10:16:28 +00:00
Andreas Pehrson 2283c81baa Bug 1560907 - Remove default value for mediaSource constraint. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D36087

--HG--
extra : moz-landing-system : lando
2019-07-10 09:45:26 +00:00
Jan de Mooij 93d6f816f0 Bug 1564349 part 1 - Convert Baseline/Ion/NativeRegExp prefs from ContextOptions to JitOptions. r=nbp,smaug
Using process-wide prefs is consistent with the other JIT options and is simpler
to work with (one place to initialize for all runtimes).

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

--HG--
extra : moz-landing-system : lando
2019-07-10 09:43:39 +00:00
Ciure Andrei 091e6006e5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-10 12:43:32 +03:00
Ciure Andrei f372470e10 Merge inbound to mozilla-central. a=merge 2019-07-10 12:41:47 +03:00
Andreea Pavel 507d17c2ce Backed out changeset 3bcfadc6de38 (bug 1559657) for failing 1419902.html 2019-07-10 11:37:21 +03:00
Jean-Yves Avenard 4bc5c804e3 Bug 1561484 - Keep MediaInfo object for entire benchmark. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D36566

--HG--
extra : moz-landing-system : lando
2019-07-10 05:24:54 +00:00
Razvan Maries 1a0c0179a5 Backed out changeset b157ff9c0f22 (bug 1561484) for build bustages. CLOSED TREE 2019-07-10 08:19:35 +03:00
Jean-Yves Avenard 98fa016236 Bug 1561484 - Keep MediaInfo object for entire benchmark. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D36566

--HG--
extra : moz-landing-system : lando
2019-07-09 21:45:29 +00:00
Gurzau Raul c8fe885244 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : remote/server/WebSocket.jsm => remote/server/WebSocketHandshake.jsm
extra : rebase_source : dd11514cb2e390d00009f986dc00dca27e978216
2019-07-09 18:39:47 +03:00
Will Hawkins b904ee7e69 Bug 1560495: Update unload event security information for Navigation-Timing Level 2 specification. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D36293

--HG--
extra : moz-landing-system : lando
2019-07-09 07:19:50 +00:00
Jan de Mooij 994b76bf8c Bug 1564017 part 1 - Use a proper JS stack quota for worklet threads. r=baku
This currently happened to work but could easily overflow the stack. The JS engine
really expects a JS_SetNativeStackQuota call.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 15:50:20 +00:00
Will Hawkins 379d618812 Bug 1559657: Pass load time in RemoteWebProgress. r=Ehsan,brennie
Differential Revision: https://phabricator.services.mozilla.com/D35147

--HG--
extra : moz-landing-system : lando
2019-07-10 04:41:21 +00:00
Kagami Sascha Rosylight 936e15f95d Bug 1563937: Support Python 3 in WebIDL.py r=firefox-build-system-reviewers,bzbarsky,mshal
Should allow Servo to start Python 3 migration.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 02:36:57 +00:00
Greyson Gilbert 5ab46fc0a3 Bug 1535809 - Add warning on use of implicitly enabled extensions r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D36431

--HG--
extra : moz-landing-system : lando
2019-07-09 05:21:30 +00:00
Hiroyuki Ikezoe 8aa17d97ef Bug 1553012 - Make PresShell::ScrollFrameRectIntoView work in fission world. r=mattwoodrow,nika,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D36136

--HG--
extra : moz-landing-system : lando
2019-07-09 05:34:27 +00:00
Hiroyuki Ikezoe 57de429e1f Bug 1553012 - Drop nsIDOMWindowUtils.redraw. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D36135

--HG--
extra : moz-landing-system : lando
2019-07-09 04:48:26 +00:00
Jeff Gilbert a8530d0dbd Bug 1535373 - IsContextLost() before early-out. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D37350

--HG--
extra : moz-landing-system : lando
2019-07-09 02:36:52 +00:00
Narcis Beleuzu 4b16f12a07 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-09 06:51:10 +03:00
Narcis Beleuzu 59c3fccd33 Merge inbound to mozilla-central. a=merge 2019-07-09 06:45:48 +03:00
Nicholas Nethercote abf15f999d Bug 1560530 - Split StaticPrefs_accessibility.h from StaticPrefs.h. r=froydnj
This implements the machinery for the splitting of static prefs headers, and
uses it for a single header. #includes are used in such a way that the amount
of boilerplate for each static prefs header file is minimal.

Future patches will split the remaining prefs into more header files.

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

--HG--
rename : modules/libpref/StaticPrefs.h => modules/libpref/StaticPrefsBase.h
rename : modules/libpref/StaticPrefs.h => modules/libpref/init/StaticPrefListBegin.h
extra : moz-landing-system : lando
2019-07-08 23:40:39 +00:00
Hiroyuki Ikezoe 901885347c Bug 1562503 - Create GeckoMVMContext and ZoomConstraintsClient only for the root top level document. r=botond
browserElement_ScrollEvent.js is affected by this change. Before this change
the document for iframe mozbrowser was not considered as the root content
document, but after this change, it's considered as the root content document.
Given the nature of iframe mozbrowser, I believe it's the right behavior.

The browser mochitest in this commit fails without this change since
the minimum-scale size is used in the out-of-process iframe so that the visual
viewport size gets 3x bigger than the expected size.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 22:39:31 +00:00
Ehsan Akhgari 127357ac73 Bug 1558570 - Move HTMLDocument.clear/captureEvents/releaseEvents to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D34567

--HG--
extra : moz-landing-system : lando
2019-07-08 21:59:10 +00:00
Geoff Brown ba35c1c343 Bug 1524493 - Skip crashtest 1419902.html on geckoview/debug; r=snorp
Skipping this test clears the way for running geckoview debug crashtests, finally.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:24:52 +00:00
Sebastian Hengst 654b6e825b merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-07-08 15:11:29 +02:00
Sebastian Hengst 3134e9d91c Backed out 3 changesets (bug 1541557) for failures in SpecialPowersObserverAPI.js. a=backout CLOSED TREE
Backed out changeset 5b91c8869f42 (bug 1541557)
Backed out changeset a636725ad217 (bug 1541557)
Backed out changeset 7e6657f88b76 (bug 1561150)

--HG--
rename : testing/specialpowers/content/MozillaLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
rename : testing/specialpowers/content/specialpowersAPI.js => testing/specialpowers/content/SpecialPowersAPI.jsm
rename : testing/specialpowers/content/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/specialpowers.js => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : amend_source : 158c9e896d32778e71f4fd343227f531d693e511
2019-07-08 14:38:45 +02:00
Noemi Erli da3f3eaaac Merge autoland to mozilla-central. a=merge 2019-07-08 12:50:33 +03:00
Sebastian Hengst 515d14403f Backed out 34 changesets (bug 1561150, bug 1541557, bug 1561724, bug 1561999, bug 1558298, bug 1561061, bug 1532795, bug 1560400, bug 1561122) for beta simulation failures (bug 1563905, bug 1564001). a=backout
Backed out changeset 210d6d52e8b0 (bug 1541557)
Backed out changeset 3115db154c45 (bug 1561122)
Backed out changeset b42748878b6e (bug 1561122)
Backed out changeset 266160ca8e9d (bug 1561999)
Backed out changeset 00e935828f41 (bug 1561724)
Backed out changeset 4aaf4882780d (bug 1561150)
Backed out changeset 6644e38a6692 (bug 1561150)
Backed out changeset 72cd895b1613 (bug 1561061)
Backed out changeset f0bac27bad8a (bug 1560400)
Backed out changeset 95da39224eab (bug 1560400)
Backed out changeset 3fe4d4942fd2 (bug 1532795)
Backed out changeset 23e90c6fec2b (bug 1532795)
Backed out changeset a7f093fbef06 (bug 1532795)
Backed out changeset c873f0eb94be (bug 1532795)
Backed out changeset cf359a8ec753 (bug 1532795)
Backed out changeset f2c260cae4b5 (bug 1541557)
Backed out changeset 054a0b7aa81d (bug 1541557)
Backed out changeset f808ec45ff9c (bug 1541557)
Backed out changeset 1025eeef0954 (bug 1541557)
Backed out changeset fe88b250e418 (bug 1541557)
Backed out changeset 6680278c231b (bug 1541557)
Backed out changeset 255735c1ff63 (bug 1541557)
Backed out changeset 51969e1c9c44 (bug 1558298)
Backed out changeset d12525990565 (bug 1558298)
Backed out changeset ef4ec8f0f886 (bug 1558298)
Backed out changeset 45a9599d9641 (bug 1558298)
Backed out changeset 4ccecdba1c34 (bug 1558298)
Backed out changeset 0e91fc9541c2 (bug 1558298)
Backed out changeset edd1cc6badf7 (bug 1558298)
Backed out changeset ba24251835fb (bug 1558298)
Backed out changeset ca88016511bb (bug 1558298)
Backed out changeset c95e6e599836 (bug 1558298)
Backed out changeset 9b1a9d802434 (bug 1558298)
Backed out changeset f859e4de0007 (bug 1558298)

--HG--
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/specialpowers/content/SpecialPowersParent.jsm => testing/specialpowers/content/SpecialPowersObserver.jsm
rename : testing/specialpowers/content/SpecialPowersAPIParent.jsm => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/specialpowers/content/SpecialPowersChild.jsm => testing/specialpowers/content/specialpowers.js
rename : testing/specialpowers/content/SpecialPowersAPI.jsm => testing/specialpowers/content/specialpowersAPI.js
extra : rebase_source : 223d2e49710b016c9973765d402c61692004518e
extra : amend_source : ec773fe82334e6da536bb21e83a994a5f2d03091
2019-07-08 10:37:28 +02:00
Ciure Andrei 35fa9e2361 Backed out changeset fe8c2426d9d3 (bug 1514474) for causing beta simulation failures CLOSED TREE 2019-07-08 04:58:50 +03:00
Ciure Andrei d94259f899 Backed out 2 changesets (bug 1514296) for causing beta simulation failures CLOSED TREE
Backed out changeset 88f4a687f039 (bug 1514296)
Backed out changeset fe343795c247 (bug 1514296)
2019-07-08 03:03:22 +03:00
Andrea Marchesini 5a8e4fdbe9 Bug 1514474 - Implement FeaturePolicy.features(), r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35802

--HG--
extra : moz-landing-system : lando
2019-07-06 15:11:23 +00:00
Andrea Marchesini e01cab332f Bug 1514296 - Rename Document.policy to Document.featurePolicy, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35801

--HG--
extra : moz-landing-system : lando
2019-07-06 15:10:59 +00:00
Sylvestre Ledru 65bcd242ec Bug 1519636 - Ride along - remove useless ';' r=andi
Depends on D35622

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

--HG--
extra : moz-landing-system : lando
2019-07-06 12:36:03 +00:00
Sylvestre Ledru 131d0c6a02 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-06 08:18:28 +00:00
Emilio Cobos Álvarez 1a39c45ae2 Bug 1563728 - Add a return statement to BiquadFilterNode::GetFrequencyResponse to fix bustage. rs=padenot
CLOSED TREE
2019-07-06 10:45:56 +02:00
Paul Adenot 3ffaf1696e Bug 1563728 - Throw when the three parameters of BiquadFilterNode.getFrequencyResponse aren't of the same size. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37056

--HG--
extra : moz-landing-system : lando
2019-07-05 20:34:47 +00:00
Kagami Sascha Rosylight 76dc4579b9 Bug 1563504: Implement DOMPoint matrixTransform() r=bzbarsky
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=619248c60ce6a3f432c13abe7e7bc5bbf03c4184 (7 unexpected passes in wpt8 here have been removed)

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

--HG--
extra : moz-landing-system : lando
2019-07-06 06:55:53 +00:00
Mihai Alexandru Michis 201999f094 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-06 06:42:14 +03:00
Mihai Alexandru Michis 5e3c522c30 Merge inbound to mozilla-central. a=merge 2019-07-06 06:36:55 +03:00
Jan-Ivar Bruaroey 4736d10ce8 Bug 1528031 - Update tests to work with [SecureContext] navigator.mediaDevices. r=pehrsons,smaug
Differential Revision: https://phabricator.services.mozilla.com/D35970

--HG--
extra : moz-landing-system : lando
2019-07-05 21:21:38 +00:00
alwu 07e34c8bba Bug 1541452 - update cue display when window is resized. r=heycam
When window is resized, the cue would usually be zoomed in or out automatically with the video and keep its relative position to video.

However, if video is being applied the explicit percentage value on its 'width' or 'height', we have to recompute cue's position in this situation, because the width or height of the video would be scaled again after applied the first size scaled which is caused by resizing.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 00:53:20 +00:00
Olli Pettay 97ef8e2325 Bug 1559523 - Fix a crash in Thunderbird, [@ mozilla::dom::Document::EndLoad]. r=kaie 2019-07-05 14:54:53 +02:00
Gurzau Raul 1e608921e9 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : c4fe851e9a89199d77e3c4694d6564efb642ab2c
2019-07-09 13:00:28 +03:00
Mirko Brodesser c9010a2427 Bug 1564140: make `Selection::EqualsRangeAtPoint` and `Selection::GetIndicesForInterval` const-correct. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37279
2019-07-09 09:06:56 +02:00
Mirko Brodesser dce13c6b77 Bug 1564140: add const correctness for some methods in `nsContentUtils`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37278
2019-07-09 09:06:56 +02:00
Mirko Brodesser 33d1bf6efc Bug 1564140: add comment to `AbstractRange::mIsPositioned`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37277
2019-07-09 09:06:55 +02:00
Marcos Cáceres 1118e89526 Bug 1563460 - Collect console messages generated by processing manifest for Dev Tools r=baku
This gets rid  of the sending warnings to the browser console. Instead, when the processor is explicitly asked to do so, it now collects spec violations into a `moz_validation` member.

To access the new manifest member, you can now pass a second argument to `ManifestObtainer.contentObtainManifest()` like so:

```
const manifest = await ManifestObtainer.contentObtainManifest(
      this.targetActor.window,
      { checkConformance: true }
);
manifest. moz_validation; // 🎉
```

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

--HG--
extra : moz-landing-system : lando
2019-07-09 02:33:39 +00:00
Hiroyuki Ikezoe e1744fe34b Bug 1564021 - Use the default desktop width (980px) in the case where we have any viewport meta element but no valid content there. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37329

--HG--
extra : moz-landing-system : lando
2019-07-09 01:56:34 +00:00
alwu ae4242d665 Bug 1305732 - part7 : remove duplicated declaration. r=heycam
We have declared `supportPseudo`, remove the duplicated declaration.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 04:47:46 +00:00
alwu c2ca57258b Bug 1305732 - part5 : set CSS properties directly on '::cue'. r=heycam,emilio
According to the spec [1], we have to set those CSS properties on the root node, and then this root node would have a child node, background box [2], which would contain all other child nodes.

In our case, the background box is `cueDiv` [3].

In theory, all those properties set on the root node should be inherited by the background box. However, when the background box is a pseudo element `::cue`, they won't be directly inherit from the the background box's parent, inherited styles would acutally come from video instead.

Therefore, we have to directly set these properties on the pseudo element and mark them as `!important` to avoid being overrided by user style script.

[1] https://www.w3.org/TR/webvtt1/#ref-for-list-of-webvtt-node-objects-9
[2] https://www.w3.org/TR/webvtt1/#webvtt-cue-background-box
[3] https://searchfox.org/mozilla-central/rev/11712bd3ce7454923e5931fa92eaf9c01ef35a0a/dom/media/webvtt/vtt.jsm#533-534

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

--HG--
extra : moz-landing-system : lando
2019-07-09 01:42:45 +00:00
alwu fdde30fdd6 Bug 1305732 - part4 : background box should be a inline node. r=heycam
According to the spec [1], the background box should be `display:inline`.

Therefore, we should create a `<span>`, which already is an inline element, for the background box, not a `<div>`, which is a block element.

In addition, when the pseudo element is enabled, even though the element is currently a `div`, it doesn't match the div `{ display: block; }` rule from the UA style sheet because the pseudo element only matches `::cue` rules. It also has the initial value of display which is `inline`.

[1] https://www.w3.org/TR/webvtt1/#webvtt-cue-background-box

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

--HG--
extra : moz-landing-system : lando
2019-07-08 18:02:53 +00:00
alwu 044a87f6e8 Bug 1305732 - part3 : remove redundent properties setting on non-pseudo background node. r=heycam
If the background node is not a pseudo element, these properties would actually be inherited, so we have no need to set them again.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 04:45:01 +00:00
alwu 85d9f025b6 Bug 1305732 - part2 : list all properties set on the root node in one place to make them clear. r=heycam
In order to clearly see what properties are applied on the root node, create a function to list all of them together.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 04:44:47 +00:00
Alastor Wu 540674f2db Bug 1305732 - part1 : don't show the box with zero width or height. r=heycam
Setting cue's position would also affect cue box's size which would be determined by cue's position alignment as well. If the cue box's width or height is zero, it means that this box should not be display on the screen and we should clear cue's display state as well.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 23:07:43 +00:00
Cameron McCormack b8f227ec6f Bug 1555851 - Detect motion path measurement failures. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D37337

--HG--
extra : moz-landing-system : lando
2019-07-09 01:26:52 +00:00
Hiroyuki Ikezoe dcfdeea7f1 Bug 1556275 - Handle unknown values for width and height as 'Auto' in viewport meta tag. r=botond
Without the change a green rectangle in each reftest in this commit covers whole
screen.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 00:02:48 +00:00
Alastor Wu 3a3f6a61b1 Bug 1544455 - part3 : consider the result of computed position alignment to return correct computed position. r=heycam
In the spec [1], it only considers text's alignment when computing the `position`. However, the text alignment `start` and `end` can make the same result of what `left` and `right` make, depending on what direction the text uses.

For example, setting text alignment `left` is equal to `start` for the LTR text. Therefore, we could check the result of `ComputedPositionAlign`, which would return correctly direction automatically accoding to the text's base direction.

[1] https://www.w3.org/TR/webvtt1/#cue-computed-position

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

--HG--
extra : moz-landing-system : lando
2019-07-02 23:02:19 +00:00
Alastor Wu 7df6fd26b7 Bug 1544455 - part2 : modify test 'test_webvtt_positionalign.html'. r=heycam
Add new test cases for alignment `start` and `end` for both LTR and RTL text.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:51:29 +00:00
Alastor Wu d5695bf69c Bug 1544455 - part1 : check the base direction of cue text in 'ComputedPositionAlign()'. r=heycam
According to the spec [1], when text alignment is `start` or `end`, we have to check the base direction of the cue text in order to decide the position alignment.

[1] https://www.w3.org/TR/webvtt1/#cue-computed-position-alignment

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

--HG--
extra : moz-landing-system : lando
2019-07-03 00:39:50 +00:00
Brindusan Cristian 88dcb17147 Backed out changeset 8e741ae8dcab (bug 1559975) as requested by ahal on irc. CLOSED TREE 2019-07-08 23:40:47 +03:00
Edwin Gao c9ea675a59 Bug 1559975 - convert dom/canvas/test to python3 syntax r=ahal
Changes:
- change syntax of all python files under `dom/canvas/test` to python3 syntax
- remove semicolon line terminators from `dom/canvas/test/webgl-conf/checkout/deqp/genHTMLfromTest.py`

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:35:43 +00:00
Boris Zbarsky af2cf91b24 Add IDL source documentation for BlobEvent. No bug. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37095

--HG--
extra : moz-landing-system : lando
2019-07-08 15:53:01 +00:00
John Dai f1ca2bad57 Bug 1562005 - Add in-tree documentation for JS Window Actors; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D37065

--HG--
extra : moz-landing-system : lando
2019-07-08 17:41:59 +00:00
Nika Layzell eb598b2ae9 Bug 1563542 - Correctly align usage of mIsDiscarded and mClosed for BrowsingContext, r=peterv
In the bug which introduced mIsDiscarded, the code was changed to not set
mClosed during Detach, and only set mIsDiscarded. This was a mistake because a
bunch of places are only reading mClosed. Specifically when creating a
BrowsingContext for an iframe, we check GetClosed() to see whether to skip
creating it. Not doing this check can lead to assertions like the one in this
bug.

This patch changes the behaviour to continue setting `mClosed`, and also updates
the relevant `GetClosed()` checks to correctly check `IsDiscarded()`

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:27:27 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Andreas Pehrson cf67d306f8 Bug 1561569 - Put limits to width and height constraints in MediaEngineVideoDefault. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D36028

--HG--
extra : moz-landing-system : lando
2019-07-08 14:56:13 +00:00
Alex Catarineu a8b667f825 Bug 467035 - Avoid leaking browser language via DTD r=Gijs,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D34187

--HG--
extra : moz-landing-system : lando
2019-07-08 10:47:05 +00:00
Alex Catarineu dbce01f2ff Bug 467035 - Add new internal DTD content types r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35232

--HG--
extra : moz-landing-system : lando
2019-07-03 17:28:25 +00:00
Emilio Cobos Álvarez d1a9b44ea6 Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn
I missed in bug 1487216 that the pres arena memory reporting assumes that the
entry indices are frame class ids, which means that we're reporting some display
list arena entries as frames, which is obviously wrong.

Cleanup a bit nsPresArena to remove the custom id concept, and report also
individual display item type memory usage.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 02:46:09 +00:00
Andreas Pehrson 90ffbb1560 Bug 1561319 - Check facingMode constraint in MediaEngineDefaultVideo and don't match empty string by default. r=jib
This does two things:
It makes MediaEngineDefaultVideo::GetBestFitnessDistance include a facingMode
check.
It also makes FitnessDistance() for StringRanges take a Maybe<nsString>, since
the device might not have a value for all StringRange constraints, as is the
case for facingMode. This fixes this issue for a MediaEngineRemoteVideoSource
with no facingMode, since such a device would match a facingMode of the empty
string prior to this patch.

To be fully spec compliant, the Maybe should be a set instead, since a device
may support multiple values for the facingMode capability. We don't support
more than one value however, so this change can be made later as needed.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 18:46:32 +00:00
Andreas Pehrson dc0eb05ef0 Bug 1560207 - Reset all settings on every settings update, to avoid double-constructing. r=jib
Depends on D36192

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

--HG--
extra : moz-landing-system : lando
2019-07-05 22:13:11 +00:00
Andreas Pehrson 995ee35634 Bug 1560207 - Give Refcountable assignment operators. r=jib
Depends on D36191

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

--HG--
extra : moz-landing-system : lando
2019-07-05 22:11:22 +00:00
Andreas Pehrson b5260f58d6 Bug 1560207 - Add crashtest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D36191

--HG--
extra : moz-landing-system : lando
2019-07-05 22:07:17 +00:00
Andrea Marchesini f9e570ba21 Bug 1514474 - Implement FeaturePolicy.features(), r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35802

--HG--
extra : moz-landing-system : lando
2019-07-08 02:03:18 +00:00
Andrea Marchesini e87202df68 Bug 1514296 - Rename Document.policy to Document.featurePolicy, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35801

--HG--
extra : moz-landing-system : lando
2019-07-08 00:10:56 +00:00
Ryan Hunt d48bb1eccc Bug 1561627 - Don't crash in BrowserBridgeHost if we don't have a widget. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D37170

--HG--
extra : moz-landing-system : lando
2019-07-09 22:21:29 +00:00
Daniel Holbert d352c376ab Bug 1564208 part 2: Use Maybe<bool> to represent lazily-initialized bools for SVG/MathML enabling. r=smaug
This patch shouldn't affect behavior at all -- it's just removing a custom enum
type, in favor of our more standard representation for lazily-initialized bool,
which is Maybe<bool>.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 21:19:41 +00:00
Daniel Holbert 37e8ae0939 Bug 1564208 part 1: Allow extensions to use SVG content regardless of whether the svg.disabled pref is toggled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37461

--HG--
extra : moz-landing-system : lando
2019-07-09 19:58:41 +00:00
Andreas Pehrson 54f1db2d04 Bug 1177793 - Update mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D36918

--HG--
extra : moz-landing-system : lando
2019-07-09 20:07:44 +00:00
Andreas Pehrson 277b0e53db Bug 1177793 - Modernize test_streams_capture_origin.html. r=jib
Depends on D36896

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

--HG--
extra : moz-landing-system : lando
2019-07-08 13:30:23 +00:00
Andreas Pehrson 378c51c9f8 Bug 1177793 - Pass principal instead of forcing black when capturing cross-origin media resource. r=jya,jib
Differential Revision: https://phabricator.services.mozilla.com/D36896

--HG--
extra : moz-landing-system : lando
2019-07-08 21:15:10 +00:00
Bryce Van Dyk 89f408ffff Bug 1549406 - Break out logic to determine encryption scheme for mp4s. r=jya
This is a refactor of the encryption scheme detection used in Index.cpp aside
from one additional check: the new function verifies that if sample group
information is present that it is consistent with other encryption information.

Introduce a new function that contains all the logic to detect the encryption
scheme used for the current sample. This helps separate the logic of scheme
detection from setting scheme specific data on the current sample. This makes
the steps easier to understand and change in isolation.

This function returns a result, with failure cases containing a string
explaining the error. This is motivated by being able to log or surface the
error for failure cases. Logging is not yet implemented, but will be in
bug 1547328.

Driveby add comment documenting GetSampleEncryptionEntry.

Driveby adjust include order to match Mozilla/Google style.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 18:48:38 +00:00
Junior Hsu 187b616b4e Bug 1424076 - P4 Update sendBeacon origin header test r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D33386
2019-07-09 23:20:02 +02:00
Emilio Cobos Álvarez 3edc8a6c5f Bug 1218456 - Remove now-unneeded workarounds in cross-origin navigation tests. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37425
2019-07-09 23:10:01 +02:00
Emilio Cobos Álvarez 84da35f59c Bug 1218456 - Simplify CheckHandleEventForAnchorsPreconditions. r=smaug
I've checked that this doesn't change behavior in the test-case for bug 30178,
which is just an imagemap inside a link.

Overall it'd be weird if we needed this for area-inside-a but not for stuff like
nested links.

Differential Revision: https://phabricator.services.mozilla.com/D37407
2019-07-09 23:08:05 +02:00
Emilio Cobos Álvarez c17be889ab Bug 1218456 - Remove nsILinkHandler. r=smaug
Interfaces with just one implementation don't seem very useful.

Differential Revision: https://phabricator.services.mozilla.com/D37406
2019-07-09 23:08:05 +02:00
Emilio Cobos Álvarez 28801c9e84 Bug 1218456 - Allow navigating when there's no pres context. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37404
2019-07-09 23:07:29 +02:00
Emilio Cobos Álvarez 54b3d5a085 Bug 1218456 - Document::GetContainer shouldn't be virtual. r=smaug
It's never overridden. Also chances are we should remove it and just use
GetDocShell().

Differential Revision: https://phabricator.services.mozilla.com/D37405
2019-07-09 23:07:01 +02:00
Emilio Cobos Álvarez 3a9423d25c Bug 1218456 - Prevent navigating away in test_overlay.html. r=zbraniecki
I'm not sure why the test structure is the way it is, but without this and with
the changes from this bug  we start navigating away which means we try to reach
mozilla.org, which is forbidden in automation since non-local connections are,
causing the failures that got me backed out in comment 25.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 20:46:30 +00:00
Oana Pop Rus b0ba88239d Backed out 4 changesets (bug 1424076) for mochitests failures in test_iframe_sandbox_navigation.html on a CLOSED TREE
Backed out changeset 67239c7df87c (bug 1424076)
Backed out changeset 2b4487c6403d (bug 1424076)
Backed out changeset c002ddb976e9 (bug 1424076)
Backed out changeset 50fbc0cec01a (bug 1424076)
2019-07-09 23:48:37 +03:00
Oana Pop Rus be31b693a5 Backed out changeset 60e865d21df5 (bug 1218456)for Crashtest failures on dom/l10n/tests/mochitest/dom_localization/test_overlay.html. CLOSED TREE 2019-07-09 23:46:04 +03:00
Boris Zbarsky f5a8c4edc3 Add IDL source information to some event interfaces. No bug. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37453

--HG--
extra : moz-landing-system : lando
2019-07-09 19:02:18 +00:00
Dorel Luca 9925ca654c Backed out 5 changesets (bug 1218456) for Crashtest failures on dom/l10n/tests/mochitest/dom_localization/test_overlay.html. CLOSED TREE
Backed out changeset 31afe89c2d42 (bug 1218456)
Backed out changeset 8bd57ebc4528 (bug 1218456)
Backed out changeset e5d37afff36a (bug 1218456)
Backed out changeset e3da86278ecf (bug 1218456)
Backed out changeset 343046089f8e (bug 1218456)

--HG--
extra : rebase_source : f092d903c8c80581d187493e036b1875d8668b3d
2019-07-09 22:04:13 +03:00
Dorel Luca a36e8cbbab Backed out changeset ab9d5eeaa90e (bug 1370630) on dev's request
--HG--
extra : rebase_source : f583c253821b50a25ae0f023bcc8312b526ea8da
2019-07-09 21:44:43 +03:00
Junior Hsu 5e98826855 Bug 1424076 - P4 Update sendBeacon origin header test r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D33386

--HG--
extra : moz-landing-system : lando
2019-07-09 18:23:38 +00:00
Thomas Nguyen 2beb089527 Bug 1557346 - Limit referer header length r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35990

--HG--
extra : moz-landing-system : lando
2019-07-09 17:47:22 +00:00
Dorel Luca 06b684f035 Backed out 4 changesets (bug 1424076) for ESlint failure
Backed out changeset c6299be2356c (bug 1424076)
Backed out changeset f567bf2904c9 (bug 1424076)
Backed out changeset 6127a13715c9 (bug 1424076)
Backed out changeset 743605a9b0ac (bug 1424076)

--HG--
extra : rebase_source : a20ab3fc782b376dd091e18b647a2ef12d7e4aca
2019-07-09 21:17:22 +03:00
Christian Holler 132dcaf01c Bug 1465440 - Disable CRC checks in FlacDemuxer for FUZZING. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D35775

--HG--
extra : moz-landing-system : lando
2019-06-25 15:18:05 +00:00
Brindusan Cristian ea007979ee Backed out changeset a7c14ebfcd4d (bug 1513337) for telemetry failures at test_event_ping.py. CLOSED TREE 2019-07-16 17:22:21 +03:00
Sebastian Streich 0204171ff0 Bug 1452037 - Fix Whitelisting of javascript-uris with csp hash r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35412

--HG--
extra : moz-landing-system : lando
2019-07-16 13:25:05 +00:00
Dão Gottwald d4258708f3 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-16 10:26:04 +00:00
John Dai 0805f9e709 Bug 1560744 - Add clearer message for custom elements; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D38082

--HG--
extra : moz-landing-system : lando
2019-07-16 10:03:10 +00:00
Kershaw Chang 0f07bc4a3d Bug 1309358 - P1: Add wildcard to Access-Control-Expose-Headers r=baku
For requests without credentials, add wildcard to Access-Control-Expose-Headers.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 08:50:14 +00:00
Sylvestre Ledru e77bfc655d Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-16 07:33:44 +00:00
Noemi Erli ad06a86a88 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-08 12:53:36 +03:00
Gurzau Raul 93233f439a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-07 01:44:47 +03:00
Daniel Varga 1ea89eaac8 Merge mozilla-central to mozilla-inbound 2019-07-06 12:36:56 +03:00
longsonr dcdb97d5bd Bug 1561721 - remove color-rendering tests since the property has been dropped from SVG 2 r=heycam 2019-07-06 09:14:02 +01:00
Mihai Alexandru Michis c2dd1916fb Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-07-06 06:45:07 +03:00
Jan Varga b240a41330 Bug 1562942 - Followup patch, fix a failing test; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D36934
2019-07-04 18:26:29 +02:00
Oana Pop Rus 1a5e831b42 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-11 13:00:34 +03:00
Mirko Brodesser 356d01ef38 Bug 1564926: remove dead code returning pointers to local variables in `Selection::GetIndicesForInterval`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37576
2019-07-11 09:20:22 +02:00
Sylvestre Ledru 2bf505b023 Bug 1562642 - Add missing MPL2 headers r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D37053

--HG--
extra : moz-landing-system : lando
2019-07-05 17:05:57 +00:00
Ryan VanderMeulen f9387885aa Bug 1558299 - Fix ESLint failures in browser_fileURL.js on a CLOSED TREE. r=eslint
--HG--
extra : amend_source : 01a0d45d7425eddbab453cfdcb0920bd934e1c85
2019-07-05 16:29:44 -04:00
Andrea Marchesini ac791bf6a1 Bug 1558299 - Add a pref to treat File: URLs as unique origins, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36920

--HG--
extra : moz-landing-system : lando
2019-07-05 09:16:06 +00:00
Kartikaya Gupta c8cff9effe Bug 1563311 - Remove uses of MOZ_BUILD_WEBRENDER. r=aosmond
This removes support for building Firefox/Gecko without WebRender.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 11:05:17 +00:00
Ehsan Akhgari b4583cafa5 Bug 1558571 - Move HTMLDocument.all to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D34569

--HG--
extra : moz-landing-system : lando
2019-07-09 18:09:40 +00:00
Dorel Luca f2dfa057a6 Backed out changeset 4bacb947e991 (bug 1558571) for WPT failures on /xhr/responsexml-document-properties.html 2019-07-09 20:45:41 +03:00
Junior Hsu 6d2253ba30 Bug 1424076 - P4 Update sendBeacon origin header test r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D33386

--HG--
extra : moz-landing-system : lando
2019-07-09 17:14:39 +00:00
Boris Zbarsky 3910c9fe0a Bug 1561887 part 2. Fix cycle-collection skipping of JSEventHandler to work correctly. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D36870

--HG--
extra : moz-landing-system : lando
2019-07-09 17:04:59 +00:00
Emilio Cobos Álvarez 0881efe1c6 Bug 1218456 - Remove now-unneeded workarounds in cross-origin navigation tests. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37425

--HG--
extra : moz-landing-system : lando
2019-07-09 16:18:54 +00:00
Emilio Cobos Álvarez 16bfd6e375 Bug 1218456 - Simplify CheckHandleEventForAnchorsPreconditions. r=smaug
I've checked that this doesn't change behavior in the test-case for bug 30178,
which is just an imagemap inside a link.

Overall it'd be weird if we needed this for area-inside-a but not for stuff like
nested links.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 16:17:56 +00:00
Emilio Cobos Álvarez 23a7cb7a68 Bug 1218456 - Remove nsILinkHandler. r=smaug
Interfaces with just one implementation don't seem very useful.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 16:17:47 +00:00
Emilio Cobos Álvarez 0dd64968c6 Bug 1218456 - Document::GetContainer shouldn't be virtual. r=smaug
It's never overridden. Also chances are we should remove it and just use
GetDocShell().

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

--HG--
extra : moz-landing-system : lando
2019-07-09 16:17:38 +00:00
Emilio Cobos Álvarez d5db3842a0 Bug 1218456 - Allow navigating when there's no pres context. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37404

--HG--
extra : moz-landing-system : lando
2019-07-09 16:17:27 +00:00
Gurzau Raul 5c79b4341a Backed out changeset 9ba600ae3c02 (bug 1557346) for eslint failure at netwerk/test/unit/test_referrer.js on a CLOSED TREE. 2019-07-09 18:17:15 +03:00
Thomas Nguyen 64a9d9fea9 Bug 1557346 - Limit referer header length r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35990

--HG--
extra : moz-landing-system : lando
2019-07-09 14:44:27 +00:00
Ehsan Akhgari 9f6d9e9359 Bug 1558571 - Move HTMLDocument.all to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D34569

--HG--
extra : moz-landing-system : lando
2019-07-08 18:49:45 +00:00
Andrea Marchesini 616229d549 Bug 1562891 - Crashtest for Blob.stream(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37390

--HG--
extra : moz-landing-system : lando
2019-07-09 13:11:51 +00:00
Kagami Sascha Rosylight 30a1af2b27 Bug 1020975: Allow LenientFloat to be only in a specific overload r=bzbarsky
This assumes that LenientFloat won't break float-less overload behavior.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 12:58:42 +00:00
Victor Porof dcd795c16b Bug 1561435 - Avoid formatting sensitive fixtures for dom/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 38fbb8d45dab9bb49aee901ed4f3e77843b531c3
extra : intermediate-source : d90b525c37ebb5d220a7fc5bac4c93d0736c3139
2019-07-04 19:39:31 +02:00
Victor Porof 64a157bec4 Bug 1561435 - Fix test failures for dom/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 601fd342df276db814d904aecf943dcd2f14290c
extra : intermediate-source : 9ea5cf04581fe4dbf353443a98e6a970f0fdee41
2019-06-24 04:55:14 +02:00
Victor Porof 9bb757c75b Bug 1561435 - Fix linting errors for dom/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 0d32f3d8e36ac595589c178339237b88dac55df9
extra : intermediate-source : 5db227e1922c88ab0e3efc67ffbad22da1471c6f
2019-06-28 20:53:14 +02:00
Victor Porof 0a8ff0ad85 Bug 1561435 - Format dom/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
2019-07-05 10:44:55 +02:00
Karl Tomlinson 442e4282a1 Bug 1558123 Pass spans to ProcessBlocksOnPorts to facilitate forwarding from ProcessBlock() r=padenot
It is easier to make a span than an nsTArray.

This also clarifies that the output array lengths are not modified.

Depends on D34833

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

--HG--
extra : moz-landing-system : lando
2019-06-14 16:06:22 +00:00
Karl Tomlinson 2f7457ad55 Bug 1542931 Construct AudioWorkletProcessor for each AudioWorkletNode r=padenot,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D34482

--HG--
extra : moz-landing-system : lando
2019-07-17 18:58:57 +00:00
Karl Tomlinson ff940f743d Bug 1542931 add a mechanism to notify engine on graph thread of forced shutdown r=padenot
This will be used to release the AudioWorkletProcessor on the correct thread.

Depends on D34480

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

--HG--
extra : moz-landing-system : lando
2019-06-14 15:04:48 +00:00