Commit Graph

744293 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
783813ce6c Bug 1691652 - Don't require a spec link for crashtests under css/. r=jgraham
The only purpose of a crashtest is not crashing, there's no great spec
link for that.

Differential Revision: https://phabricator.services.mozilla.com/D104577
2021-02-09 23:40:28 +00:00
Dylan Roeh
650c5fb0ab Bug 1672478 - Add support for HTTPS-only mode to GeckoRuntimeSettings. r=geckoview-reviewers,agi,esawin
Differential Revision: https://phabricator.services.mozilla.com/D103128
2021-02-09 23:23:13 +00:00
Tooru Fujisawa
8bf1820309 Bug 1691107 - Refactor FOR_EACH_COMMON_PROPERTYNAME as a preparation to add more case. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D104440
2021-02-09 23:03:01 +00:00
Tooru Fujisawa
7986568eda Bug 1691134 - Part 7: Make compare_bench.py Python3-compatible. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D104439
2021-02-09 23:03:01 +00:00
Tooru Fujisawa
a55b767b08 Bug 1691134 - Part 6: Use elapsed instead of new Date in parsemark.py. r=nbp
Some testdata in parse-tests finishes within 1-2 ms, and `new Data()` is
too rough.
`elapsed()` shell function returns microseconds.

Differential Revision: https://phabricator.services.mozilla.com/D104438
2021-02-09 23:03:00 +00:00
Tooru Fujisawa
f02d63b53c Bug 1691134 - Part 5: Add decode mode to parsemark.py. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D104437
2021-02-09 23:03:00 +00:00
Tooru Fujisawa
b4039e6229 Bug 1691134 - Part 4: Add transcodeOnly mode to evaluate. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D104436
2021-02-09 23:03:00 +00:00
Tooru Fujisawa
60ed0e43d0 Bug 1691134 - Part 3: Add --mode and --lazy arguments to parsemark.py. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D104435
2021-02-09 23:02:59 +00:00
Tooru Fujisawa
3960ec0dfe Bug 1691134 - Part 2: Make parsemark.py Python3-compatible. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D104434
2021-02-09 23:02:59 +00:00
Tooru Fujisawa
94e08cc460 Bug 1691134 - Part 1: Use evaluate function's CompileOptions handling for parse/dumpStencil/compile. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D104433
2021-02-09 23:02:58 +00:00
André Bargull
bfd5afd88c Bug 1681567 - Part 3: Calling class constructors throws from the callee's realm. r=tcampbell
Second part of the changes from <https://github.com/tc39/ecma262/pull/2216>.

The TypeError when calling a class constructor is now spec'ed to originate from
the callee realm, so the error code had to be moved after the `AutoRealm`.

Depends on D104406

Differential Revision: https://phabricator.services.mozilla.com/D104407
2021-02-09 22:56:35 +00:00
André Bargull
8750c6db33 Bug 1681567 - Part 2: No longer execute spread iteration in default derived class constructors. r=tcampbell
Implement the spread iteration changes from <https://github.com/tc39/ecma262/pull/2216>.

Default derived class constructors are changed to longer use array iteration
in the spread super call `super(...args)`. Instead the contents of the `args`
array are directly passed through to the super call. In our implementation we
can simply pass the `args` rest-array to the super call.

Depends on D104405

Differential Revision: https://phabricator.services.mozilla.com/D104406
2021-02-09 22:56:34 +00:00
André Bargull
082e43840f Bug 1681567 - Part 1: Use IsSpreadOp() to detect spread calls. r=tcampbell
When bug 762363 originally added this code, `JOF_SPREAD` didn't yet exist, so
instead we used `JOF_BYTE`, because the only calls using `JOF_BYTE` are spread
calls.

