Commit Graph

603268 Commits

Author SHA1 Message Date
Philipp Hancke
e9fe55c7a4 Bug 1468165 [wpt PR 11455] - webrtc wpt: add cleanup to close peerconnections, a=testonly
Automatic update from web-platform-testswebrtc wpt: add cleanup to close peerconnections

adds a pc.close() to all RTCPeerConnections in promise_test
and async_test. This is codemod-powered by this:
e844b2467c/wpt-rtcpeerconnection-no-helpers

BUG=836871

Change-Id: Iee84ef938bf477a55612b6012c6de464c6aea55b
Reviewed-on: https://chromium-review.googlesource.com/1049983
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565591}

--

wpt-commits: 1622a02855f769d64d3d286eaa70a8640532310a
wpt-pr: 11455
2018-07-11 07:48:10 +01:00
moz-wptsync-bot
9c8af6e2ae Bug 1466184 [wpt PR 11304] - Update wpt metadata, a=testonly
wpt-pr: 11304
wpt-type: metadata
2018-07-11 07:48:07 +01:00
Simon Pieters
f374f5a097 Bug 1466184 [wpt PR 11304] - HTML: Use a URL that is more likely to fail to parse in img test, a=testonly
Automatic update from web-platform-testsHTML: Use a URL that is more likely to fail to parse in img test (#11304)

Part of #1126.
--

wpt-commits: 044cb1b9a719fd2ff423e0bcd2e62dd6e547d52d
wpt-pr: 11304
2018-07-11 07:48:05 +01:00
moz-wptsync-bot
366284e546 Bug 1464783 [wpt PR 11177] - Update wpt metadata, a=testonly
wpt-pr: 11177
wpt-type: metadata
2018-07-11 07:48:02 +01:00
moz-wptsync-bot
0597df21db Bug 1464783 [wpt PR 11177] - webrtc wpt: remove test_state_change_event, a=testonly
Automatic update from web-platform-testswebrtc wpt: remove test_state_change_event

removes test_state_change_event which initiates a "subtest" using
a shared peerconnection resource.

BUG=836871

Change-Id: I692bb5826c83d0d36d4169858ab2872d41c03b30
Reviewed-on: https://chromium-review.googlesource.com/1074696
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562844}

--
Fire RTCPeerConnection.onsignalingstatechange in the correct order.

With this change, onsignalingstatechange always fires before the
setLocalDescription's promise resolves.

Before this change, signaling state changes were surfaced with callbacks
firing separately from the callback that setLocalDescription or
setRemoteDescription had completed. As a result, the result of a SLD/SRD
operation was surfaced in two PostTasks instead of one. This could lead
to flaky behavior where JavaScript task execeution cycles may or may not
execute between PostTasks which lead to undefined order. Also when the
signalingstatechange was surfaced to the JS thread the firing of the
event was delayed by a task execution cycle due to
ScheduleDispatchEvent.
- If both PostTasks were handled in the same cycle, the event firing
  would be scheduled and the promise resolved, such that the promise's
  then() is invoked just before the event fires (scheduled after
  promise). This is NOT in accordance with the spec.
- If onsignalingstatechange's PostTask was handled in its own cycle,
  the event would be scheduled such that by the time the
  setLocalDescription's callback's PostTask occurs resolving the
  promise, the event would fire before the promise's then(). This IS
  in accordance with the spec.

With this change, the onsignalingstatechange event is fired without
delay, and it is processed in by the same observer that handles the
SLD/SRD callback, so the order is always guaranteed to be the same.

In addition, this CL removes the usage of
WebRTCPeerConnectionHandlerClient::SignalingState and relies on the
webrtc::PeerConnectionInterface::SignalingState enum directly. This
is part of the Onion Souping work (crbug.com/787254).

Bug: 848768, 787254
Change-Id: I7bc10439c44c6ff6beab0289975295ff2e051b9c
Reviewed-on: https://chromium-review.googlesource.com/1085302
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565291}

--

