Commit Graph

618055 Commits

Author SHA1 Message Date
Kartikaya Gupta
e238c01495 Bug 1487831 - Reduce number of reftests flagged as failing on windows-qr. r=jrmuizel 2018-10-10 12:55:14 -04:00
Cristina Coroiu
773e23aca4 Bug 1234567 - disable test_notificationbox.xul for frequent failures on windows and linux. r=jmaher 2018-10-10 07:56:00 +03:00
Aki Sasaki
b7eae5f7b8 bug 1471197 - sign mar hashes. r=catlee
Summary: Switch to autograph mar hash signing.

Test Plan:
X pin nightly updates
_ autoland this patch
_ uplift this patch to central
_ wait for nightlies to spin
_ test nightlytest channel
_ unpin nightly updates

Reviewers: catlee

Tags: #secure-revision

Bug #: 1471197

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

--HG--
extra : rebase_source : 755efd3d2cb350d9d70bb7841a0c173b6244384f
2018-10-10 09:27:44 -07:00
Ryan VanderMeulen
def6058f00 Merge m-c to inbound. a=merge 2018-10-10 12:31:21 -04:00
Ryan VanderMeulen
ea3d29a96f Merge inbound to m-c. a=merge 2018-10-10 12:30:22 -04:00
Ryan VanderMeulen
ac3d5d2cca Backed out 5 changesets (bug 1481612, bug 1483651) for merge conflicts with bug 1490253.
Backed out changeset de7e35a459e3 (bug 1481612)
Backed out changeset eb440bc9fed1 (bug 1481612)
Backed out changeset 7f8cad00dc2e (bug 1483651)
Backed out changeset 1ecd5ddcdd79 (bug 1481612)
Backed out changeset c8f12706c421 (bug 1481612)
2018-10-10 12:29:18 -04:00
Daniel Varga
4f26bbce63 Merge autoland to mozilla-central. a=merge 2018-10-10 19:07:16 +03:00
Dorel Luca
92a3152cee Backed out 4 changesets (bug 1479037) on dev's request for causing android crashes. a=backout
Backed out changeset 85f8ca59f747 (bug 1479037)
Backed out changeset 630601f0663e (bug 1479037)
Backed out changeset c926c6470235 (bug 1479037)
Backed out changeset f8a20bd86895 (bug 1479037)
2018-10-10 18:52:59 +03:00
Gabriel Luong
08752585fb Bug 1496990 - Move the onSidebarSelect event handler before adding the sidebar tabs. r=pbro 2018-10-10 11:40:30 -04:00
Andrea Marchesini
99da36b9c7 Bug 1497141 - FeaturePolicy: camera, microphone - WPTs, r=jib 2018-10-10 16:54:18 +02:00
Andrea Marchesini
38a1af1893 Bug 1497141 - FeaturePolicy: microphone, r=jib 2018-10-10 16:54:18 +02:00
Andrea Marchesini
172ef9c621 Bug 1497141 - FeaturePolicy: camera, r=jib 2018-10-10 16:54:17 +02:00
Simon Fraser
8bd61a2e25 Bug 1492639 Add destination checks to bouncer validation r=mtabara
Reviewers: mtabara

Reviewed By: mtabara

Subscribers: bhearsum, sfraser, catlee, mtabara

Tags: #secure-revision, #bmo-releng-security

Bug #: 1492639

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

--HG--
extra : rebase_source : aee00eb82e67ac028238470e29b462f324c177b4
2018-10-10 15:00:18 +01:00
Jeff Muizelaar
21fb9471be Bug 1497829. Update webrender to commit 1396114d80fb19df2295a40b0b14abc8f24afa03
--HG--
extra : rebase_source : 83329c3193d0e91e5d5a12d688db0d70cd30389f
2018-10-10 09:57:27 -04:00
Andreas Tolfsen
de069c2901 bug 1497882: geckodriver: add link to perl api docs; r=me
DONTBUILD
2018-10-10 14:56:41 +01:00
Masayuki Nakano
5c47cf2ccf Bug 1461708 - part 8: Make EventStateManager handle middle click paste as a default action of mouseup event r=smaug
This patch makes EventStateManager handle middle click paste as a default
action.

Unfortunately, we cannot remove the call of HandleMiddleClickPaste() in
EditorEventListener because it's important to consume middle click event
before any elements in the editor.  For example, if clicked HTMLEditor has
non-editable <a href> element, middle click event needs to be handled by the
editor rather than contentAreaUtils which handles click events of <a href>
elements.  The cause of this kind of issues is, any click event handlers
which handle non-primary button events still listen to "click" events.
Therefore, this patch makes HandleMiddleClickPaste() do nothing if the mouseup
event is fired on an editor.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 12:06:17 +00:00
Masayuki Nakano
9b40433ef6 Bug 1461708 - part 7: Make EventStateManager::HandleMiddleClickPaste() dispatch ePaste event by itself r=smaug
This is preparation of the last patch.  Even if no editor is clicked with
middle button, we need to do:
- collapse Selection at the clicked point.
- dispatch "paste" event.

