Commit Graph

81068 Commits

Author SHA1 Message Date
David Major
33bacb9783 Bug 1528074 - Clean up some media warning flags r=jya
I suspect these may have been cargo-culted from elsewhere.

We only need -Wno-sign-compare, which we can add regardless of compiler because clang-cl understands it natively in addition to the -wdNNNN form.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 17:22:12 +00:00
Matthew Noorenberghe
bc7d5bc37e Bug 1474143 - Replace form submission observer notifications with events. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D16651

--HG--
extra : moz-landing-system : lando
2019-02-22 15:12:33 +00:00
Matthew Noorenberghe
702cf2d5ed Bug 1474143 - Remove unused 'firstformsubmit' category and gFirstFormSubmitted. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D16650

--HG--
extra : moz-landing-system : lando
2019-02-22 15:12:11 +00:00
Matthew Noorenberghe
44ada4578b Bug 1474143 - Remove unused 'passwordmanager' category and gPasswordManagerInitialized. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D16649

--HG--
extra : moz-landing-system : lando
2019-02-22 15:11:56 +00:00
Coroiu Cristina
41959946c9 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-02-22 18:39:27 +02:00
Coroiu Cristina
80435b2557 Merge autoland to mozilla-central a=merge 2019-02-22 18:24:30 +02:00
Dorel Luca
e2b65baabd Backed out changeset cd5dbeee8c5d (bug 1502917) for build bustage. CLOSED TREE 2019-02-22 14:32:42 +02:00
Coroiu Cristina
dc0adc07db Backed out changeset 367ca1e16853 (bug 1528146) on request by igoldan, assignee didn't replied back on time a=backout 2019-02-22 10:10:33 +02:00
Tarek Ziadé
983d831bbe Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
This patch introduces a new module in widget that implements a simple API to
retrieve system information about a process and its threads.

This function is wrapped into ChromeUtils.RequestProcInfo to return information
about processes started by Firefox.

The use case for this API is to monitor Firefox resources usage in projects
like the battery usage done by the data science team.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 23:05:44 +00:00
Andreas Farre
1b8510f881 Bug 1523645 - Add transactions for syncing BrowsingContext fields. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D20187

--HG--
extra : moz-landing-system : lando
2019-02-21 20:14:28 +00:00
Brian Birtles
540858a5b1 Bug 1528883 - Rename CSSPseudoElement.parentElement to CSSPseudoElement.element; r=bzbarsky
As per CSSWG resolution:

  https://github.com/w3c/csswg-drafts/issues/2816#issuecomment-454869173

And corresponding spec change:

  2dbf1e44a6

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

--HG--
extra : moz-landing-system : lando
2019-02-22 03:12:19 +00:00
Masayuki Nakano
6e11a1ab32 Bug 1505668 - part 3: Stop supporting "cmd_copyAndCollapseToEnd" since only CopyPasteAssistent refers it but nobody uses it r=m_kato,TYLin
"cmd_copyAndCollapseToEnd" is referred only by CopyPasteAssistent (even
including comm-central and BlueGriffon), but CopyPasteAssistent won't receive
"copy" command to send it.

So, it seems that we can get rid of a lot around CopyPasteAssistent but this
patch just changes the mapping in it ("copy" is mapped to "cmd_copy") and
removes command handlers of "cmd_copyAndCollapseToEnd" completely.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 01:39:14 +00:00
Gurzau Raul
dd9cb929e6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 23:56:21 +02:00
Narcis Beleuzu
1cc1d33847 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-21 18:11:40 +02:00
Oana Pop Rus
e3f2246ee8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 11:42:10 +02:00
Oana Pop Rus
b36e97fc77 Merge inbound to mozilla-central. a=merge 2019-02-21 11:31:00 +02:00
Brindusan Cristian
136394135f Backed out 9 changesets (bug 1521879) for flake failures at /transforms/tests.py. CLOSED TREE
Backed out changeset baac167868b3 (bug 1521879)
Backed out changeset 54ac1b47b736 (bug 1521879)
Backed out changeset 94b62c6f22e2 (bug 1521879)
Backed out changeset d44f15fd4529 (bug 1521879)
Backed out changeset 761fca0514fb (bug 1521879)
Backed out changeset 0b85b1a7c1ce (bug 1521879)
Backed out changeset 5dc76e863a02 (bug 1521879)
Backed out changeset 604b9a007fe5 (bug 1521879)
Backed out changeset c414d82a5325 (bug 1521879)
2019-02-21 19:32:31 +02:00
Byron Campen [:bwc]
597c5c6ed9 Bug 1521879 - Part 7: Create new CI jobs for media mochitests with socket process enabled. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17942

--HG--
extra : moz-landing-system : lando
2019-02-21 15:32:59 +00:00
Byron Campen [:bwc]
9e2c830949 Bug 1521879 - Part 5: Update IPC serialize/deserialize code for RTP stream stats to match what is in the dictionaries. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D17278

--HG--
extra : moz-landing-system : lando
2019-02-21 15:35:06 +00:00
Byron Campen [:bwc]
d7729846c2 Bug 1521879 - Part 3: Get --disable-webrtc builds working. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17275