Differential Revision: https://phabricator.services.mozilla.com/D104405
2021-02-09 22:56:34 +00:00
Andrei Oprea
a9f6fb2289 Bug 1691526 - Enable 'os' level targeting for Nimbus Experiment r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D104545
2021-02-09 22:47:01 +00:00
Markus Stange
8bee4d97d7 Bug 1691121 - Use a more modern way to obtain the thread ID on macOS. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D104261
2021-02-09 22:39:19 +00:00
Cosmin Sabou
c6b8dc812e Backed out changeset 0645d6543cc8 (bug 1682180) for causing gtest failures. CLOSED TREE 2021-02-10 00:59:22 +02:00
Jim Blandy
bdd9ffc731 Bug 1691120: Remove webrender::render_api::ApiMsg::WakeUp. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D104253
2021-02-09 22:32:40 +00:00
Jeff Muizelaar
691f75ddb4 Bug 1690235. Fix creating variation CTFonts. r=lsalzman
This is an alternate approach to aadbc6deca05.

CTFontCreateWithGraphicsFont seems to give "LastResort" when used on a
system CGFont with variation applied on 10.12-10.14. We can avoid that
by using CTFontCreateWithGraphicsFont with a variation descriptor.

I'm only applying this approach to cairo for now to mimimize the risk
of this breaking something or causing the crashes that we were seeing
before.

See https://github.com/servo/core-foundation-rs/pull/439 for
a standalone test case.

Differential Revision: https://phabricator.services.mozilla.com/D104581
2021-02-09 22:27:33 +00:00
Kris Maglione
579f42d6f3 Bug 1691829: Specify interface for nsIFilePicker::files getter on Cocoa. r=mccr8
Without this, JS callers which don't explicitly query every element returned
by the enumerator are broken only on MacOS.

Differential Revision: https://phabricator.services.mozilla.com/D104580
2021-02-09 22:06:02 +00:00
Mike Hommey
571f8f5c17 Bug 1690712 - Allow --enable-bootstrap in all configurations. r=firefox-build-system-reviewers,mhentges
And make it prioritize the bootstrap directory over system paths.

Differential Revision: https://phabricator.services.mozilla.com/D103981
2021-02-09 22:01:25 +00:00
Drew Willcoxon
faaf1bbc04 Bug 1676469 - Convert matchBuckets to a granular list of result groups and rewrite the muxer to use it. r=preferences-reviewers,mak,harry
Summary of changes:

* Replace the `matchBuckets` pref with `resultBuckets`.
* `resultBuckets` stores a JSON'ed root result bucket object. See the big
  javadoc above `makeResultBuckets` in UrlbarPrefs for details.
* Convert existing result groups to more granular groups. This lets us remove
  the heuristic-ordering logic in the muxer. It also lets us fix a subtle
  inconsistency with regard to remote suggestions and form history; see the
  removal of the two comments that start with "Note that the second form history
  result appears after the remote suggestions" and "Note that the remote
  suggestions appear in between the two form history results" in
  test_search_suggestions.js.
* Unlike `matchBuckets`, `resultBuckets` stores *all* buckets, including the
  heuristic at the beginning. Modify the muxer so that it discards heuristic
  results that are not the first result.

Depends on D103137

Differential Revision: https://phabricator.services.mozilla.com/D99281
2021-02-09 21:53:38 +00:00
Jon Bauman
8974dd5426 Bug 1690406 - Update AVIF telemetry probes. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D104448
2021-02-09 21:28:41 +00:00
Jonathan Kew
4c2a389e9a Bug 1690877 - Only activate additional fonts in the parent process on macOS. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D104559
2021-02-09 21:28:35 +00:00
Kate Hudson
f4213fbbfe Bug 1670293 - RSExperimentLoader should expose evaluateJexl for testing r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D104401
2021-02-09 21:25:30 +00:00
Markus Stange
0bdf21e675 Bug 1662281 - Don't warn when GL symbol lookup fails. We look up symbols for many extensions, for which symbol lookup is expected to fail. r=sotaro
We can bring this back if we have a way to only print the warning for essential symbols, bug 1322949.

Differential Revision: https://phabricator.services.mozilla.com/D104462
2021-02-09 21:17:20 +00:00
Markus Stange
4b48af6bb7 Bug 1690653 - Don't create a CATransaction if nothing changed. r=mattwoodrow
This avoids some overhead from committing the transaction.

Differential Revision: https://phabricator.services.mozilla.com/D104085
2021-02-09 21:17:19 +00:00
Markus Stange
718867e499 Bug 1691170 - Replace deprecated kCTFontDefaultOrientation with its replacement kCTFontOrientationDefault. r=jrmuizel
Depends on D104301