Therefore, HandleMiddleClickPaste() should dispatch ePaste event by itself
and each editor methods should have a bool argument which the caller wants
ePaste event automatically.

Note that Chromium dispatches "paste" event and pastes clipboard content
into clicked editor even if preceding "auxclick" event is consumed.
However, our traditional behavior is not dispatching "paste" event nor
pasting clipboard content.  Unless Chromium developer keeps their odd
behavior, we should keep our traditional behavior since our behavior is
conforming to DOM event model.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 12:05:39 +00:00
Masayuki Nakano
d581c69689 Bug 1461708 - part 6: Make EditorEventListener::MouseClick() use WidgetMouseEvent instead of dom::MouseEvent r=m_kato
The event argument of only EditorEventListener::MouseClick() can be replaced
with WidgetMouseEvent simply.  So, for avoiding unnecessary RefPtr in
EditorEventListener::HandleEvent(), we should fix this now.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 12:05:21 +00:00
Masayuki Nakano
fd4e78f2a1 Bug 1461708 - part 5: Move EditorEventListener::HandleMiddleClickPaste() to EventStateManager r=smaug
EventStateManager needs to handle middle click paste without editor.
Therefore, the handler should be in EventStateManager.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 12:04:17 +00:00
Masayuki Nakano
d472d6f312 Bug 1461708 - part 4: Move implementation of UIEvent::GetRangeParent() and UIEvent::RangeOffset() to nsLayoutUtils r=smaug
We need to move EditorEventListener::HandleMiddleClickPaste() into
EventStateManager to handle middle click paste after all click events are
dispatched.  This is preparation of the change.

HandleMiddleClickPaste() uses UIEvent::GetRangeParent() and
UIEvent::RangeOffset() to collapse Selection at clicked point.  However,
EventStateManager cannot access them since EventStateManager can handle it
with WidgetMouseEvent.  Fortunately, only WidgetMouseEvent is necessary for
implementing them.  Therefore, we can move the implementation into
nsLayoutUtils and merge them.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 12:03:34 +00:00
Masayuki Nakano
4bc3e93065 Bug 1461708 - part 3: EventStateManager::InitAndDispatchClickEvent() shouldn't overwrite nsEventStatus with nsEventStatus_eIgnore r=smaug
EventStateManager::InitAndDispatchClickEvent() sends given nsEventStatus to
nsIPresShell::HandleEventWithTarget().  Then, it sends the status to
EventStateManager::PreHandleEvent() before dispatching the event.  At this
time, EventStateManager::PreHandleEvent() resets the state to
nsEventStatus_eIgnore.  Therefore, for example, if eMouseClick event is
consumed but eMouseAuxClick is ignored, the event status result is
nsEventStatus_eIgnore.  So, neither DispatchClickEvents() nor
PostMouseUpEventHandler() cannot check whether at least one click event
is consumed.

This patch makes EventStateManager::InitAndDispatchClickEvent() sends
local variable of nsEventStatus to nsIPresShell::HandleEventWithTarget().
Then, merge the result with current status.

If we'd change nsEventStatus to enum class, we could make this change as
custom "operator|=" or something.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 12:02:50 +00:00
Masayuki Nakano
bfb564efb0 Bug 1461708 - part 2: Split EventStateManager::CheckForAndDispatchClick() r=smaug
This patch splits EventStateManager::CheckForAndDispatchClick().  One is for
handling default action of eMouseUp, the other is for dispatching click events.

This makes it easier to add other default actions after dispatching click
events.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 12:01:57 +00:00
Masayuki Nakano
423736e78f Bug 1461708 - part 1: Clean up EventStateManager::CheckForAndDispatchClick() with early-return style r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D7848

--HG--
extra : moz-landing-system : lando
2018-10-10 12:01:18 +00:00
Coroiu Cristina
9a32880ddc Backed out 5 changesets (bug 1493104) for ESlint failure at builds/worker/checkouts/gecko/devtools/client/webide/content/addons.js on a CLOSED TREE
Backed out changeset a6cbba097c8a (bug 1493104)
Backed out changeset 8df2a288391c (bug 1493104)
Backed out changeset cb9f55dd4257 (bug 1493104)
Backed out changeset f7ecf841eb8f (bug 1493104)
Backed out changeset fa20c2c68c42 (bug 1493104)
2018-10-10 14:49:13 +03:00
Julian Descottes
2b20cddf86 Bug 1493104 - Add unit test for AddonAwareADBScanner;r=ladybenko,daisuke
Depends on D7876

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

