Граф коммитов

721954 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara 16fadcf1aa Backed out 3 changesets (bug 1657105) for es lint and test_logpoint-03.js failures CLOSED TREE
Backed out changeset e0ac6c61d65a (bug 1657105)
Backed out changeset 51b8364f941b (bug 1657105)
Backed out changeset cc50fc1340a9 (bug 1657105)
2020-08-12 18:56:52 +03:00
Andreas Farre 41927645ef Bug 1646539 - Part 3: Update test to work with xorigin popup blocking. r=smaug
Changing popup permissions now need to synchronize across
participating content processes before becoming active.

Differential Revision: https://phabricator.services.mozilla.com/D86808
2020-08-12 15:38:19 +00:00
Andreas Farre 2f88f75c98 Bug 1646539 - Part 2: Add field on WindowContext tracking popup permission. r=nika
Popup permissions initialized with the result of checking if the
constructing WindowContext's principal is allowed to open a popup. The
field is updated for all WindowContexts sharing a principal whenever
the popup permission for that nsIPrincipal changes.

Differential Revision: https://phabricator.services.mozilla.com/D86378
2020-08-12 15:38:12 +00:00
Andreas Farre 66f4b719dd Bug 1646539 - Part 1: Test cross origin popup permissions. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D86377
2020-08-12 15:37:59 +00:00
Sebastian Hengst 02632af225 Bug 1648667 - Set navigation-timing/secure_connection_start_non_zero.https.html to fail on Windows ccov. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86830
2020-08-12 15:32:22 +00:00
Sebastian Hengst 1a55c57806 Bug 1642506 - adjust Windows ccov expectations in html/semantics/scripting-1/the-script-element/moving-between-documents/*. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86827
2020-08-12 15:26:51 +00:00
Steven Englehardt e419d7cc2d Bug 1657679 - Revert formatting changes from Bug 1642398 to fix breakage; r=timhuang,preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D86781
2020-08-12 13:11:40 +00:00
Ricky Stewart f6051c3aa8 Bug 1658626 - When listing files from git in `mozversioncontrol`, ignore empty paths r=froydnj,mhentges
Without this patch, the last "path" in this list will always be the empty string due to how the `-z` option to `git` works. This mirrors what we already do in the `get_files_in_working_directory` implementation for `hg`.

Differential Revision: https://phabricator.services.mozilla.com/D86752
2020-08-12 00:10:43 +00:00
Jeff Gilbert e3e331e9ad Bug 1658433 - Implement WebGL draft extension EXT_texture_norm16. r=lsalzman,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D86630
2020-08-12 15:19:17 +00:00
Steven MacLeod 05066e9e52 Bug 1585070 - move nsPIDOMWindowOuter::mIsActive to BrowsingContext. r=farre
A new `BrowsingContext` field, `isActiveBrowserWindow`, has been added
to track the active browser window for the `:-moz-window-inactive`
pseudoclass. This field takes the place of
`nsPIDOMWindowOuter::mIsActive`.

With this change `:-moz-window-inactive` is now fission compatible.

Differential Revision: https://phabricator.services.mozilla.com/D86422
2020-08-11 12:53:57 +00:00
Alexandre Poirot feeba49b58 Bug 1657105 - Fix server side update and destroy events. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86048
2020-08-11 14:15:18 +00:00
Alexandre Poirot 3bf66fff0b Bug 1657105 - Allow listening for resources from both parent and content processes. r=jdescottes,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86046
2020-08-11 14:11:52 +00:00
Alexandre Poirot f4606b2122 Bug 1657105 - Use constants to define target types on the server and set targetType on all targets. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86632
2020-08-12 15:10:13 +00:00
Bogdan Tara c203033e7b Backed out changeset 49da43027193 (bug 1649987) for gecko decision bustage CLOSED TREE 2020-08-12 18:18:23 +03:00
Ted Campbell 86210cd0dc Bug 1658742 - Cleanups in js::frontend::ScopeStencil. r=arai
Inline a few helper methods into their only callers when reasonable and
remove dead code.

Differential Revision: https://phabricator.services.mozilla.com/D86824
2020-08-12 14:09:51 +00:00
Chris H-C 77458d341d Bug 1658403 - Remove the last of Telemetry's 'capturestacks' mentions r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D86726
2020-08-12 08:31:23 +00:00
Chris AtLee 547fc35411 Bug 1649987: Set default task expiry to 12 weeks r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82229
2020-08-12 14:51:05 +00:00
Ben Hearsum 9ece148d45 Bug 1607619: only run rusttests when rust files are modified. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D86434
2020-08-12 14:36:12 +00:00
Bogdan Tara 4b9ed8c48e Backed out changeset 004aa4224a84 (bug 1658268) for test_ext_test.html failures CLOSED TREE 2020-08-12 18:09:34 +03:00
Rob Wu d9f3e3b3f8 Bug 1655624 - Improve reliability of onMessage's error handling r=zombie
Bug 1655624 happened because the format of an internal error changed,
which caused an internal error to be propagated unexpectedly.
This patch fixes the issue by only propagating errors that are known to
originate from extensions, plus a regression test.

This patch also fixes a few other issues:

- Internal errors are redacted to "An unexpected error occurred",
  which partially fixes bug 1643176.

- Fix minor regression in void rejections: Prior to bug 1583484, an
  onMessage handler that rejected with a void value would cause
  sendMessage to reject. Since bug 1583484 the promise is not rejected,
  as the error is inadvertently ignored due to a runtime error:
  "TypeError: can't access property "result", err is undefined".

- Avoid type confusion of objects with the mozWebExtLocation member.

Differential Revision: https://phabricator.services.mozilla.com/D85643
2020-08-12 14:28:04 +00:00
pctopgs 6ce79b0cb4 Bug 1265275 - Replaced using namespace mozilla; & using namespace mozilla::dom; with namespace mozilla{..} & namespace dom{..} in PresentationChild.cpp. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86709
2020-08-12 14:09:49 +00:00
alexandru.ionescu b8de5629f2 Bug 1638934 Run Talos tests with Fission enabled on macOS as tier 2 r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85582
2020-08-12 14:00:32 +00:00
Bogdan Tara ee29080125 Backed out changeset 46abf66e3b20 (bug 1655624) for test_ext_error_location.js failures CLOSED TREE 2020-08-12 17:07:08 +03:00
Chris H-C 047e478174 Bug 1650282 - Ignore NSS Shutdown leaks on telemetry integration tests r=raphael DONTBUILD
My original patch just ignored it for locally-run tests.
This one makes a similar change for when it's run on try.

Differential Revision: https://phabricator.services.mozilla.com/D86814
2020-08-12 13:06:56 +00:00
André Bargull 1e14fc9dd5 Bug 1658268: Optimise Boolean in CacheIR and Warp. r=jandem
The CacheIR implementation uses the new `LoadValueTruthyResult` op instead of
the existing `LoadThingTruthyResult` ops to mirror how Warp implements boolean
coercion: Warp doesn't use ICs but instead uses MNot resp. MTest with Value
typed inputs.
Mirroring this approach avoids to have (from the user POV) strange performance
differences where for example using `if (Boolean(v))` can be faster than just
`if (v)`, when `v` is Value-typed, but monomorphic.

Differential Revision: https://phabricator.services.mozilla.com/D86524
2020-08-12 13:41:08 +00:00
Luca Leone 877b4d38f5 Bug 1590885 - Expose line-wrap as an option in the debugger editor context menu. r=nchevobbe
Added an option to the debugger editor context menu for the user to be able to wrap / unwrap long lines.

Differential Revision: https://phabricator.services.mozilla.com/D60681
2020-08-12 13:46:32 +00:00
Christoph Kerschbaumer 86017275d2 Bug 1642387: Prevent HTTPS-Only timeouts by sending http request in the background with a 3000ms delay. If that http request returns before the upgraded request, it's an indicator the https request will result in a timeout and we show the error... r=mattwoodrow,dragana,JulianWels
...page instead. r=dragana

Differential Revision: https://phabricator.services.mozilla.com/D85300
2020-08-12 12:57:22 +00:00
Christoph Kerschbaumer f885bf9f29 Bug 1642387: Prevent HTTPS-Only timeouts tests. r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D86335
2020-08-12 13:32:53 +00:00
Lars T Hansen 08d961db58 Bug 1647288 - Handle NaN in SIMD min, max: Code. r=jseward
This adds correct NaN handling to the SIMD f32x4/f64x2.min/max code.
This is a bit of a horror show actually.  There is a reasonable fast
path if neither operand contains a NaN, but the slow path to handle
NaN is long and there's a lot of code.  (This is an Intel-only
problem, on other architectures there's a direct mapping.)

It is possible the slow-path code could be somewhat improved (both
speed and size) by using at least three BLEND instructions, but I
consider that a possible optimization that needs investigation and
empirical backing.  Meanwhile, we can land this plausible code.

Differential Revision: https://phabricator.services.mozilla.com/D86318
2020-08-12 13:11:03 +00:00
Lars T Hansen 36aba15e18 Bug 1647288 - Handle signalling NaN generally: Test cases. r=jseward
Wasm treats signalling and quiet NaN the same - as quiet NaN.  Where
convenient, test also signalling NaN.  This is complicated by JS not
being able to represent signalling NaN directly.

Differential Revision: https://phabricator.services.mozilla.com/D86317
2020-08-12 13:10:55 +00:00
Lars T Hansen 27e16cf681 Bug 1647288 - Handle NaN in SIMD min, max: Generated test cases. r=jseward
These test cases were generated by a script from some of the
preliminary test cases in the SIMD spec repository, taking into
account the specific NaN types asked for.

These tests are temporary: once we have proper generated test cases
from the spec repository, these will no longer be needed.

Differential Revision: https://phabricator.services.mozilla.com/D86316
2020-08-12 13:10:53 +00:00
Lars T Hansen 619c579af1 Bug 1657628 - Fix bugs in some ad-hack simd tests. r=jseward
Two bugs:

- an accidental redefinition of the 'eq' predicate resulted in the
  'permute' function not working and thus in us not testing floating
  point operations for NaN, Infinity, and some other interesting
  values.

- the previous bug masked the fact that the max and min operations for
  floating point were not implemented properly; they have to handle
  NaN specially.

Differential Revision: https://phabricator.services.mozilla.com/D86315
2020-08-12 13:10:50 +00:00
Lars T Hansen a9729a7f1c Bug 1656226 - Implement the experimental opcodes. r=jseward
Implement some of the experimental SIMD opcodes that are supported by
all of V8, LLVM, and Binaryen, for maximum compatibility with test
content we might be exposed to.  Most/all of these will probably make
it into the spec, as they lead to substantial speedups in some
programs, and they are deterministic.

For spec and cpu mapping details, see:

https://github.com/WebAssembly/simd/pull/122 (pmax/pmin)
https://github.com/WebAssembly/simd/pull/232 (rounding)
https://github.com/WebAssembly/simd/pull/127 (dot product)
https://github.com/WebAssembly/simd/pull/237 (load zero)

The wasm bytecode values used here come from the binaryen changes that
are linked from those tickets, that's the best documentation right
now.  Current binaryen opcode mappings are here:
https://github.com/WebAssembly/binaryen/blob/master/src/wasm-binary.h

Also: Drive-by fix for signatures of vroundss and vroundsd, these are
unary operations and should follow the conventions for these with
src/dest arguments, not src0/src1/dest.

Also: Drive-by fix to add variants of vmovss and vmovsd on x64 that
take Operand source and FloatRegister destination.

Differential Revision: https://phabricator.services.mozilla.com/D85982
2020-08-12 13:10:48 +00:00
Lars T Hansen 231a0a415d Bug 1656216 - Improve SIMD test cases. r=jseward
This fleshes out the test cases to cover some corner cases that were
left uncovered before.  No errors were found.

Differential Revision: https://phabricator.services.mozilla.com/D85981
2020-08-12 13:09:20 +00:00
Rob Wu 0409687026 Bug 1655624 - Improve reliability of onMessage's error handling r=zombie
Bug 1655624 happened because the format of an internal error changed,
which caused an internal error to be propagated unexpectedly.
This patch fixes the issue by only propagating errors that are known to
originate from extensions, plus a regression test.

This patch also fixes a few other issues:

- Internal errors are redacted to "An unexpected error occurred",
  which partially fixes bug 1643176.

- Fix minor regression in void rejections: Prior to bug 1583484, an
  onMessage handler that rejected with a void value would cause
  sendMessage to reject. Since bug 1583484 the promise is not rejected,
  as the error is inadvertently ignored due to a runtime error:
  "TypeError: can't access property "result", err is undefined".

- Avoid type confusion of objects with the mozWebExtLocation member.

Differential Revision: https://phabricator.services.mozilla.com/D85643
2020-08-12 12:26:06 +00:00
Kannan Vijayan b430e79e18 Bug 1658593 - Bugfixes in ParserAtoms implementation. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D86734
2020-08-12 03:23:06 +00:00
Kriyszig f7e148af42 Bug 1657984 - Part 2 - Test the telemetry for CSS Compatibility Tooltip r=daisuke,mtigley
We check if telemetry "devtools.tooltip.shown" is set for label
"css-compatibility" once the tooltip is toggled visible during
the test.

Differential Revision: https://phabricator.services.mozilla.com/D86403
2020-08-12 02:41:48 +00:00
Kriyszig 8e3c67669b Bug 1657984 - Part 1 - Add telemetry for CSS Compatibility Tooltip r=daisuke,mtigley
Based on initital implementation of inactive css tooltip telemetry
implementation in D32810
We record toggling of tooltip using `sendOpenScalarToTelemetry`
against the label "css-compatibility".

Differential Revision: https://phabricator.services.mozilla.com/D86402
2020-08-11 23:10:16 +00:00
Mirko Brodesser e56085c63f Bug 1649121: part 73) Factor `IsNodeContainedInRange` out. r=masayuki
Removes code duplication, abstracts details away.

Differential Revision: https://phabricator.services.mozilla.com/D86703
2020-08-12 11:10:06 +00:00
Julian Descottes f05829aa08 Bug 1629890 - Use Front/Actor::isDestroyed to replace actorID checks r=nchevobbe
Depends on D86325

Differential Revision: https://phabricator.services.mozilla.com/D86356
2020-08-12 11:33:44 +00:00
Julian Descottes 028ab078d0 Bug 1629890 - Convert accessible isDestroyed getter to Actor::isDestroyed() r=yzen,nchevobbe
Depends on D86324

Differential Revision: https://phabricator.services.mozilla.com/D86325
2020-08-10 18:56:38 +00:00
Julian Descottes da1f00acb5 Bug 1629890 - Add isDestroyed helper on DevTools Actor base class r=nchevobbe
Depends on D86323

Differential Revision: https://phabricator.services.mozilla.com/D86324
2020-08-07 13:21:40 +00:00
Julian Descottes 8b34b0fb01 Bug 1629890 - Add isDestroyed helper on DevTools Front base class r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86323
2020-08-07 13:24:00 +00:00
Bogdan Tara d7f1417ce1 Backed out changeset 475139fa091b (bug 1658362) for test_altsvc_pref.js failures CLOSED TREE 2020-08-12 14:36:12 +03:00
Emilio Cobos Álvarez 0c03ba166c Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku
We've shipped it on by default since 74 (bug 1617219).

Differential Revision: https://phabricator.services.mozilla.com/D86665
2020-08-12 10:57:04 +00:00
Andrea Marchesini 47a7d0c69b Bug 1657742 - PopupBlocker doesn't block Middle mouse button click, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86801
2020-08-12 10:34:24 +00:00
Valentin Gosu 06b00d0bf4 Bug 1657582 - Add nsIDNSAddrRecord interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,dragana
This interface extends nsIDNSRecord and makes the DNS code more extensible
by allowing us to support more record types.
This change does require the consumer to be aware of the type they requested
and to QueryInterface to either nsIDNSAddrRecord for regular IP lookups,
or to nsIDNSByTypeRecord for other kinds of lookups.

Differential Revision: https://phabricator.services.mozilla.com/D86177
2020-08-12 10:49:39 +00:00
Valentin Gosu e1f98ce23a Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana
This patch adds the nsIDNSResolverInfo interface which is used to hold
information about the resolver to be used in a DNS resolution.

We use this to merge all of the *WithTRRServer resolve functions into one.
Passing a resolver info will use that object when appropriate. No resolver
info means that we default to using the system resolver, or the default TRR
resolver.

This patch also converts the RESOLVE_TYPE_* flags into a cenum and adds
the resolveType as a parameter to asyncResolve thus removing the need
to have asyncResolveByType methods.

Differential Revision: https://phabricator.services.mozilla.com/D86176
2020-08-12 08:25:14 +00:00
yulia 7973b79f97 Bug 1657835 - Update Reflect.parse to include Optional Element deletion; r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D86694
2020-08-12 09:22:51 +00:00
Dragana Damjanovic 32c60292ff Bug 1658362 - Add a pref to set alt-svc mapping artificially for testing. r=JuniorHsu,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86589
2020-08-12 10:11:43 +00:00