Commit Graph

676085 Commits

Author SHA1 Message Date
Mark Banner
411281f15f Bug 1589848 - Don't try and update the separate private engine selector in preferences when the UI isn't shown. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49885

--HG--
extra : moz-landing-system : lando
2019-10-21 10:14:30 +00:00
Jon Coppeard
6b4f9b67da Bug 1589108 Assert that the current realm's global is not gray on entry to the JS API r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D49429

--HG--
extra : moz-landing-system : lando
2019-10-21 10:37:41 +00:00
Rob Wu
d0771d2e35 Bug 1582020 - Minimize time between adb.py's OKAY and exit r=jdescottes
test_adb.js is likely failing because the socket is still in use.
Refactor the code to exit ASAP, by ungracefully exiting adb.py.
This logic is also used by the actual adb binary:
727b07b260/adb/adb.cpp (1039)

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

--HG--
extra : moz-landing-system : lando
2019-10-21 09:59:02 +00:00
Jan de Mooij
b764bfc53e Bug 1589415 part 4 - Use CopyChars to simplify CTypes PrependString. r=anba
It's tempting to use CopyChars also in AppendString, but that one has a
char() cast for each character. Maybe we should change that but I didn't
want to introduce any side-effects.

Depends on D49714

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

--HG--
extra : moz-landing-system : lando
2019-10-18 13:39:08 +00:00
Jan de Mooij
7848253347 Bug 1589415 part 3 - Simplify CTypes FieldHashPolicy. r=anba
Use HashStringChars instead of hand-rolling custom string hashing code.

Depends on D49713

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

--HG--
extra : moz-landing-system : lando
2019-10-18 13:39:10 +00:00
Jan de Mooij
fc25d4f694 Bug 1589415 part 2 - Add js::HashStringChars and use it in a few places. r=anba
Depends on D49712

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

--HG--
extra : moz-landing-system : lando
2019-10-18 13:39:06 +00:00
Jan de Mooij
d9a58eba5f Bug 1589415 part 1 - Use StringEqualsAscii in intrinsic_IsRuntimeDefaultLocale. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D49712

--HG--
extra : moz-landing-system : lando
2019-10-18 13:39:04 +00:00
Cosmin Sabou
b92b3ef033 Bug 1589629 - Update multiple-redirect-https-downgrade-upgrade.tentative.sub.html expectancies. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D49872

--HG--
extra : moz-landing-system : lando
2019-10-21 09:13:50 +00:00
Nicolas Chevobbe
5c94cfcc44 Bug 1576568 - Enable editor mode everywhere. r=Honza.
The focus previous element function needed to be modified
in order to not find non-visible elements.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 08:39:42 +00:00
Paul Adenot
772872cd0e Bug 1587244 - Allow NaN in IIR filter output. r=karlt
It's perfectly possible to create unstable filter, that can easily go to
infinity, so this assert is not valid.

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

--HG--
extra : moz-landing-system : lando
2019-10-20 21:52:31 +00:00
Nicolas Chevobbe
517642a768 Bug 1589867 - Fix browser_parsable_css.js failure on beta. r=Honza.
The rotate property is only enabled on Nightly.
For beta, we need to use transform: rotate instead.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 08:31:52 +00:00
James Teh
f0d5de33b0 Bug 1587809: Give the CFR address bar button a more descriptive tooltip/a11y label. Announce its appearance to screen reader users. r=andreio,fluent-reviewers,flod
1. Previously, the label and tooltip for all recommendations was just "Recommendation", even though the icon was different for extension and feature recommendations.
  Because users might not be able to see the icon and/or determine its meaning, it is important that this is communicated in the tooltip and a11y label.
2. Screen reader users won't know this has appeared, even though this attracts some attention visually.
  Therefore, provide a specific announcement for screen reader users when the recommendation appears.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 07:13:14 +00:00
Jan de Mooij
bee57f89e3 Bug 1584027 - Don't include filename in exception message if it's invalid UTF-8. r=jwalden
Fuzzers can trigger this in the JS shell and until we enforce filenames
are valid UTF-8 we have to deal with it somehow.

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

--HG--
extra : moz-landing-system : lando
2019-10-20 09:34:09 +00:00
Andrea Marchesini
410cb724a7 Bug 1585284 - Force global in Blob CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49629

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:19 +00:00
Andrea Marchesini
d7888947e5 Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49436

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:33 +00:00
Andrea Marchesini
6797e45278 Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49392

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:33 +00:00
Boris Zbarsky
3ae961a2da Bug 1589561. Factor out idle handling from PrioritizedEventQueue. r=smaug
We could try to move the EnforcePendingTaskGuarantee() bit into
PeekIdleDeadline, but then we'd need to check HasReadyEvent() on
mDeferredTimersQueue and mIdleQueue before we possibly unlock the mutex under
PeekIdleDeadline, and it's not clear that that state cannot change once the
mutex is unlocked...

