Commit Graph

666450 Commits

Author SHA1 Message Date
Narcis Beleuzu
b8158bd25d Bug 1572560 - Disable browser_destroy_callbacks.js on MacOSX. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42616

--HG--
extra : moz-landing-system : lando
2019-08-20 10:41:19 +00:00
Cosmin Sabou
f0e2c16f12 Bug 1571583 - Disable leaking tests for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42588

--HG--
extra : moz-landing-system : lando
2019-08-20 10:43:15 +00:00
Nihanth Subramanya
5c54443fcd Bug 1573605 - More thoroughly test category item sections for various states. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42237

--HG--
extra : moz-landing-system : lando
2019-08-16 14:21:20 +00:00
Nihanth Subramanya
45e0197f18 Bug 1573605 - Show undetected protections category items in a "Not Found" section, update UI to spec. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42113

--HG--
extra : moz-landing-system : lando
2019-08-16 09:39:14 +00:00
Cosmin Sabou
cc2fe556cd Bug 1570436 - Add .ini file after being deleted by wpt-sync. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D42545

--HG--
extra : moz-landing-system : lando
2019-08-20 10:30:37 +00:00
André Bargull
7790de7839 Bug 1572985: Sort "relevantExtensionKeys" to ensure the resolved locale's Unicode extension subtag is canonical. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D41516

--HG--
extra : moz-landing-system : lando
2019-08-19 19:10:41 +00:00
Jon Coppeard
4259ff474f Bug 1574694 - Update memory info objects following changes to malloc accounting r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D42490

--HG--
extra : moz-landing-system : lando
2019-08-20 09:57:06 +00:00
André Bargull
9694d385a0 Bug 1533328 - Part 8: Add comments explaining when <ctime> and ICU can return a different default time zone. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D41376

--HG--
extra : moz-landing-system : lando
2019-08-20 09:09:19 +00:00
André Bargull
df1430cb05 Bug 1533328 - Part 7: Remove separate 'localTZA_' field from DateTimeInfo. r=jorendorff
This field used to match "LocalTZA" from the ECMAScript specification when "LocalTZA"
was still a constant value. But in the current specification "LocalTZA" was changed to
a function to compute the local time zone adjustment at a given time. To avoid
confusion between `localTZA_` and "LocalTZA" from the specification, remove `localTZA_`
and instead only expose the `DateTimeInfo::localTZA()` function in contexts where the
old "LocalTZA" definition is still used (non-Intl or system ICU builds).

`localTZA_` was also used as a cache key for `DateObject` slots, replace the usage there
with `DateTimeInfo::utcToLocalStandardOffsetSeconds()` to make clear that the cache key
isn't tied to any spec calls to "LocalTZA".

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

--HG--
extra : moz-landing-system : lando
2019-08-20 09:08:56 +00:00
André Bargull
976ebfe8b5 Bug 1533328 - Part 6: Remove 'Adjustment' from DateTimeInfo methods and fields. r=jorendorff
Give these functions and fields a more general name to make clear they aren't tied
to the `localTZA_` field.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 09:08:39 +00:00
André Bargull
6184767bfe Bug 1533328 - Part 5: Remove delay of ICU time zone updates. r=jorendorff
Part 1 ensures `DateTimeInfo::updateTimeZoneAdjustment()` is no longer called during
start-up, which enables us to resync ICU's time zone status right away. Furthermore
this change won't lead to a performance regression, because all callers to
`DateTimeInfo::updateTimeZoneAdjustment()` either also require an up-to-date ICU time
zone state (`DTI::{getDSTOffsetMilliseconds,getOffsetMilliseconds,timeZoneDisplayName}`)
or trigger an ICU time zone update anyway (`DTI::localTZA()` when called in
`DateObject::fillLocalTimeSlots()`).

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

--HG--
extra : moz-landing-system : lando
2019-08-20 09:08:16 +00:00
André Bargull
119b53687b Bug 1533328 - Part 4: Only call ResetTimeZone resp. tzset when the time zone was actually changed. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D37251

