Commit Graph

706523 Commits

Author SHA1 Message Date
Coroiu Cristina
b2935aef35 Backed out 5 changesets (bug 1632187) for xpcshell failures at netwerk/test/unit/test_proxyconnect.js
Backed out changeset c0e6dad41b74 (bug 1632187)
Backed out changeset 328ee0899987 (bug 1632187)
Backed out changeset cb775f75ff1f (bug 1632187)
Backed out changeset de6907618ac9 (bug 1632187)
Backed out changeset 1070e843071c (bug 1632187)
2020-05-09 23:22:06 +03:00
Andrea Marchesini
1857609938 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 5 - extra cleanup, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71978
2020-05-09 19:03:47 +00:00
Andrea Marchesini
ac2dfdc4a4 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 4 - remove nsICookieService::setCookieString, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71977
2020-05-09 19:03:30 +00:00
Andrea Marchesini
275ef67da0 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 3 - remove nsICookieService::setCookieString from tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71976
2020-05-09 19:03:12 +00:00
Andrea Marchesini
5dbb73b13c Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 2 - implementation, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71974
2020-05-09 19:02:44 +00:00
Andrea Marchesini
c80e092dc1 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 1 - CookieService::CanSetCookie without nsIChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71973
2020-05-09 19:02:30 +00:00
Dorel Luca
c0aa119d7d Backed out 3 changesets (bug 1635467, bug 1625961) for Devtools failures in resources/tests/browser_resources_exceptions.js. CLOSED TREE
Backed out changeset 1fd6a3754afb (bug 1635467)
Backed out changeset 977b0031b41c (bug 1625961)
Backed out changeset 18646e7b984f (bug 1625961)
2020-05-09 20:09:59 +03:00
Dorel Luca
4c8951359a Backed out changeset d7df79387af7 (bug 1595046) for Talos tests failures in webconsole/complicated.js. CLOSED TREE 2020-05-09 20:08:21 +03:00
Tarek Ziadé
1c3d120187 Bug 1636684 - deactivate complex condprofs r=sparky
deactivate complex condprofs

Differential Revision: https://phabricator.services.mozilla.com/D74532
2020-05-09 15:15:45 +00:00
Julian Descottes
c1fc956026 Bug 1635467 - Test calling ResourceWatcher::unwatch for several resources r=nchevobbe
Depends on D72854

Differential Revision: https://phabricator.services.mozilla.com/D73904
2020-05-08 21:59:36 +00:00
Julian Descottes
023fbf7b85 Bug 1625961 - Throw when calling ResourceWatcher::watch twice for the same type r=nchevobbe,ochameau
Depends on D72668

Differential Revision: https://phabricator.services.mozilla.com/D72854
2020-05-08 21:58:26 +00:00
Julian Descottes
9fb3f67263 Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-08 21:58:14 +00:00
Emma Humphries
42caaede42 Bug 1636631 - Update in-tree docs for May 8 triage process change r=sylvestre
Update definition to:

The new definition of Triaged will be Firefox-related bugs of type
defect where the component is not
UNTRIAGED, and a non-default value not equal to -- or N/A.

Bugs of type Task or Enhancement may have a severity of N/A,
but defects must have a severity that is neither -- or
N/A.

This means edits to the references to setting release
status flags (which are now not required.)

Also switching to using :ref:`link text <target>` for
internal links because of some errors when compiling
.rst to HTML.

Fix linter error in rst

Differential Revision: https://phabricator.services.mozilla.com/D74515
2020-05-09 09:41:21 +00:00
Nathan Froyd
d196dbda07 Bug 1636571 - use GeneratedFile template in intl/; r=firefox-build-system-reviewers,rstewart
The template is slightly nicer and slightly more modern.

Differential Revision: https://phabricator.services.mozilla.com/D74461
2020-05-08 20:36:10 +00:00
Sylvestre Ledru
1929dd1ab3 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D73347
2020-05-09 14:51:53 +00:00
Jonathan Watt
ac1ef7b1a2 Bug 1636623. Remove some old DEBUG_rods_X from nsPrintSettingsService.cpp. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D74522
2020-05-09 12:34:55 +00:00
Sylvestre Ledru
f73509b9c0 no bug - contribution doc: Define what is treeherder r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D74437
2020-05-09 13:08:27 +00:00
Bogdan Tara
b6c165951a Backed out changeset 78ed541858a2 (bug 1633119) for browser_panelUINotifications* failures CLOSED TREE 2020-05-09 17:48:04 +03:00
Xidorn Quan
5ee0a750a9 Bug 1633119 - Use orderFront for force window full screen. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D74527
2020-05-09 12:04:29 +00:00
Andrea Marchesini
58a398911d Bug 1636069 - Disable reporting-API related WPTs under html/cross-origin-embedder-policy, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D74400
2020-05-09 11:17:16 +00:00
Nicolas Chevobbe
6732178e6d Bug 1595046 - Display thrown object as inspectable elements. r=Honza.
This patch use the new `exception` and `hasException` field from nsIScriptError
so we can render the actual object in the message error instead of a stringified
version.
Error object are still displayed using the `customFormat` prop, so we display
only the type + message + stacktrace (but we'll have a way to inspect them
in the sidebar soon).
Existing tests were updated to fix failures, and some tests/test cases were
added to make sure we cover all the different kind of errors we can display
in the console.