The EnsureIsActive() call at the end of GetIdleDeadlineInternal in the !aIsPeek
case only makes sense if there are in fact idle tasks available to run when
GetDeadlineForIdleTask is called, because otherwise it would incorrectly set us
active when we are not running any tasks.

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

--HG--
rename : xpcom/threads/PrioritizedEventQueue.cpp => xpcom/threads/IdlePeriodState.cpp
rename : xpcom/threads/PrioritizedEventQueue.h => xpcom/threads/IdlePeriodState.h
extra : moz-landing-system : lando
2019-10-20 15:08:44 +00:00
harry
c0eeb589dd Bug 1588921 - Fix nsTouchBar build errors. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D49434

--HG--
extra : moz-landing-system : lando
2019-10-21 02:10:36 +00:00
Logan Smyth
18146a6645 Bug 1564177 - Part 2: Move the DebuggerVector from GlobalObject to the Realm. r=jimb
The DebuggerVector has been associated with the GlobalObject via a private slot
referencing a wrapper JS object (DebugggerVectorHolder). Moving this data into
the JS::Realm instance removes complexity and avoids needing the holder.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 20:21:44 +00:00
Logan Smyth
fb8b012d6b Bug 1564177 - Part 1: Clean up unused type declaration on Zone. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D49705

--HG--
extra : moz-landing-system : lando
2019-10-18 20:00:38 +00:00
Mats Palmgren
6aadfc8aaf Bug 1587141 part 2 - Make execCommand("indent") ignore whitespace when looking for sibling list element. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D48587

--HG--
extra : moz-landing-system : lando
2019-10-14 17:11:00 +00:00
Mats Palmgren
c506e40d11 Bug 1587141 part 1 - Share some common code between Handle[CSS|HTML]IndentAtSelectionInternal (idempotent patch). r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D48586

--HG--
extra : moz-landing-system : lando
2019-10-15 04:36:26 +00:00
Razvan Maries
44d59a93a5 Backed out 3 changesets (bug 1585582) for perma fails on appcache.tentative.https.sub.html.
Backed out changeset a55fbe377803 (bug 1585582)
Backed out changeset 0bd7ff0df367 (bug 1585582)
Backed out changeset 78a947a05f08 (bug 1585582)
2019-10-20 21:15:17 +03:00
Jonathan Kingston
d4386ce539 Bug 1585582 - Set appcache prefs on before start to prevent races in tests. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47977

--HG--
extra : moz-landing-system : lando
2019-10-20 15:34:12 +00:00
Jonathan Kingston
b42861195e Bug 1585582 - Remove all pref observers in CacheService r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D47960

--HG--
extra : moz-landing-system : lando
2019-10-18 16:05:28 +00:00
Jonathan Kingston
06801e64f6 Bug 1585582 - Simplify exposure of AppCache interface for SecureContext r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47959

--HG--
extra : moz-landing-system : lando
2019-10-18 16:05:28 +00:00
Andreea Pavel
a130dd01d5 Bug 1589629 - update multiple-redirect-https-downgrade-upgrade.tentative.sub.html expectations r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D49844

--HG--
extra : moz-landing-system : lando
2019-10-20 15:11:32 +00:00
Emilio Cobos Álvarez
3a5abc5912 Bug 1588737 - Simplify media query code now that lifetimes are non-lexical. r=xidorn
We can deindent and simplify a bunch of this code now.

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

--HG--
extra : moz-landing-system : lando
2019-10-20 13:44:07 +00:00
Emilio Cobos Álvarez
3a1f428214 Bug 1588737 - Remove useless conditional compilation. r=xidorn
Servo doesn't use this flag or -webkit- prefixed media queries, so no point in
doing this conditionally.

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

--HG--
extra : moz-landing-system : lando
2019-10-20 13:44:09 +00:00
Emilio Cobos Álvarez
26b98d2285 Bug 1588737 - Remove layout.css.prefixes.device-pixel-ratio-webkit. r=dholbert
There's no effort to disable it any time soon, so I don't think it's useful to
keep the pref around.

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

--HG--
extra : moz-landing-system : lando
2019-10-20 13:43:57 +00:00
Emilio Cobos Álvarez
986d8c0d8e Bug 1588737 - Hide -moz-touch-enabled media query in Nightly and Early Beta. r=xidorn
This is effectively superseded by the hover / any-hover media queries, which
actually are standard, and is also causing trouble in the wild.

Not even the browser fronted uses it, so we should be able to just remove it
everywhere at once.

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

--HG--
extra : moz-landing-system : lando
2019-10-20 13:44:16 +00:00
Paolo Amadini
076ad11f12 Bug 1589352 - Always display preference values in the left-to-right direction. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D49828

