Commit Graph

664791 Commits

Author SHA1 Message Date
Gabriele Svelto
53d4ac9807 Bug 1572565 - Make the remote sandbox broker process' telemetry string consistent r=jld
Differential Revision: https://phabricator.services.mozilla.com/D41291

--HG--
extra : moz-landing-system : lando
2019-08-09 00:03:33 +00:00
Geoff Brown
a0f2f6aebd Bug 1572610 - Change xpcshell android_version to string type; r=jmaher
Change the xpcshell android_version to string type, consistent with mochitest:
https://searchfox.org/mozilla-central/rev/9775cca0a10a9b5c5f4e15c8f7b3eff5bf91bbd0/testing/mochitest/runtestsremote.py#102
test_backgroundfilesaver.js is the only xpcshell test that uses android_version; once bug 1572434
lands, that skip-if will not be required, so I am removing it here. (I'll be sure to rebase
and land on top of 1572434.)

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

--HG--
extra : moz-landing-system : lando
2019-08-09 22:25:22 +00:00
Dzmitry Malyshau
005edf80aa Bug 1570736 - Force disable WR swizzling on Intel 4000 on Mac r=aosmond
Investigation showed that on this platform the texture unit state becomes
corrupted whenever we set the non-identity swizzling (getting garbage from textureSize()).
Given no easy workaround, we disable swizzling for this GPU family on Mac, for now.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 18:57:35 +00:00
Jan-Ivar Bruaroey
8b23465e9a Bug 1564588 - Add test for third-party permission prompt wo/remember this decision. r=johannh
Depends on D40897

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

--HG--
extra : moz-landing-system : lando
2019-08-09 20:35:27 +00:00
Jan-Ivar Bruaroey
fafbd3a6b5 Bug 1564588 - No longer persist third-party permission. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40897

--HG--
extra : moz-landing-system : lando
2019-08-09 20:18:38 +00:00
Micah Tigley
cb054b78ab Bug 1572506 - [RTL] Fix icon positioning for Monitor and Lockwise cards r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D41256

--HG--
extra : moz-landing-system : lando
2019-08-09 20:24:01 +00:00
Jason Laster
23ec616c66 Bug 1572837 - Fix browser_dbg_rr_stepping-04.js.
Differential Revision: https://phabricator.services.mozilla.com/D41436

--HG--
extra : moz-landing-system : lando
2019-08-09 20:15:37 +00:00
Alastor Wu
9f6ad187bb Bug 1567302 - add a Telemetry ping to record the deault setting of blocking autoplay. r=janerik,daleharvey
We acutally have an old Telemetry ping `autoplay_default_blocked`, which, however, has been removed incorrectly in bug1356046.

As we have extended the setting options of blocking autoplay in bug1543812, it's also no longer proper to use scalar to store it.

Therefore, create an new histogram Telemetry ping to store the number of times a user changed the default autoplay behavior to each setting during a subsession.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 21:26:55 +00:00
Eitan Isaacson
3194a92923 Bug 1572256 - Clear virtual cursor position when focus clear action is invoked. r=geckoview-reviewers,Jamie,snorp
Differential Revision: https://phabricator.services.mozilla.com/D41114

--HG--
extra : moz-landing-system : lando
2019-08-09 00:07:21 +00:00
thomasmo
41d5b3a55e Bug 1571215 - Permafailing Build Bustage on Windows 2012 mozmake.EXE [vrhost.dll] r=kip
Functions available only in Nightlies should not be exported outside of Nightly
builds. This change splits the exports into 2 def files (since the preprocessor
is not available for def file).

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

--HG--
extra : moz-landing-system : lando
2019-08-09 20:46:21 +00:00
Jan de Mooij
541cfda7f5 Bug 1552154 part 6 - Remove BaselineScript's pc-to-native map. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D40949

--HG--
extra : moz-landing-system : lando
2019-08-10 10:21:34 +00:00
Jan de Mooij
85db9b40c2 Bug 1552154 part 5 - Stop using pc-to-native map for BaselineScript::toggleDebugTraps. r=tcampbell
Because DebugTrapEntries are only present if the script has debugger instrumentation
it should be fine to store this as a simple list of entries.

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