Differential Revision: https://phabricator.services.mozilla.com/D71288
2020-05-09 11:18:20 +00:00
Valentin Gosu
d986351217 Bug 1624090 - Make it possible to forward rust logging into the Gecko logger r=froydnj
This makes it possible to enable rust logging at runtime using about:networking

Differential Revision: https://phabricator.services.mozilla.com/D73146
2020-05-09 11:24:33 +00:00
Andrea Marchesini
8bc8cd34b1 Bug 1635693 - Ensure permissionManager DB connection is active only if the initialization completed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D74385
2020-05-08 16:23:15 +00:00
Cosmin Sabou
5c5100a7ed Bug 1627489 - Update expectations for two-ids.https.html. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D74518
2020-05-09 08:45:20 +00:00
Sylvestre Ledru
e2db40c369 Bug 1636499 - tier build doc - improve the wording (thanks david)
Differential Revision: https://phabricator.services.mozilla.com/D74441
2020-05-08 17:36:49 +00:00
Tooru Fujisawa
2ed7096f1c Bug 1621127 - Assert opcode list is in sync between jsparagus and SpiderMonkey, and update jsparagus. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D74254
2020-05-08 22:49:50 +00:00
sotaro
230d8f88ed Bug 1635769 - Call WebRenderLayerManager::ClearCachedResources() during re-creating widget r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D74392
2020-05-09 05:44:37 +00:00
Bogdan Tara
8bc4e35c9b Backed out changeset ea9641bad8d6 (bug 1635806) for browser_fullscreen-contextmenu-esc.js failures CLOSED TREE 2020-05-09 09:38:52 +03:00
Etienne Bruines
e657c47ebe Bug 1635806 - [testing] Expose eventName in BrowserTestUtils.waitForContentEvent r=ahal
This should make it easier to write tests for race-conditions, as
the resolving value now indicates which event was received.

Differential Revision: https://phabricator.services.mozilla.com/D74124
2020-05-07 18:49:26 +00:00
Nils Ohlmeier [:drno]
bd0469292f Bug 1418804: added unit test coverage for Opus fmpt parameters. r=ng
Depends on D74494

Differential Revision: https://phabricator.services.mozilla.com/D74495
2020-05-08 23:38:57 +00:00
Nils Ohlmeier [:drno]
3234b32c9c Bug 1418804: added support for cbr attribute. r=ng
Depends on D74493

Differential Revision: https://phabricator.services.mozilla.com/D74494
2020-05-08 23:42:23 +00:00
Nils Ohlmeier [:drno]
b999865cb0 Bug 1418804: added ptime attribute to rsdparsa C API crate. r=ng
Depends on D74492

Differential Revision: https://phabricator.services.mozilla.com/D74493
2020-05-08 23:45:54 +00:00
Nils Ohlmeier [:drno]
c4b7f99c65 Bug 1418804: add support for ptime attributes. r=ng
Depends on D71137

Differential Revision: https://phabricator.services.mozilla.com/D74492
2020-05-08 23:45:03 +00:00
Nils Ohlmeier [:drno]
33e7071cd6 Bug 1418804: adding support for usedtx and maxaveragebitrate. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D71137
2020-05-09 03:46:40 +00:00
Emilio Cobos Álvarez
4060ea8247 Bug 1636357 - Update smallbitvec. r=jwatt
This is needed for the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D74401
2020-05-08 18:40:51 +00:00
Erik Nordin
6b2aad6d2b Bug 1636266 - Report XUL Cache StyleSheet Memory r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D74450
2020-05-09 01:41:30 +00:00
David Major
5fff0f03db Bug 1614375 - UBSan pointer-overflow suppressions for clang-10 r=tsmith
Differential Revision: https://phabricator.services.mozilla.com/D63690
2020-05-08 21:46:08 +00:00
Nils Ohlmeier [:drno]
21e50b8e9f Bug 1418804: update webrtc-sdp 0.3.5 -> 0.3.6. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D74491
2020-05-08 23:30:42 +00:00
Nika Layzell
3615e45be9 Bug 1636279 - Part 2: Unify WindowContext new document state updating code, r=farre
When a new document is loaded in a WindowContext, various pieces of state need
to be updated in the parent process. This is currently done in an ad-hoc manner
in nsGlobalWindowOuter::SetNewDocument. This change moves the updating logic
into a common method on WindowGlobalChild.