--HG--
extra : moz-landing-system : lando
2019-10-20 11:17:25 +00:00
Jan de Mooij
c2e94d0062 Bug 1586991 part 26 - Don't assume null-terminated strings in Middleman_HadRepaint. r=bhackett
Depends on D49749

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:14:11 +00:00
Jan de Mooij
5c7793a919 Bug 1586991 part 25 - Remove PropertyNameToExtraName. r=anba
This function assumed property names are null-terminated. It's also wrong
in other ways: it let the string chars escape the AutoCheckCannotGC scope.

The easiest fix is to remove this unsound debugging function for now.
There are a lot of (other) extraName overrides so fixing this isn't
trivial.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 17:55:01 +00:00
Jan de Mooij
29c575f795 Bug 1586991 part 24 - Don't assume JS atoms are null-terminated in GetArrayIndexFromId. r=bzbarsky
This also adds a GetLinearStringCharAt helper function to simplify GetArrayIndexFromId.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 17:55:01 +00:00
Dão Gottwald
669c97fe42 Bug 1589543 - Let :hover not override [focused] styling. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49823

--HG--
extra : moz-landing-system : lando
2019-10-19 17:28:08 +00:00
Bogdan Tara
4736ee716a Backed out changeset a4ed297ed157 (bug 1520463) for raptor failures complaining about StringIO 2019-10-19 15:02:15 +03:00
Jean-Yves Avenard
77c7d32b08 Bug 1588899 - P2. Make HTTP classification flags available to DocumentChannelChild, since we use them to determine which content blocking events to fire. r=baku,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D49335

--HG--
extra : moz-landing-system : lando
2019-10-19 07:04:15 +00:00
Jean-Yves Avenard
e6d0e7dfda Bug 1588899 - P1. Move classification flags related method to nsIClassifiedChannel. r=Ehsan,baku
This is where it should have been in the first place. Those attributes belong there.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 04:30:24 +00:00
Jeff Walden
8512c64c65 Bug 1584006 - Construct a 64-bit value in ctypes code from two 32-bit values without potentially left-shifting a negative value. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D47182

--HG--
extra : moz-landing-system : lando
2019-10-17 15:24:31 +00:00
Ed Lee
6e5171f082 Bug 1589802 - Add welcome experiments, pressed styles and bug fixes to New Tab Page r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D49814

--HG--
extra : moz-landing-system : lando
2019-10-19 00:41:03 +00:00
Geoff Lankow
a8540dfab9 Bug 1589305 - Disable leaked window/docshell reporting for Thunderbird mochitests; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D49557

--HG--
extra : moz-landing-system : lando
2019-10-18 13:42:44 +00:00
Sam Foster
44a448cee7 Bug 1558857 - Display 'From this website' for matched-origin logins in the autocomplete menu. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D49697

--HG--
extra : moz-landing-system : lando
2019-10-18 23:02:50 +00:00
J.C. Jones
71a6cf2bcd Bug 1577822 - land NSS NSS_3_47_RTM UPGRADE_NSS_RELEASE, r=kjacobs
2019-10-18  J.C. Jones  <jjones@mozilla.com>

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.47 final
	[7ccb4ade5577] [NSS_3_47_RTM] <NSS_3_47_BRANCH>

	* .hgtags:
	Added tag NSS_3_47_BETA4 for changeset d3c8638f85cd
	[d5bd7be1bf2a]

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

--HG--
extra : moz-landing-system : lando
2019-10-18 22:42:33 +00:00
Jason Laster
2afc34bfe4 Bug 1581249 - The timeline should show breakpoint hits. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D49804

--HG--
extra : moz-landing-system : lando
2019-10-18 22:20:09 +00:00
Cosmin Sabou
f785432f7a Bug 1582327 - Disable test_bug331215 on mac debug for frequent failures. r=egao
Differential Revision: https://phabricator.services.mozilla.com/D49812

--HG--
extra : moz-landing-system : lando
2019-10-18 22:33:34 +00:00
Andrew Sutherland
9bd4571a16 Bug 1587447 - Make isParentInterceptEnabled an arg for spawned child-intercept version. r=perry
Differential Revision: https://phabricator.services.mozilla.com/D49803

--HG--
extra : moz-landing-system : lando
2019-10-18 22:08:05 +00:00
Cosmin Sabou
5952fd8e9b Bug 1582113 - Enable test_autofill_highlight.html on fission cause now it's fixed. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D49800

--HG--
extra : moz-landing-system : lando
2019-10-18 21:14:25 +00:00
Maja Frydrychowicz
af1d713760 Bug 1563206 - Call editor commands directly to emulate some native key bindings; r=ato,remote-protocol-reviewers
Depends on D47032

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

--HG--
extra : moz-landing-system : lando
2019-10-18 21:02:45 +00:00
Maja Frydrychowicz
dd650b37c4 Bug 1563206 - Test top key combinations that affect gutenberg; r=ato,remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D47032

--HG--
extra : moz-landing-system : lando
2019-10-18 21:01:44 +00:00