--HG--
extra : moz-landing-system : lando
2019-08-10 10:21:20 +00:00
Jan de Mooij
e6fbf15029 Bug 1552154 part 4 - Stop using pc-to-native map for BaselineScript::approximatePcForNativeAddress. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D40947

--HG--
extra : moz-landing-system : lando
2019-08-10 10:21:00 +00:00
Jan de Mooij
99451ccd92 Bug 1552154 part 3 - Stop using pc-to-native map for BaselineScript::computeResumeNativeOffsets. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D40946

--HG--
extra : moz-landing-system : lando
2019-08-10 10:20:41 +00:00
Jan de Mooij
d69bf865df Bug 1552154 part 2 - Stop using pc-to-native map for OSR into Baseline JIT. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D40945

--HG--
extra : moz-landing-system : lando
2019-08-10 10:20:27 +00:00
Jan de Mooij
d870ef9328 Bug 1552154 part 1 - Use mozilla::Span<> in BaselineScript, clean up RetAddrEntry code a bit. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D40944

--HG--
extra : moz-landing-system : lando
2019-08-10 10:20:08 +00:00
Geoff Brown
71a8b7c3cb Bug 1572393 - Disable browser_blocking* tests on Linux asan to fix permafailing chunk. a=Aryx CLOSED TREE
--HG--
extra : amend_source : 2dcf758a3955646eefd83d24a0e11fdb09e1f000
2019-08-09 10:57:10 -06:00
Cosmin Sabou
58ff25cbdb Merge mozilla-central to autoland. CLOSED TREE 2019-08-10 01:11:17 +03:00
Cosmin Sabou
7a5022a31f Merge mozilla-inbound to mozilla-central. a=merge 2019-08-10 00:57:59 +03:00
Omkar Konaraddi
0cf14b59de Bug 1568708 - Set contextual tip's texts, remove tip during onShutdown, require urlbar permission r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39521

--HG--
extra : moz-landing-system : lando
2019-08-09 17:50:06 +00:00
Steve Fink
e79384d24c Bug 1572207 - Update AutoStableStringChars comment, r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D41421

--HG--
extra : moz-landing-system : lando
2019-08-09 20:41:12 +00:00
Andrew McCreight
9550144327 Bug 1572781 - Stop doing cross-origin navigation in XPConnect browser tests. r=kmag
These tests both load a page, create some chrome reference to it, then
navigate to another page to cause a window close on the original page,
then check to make sure the references to the original page have gone
away.

With Fission, if the navigation is cross-process, then the message
manager gets torn down in the original process where the browser test
is running, and the sendAsyncMessage call in content-task.js fails
with the cryptic error NS_ERROR_ILLEGAL_VALUE.

This can be fixed by making the navigation not be cross-origin. The
test only wants the original pages to be torn down. The origin of the
new page doesn't matter.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 20:08:08 +00:00
Greyson Gilbert
03e40ae283 Bug 1560771 - Give proper line width range for core profile r=jgilbert
Because glLineWidth is deprecated in newer versions of core opengl,
we currently ignore lineWidth when using core profile.  We should
probably also make ALIASED_LINE_WIDTH_RANGE match this behavior to
lessen confusion.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 20:32:20 +00:00
Emilio Cobos Álvarez
31c098f33b Bug 1571530 - Don't uselessly check for OOM in Loader::PostLoadEvent. r=heycam
MANUAL PUSH: This part of the stack is independent and has been reviewed sooner, so can land now.

Differential Revision: https://phabricator.services.mozilla.com/D40849
2019-08-09 13:17:42 +02:00
Emilio Cobos Álvarez
ca91e4cc05 Bug 1571530 - Cleanup a bit PreloadedStyleSheet construction. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D40848
2019-08-09 13:17:12 +02:00
Charlie Marlow
ab6f4c453d Bug 1572303: updating text-underline-offset to support ::first-line/first-letter/placeholder r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41227