Differential Revision: https://phabricator.services.mozilla.com/D74325
2020-05-08 20:42:06 +00:00
Nika Layzell
136a1ffa7a Bug 1636279 - Part 1: Streamline WindowContext initialization, r=farre
This should make the flow of how data gets into the initial WindowContext state
more clear, and allows the setting of initial synced WindowContext fields.

Differential Revision: https://phabricator.services.mozilla.com/D74324
2020-05-08 20:44:12 +00:00
Nika Layzell
2b70befb83 Bug 1636186 - Remove unnecessary CookieJarSettingsArgs data from WindowContext, r=timhuang
The entire CookieJarSettingsArgs is currently being synced into every content
process, when only two fields of that structure are actually needed.

Those two fields are extracted from the CookieJarSettingsArgs and synchronized
separately to avoid leaking information such as principals into every content
process.

Differential Revision: https://phabricator.services.mozilla.com/D74258
2020-05-08 20:10:56 +00:00
Jon Bauman
ff79fde159 Bug 1624056 - Properly vendor mp4parse-rust. r=kinetik
This requires --build-peers-said-large-imports-were-ok since
third_party/rust/mp4parse/src/lib.rs is 113KB. This code is just moving from
media/mp4parse-rust to third_party/rust, so it's not really adding to net code
size.

Differential Revision: https://phabricator.services.mozilla.com/D74488
2020-05-09 00:36:48 +00:00
Timothy Nikkel
e28d058a27 Bug 1636061. Rollup popups on direct manipulation event. r=NeilDeakin
Direct Manipulation uses a different input model from processing messages that Windows sends.

Windows asks us if we want to start a direct manipulation session by sending us the DM_POINTERHITTEST message, and we call SetContact if we do. After that Windows won't send us messages until the user ends the gesture. Instead Direct Manipulation will update a transform (that's invisible to the user). We pull that transform and turn it into pan and pinch gestures.

So DealWithPopups is not called and popups don't get rolled up. Instead I call it in the function where we send all events that come from dmanip.

Differential Revision: https://phabricator.services.mozilla.com/D74215
2020-05-08 23:20:38 +00:00
Timothy Nikkel
1bca0138f5 Bug 1630912. Handle sending Direct Manipulation input events properly. r=kats
The old code didn't handle content prevent defaulting the input.

The pinch gesture code doesn't seem to fully work properly, it will allow a little pinch zooming before halting it if content is prevent defaulting it. Not sure what is up yet.

Differential Revision: https://phabricator.services.mozilla.com/D73220
2020-05-08 23:20:31 +00:00
Timothy Nikkel
642d331b8c Bug 1630912. Add a small state machine and code to send pinch and pan events from direct manipulation. r=kats
We can't just get pinch events, we need to handle both.

This state machine code is basically copied from Chrome's implementation.

Differential Revision: https://phabricator.services.mozilla.com/D71307
2020-05-08 23:20:23 +00:00
Timothy Nikkel
9439cfc6c5 Bug 1630912. Hook up direct manipulation object to vsync. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D71306
2020-05-08 23:20:05 +00:00
Timothy Nikkel
3cd8209b42 Bug 1630912. Create the necessary direct manipulation objects. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D71305
2020-05-08 23:19:58 +00:00
Timothy Nikkel
1dcfcb4957 Bug 1630912. Add PT_TOUCHPAD to touchinjection_sdk80.h. r=aklotz
We need this in a later patch.

Differential Revision: https://phabricator.services.mozilla.com/D71304
2020-05-08 23:19:38 +00:00
Kartikaya Gupta
688791ad90 Bug 1630912. Add a simple way to observe vsync on the mainthread. r=jrmuizel
I had to mess with the refcounting of Display (and hence destructors) because we create a NewRunnableMethod inside Display that holds a pointer to |this|. There are versions of NewRunnableMethod that don't take a ref but I'm not sure of the lifetime of Display, so easier to just take a ref since several of the subclasses are already refcounted.

Differential Revision: https://phabricator.services.mozilla.com/D71303
2020-05-08 23:19:31 +00:00
Jean-Yves Avenard
92f0d9e84a Bug 1635001 - P3. Fix APZ controller thread-safety access. r=kats
The APZ was keeping a raw pointer to the controller thread. This was a dangerous exercise.
This was okay on desktop, as the controller thread was the main thread and would have outlived everything else. On Android however it's the UI thread and it could get deleted before we received a last input event.

So we use a strong pointer instead to prevent the thread from being deleted and as such, we now needs to explicitly clear it on shutdown.

This requires the various methods in APZThreadUtils to be made thread-safe so that the controller thread can be shutdown mid-air.

Differential Revision: https://phabricator.services.mozilla.com/D73830
2020-05-08 20:46:09 +00:00