--HG--
extra : moz-landing-system : lando
2019-08-20 09:07:53 +00:00
André Bargull
fd325a124b Bug 1533328 - Part 3: Switch 'reset' and 'update' method names in js::DateTimeInfo. r=jorendorff
That way `js::ResetTimeZoneInternal` is calling `js::DateTimeInfo::resetTimeZoneAdjustment`,
which aligns the use of 'reset' in the function names. And the method which actually checks
for updates is then called `js::DateTimeInfo::updateTimeZoneAdjustment`.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 09:07:36 +00:00
André Bargull
052b93329d Bug 1533328 - Part 2: Move ICU time zone state into js::DateTimeInfo. r=jorendorff
This ensures the ICU time zone state is only resync'ed when an actual time zone
change was detected. Without this change the following script will resync the
ICU time zone state in each call to Intl.DateTimeFormat:
```
// js::DateTimeInfo is here in its initial state where no time zone info has
// been retrieved yet.

for (var i = 0; i < 10; ++i) {
  // Creating a new Realm triggers a time zone check. Because no time zone
  // info is yet available, a forced reset of the ICU time zone state is
  // requested.
  newGlobal();

  // The ICU time zone state was just resetted above, so this call will again
  // fetch the current system time zone.
  new Intl.DateTimeFormat();
}
```

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

--HG--
extra : moz-landing-system : lando
2019-08-20 09:07:29 +00:00
André Bargull
c8cbf8045e Bug 1533328 - Part 1: Avoid calling system time functions during start-up to avoid main-thread I/O. r=jorendorff
- Changes `DateTimeInfo::internalUpdateTimeZoneAdjustment` to set a flag to
  request an update instead of directly calling the system time functions.
- DateTimeInfo functions which require a valid time zone have been modified to
  call the new `acquireLockWithValidTimeZone` helper.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 09:07:27 +00:00
preyunk
7003b8f5da Bug 1560284 - Long study names (over 100 chars) and string values are not fully displayed on about:studies r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D41746

--HG--
extra : moz-landing-system : lando
2019-08-13 16:59:37 +00:00
André Bargull
a7b67b5d56 Bug 1402379 - Part 4: Remove no longer needed #ifdef in Intl code. r=jwalden
Depends on D41770

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

--HG--
extra : moz-landing-system : lando
2019-08-19 18:42:25 +00:00
André Bargull
d741382cd1 Bug 1402379 - Part 3: Remove ICUStubs.h file. r=jwalden
Depends on D41769

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

--HG--
extra : moz-landing-system : lando
2019-08-19 18:39:04 +00:00
André Bargull
c8b6bf7f43 Bug 1402379 - Part 2: Don't build Intl sources when ENABLE_INTL_API is not set. r=jwalden
Depends on D41767

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

--HG--
extra : moz-landing-system : lando
2019-08-19 18:37:50 +00:00
André Bargull
b24e1821b8 Bug 1402379 - Part 1: Remove unused and unmaintainted jshint directives. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D41767

--HG--
extra : moz-landing-system : lando
2019-08-19 18:35:00 +00:00
Jon Coppeard
03599eef81 Bug 1564012 - Add fuzz test for cross compartment pointers from debugger frame generator info to scripts r=jimb?
Differential Revision: https://phabricator.services.mozilla.com/D40601

--HG--
extra : moz-landing-system : lando
2019-08-19 19:51:13 +00:00
Tarek Ziadé
2097876b46 Bug 1572404 - [mozprofile] install addon with browser_specific_settings r=whimboo
webextensions now uses "browser_specific_settings" instead of "applications" in
the manifest file. This patch make mozprofile look for both places.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 09:16:54 +00:00
Mirko Brodesser
d465357990 Bug 1574912: part 4) Split nsPlainTextSerializer::MaybeReplaceNbspsForOutput out of nsPlainTextSerializer::Output method. r=hsivonen
In order to clarify what `Output` does.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 08:03:52 +00:00
Mirko Brodesser
0c4fd744e7 Bug 1574912: part 3) Remove unread mStartedOutput member. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42521

--HG--
extra : moz-landing-system : lando
2019-08-20 08:03:43 +00:00
Mirko Brodesser
231ce6e93d Bug 1574912: part 2) Rename nsPlainTextSerializer::IsInPre, IsHTMLBlock and IsElementBlock. r=hsivonen
In order to clarify their purpose.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 08:05:21 +00:00
Mirko Brodesser
c7bcfd69de Bug 1574912: part 1) Slightly simplify nsPlainTextSerializer::AddToLine. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42519

--HG--
extra : moz-landing-system : lando
2019-08-20 08:03:20 +00:00
Julian Descottes
79e6048315 Bug 1539979 - Force devtools to use a chrome frame in intermittent mochitests r=ochameau
Depends on D40995

I get a 10% failure rate on try for those two tests, but I haven't managed to get
a single failure locally so I couldn't identify the root cause yet. I would like
to fix them in a follow up.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 07:34:57 +00:00
Julian Descottes
7a59b5f5de Bug 1539979 - Add delay in various DevTools mochitests after switching hosts r=ochameau
Depends on D40994