--HG--
extra : moz-landing-system : lando
2018-10-10 11:32:11 +00:00
Julian Descottes
057087015c Bug 1493104 - Add ADBScanner decorator to listen to addon status udpates;r=ladybenko,daisuke
Depends on D7875
I would like to make the adb addon dependency transparent to the scanner consumers

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

--HG--
extra : moz-landing-system : lando
2018-10-10 11:31:25 +00:00
Julian Descottes
bf7acbf719 Bug 1493104 - Add adbScanner to WebIDE scanners if status is already installed;r=ladybenko,daisuke
Depends on D7873.
This fixes the following scenario:
- install ADB
- connect a Device
- start about:debugging
=> device shows up in sidebar
- start WebIDE
=> device should show up in WebIDE

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

--HG--
extra : moz-landing-system : lando
2018-10-10 11:29:58 +00:00
Julian Descottes
cc74868ab0 Bug 1493104 - Listen to ADB extension updates in about:debugging usb-runtime helper;r=ladybenko,daisuke
Depends on D7872. This fixes the bug where about:debugging thinks the addon
is uninstalled the first time it starts.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 11:30:36 +00:00
Julian Descottes
605247446e Bug 1493104 - Convert ADBScanner from a singleton to a class;r=ladybenko,daisuke
This allows to cleanly disable the scanner when you have several users.
Without this if you start both WebIDE and about:debugging, the first listeners
set in enable() can never be removed.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 11:08:28 +00:00
Johann Hofmann
0a8491c6a9 Bug 1496522 - Change "All Detected Trackers" to "Trackers". r=flod
Differential Revision: https://phabricator.services.mozilla.com/D8198

--HG--
extra : moz-landing-system : lando
2018-10-10 11:25:59 +00:00
Daniel Varga
26f16f3b09 Merge autoland to mozilla-central. a=merge 2018-10-10 13:52:23 +03:00
Andrei Lazar
e68344d8c9 Bug 1478735 Download with target=_blank switches to other tab target=_blank r=JanH,jchen
Download with target=_blank now switches to the parent tab.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 09:49:07 +00:00
Tom Glowka
00d2bc66d4 Bug 1490092 - Clean opened tabs after Open request in tab test; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D5511

--HG--
extra : moz-landing-system : lando
2018-10-10 10:18:07 +00:00
Daniel Varga
4f8277ed77 Merge mozilla-central to autoland. a=merge 2018-10-10 13:55:13 +03:00
Dão Gottwald
7fc7f149c5 Bug 1497814 - Clean up UrlbarInput getters and setters. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D8188

--HG--
extra : moz-landing-system : lando
2018-10-10 10:18:59 +00:00
Gijs Kruitbosch
e61cc054ca Bug 1493634 - make docshell responsible for outer window IDs, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D7702

--HG--
extra : moz-landing-system : lando
2018-10-10 10:20:36 +00:00
Raphael Pierzina
3ef88382ef Bug 1471622 - Update dependency specifier for mozfile in tps; r=davehunt
Depends on D8097

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

--HG--
extra : moz-landing-system : lando
2018-10-10 10:09:59 +00:00
Raphael Pierzina
50207b9243 Bug 1471622 - Update dependency specifier for mozfile in mozrunner; r=davehunt
Depends on D8096

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

--HG--
extra : moz-landing-system : lando
2018-10-10 10:11:13 +00:00
Raphael Pierzina
866cdc914d Bug 1471622 - Update dependency specifier for mozfile in mozprofile; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D8096

--HG--
extra : moz-landing-system : lando
2018-10-10 10:11:26 +00:00
Vincent Lequertier
f71621d402 Bug 1451494 - Simplify edition of the "method" field in netmonitor edit and resend panel; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D6981

--HG--
extra : moz-landing-system : lando
2018-10-10 10:08:38 +00:00
Dorel Luca
65f9687eb1 Backed out 4 changesets (bug 1470280) for browser-chrome failure in layout/xul/test/browser_bug703210.js. a=backout
Backed out changeset 72e7ef77480d (bug 1470280)
Backed out changeset 403c3d0daf6a (bug 1470280)
Backed out changeset fe7ccd9fee76 (bug 1470280)
Backed out changeset 60699c2387f6 (bug 1470280)
2018-10-10 10:00:19 +03:00
Dorel Luca
c5bc5672ed Backed out 4 changesets (bug 1314057) for devtool failures. a=backout
Backed out changeset f46426835026 (bug 1314057)
Backed out changeset 90480b4b4c43 (bug 1314057)
Backed out changeset fa0d46e77437 (bug 1314057)
Backed out changeset 241f876d557f (bug 1314057)