--HG--
extra : moz-landing-system : lando
2019-08-09 04:58:10 +00:00
Agi Sferro
a2f05cba15 Bug 1566367 - [4.0] Add test for onTelemetryReceived. r=chutten,Dexter,snorp
Differential Revision: https://phabricator.services.mozilla.com/D40774

--HG--
extra : moz-landing-system : lando
2019-08-09 04:51:05 +00:00
Eugen Sawin
5efb6dc130 Bug 1566367 - [3.0] Add GVE example telemetry delegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38900

--HG--
extra : moz-landing-system : lando
2019-08-09 04:51:07 +00:00
Eugen Sawin
2708b11d94 Bug 1566367 - [2.0] Add streaming telemetry Gecko-GV bridge. r=snorp,chutten
Differential Revision: https://phabricator.services.mozilla.com/D38899

--HG--
extra : moz-landing-system : lando
2019-08-09 04:51:10 +00:00
Eugen Sawin
092914a88e Bug 1566367 - [1.0] Add GV RuntimeTelemetry delegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38898

--HG--
extra : moz-landing-system : lando
2019-08-09 04:49:57 +00:00
Nicholas Nethercote
ec0336e701 Bug 1569526 - Don't use default values as fallbacks for VarCache prefs. r=froydnj
This patch changes how a VarCache pref works when deleted (in some cases) --
the VarCache variable keeps its existing value instead of being reset to a
pre-specified default.

In bug 1570212 I have made sure that no VarCache prefs exhibit this behaviour
in practice any more, so this change should not affect functionality. There is
an assertion that checks this.

The next patch will take advantage of this change by removing the need to
store the pre-specified defaults, which will save memory.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 00:59:34 +00:00
Matthew Noorenberghe
1765f44b34 Bug 1569989 - Show the password visibility toggle in some dismissed-by-default doorhangers. r=sfoster
If the login is older than 2 minutes, don't allow revealing the password in the doorhanger.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 02:22:18 +00:00
Jim Blandy
715bf97a70 Bug 1569080: Correct #includes in js/src/debugger. r=jorendorff
These changes were produced using the Include What You Use tool, which uses the
Clang front end to figure out which headers actually declare the identifiers
you're using.

These changes aren't exactly the ones IWYU suggests. The tool has some odd false
positives, even when you use its 'pragmas' to tell it about headers like
jsapi.h, which is supposed to gather up other headers for you. And there are
some cases where I could get away with a forward declaration (say, for Maybe),
but I really just want to #include the full header because it seems better. But
overall this patch has only minor deviations from IWYU's suggestions.

No intended change in execution or visible behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:20:21 +00:00
Jim Blandy
1ff16f50ee Bug 1567245: Have Debugger::wrapVariantReferent obtain the wrapper and referent types from the DebuggerWeakMap. r=jorendorff
Finally, once we know the type of the map we're consulting, that tells us all
the other types we need to know: certainly the referent and wrapper types, but
also the referent variant type, via the wrapper.

DebuggerWeakMap does need new member types to tell us what its Referent and
Wrapper types are. Rename the type parameters to avoid shadowing.

Since the map type can be inferred from the call, we no longer need to pass any
type parameters at all when we call the innermost wrapVariantReferent overload.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:55:29 +00:00
Jim Blandy
a8ab5bb0ed Bug 1567245: Tighten type of Debugger::generatorFrames and Debugger::sources. r=jorendorff
For generatorFrames, this doesn't matter, but for sources, subsequent patches
need a more precise Referent type than simply 'JSObject'.

Any type used as a weak map key needs a MovableCellHasher instantiation, so add
the necessary ones to Barrier.cpp. Since the list is getting long, sort it.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:20:13 +00:00
Jim Blandy
2670cfec30 Bug 1567245: Factor out pointer from DebuggerWeakMap Referent type parameter. r=jorendorff
It's more convenient for a DebuggerWeakMap's Wrapper type parameter to be the
pointed-to type, not the pointer type, since we'll be consulting its member
types. Then, it's a bit more consistent to also use the pointed-to type for
Referent.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:20:09 +00:00
Jim Blandy
6475ea735f Bug 1567245: Let Debugger::wrapVariantReferent consult DebuggerScript and DebuggerSource for their referent variant types. r=jorendorff
Give DebuggerScript and DebuggerSource a member type that spells out the variant
type appropriate for their referents. This allows wrapVariantReferent to simply
consult the wrapper for the referent variant type instead of demanding it as a
type parameter.