wpt-commits: eb37a99cd339ec8d0887ae82b2e66ff6b23cf7b3, 3d14e696f006162c15c1e4cdef1c7fa145af0e97
wpt-pr: 11177
2018-07-11 07:48:00 +01:00
sotaro
885555c9c4 Bug 1474532 - Suppress redundant frame generation with async-scene-build enabled r=kats 2018-07-11 12:47:06 +09:00
Eitan Isaacson
1f354f1604 Bug 1473998 - Use EditText entry in accessible's classNames and use the hint for the label. r=yzen r=jchen 2018-07-10 17:31:00 +03:00
Kristen Wright
19310fa39a Bug 1466979 - Separate JS::ubi::EdgeVectorTracer and JS::ubi::SimpleEdgeRange into UbiNodeUtils.h r=jimb
Separated SimpleEdgeRange into the new UbiNodeUtils.h, updated build files, changed SimpleEdgeRange::init to SimpleEdgeRange::addTracerEdges, created bool addEdge to add new edges to the vector.
2018-05-31 14:13:00 -07:00
L. David Baron
a71a9e006e Bug 1474516 - A little cleanup of border-collapse code while reviewing bug 1405929. r=dholbert
MozReview-Commit-ID: A3zoPCvu4jU
2018-07-11 09:34:43 +10:00
Cosmin Sabou
1519cc7aac Backed out changeset ae9049c5ac63 (bug 1473998) for gv-junit failures on test.AccessibilityTest.testTextEntryNode. a=backout 2018-07-11 02:06:05 +03:00
Cosmin Sabou
26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Kris Maglione
a4453fc75f Bug 1474140: Don't load FormAutofillUtils.jsm at content process startup. r=MattN
MozReview-Commit-ID: 2bOyTPU9QbX

--HG--
extra : rebase_source : 8f8c7e216612437f853df2b5cc8dd5fb3174d10b
2018-07-07 17:49:34 -07:00
André Bargull
ad359328af Bug 1474348 - Part 2: Don't use BlockOnPromise fast path with non-default resolving functions. r=arai 2018-07-09 09:49:23 -07:00
André Bargull
9fdd7e6831 Bug 1474348 - Part 1: Add accessors for Promise fixed slots and combine default resolving functions flags. r=arai 2018-07-09 09:47:27 -07:00
Eitan Isaacson
868533e1cb Bug 1473998 - Use EditText entry in accessible's classNames and use the hint for the label. r=yzen r=jchen 2018-07-10 12:40:00 +03:00
Ekanan Ketunuti
eb919d07de Bug 1474550 - Add words to en-US dictionary. r=ehsan 2018-07-10 17:49:06 +07:00
David Major
e2cdb30639 Bug 1443590: Use clang-cl for official Windows builds. r=gps 2018-07-10 16:25:47 -04:00
Eitan Isaacson
a17a08b748 Bug 1473730 - Don't speak entire subtree of document when it is focused. r=yzen
After page load the document is focused and the entire subtree is
spoken. It should only speak the name.

--HG--
extra : rebase_source : bfc5542969fa29c45b9617d873a3dba7bf1a47c2
2018-07-10 08:43:00 +03:00
arthur.iakab
7bd656627d Backed out changeset caab8817cbf2 (bug 1466979)For build bustages on js/src/vm/UbiNode.cpp CLOSED TREE 2018-07-10 22:56:05 +03:00
Eitan Isaacson
6e015436cb Bug 1473605 - Don't clump labels and controls together. It messes with focus events. r=yzen 2018-07-05 15:06:00 +03:00
Nazım Can Altınova
c51d375549 Bug 1473303 - Add a AutoProfilerLabel member to AutoEntryScript class to add a label frame for evaluating scripts r=bz
MozReview-Commit-ID: CqfO7r7JoPS

--HG--
extra : rebase_source : 44f85f3b698ddb539134f75ea2bbc324b7ce8627
2018-07-04 15:35:07 +02:00
Wander Lairson Costa
a6edc697ce Bug 1473818: Fix global constructors count regression r=jonco
Bug 1465505 moved from PRJ_Now to mozilla::TimeStamp. As a side effect,
it introduced a few extra global constructors calls.

This patch fixes it.

MozReview-Commit-ID: 9VX83JZIyds

--HG--
extra : rebase_source : 01a22a8eea3ab224dbaa1a93d2a73ebb9ab6b6ea
2018-07-06 18:28:08 -03:00
Marco Bonardo
e9e4f16179 Bug 1474401 - Replace probes owner for PLACES_DATABASE_CORRUPTION_HANDLING_STAGE and PLACES_MOST_RECENT_EXPIRED_VISIT_DAYS r=Standard8,chutten
The probe owner should be an actual contact and not a mailing list

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

--HG--
extra : moz-landing-system : lando
2018-07-10 15:32:03 +00:00
Kartikaya Gupta
11b43679d8 Bug 1421825 - Fix crash and re-enable crashtest. r=jrmuizel
In some cases we get a gecko display list that looks like this:

WrapList with asr(<A>, <B>)
  Item with asr (<B>) and clipchain(<something> [A])

In this case, we would initialize the WebRenderLayerScrollData for the
nested item using a stop-at ancestor of A (because that was the leafmost
ASR from the containing WrapList) but the item itself has an ASR of B,
which is an ancestor of A. So when walking up from B we'd never hit the
stop-at ancestor, and so we'd end up duplicating metrics from the
containing WRLSD onto the nested WRLSD. This generated an assertion
failure in the APZ code.