Differential Revision: https://phabricator.services.mozilla.com/D104302
2021-02-09 21:17:19 +00:00
Markus Stange
396d38c967 Bug 1691169 - Remove unused code that indicated "bright titlebar foreground" to the widget. r=spohl
Depends on D104300

Differential Revision: https://phabricator.services.mozilla.com/D104301
2021-02-09 21:17:19 +00:00
Markus Stange
19e9df6e13 Bug 1691168 - Remove nsCocoaDebugUtils. r=spohl
Depends on D104299

Differential Revision: https://phabricator.services.mozilla.com/D104300
2021-02-09 21:17:18 +00:00
Markus Stange
94537a3039 Bug 1691167 - Stop accessing the deprecated 'context' property on NSEvent, it's always nil. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D104299
2021-02-09 21:17:18 +00:00
Markus Stange
219ba6a53f Bug 1691166 - Replace deprecated enum constant NSSystemDefined with NSEventTypeSystemDefined in TestMediaKeysEventMac.mm. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D104298
2021-02-09 21:17:17 +00:00
Andrei Oprea
dc29e9a644 Bug 1690312 - Remove checks for exposure ping and allow it to be sent multiple times r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D103941
2021-02-09 21:13:51 +00:00
Andrew Osmond
beef5aa611 Bug 1682180 - Allow Software WebRender for software mesa users on Linux nightly. r=jrmuizel
This lifts the restriction to non-mesa and hardware mesa users to work
around CI issues that should be fixed now.

Differential Revision: https://phabricator.services.mozilla.com/D99612
2021-02-09 21:11:12 +00:00
Sebastian Hengst
17102f337d Bug 1691461 - set Bugzilla component for services/docs/ folder. r=LougeniaBailey,markh DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104557
2021-02-09 20:51:23 +00:00
Csoregi Natalia
c551dd4c1a Backed out changeset 195bf8b32fcb (bug 1691526) for xpcshell failures on test_targeting.js. CLOSED TREE 2021-02-09 22:22:12 +02:00
Csoregi Natalia
9375c8b870 Backed out 3 changesets (bug 1667851) for causing build bustage on WindowSurfaceWayland.cpp. CLOSED TREE
Backed out changeset 8446b26d9c1d (bug 1667851)
Backed out changeset 9aefa43b4688 (bug 1667851)
Backed out changeset 8a5f4c0386c2 (bug 1667851)
2021-02-09 22:16:17 +02:00
Andrew McCreight
64add637bd Bug 1624705 - Let Xray waiver nuking for local window proxies ride the trains. r=kmag
This has been on Nightly for almost a year and I don't think we've
seen any breakage, so I think it is time to let it ride the trains.

Differential Revision: https://phabricator.services.mozilla.com/D104555
2021-02-09 20:09:05 +00:00
Akshat
5bacc6cf77 Bug 1691638 Corrects XPCShell documentation website r=gbrown DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104556
2021-02-09 19:44:44 +00:00
stransky
47d2a2dd72 Bug 1667851 [Wayland] Use map_event to create wl_subsurface of MozContainer when it's size is already allocated, r=jhorak
- Recently we use size allocation event to create wl_subsurface of MozContainer. Unfortunately size allocation event
  is not called when a window is opened second time, as its size is already set. Use map_event to create
  wl_subsurface in this case.

Depends on D104550

Differential Revision: https://phabricator.services.mozilla.com/D104551
2021-02-09 19:41:10 +00:00
stransky
7933f3c2bc Bug 1667851 [Wayland] Guess subsurface offset from window decorations size, r=jhorak
- Try to set subsurface offset even if we mozcontainer size allocation is not finished. Use window decoration size for it.
- Add more logging to mozcontainer code.

Depends on D104549

Differential Revision: https://phabricator.services.mozilla.com/D104550
2021-02-09 19:41:10 +00:00
stransky
bddb8992b4 Bug 1667851 [Wayland] Rework mozcontainer wl_subsurface creation, r=jhorak
Rework wl_subsurface creation in these steps:

1) moz_container_wayland_size_allocate() handler is called when
   mContainer size/position is known.
   It calls moz_container_wayland_surface_create_locked(), registers
   a frame callback handler
   (moz_container_wayland_frame_callback_handler()).

2) moz_container_wayland_frame_callback_handler() is called
   when wl_surface owned by mozContainer is ready.
   We call initial_draw_cbs() handler and we can create our wl_subsurface
   on top of wl_surface owned by mozContainer.

Also size wl_buffer at WindowSurfaceWayland according to mozcontainer size,
don't use nsWindow bounds for it.

Differential Revision: https://phabricator.services.mozilla.com/D104549
2021-02-09 19:41:09 +00:00
Cosmin Sabou
d8118867b5 Backed out changeset 0abd871c4920 (bug 1542194) for xpcshell failures on test_ext_contentscript_triggeringPrincipal.js. CLOSED TREE 2021-02-09 21:57:05 +02:00
Cosmin Sabou
44c81ed9bb Backed out changeset 028bc12edb76 (bug 1688815) for causing ContentPrincipal related xpcshell crashes. 2021-02-09 21:47:11 +02:00
Andrei Oprea
b398609d29 Bug 1691526 - Enable 'os' level targeting for Nimbus Experiment r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D104545
2021-02-09 19:38:18 +00:00
Oriol Brufau
5fd39ec8e5 Bug 1691480 - Remove remnants of isLastMultiSelectChange. r=Gijs
In bug 1580003 I missed two calls that still use isLastMultiSelectChange.
This parameter has no effect and can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D104427
2021-02-09 19:08:45 +00:00
André Bargull
96aca3d0d0 Bug 1670044 - Part 9: Allow "*" for module export names. r=yulia
We can now remove the "*" restriction from `moduleExportName()`.

Differential Revision: https://phabricator.services.mozilla.com/D101014
2021-02-09 19:05:36 +00:00
André Bargull
b2885adaaf Bug 1670044 - Part 8: Use null for star-imports and exports. r=yulia,tcampbell
The "Arbitrary module namespace identifier names" spec PR allows to use "*" as
a module export name, so we can no longer use that specific string to denote
star-imports/exports. Probably the easiest way to work around this new
restriction is to replace "*" with a nullptr string.

Spec change: https://github.com/tc39/ecma262/pull/2155

Differential Revision: https://phabricator.services.mozilla.com/D101013
2021-02-09 19:05:36 +00:00
André Bargull
96e2220bd1 Bug 1670044 - Part 7: Add separate ImportNamespaceSpec and ExportNamespaceSpec parse nodes. r=yulia,tcampbell
The approach to use "*" for namespace imports/exports no longer works with
module export names. As an alternative add separate ImportNamespaceSpec and
ExportNamespaceSpec parse nodes. They're currently still implemented as binary
nodes, but the next part will change this.

Differential Revision: https://phabricator.services.mozilla.com/D101012
2021-02-09 19:05:35 +00:00
André Bargull
38e8e4ba47 Bug 1670044 - Part 6: Inline ModuleBuilder::appendExportFromEntry. r=yulia,tcampbell
Inline `ModuleBuilder::appendExportFromEntry()` in preparation for the next
part. The `computeLineAndColumn()` call can be moved to the top, because
`spec->pn_pos.begin` is equal to `localNameNode->pn_pos.begin` by construction,
cf. `FullParseHandler::newImportSpec()`.

Drive-by changes:
- Use `auto*` in more places.
- Drop `frontend::` which is redundant with `using namespace js::frontend`.
- Remove the `if (exportName)` check in `ModuleBuilder::appendExportEntry()`,
  because `exportName` is never a nullptr.

Differential Revision: https://phabricator.services.mozilla.com/D101011
2021-02-09 19:05:35 +00:00
André Bargull
821267e218 Bug 1670044 - Part 5: Move import declaration parsing to GeneralParser. r=yulia
Import declaration parsing was implemented in `Parser` instead of
`GeneralParser`, which required to add access to several other parsing methods
from `GeneralParser` to `Parser`. We can avoid this by simply moving `import`
declaration parsing into `GeneralParser`.

Differential Revision: https://phabricator.services.mozilla.com/D101010
2021-02-09 19:05:35 +00:00