--HG--
extra : moz-landing-system : lando
2019-02-21 15:32:15 +00:00
Byron Campen [:bwc]
bc939b7978 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-21 15:33:57 +00:00
Byron Campen [:bwc]
4604113749 Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-21 16:42:12 +00:00
Junior Hsu
b7e28eddd2 Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D19325

--HG--
extra : moz-landing-system : lando
2019-02-19 21:53:22 +00:00
Byron Campen [:bwc]
7933dbcd50 Bug 1231414 - Part 1: Allow addTrack without a stream argument. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D19841

--HG--
extra : moz-landing-system : lando
2019-02-21 14:53:23 +00:00
Ehsan Akhgari
0648e78f1c Bug 1529396 - Stop throwing an exception from window.localStorage when a privacy check fails; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20583

--HG--
extra : moz-landing-system : lando
2019-02-21 14:21:02 +00:00
Henri Sivonen
5014792038 Bug 1529281 - Remove TabParent::AdjustTapToChildWidget as dead code. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D20489

--HG--
extra : moz-landing-system : lando
2019-02-21 09:19:36 +00:00
Andrea Marchesini
50d28b2321 Bug 1528909 - cross-origin checks in CanvasRenderingContext2D::DrawImage, r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D20350

--HG--
extra : moz-landing-system : lando
2019-02-20 22:54:04 +00:00
Andreea Pavel
9fb81d5829 Bug 1516043 - Disabled test_background_video_resume_after_end_show_last_frame.html on linux-qr r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20462

--HG--
extra : moz-landing-system : lando
2019-02-20 13:43:32 +00:00
Karl Tomlinson
45ab39f95a Bug 1519562 throw in AudioWorkletNode constructor if name is not registered r=padenot
Depends on D20274

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

--HG--
extra : moz-landing-system : lando
2019-02-19 12:57:57 +00:00
Karl Tomlinson
25a27ff34a bug 1519562 send AudioParamDescriptors from registerProcessor() to AudioContext r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D20274

--HG--
extra : moz-landing-system : lando
2019-02-21 03:12:59 +00:00
Masayuki Nakano
b86a9d85df Bug 1436906 - Make Selection::NotifySelectionListeners() not scroll when it moves focus r=smaug
When Selection changed into an editing host,
Selection::NotifySelectionListeners() moves focus to the editing host.
In this case, we've scrolled to the focused element because it's our consistent
and traditional behavior.  However, Chrome does not behave so.  Therefore,
we should not scroll in this case for compatibility with Chrome.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 03:09:32 +00:00
Cosmin Sabou
9f8b29287b Merge mozilla-central to autoland. 2019-02-21 05:43:34 +02:00
Cosmin Sabou
f3db52f4cf Merge mozilla-inbound to mozilla-central. a=merge 2019-02-21 05:42:03 +02:00
Emilio Cobos Álvarez
f8ecce61ec Bug 1470926 - Null-check mBoundFrame after calling SetSelectionRange on it. r=TYLin
This code was already handling the world going away, but did not handle the case
of just getting unbound, which can happen if some selection listener (e.g.,
AccessibleCaret) flushes layout.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 00:18:15 +00:00
Masatoshi Kimura
e59e3b3e20 Bug 1528651 - Fix some trivial warnings and re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : 5ee9efeda9e67f6af0521be85266703763cc4c50
2019-02-19 20:42:11 +09:00
Christoph Kerschbaumer
54df1cb98c Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku 2019-02-20 13:27:25 +01:00
Noemi Erli
a886d44d2f Backed out 2 changesets (bug 1528387) for failures in test_JSWindowActor.xul CLOSED TREE
Backed out changeset c4c6581b5ecd (bug 1528387)
Backed out changeset 33dd29846b7b (bug 1528387)
2019-02-21 05:07:16 +02:00
Cosmin Sabou
8781de2669 Bug 1528387 - Added newline at the end of the files because of eslint failure. r=eslint-fix
--HG--
extra : amend_source : 050b20ef8e3c46ebe4a71bf11ff52341f67f9dd8
2019-02-21 04:32:35 +02:00
Boris Zbarsky
f8e0094981 Bug 1528456. Fix browser_domainPolicy.js to not be racy. r=Gijs
The old complicated code here was working around a fundamental race in the
test.  The test was trying to do the following:

1)  Open a new tab.  This sends an IPC message to do that and to start loading
about:blank in the tab.

2)  Add a "load" listener.  This sends an IPC message to add the listener.

3)  Start loading the URL we really want to load.  This sends an IPC message to
start the load.

There are two races here: the message from step 2 can be received before or
after the about:blank load is done, and the message from step 3 can be received
before or after the about:blank load is done.  If step 2 wins the race (we add
the listener before the about:blank load is done) but step 3 loses the race
(new load starts only after the about:blank load is done), then we would get a
load event for the about:blank, not for the url we care about.