No intended change in visible behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:49:40 +00:00
Jim Blandy
301b3b222f Bug 1567245: Rename DebuggerWeakMap type parameter 'UnbarrieredKey' to 'Referent'. r=jorendorff
Technically, DebuggerWeakMap could be used for any sort of cross-compartment
mapping. But we actually only use it for looking up Debugger reflection objects,
so it is more informative to call the key and value types 'referent' and
'wrapper'.

No intended change in visible behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:20:02 +00:00
Jim Blandy
e09dbb9496 Bug 1567245: Tighten value types for DebuggerWeakMap. r=jorendorff
Give DebuggerWeakMap a `Wrapper` type parameter to use as the WeakMap value type
instead of plain JSObject*. Then, supply a specific wrapper class type for each
DebuggerWeakMap instantiation.

No intended change in visible behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:43:41 +00:00
Jim Blandy
299e8fcf1b Bug 1564164: Move DebuggerSource into its own file. r=jorendorff
This adds js/src/dbg/Source.{cpp,h}, and moves DebuggerSource's definition
there. No intended change in implementation or visible behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:37:46 +00:00
Jim Blandy
dd256ecc20 Bug 1564170: Give Debugger.Source instances their own NativeObject subclass, DebuggerSource. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D38268

--HG--
extra : moz-landing-system : lando
2019-08-08 23:37:54 +00:00
Tim Nguyen
37dd6eac2d Bug 1571418 - Don't allow editing login origin from about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41426

--HG--
extra : moz-landing-system : lando
2019-08-09 20:15:35 +00:00
Tim Nguyen
bf4349ab10 Bug 1572041 - Scroll newly selected login into view in login-list. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41417

--HG--
extra : moz-landing-system : lando
2019-08-09 19:42:18 +00:00
Tim Nguyen
4e13fdfdb5 Bug 1572807 - Truncate very long origins properly in about:logins header. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41420

--HG--
extra : moz-landing-system : lando
2019-08-09 19:41:20 +00:00
Brendan Dahl
548c18f6fe Bug 1566882 - Update pdf.js to version 2.3.71. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D40661

--HG--
extra : moz-landing-system : lando
2019-08-09 18:31:32 +00:00
Brendan Dahl
ce097d1bac Bug 1566882 - Update pdf.js telemetry to use more appropriate types. r=chutten,Snuffleupagus
Use the new 'scalar' and 'categorical' telemetry types to make it easier
to read the graphs.

Moves the majority of the data to expire in 75. The following are set to
never expire since they are good to monitor for regressions and general
usage.
 - PDF_VIEWER_TIME_TO_VIEW_MS
 - pdf.viewer.used

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

--HG--
extra : moz-landing-system : lando
2019-08-09 18:31:25 +00:00
Johann Hofmann
07a10a28b3 Bug 1570627 - Don't show the protections icon on sites where content blocking can't set exceptions. r=nhnt11
Showing the protection panel for pages where content blocking can't add exceptions and/or
the url classifier can't classify doesn't make sense and would just be confusing to the user
and our code.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 19:34:22 +00:00
Chris H-C
e46d023ffc Bug 1572718 - Clarify the docs for Categorical Histograms r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D41402

--HG--
extra : moz-landing-system : lando
2019-08-09 19:30:39 +00:00
Brendan Dahl
0a8d6f243d Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D41239

--HG--
extra : moz-landing-system : lando
2019-08-09 17:47:41 +00:00
Brendan Dahl
b474db77c6 Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie
All .xul files have been loading as HTMLDocuments for a few weeks now, so
it should be safe to remove the XULDocument implementation.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 19:57:50 +00:00