This patch detects this scenario and skips adding metrics on the nested
WRLSD. This produces an APZ tree equivalent to what the non-WebRender
path would produce.

MozReview-Commit-ID: 8eo6pzXXKBd

--HG--
extra : rebase_source : 0581c54c4d9fa6ca08249e42b306c7155022bec7
2018-07-10 09:37:40 -04:00
Michael Kaply
81556be6b8 Bug 1352598 - Add WebExtension API for access to search. r=aswan
MozReview-Commit-ID: 4pV2DGMcV7G

--HG--
extra : rebase_source : 650606638e580daa0c7f3b49e8fd085b039705bc
2018-06-18 10:39:12 -05:00
Jim Chen
3f398d4b6f Bug 1463484 - 2. Add test for find-in-page; r=esawin,snorp
Add some test cases for find-in-page and the different flags.

MozReview-Commit-ID: BzN0OTSUy7z

--HG--
extra : rebase_source : ef558aedc71d04f33dfa58271a29cd66486ff89d
2018-07-10 13:12:55 -04:00
Jim Chen
f5a1a1b10b Bug 1463484 - 1. Add SessionFinder; r=droeh,esawin,snorp
Add a SessionFinder API for find-in-page functionality.

MozReview-Commit-ID: KB7dOPUC6s2

--HG--
extra : rebase_source : d90400bfa15ba311668d5da37a64465863bec05d
2018-07-10 13:12:55 -04:00
Michael Kaply
cda5e3b2cd Bug 1460419 - Remove geoSpecificPref code from search service. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2036

--HG--
extra : moz-landing-system : lando
2018-07-10 13:17:20 +00:00
Andrew Swan
d6104e5c4c Bug 1451513 Part 2: Convert mochikit to a webextension r=jmaher,kmag
This is another quick-and-dirty port.  Some of the test logic could
probably be moved to unprivileged extension code but there's no urgent
reason to do that right now.

MozReview-Commit-ID: Af0XQbakLsx

--HG--
rename : testing/mochitest/bootstrap.js => testing/mochitest/api.js
extra : rebase_source : 17f8af667e73555bd69391d3be0835c3e50c90cd
2018-07-05 15:42:11 -07:00
Andrew Swan
0696fa5e78 Bug 1451513 Part 1: Allow registering chrome: content resources r=kmag
MozReview-Commit-ID: IuUnzb24jCN

--HG--
extra : rebase_source : 4c9c3e2c0ddbb64df47af88c74ee1267a15a6af3
2018-07-05 13:59:25 -07:00
Johannes Willbold
e5d310f78d Bug 1473967: Added C++/Rust glue code for maxptime, r=dminor
Added the C++/Rust glue code for maxptime.
Added the C++ unit test CheckMaxPtime.

MozReview-Commit-ID: 58Qbrpktxwx

--HG--
extra : rebase_source : 1aed17367e230f0e397b196b759deaf18e4a3fd8
2018-07-06 10:51:30 -07:00
Johannes Willbold
0e35e80e48 Bug 1433529: Fixed TODOs in parse_sdp, r=dminor
Changed parse_sdp to use StringView instad of raw pointers
Fixed all TODOs by using the existing StringView::into trait instead of doing a manual string conversion.

MozReview-Commit-ID: 5m7rLAu8vwS