--HG--
rename : devtools/client/shared/test/addon1.xpi => devtools/client/debugger/test/mochitest/addon1.xpi
rename : devtools/client/shared/test/addon2.xpi => devtools/client/debugger/test/mochitest/addon2.xpi
rename : devtools/client/debugger/new/test/mochitest/browser_dbg_global-method-override.js => devtools/client/debugger/test/mochitest/browser_dbg_global-method-override.js
rename : devtools/client/shared/test/browser_dbg_globalactor.js => devtools/client/debugger/test/mochitest/browser_dbg_globalactor.js
rename : devtools/client/shared/test/browser_dbg_listaddons.js => devtools/client/debugger/test/mochitest/browser_dbg_listaddons.js
rename : devtools/client/shared/test/browser_dbg_listtabs-01.js => devtools/client/debugger/test/mochitest/browser_dbg_listtabs-01.js
rename : devtools/client/shared/test/browser_dbg_listtabs-02.js => devtools/client/debugger/test/mochitest/browser_dbg_listtabs-02.js
rename : devtools/client/shared/test/browser_dbg_listtabs-03.js => devtools/client/debugger/test/mochitest/browser_dbg_listtabs-03.js
rename : devtools/client/shared/test/browser_dbg_multiple-windows.js => devtools/client/debugger/test/mochitest/browser_dbg_multiple-windows.js
rename : devtools/client/shared/test/browser_dbg_navigation.js => devtools/client/debugger/test/mochitest/browser_dbg_navigation.js
rename : devtools/client/shared/test/browser_dbg_target-scoped-actor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/shared/test/browser_dbg_target-scoped-actor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
rename : devtools/client/debugger/new/test/mochitest/examples/doc_global-method-override.html => devtools/client/debugger/test/mochitest/doc_global-method-override.html
2018-10-10 09:16:11 +03:00
Gurzau Raul
fa37566219 Merge inbound to mozilla-central. a=merge 2018-10-10 07:35:14 +03:00
Bogdan Tara
59490ec86c Backed out changeset 8f0aa4187619 (bug 1458538) for idlharness.window.html failures CLOSED TREE 2018-10-10 03:54:42 +03:00
Kris Maglione
c0ccca38cd Bug 1455637: Use RefPtr rather than nsCOMPtr to avoid data race. r=mccr8
getter_AddRefs for nsCOMPtr does an AssertNoQueryNeeded check when its
temporary is destroyed. For the mReaderThread, this happens at a time when
control of the member variable has been handed over to the reader thread,
which causes a data race in the query needed check when the reader thread
shuts itself down and clears the member.

Switching to RefPtr solves this problem by removing the unnecessary check.

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

--HG--
extra : rebase_source : 0532d152b6be57451e5729bf6b72e2056f3ed300
2018-10-09 13:22:28 -07:00
Bumsik Kim
e87cd4b5b5 Bug 1458538 - Add pause and resume events for MediaRecorder. r=bzbarsky
Summary:
This resolves the two problems of MediaRecorder:

1. MediaRecorder does not fire pause/resume events when the corresponding methods are called, as mentioned in D7910.
2. The WebIDL for MediaRecorder does not specify onpause/onresume event handler attributes neither.

DispatchSimpleEvent() is used because there are no event attributes needed.

Test Plan: The MediaRecorderTest.html attached in the bug report will be enough to test if the events work well as intended.

Reviewers: jya, bzbarsky

Reviewed By: jya, bzbarsky

Bug #: 1458538

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

--HG--
extra : rebase_source : d010d5889a5395da0abbabb7067e8de516fc64f1
extra : histedit_source : 583e34b4990345bea28a7710b2e68fab4c32c233
2018-10-10 02:16:32 +03:00
Eric Faust
b54f88b82c Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/ (r=jorendorff)
--HG--
extra : rebase_source : 3f1e7542a152a6992aa6ae7a5f24bd9442e3d21c
2018-10-09 15:41:50 -07:00
Eric Faust
f6e1f3d183 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/heap-analysis/ (r=jorendorff)
--HG--
extra : rebase_source : 84762df0b7e78462c85f0957abbbbe7a38c751fd
2018-10-09 15:41:50 -07:00
Eric Faust
ea0de15acf Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/xdr/ (r=jorendorff)
--HG--
extra : rebase_source : cb56a482a9d9bd2378deeac7285c8fc622d0a35b
2018-10-09 15:41:50 -07:00
Eric Faust
ed69df1491 Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/regexp_parse/ (r=jorendorff)
--HG--
extra : rebase_source : 8ab3b2e745c2d9431bcd15582b6d8f54e8fb5c16
2018-10-09 15:41:50 -07:00