The test worked around this by having step 2 add a listener for the
"DOMDocElementInserted" event, which about:blank did not fire.  Then when that
happened (indicating that the load from step 3 is now in progress), it added a
"load" listener.  This fixed the race.

Bug 1528146 fixed about:blank to also fire "DOMDocElementInserted", so the test
became racy again.  Now if the "DOMDocElementInserted" listener got added
_after_ the about:blank load had fired that event (which is what usually
happened), then the test passed.  But if the IPC message from step 2 to add the
"DOMDocElementInserted" listener won the race against the about:blank load
firing "DOMDocElementInserted", then we added the "load" listener too early and
got the "load" event for the about:blank, not the document we cared about.

The fix is to just use the (now) existing openNewForegroundTab function which
lets us pass in a url, then wait until that URL is loaded, instead of trying to
reinvent that wheel.

There is an additional ride-along change to make openNewForegroundTab always
create a new process in this test, which is the original intent of the test but
wasn't necessarily guaranteed by the old code.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:12:16 +00:00
Nika Layzell
e5a0cc1ba3 Bug 1528387 - Make actor name implicit to JSWindowActor::SendAsyncMessage, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D20011

--HG--
extra : moz-landing-system : lando
2019-02-20 20:08:30 +00:00
Ting-Yu Lin
d373ed0def Bug 1526097 - Remove nsIFrame::eBlockFrame flag. r=dholbert
Only nsBlockFrame and its subclasses recognize the nsIFrame::eBlockFrame
flag, so we can replace the usage of the flag with either
nsIFrame::IsBlockFrameOrSubclass() or a do_QueryFrame().

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:18:14 +00:00
Emilio Cobos Álvarez
1cb88114b4 Bug 1528299 - Make InspectorUtils.getCSStyleRules return a proper CSSStyleRule sequence. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D20456

--HG--
extra : moz-landing-system : lando
2019-02-20 11:05:30 +00:00
Andrea Marchesini
64d3f6f9da Bug 1487113 - nsICacheInfoChannel.preferAlternativeDataType() should expose alt-data as optional if required, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20200

--HG--
extra : moz-landing-system : lando
2019-02-20 10:05:42 +00:00
Andrea Marchesini
1951a6690b Bug 1487113 - Expose nsICacheInfoChannel in Respose object for wasm content-type, r=valentin,nbp
Differential Revision: https://phabricator.services.mozilla.com/D19823

--HG--
extra : moz-landing-system : lando
2019-02-20 10:05:35 +00:00
Alex Chronopoulos
09df5a19bb Bug 1481244 - When a stream is errored avoid updating the volume. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D20314

--HG--
extra : moz-landing-system : lando
2019-02-20 09:41:30 +00:00
Makoto Kato
376eb1a4da Bug 1528665 - Remove GetAndroidSystemInfo sync IPC. r=geckoview-reviewers,mccr8,snorp
nsSystemInfo is initialzied at first page load. Actually, content process uses
sync IPC to get Android OS information. But now, we can use Java code even if
on content process, so we should use JNI directly instead of sync IPC.

Also, nsSystemInfo still has unused extern android_sdk_version that is for
HoneyComp's DNS hack.  So let's remote it.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 21:19:14 +00:00
Boris Chiou
b332718138 Bug 1505225 - Part 1: Make sure we also check the existence of individual transform animations. r=hiro
nsIFrame::BuildDisplayListForStackingContext() will check the existence
of transform animations, so we need to update
nsLayoutUtils::HasAnimationsOfPoperty(). However, checking only
eCSSProperty_transform is not enough. We have to check all the transform-like
properties. Therefore, we update these functions to accept a property
set as the argument, and pass a collection of transform-like properties
into them.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 02:14:39 +00:00
Jeff Gilbert
6fc6d8596f Bug 1290770 - Log bad tex upload calls and errors. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D20429

--HG--
extra : moz-landing-system : lando
2019-02-20 04:43:32 +00:00
Emilio Cobos Álvarez
a59f4ed1fb Bug 1528914 - Tidy the relationship between the doc shell and the pres context. r=qdot
Make it always forward to the document's docshell. We rely on it being setup by
the time our stuff runs, and we cannot have multiple pres contexts per document
in different docshells anymore.

This allows me to also move some state to the document (about whether it's
currently loaded in a chrome docshell (nsPresContext::mIsChrome) and whether
it's a chrome origin image (nsPresContext::mIsChromeOriginImage), which will
help for bug 1490401 / bug 1418159.

The pres context already relies on having the docshell available on `Init` and
we don't properly handle dynamic changes to it.

The reason I store some state like whether the doc URI is chrome:// and whether
we're in a chrome docshell is not (only) to avoid recomputing it over and over,
but also to allow me to read them from Stylo (main-thread blocked, but poke at
that from multiple non-main-threads).

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

--HG--
extra : moz-landing-system : lando
2019-02-19 22:53:40 +00:00
Michal Novotny
c08ee22eca Bug 1525527 - Crash in OOM | large | NS_ABORT_OOM | mozilla::dom::WebSocket::CreateAndDispatchMessageEvent, r=michal 2019-02-19 08:22:00 +02:00