--HG--
extra : rebase_source : f34cf389829772b4ca84d7ba895a8b71bd620f64
2018-06-29 15:03:58 -07:00
Kristen Wright
35cd421aed Bug 1466979 - Separate JS::ubi::EdgeVectorTracer and JS::ubi::SimpleEdgeRange into UbiNodeUtils.h r=jimb
Separated SimpleEdgeRange into the new UbiNodeUtils.h, updated build files, changed SimpleEdgeRange::init to SimpleEdgeRange::addTracerEdges, created bool addEdge to add new edges to the vector.
2018-05-31 14:13:00 -07:00
Ryan VanderMeulen
16150016a5 Bug 1462906 - Make HTTP throttling v2 algorithm Nightly-only due to video streaming regressions. r=mayhemer
--HG--
extra : rebase_source : c5abffe2795c2c608d72deeb1e246f98297430fa
2018-07-10 14:53:36 -04:00
Ben Kelly
a99ba38721 Bug 1469048 Disable service worker propagation when e10s pref is enabled. r=mrbkap
--HG--
extra : rebase_source : f7a11d459a7f54ecc8b71746ff2810a7bb276692
2018-07-09 16:02:41 -07:00
Ben Kelly
87bf0f7f23 Bug 1459209 P15 Implement RemoteServiceWorkerContainerImpl::GetReady() across IPC to the parent-side SWM. r=mrbkap
--HG--
extra : rebase_source : 119a1cb66828c3dbb21cce86aca67793f0657321
2018-07-09 16:02:41 -07:00
Ben Kelly
d7b64230f7 Bug 1459209 P14 Implement RemoteServiceWorkerContainerImpl::GetRegistrations() across IPC to the parent-side SWM. r=mrbkap
--HG--
extra : rebase_source : 464a53e3e0c3eb37cdc7f4c73a43140fba4d5794
2018-07-09 16:02:41 -07:00
Ben Kelly
be03ee0457 Bug 1459209 P13 Implement RemoteServiceWorkerContainerImpl::GetRegistration() across IPC to the parent-side SWM. r=mrbkap
--HG--
extra : rebase_source : 60f674e9d1d5c0701f6ed3145427ad8fc7012e55
2018-07-09 16:02:40 -07:00
Ben Kelly
4207daa618 Bug 1459209 P12 Implement RemoteServiceWorkerContainerImpl::Register() across IPC to the parent-side SWM. r=mrbkap
--HG--
extra : rebase_source : 4c57b9b8006ab4378c5a0be4a7c13136152f80b0
2018-07-09 16:02:40 -07:00
Ben Kelly
e9dc1bae32 Bug 1459209 P11 Propogate registration state changes back from the parent to the child. r=mrbkap
--HG--
extra : rebase_source : 86bea6e7bcf6376d1fc5366a1a07b208f3805ce0
2018-07-09 16:02:40 -07:00
Ben Kelly
39b1a104c9 Bug 1459209 P10 Implement RemoteServiceWorkerRegistrationImpl::Unregister() across IPC to the parent-side SWM. r=mrbkap
--HG--
extra : rebase_source : 8411bc26ff172a9888e040fc09b21cab745e4161
2018-07-09 16:02:40 -07:00
Ben Kelly
94f85205a9 Bug 1459209 P9 Implement RemoteServiceWorkerRegistrationImpl::Update() across IPC to the parent-side SWM. r=mrbkap
--HG--
extra : rebase_source : 87d77ea7472b59b7e0d243d714ad19158cd7c332
2018-07-09 16:02:40 -07:00
Ben Kelly
6323d7c413 Bug 1459209 P8 Implement RemoteServiceWorkerImpl::PostMessage() across IPC and to the parent-side SWM. r=mrbkap
--HG--
extra : rebase_source : d38628cc7b8822b4213c8034f0c1dd783585ddfb
2018-07-09 16:02:40 -07:00
Ben Kelly
fd93586372 Bug 1459209 P7 Scaffold a ServiceWorkerContainerProxy class to connect the parent actor to the main thread SWM. r=mrbkap
--HG--
extra : rebase_source : 4693118c6b7bfe93ea772e4ab21f79c6a2448598
2018-07-09 16:02:40 -07:00
Ben Kelly
5e3089171b Bug 1459209 P6 Scaffold a ServiceWorkerRegistrationProxy class to connect the parent actor to the main thread SWM. r=mrbkap
--HG--
extra : rebase_source : 355d278c7b891ae8de0a136d5c7db024ad0d0a76
2018-07-09 16:02:40 -07:00
Ben Kelly
d6345919a0 Bug 1459209 P5 Scaffold a ServiceWorkerProxy class to connect the parent actor to the main thread SWM. r=mrbkap
--HG--
extra : rebase_source : 555963a72a75785fc2aa43d7fa2abedeb758289d
2018-07-09 16:02:40 -07:00
Ben Kelly
e486332066 Bug 1459209 P4 Scaffold RemoteServiceWorkerRegistrationImpl to connect the binding registration to the actor. r=mrbkap
--HG--
extra : rebase_source : 6e113ac5ead01a50d8dcdd5c0124c42901b84c5e
2018-07-09 16:02:39 -07:00
Ben Kelly
9797d85bc5 Bug 1459209 P3 Scaffold RemoteServiceWorkerContainerImpl to connect the binding ServiceWorkerContainer to the PServiceWorkerContainerChild actor. r=mrbkap
--HG--
extra : rebase_source : b0a51ce7bbc1b9b27531584d0647ae28d56b15e2
2018-07-09 16:02:39 -07:00
Ben Kelly
09c855d41b Bug 1459209 P2 Scaffold RemoteServiceWorkerImpl to connect the binding ServiceWorker to the PServiceWorkerChild actor. r=mrbkap
--HG--
extra : rebase_source : 07ec45d8d019e708be144464302168ce331518e9
2018-07-09 16:02:39 -07:00
Ben Kelly
b970b0c8cc Bug 1459209 P1 Add IPC actor boilerplate for PServiceWorker, PServiceWorkerContainer, and PServiceWorkerRegistration. r=mrbkap
--HG--
extra : rebase_source : 10106a76c6e9188238a89821d59bdcbf4eedbab6
2018-07-09 16:02:39 -07:00