Switching hosts (especially going from docked to window) seems more async than before.
I would like to work on fixing those in a follow up.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 07:28:41 +00:00
Julian Descottes
9d6c0680c0 Bug 1539979 - Fix eyedropper tests for DevTools in content frame r=ochameau
Depends on D40993

I don't fully understand the failures in this test on Linux.
The only way I could get it to pass for now was to force a window focus when the test runs in a window host.
Other OSes are fine, but without this, Linux is permafailing this.

I don't have a good linux env right now, so I would like to proceed with this and
fix it in a follow up.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 07:43:59 +00:00
Julian Descottes
b8fb3476e7 Bug 1539979 - Fix browser_inspector_search-filter_context-menu.js when running in content frame r=nchevobbe
Depends on D40992

In general, using `click()` seems less reliable when using a frame with type=content. I am not entirely sure why since the context menu is supposed to be created in the top window anyway

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:23:56 +00:00
Julian Descottes
8365fb1ac2 Bug 1539979 - Fix browser_toolbox_toolbar_overflow.js when running in content frame r=nchevobbe
Depends on D40991

This test had some suspicious calls to async methods without await. Properly waiting on them avoids frequent intermittents when running in a content frame.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:22:38 +00:00
Julian Descottes
8415e17411 Bug 1539979 - Fix browser_toolbox_window_title_changes for DevTools in content frame r=nchevobbe
Depends on D40990

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:21:50 +00:00
Julian Descottes
33776481fd Bug 1539979 - Fix HTML Tooltip test for content frames r=gl
Depends on D40989

I though I fixed this a few months ago, but there are still timing issues with the current test when using a frame with type=content.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:21:22 +00:00
Julian Descottes
af9f2466e7 Bug 1539979 - Attach SwatchBasedEditor shortcuts to tooltip window r=gl
Depends on D40988

This is not explicitly needed in this queue but I noticed this issue
while working on eyedropper test issues.

The top window might change when switching from docked to window hosts
so we should rather attach shortcut events to the regular window.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 06:17:00 +00:00
Julian Descottes
9e623bb5f5 Bug 1539979 - Use a frame with type=content for DevTools frames r=ochameau
This introduces a preference to load the DevTools toolbox
in a frame with type=content instead of type=chrome.
Having a preference will allow to keep the previous behavior in a
few intermittent tests, while we collect feedback on Nightly.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 05:55:54 +00:00
Frédéric Wang
9374c0be36 Bug 1574391 - Move old MathML reftests into layout/reftests/mathml. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42276

--HG--
rename : layout/reftests/bugs/345563-sub.xhtml => layout/reftests/mathml/345563-sub.xhtml
rename : layout/reftests/bugs/345563-sup.xhtml => layout/reftests/mathml/345563-sup.xhtml
rename : layout/reftests/bugs/347348-1-ref.xhtml => layout/reftests/mathml/347348-1-ref.xhtml
rename : layout/reftests/bugs/347348-1.xhtml => layout/reftests/mathml/347348-1.xhtml
rename : layout/reftests/bugs/347496-1-ref.xhtml => layout/reftests/mathml/347496-1-ref.xhtml
rename : layout/reftests/bugs/347496-1.xhtml => layout/reftests/mathml/347496-1.xhtml
rename : layout/reftests/bugs/355548-1-ref.xml => layout/reftests/mathml/355548-1-ref.xml
rename : layout/reftests/bugs/355548-1.xml => layout/reftests/mathml/355548-1.xml
rename : layout/reftests/bugs/355548-2-ref.xml => layout/reftests/mathml/355548-2-ref.xml
rename : layout/reftests/bugs/355548-2.xml => layout/reftests/mathml/355548-2.xml
rename : layout/reftests/bugs/355548-3-ref.xml => layout/reftests/mathml/355548-3-ref.xml
rename : layout/reftests/bugs/355548-3.xml => layout/reftests/mathml/355548-3.xml
rename : layout/reftests/bugs/355548-4-ref.xml => layout/reftests/mathml/355548-4-ref.xml
rename : layout/reftests/bugs/355548-4.xml => layout/reftests/mathml/355548-4.xml
rename : layout/reftests/bugs/355548-5-ref.xml => layout/reftests/mathml/355548-5-ref.xml
rename : layout/reftests/bugs/355548-5.xml => layout/reftests/mathml/355548-5.xml
rename : layout/reftests/bugs/370692-1-ref.xhtml => layout/reftests/mathml/370692-1-ref.xhtml
rename : layout/reftests/bugs/370692-1.xhtml => layout/reftests/mathml/370692-1.xhtml
rename : layout/reftests/bugs/373533-1.xhtml => layout/reftests/mathml/373533-1.xhtml
rename : layout/reftests/bugs/373533-2.xhtml => layout/reftests/mathml/373533-2.xhtml
rename : layout/reftests/bugs/373533-3.xhtml => layout/reftests/mathml/373533-3.xhtml
rename : layout/reftests/bugs/393760-1-ref.xml => layout/reftests/mathml/393760-1-ref.xml
rename : layout/reftests/bugs/393760-1.xml => layout/reftests/mathml/393760-1.xml
rename : layout/reftests/bugs/393760-2-ref.xml => layout/reftests/mathml/393760-2-ref.xml
rename : layout/reftests/bugs/393760-2.xml => layout/reftests/mathml/393760-2.xml
rename : layout/reftests/bugs/414123-ref.xhtml => layout/reftests/mathml/414123-ref.xhtml
rename : layout/reftests/bugs/414123.xhtml => layout/reftests/mathml/414123.xhtml
extra : moz-landing-system : lando
2019-08-20 04:13:25 +00:00
yulia
723a427a35 Bug 1573780 - add targetFront to deprecated debugger client; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42497

--HG--
extra : moz-landing-system : lando
2019-08-19 15:10:36 +00:00
Nicolas Chevobbe
4707300839 Bug 1572414 - Fix hasNativeConsoleAPI when dealing with Sandboxes. r=yulia.
When the console parent actor is a ContentProcessTargetActor, we don't have
a reference to a `nsIDOMWindow`, but only to a Sandbox.
The code in `hasNativeConsoleAPI` would then silently fail when trying to
access `window.wrappedJSObject`, and keep `isNative` as `false`.
For now, we work around this by always returning true if we don't have
access to a `nsIDOMWindow`.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 08:29:07 +00:00
Paul Zuehlcke
df1ed9b01a Bug 1574483 - Updated Policies.jsm to use PermissionManager principal methods. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D42523

--HG--
extra : moz-landing-system : lando
2019-08-19 16:28:26 +00:00
Nicolas Silva
bd9e647162 Bug 1562091 - Partial backout of bug 1521027. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D42468

--HG--
extra : moz-landing-system : lando
2019-08-19 11:16:27 +00:00
Nicolas Silva
043a970708 Bug 1562091 - Add a reftest. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D42467

--HG--
extra : moz-landing-system : lando
2019-08-19 11:16:34 +00:00
Itiel
5efe209a73 Bug 1574847 - Fix the checkmark position on the main devtools options menu dropdown for RTL users r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D42518

--HG--
extra : moz-landing-system : lando
2019-08-20 08:12:22 +00:00
Henri Sivonen
017b63b057 Bug 1574892 - Make a reused TextDecoder apply the original BOM policy. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D42492

--HG--
extra : moz-landing-system : lando
2019-08-20 07:54:02 +00:00
Nicolas Chevobbe
2133561d3b Bug 1574763 - Localize the WarningGroup badge title. r=jdescottes.
Sadly the badge title wasn't localized at all, so we add a new
l10n string and use it in the component.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 05:52:40 +00:00
Tim Nguyen
cd45ead7b7 Bug 1572701 - Move login-item metadata after form action buttons in edit mode. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42583

--HG--
extra : moz-landing-system : lando
2019-08-20 05:14:08 +00:00
Henri Sivonen
d4606e602c Bug 1574855 - Point to TextDecoder and TextEncoder in the doc comment for nsIScriptableUConv. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D42463

--HG--
extra : moz-landing-system : lando
2019-08-19 23:37:25 +00:00
Jason Laster
bc574b123c Bug 1574040 - Generalize the Debugger's worker redux management. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D42238

--HG--
rename : devtools/client/debugger/src/utils/workers.js => devtools/client/debugger/src/utils/threads.js
extra : moz-landing-system : lando
2019-08-20 04:41:41 +00:00
Boris Chiou
03853a6e87 Bug 1574957 - Clamp negative values for font-size-adjust animations. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D42586

--HG--
extra : moz-landing-system : lando
2019-08-20 01:30:43 +00:00
Robert Helmer
7b2e615378 Bug 1571472 - remove expectation of GreD and decrement XCurProcD omni jar file stats r=mconley
Corroborator.jsm no longer causes file I/O on early startup before user input is possible.

Depends on D41693

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

--HG--
extra : moz-landing-system : lando
2019-08-20 00:52:25 +00:00
Robert Helmer
b56ad07c90 Bug 1571472 - use idle dispatch to start up corroborator r=bdanforth
Differential Revision: https://phabricator.services.mozilla.com/D41693

--HG--
extra : moz-landing-system : lando
2019-08-20 00:48:41 +00:00