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

668472 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 48c8dbd02c Bug 1577819, part 4 - Add some basic validity checks for the type. r=Ehsan
The test for procinfo doesn't check if the process type is
reasonable. With Fission, this test now asserts, so add a failure
annotation. I'll fix it up for Fission in another bug.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 21:52:42 +00:00
Andrew McCreight e41a2280e5 Bug 1577819, part 3 - Initialize process type in RequestProcInfo. r=Ehsan
Right now, the type ends up being uninitialized if the type doesn't
match, in the GeckoProcessType_Content case.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 21:52:40 +00:00
Andrew McCreight 9fe0f5c10b Bug 1577819, part 2 - WebIDLProcType should match ProcType. r=Ehsan
ProcType gets turned into WebIDLProcType, so I assume the intention is
that they are identical. I changed the definition of WebIDLProcType to
match ProcType, and added a static assert to check that they have the
same number of cases.

I also changed the coercion from a static_cast<> to an explicit switch
statement so that it will degrade more gracefully if, say, the enums
get reordered, or one enum gets a case added and removed at the same
time.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 21:55:42 +00:00
Andrew McCreight d8dc15b323 Bug 1577819, part 1 - Rename mozilla::dom::ProcType to mozilla::dom::WebIDLProcType. r=Ehsan
There is also a mozilla::ProcType, which makes things
confusing. dom::ProcType seems to be used only for passing values to
JS via WebIDL, so I put WebIDL in the name.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 21:52:36 +00:00
Matthew Noorenberghe 4a7b5a6566 Bug 1577710 - Disable browser_loginItemErrors.js in debug builds due to intermittent failures. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D44276

--HG--
extra : moz-landing-system : lando
2019-08-30 21:33:35 +00:00
Dylan Roeh 9f71be1805 Bug 1572191 - Prevent nsPermissionManager from persisting certain permissions to disk under GeckoView. r=snorp,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43759

--HG--
extra : moz-landing-system : lando
2019-08-30 21:41:47 +00:00
Brian Hackett 3ecbce3546 Bug 1576797 - Remove threadFront/target references from web replay tests, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D43558

--HG--
extra : moz-landing-system : lando
2019-08-30 21:38:40 +00:00
Ryan Hunt 1b831273d7 Bug 1518210 - Wasm: Don't run --wasm-disable-huge-memory if the platform doesn't support huge memory. r=lth
This commit extends the jit-test runner to support
'skip-variant-if: $FLAG, $COND', and uses this to not run
'--wasm-disable-huge-memory' tests when the platform doesn't support huge
memory.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 20:55:27 +00:00
Ryan Hunt 722237026e Bug 1518210 - Wasm: Make wasm::IsHugeMemoryEnabled() a component of the BuildID for correct invalidation of cached code. r=lth
We can't deserialize code that doesn't contain bounds checks if we have
dynamically switched to not using huge memory. This commit uses BuildID to
invalidate cached code correctly.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 20:55:21 +00:00
Ryan Hunt b69358de85 Bug 1518210 - Wasm: Conditionally create huge memory's based on wasm::IsHugeMemoryEnabled. r=lth
This commit modifies WasmMemoryObject, ArrayBufferObject,
SharedArrayBufferObject to support conditionally using huge memory based on the
global flag.

The memory logic is fairly involved and entangled, making this change a bit
tricky.

The following changes were made:

* Stopped conditionally compiling huge memory constants and prefixed them with `Huge`
* Stopped conditionally compiling `ExtendBufferMapping` and `wasmMovingGrowToSize`
* Renamed `CreateBuffer` to `CreateSpecificWasmBuffer`
	* For clarity
* Moved maxSize clamping into `CreateSpecificWasmBuffer`
	* Lets us keep one callsite to `wasm::IsHugeMemoryEnabled` during memory creation
* Moved mappedSize computation out of `RawbufT::Allocate` to `CreateSpecificWasmBuffer`
	* Lets us keep one callsite to `wasm::IsHugeMemoryEnabled` during memory creation
* Moved `boundsCheckLimit` computation from `ArrayBufferObjectMaybeShared` to `WasmMemoryObject`
	* Lets WasmMemoryObject be responsible for knowing whether it is 'huge' or not
* Added method to determine if a `WasmMemoryObject` is huge or not
	* Lets use know whether we support `movingGrow` or have a `boundsCheckLimit`
* Refactored `WasmMemoryObject::grow` to have one callsite to `wasmMovingGrowToSize`
	* For clarity
* Added release assert in `Module::instantiateMemory`
	* Ensures we have a huge memory or bounds checks if needed

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

--HG--
extra : moz-landing-system : lando
2019-08-30 20:53:50 +00:00
Ryan Hunt e96ff8f380 Bug 1518210 - Wasm: Conditionally compile bounds checks based on wasm::IsHugeMemoryEnabled. r=lth
This commit allows us to conditionally compile bounds checks based on runtime
support for huge memory.

New flags to CompileArgs and CompilerEnvironment are added for whether we are
using huge memory or not, and computed based on the global flag.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:17:29 +00:00
Ryan Hunt 8764683823 Bug 1518210 - Wasm: Rename WASM_HUGE_MEMORY to WASM_SUPPORTS_HUGE_MEMORY. r=lth
To highlight that WASM_HUGE_MEMORY doesn't imply we are using huge memory, this
commit renames the #define.

Most usages of WASM_HUGE_MEMORY are not updated, as they will be removed in
later commits.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:17:31 +00:00
Ryan Hunt a609638846 Bug 1518210 - Wasm: Add pref/flag boilerplate for making WASM_HUGE_MEMORY a runtime decision. r=lth
This commit is the boilerplate for making WASM_HUGE_MEMORY a runtime decision.

Because WasmModule's can be passed across threads with `postMessage`, we need
to make this decision once per process. The support for this kind of flag seems
ad-hoc, so I stubbed in a global flag in WasmProcess.

A new 'javascript.options.wasm_disable_huge_memory' pref and
'--disable-wasm-huge-memory' JS shell flag are added. These have no effect if
the current platform doesn't support huge memory.

Tests and fuzzing flags are modified to also test with these new flags.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:17:33 +00:00
Ryan Hunt 916cc3c3b0 Bug 1518210 - Wasm: Remove unused wasm::DeserializeModule API. r=luke
This API is no longer used by IndexDB and can be removed.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:17:35 +00:00
Ryan Hunt 37863a5b28 Bug 1518210 - Wasm: Bounds checking support for ARM64. r=lth
The only observed change needed to get bounds checking working on ARM64 was to
implement `wasmBoundsCheck` in MacroAssembler-arm64.

ARM64 doesn't support predicated instructions like ARM32, so to support spectre
mitigations `wasmBoundsCheck` emits a 'csel' instruction. I'm not familiar with
how ARM performs speculative execution or how spidermonkey mitigates it, so this
was only a guess.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:17:37 +00:00
Ryan Hunt 36ec2db842 Bug 1518210 - Wasm: Bounds checking support for x64. r=lth
x86_64 can re-use MacroAssembler-x86-shared for its wasmBoundsCheck, and so it
doesn't require any new assembler code.

It does require a small baseline compiler change to ensure that TlsData is
loaded if we are going to do a bounds check.

I tested this commit with a x64 try run and manually disabling WASM_HUGE_MEMORY.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:17:39 +00:00
Andrew Halberstadt 8f5dbf7720 Bug 1576957 - [ci] Turn off shippable builds and tests on Ash, r=gbrown
Depends on D43807

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

--HG--
extra : moz-landing-system : lando
2019-08-28 21:40:20 +00:00
Andrew Halberstadt 05f6b0f313 Bug 1576957 - [ci] Turn off QuantumRender tasks on Ash, r=gbrown
Depends on D43806

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

--HG--
extra : moz-landing-system : lando
2019-08-28 22:06:01 +00:00
Andrew Halberstadt 7cb7194011 Bug 1576957 - [ci] Create 'attr' shortcut in target_tasks_ash, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43806

--HG--
extra : moz-landing-system : lando
2019-08-28 21:34:43 +00:00
Olli Pettay 4a778f8d78 Bug 1574290, browser_html_options_ui.js should wait for the load event before expecting that the whole extension page has been loaded, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D44143

--HG--
extra : moz-landing-system : lando
2019-08-30 21:08:32 +00:00
Edwin Gao c74e30fe2d Bug 1565332 - add new dockerfile for debian 10 (buster) test image and add necessary piping without switching the main CI pipeline from ubuntu 16.04 r=jmaher
Major changes:
- add new directory under `taskcluster/docker` named `linux-test` that will supersede `desktop1604-test` when the appropriate time comes
- add new job to support building this docker image in `kind.yml`
- create a setup script similar to `ubuntu1604-test-system-setup.sh` tailored to debian 10
- modify `test-linux.sh` to support switching based on detected distribution; this is important due to differences in how pulseaudio is handled

Minor changes:
- modify logic in the mochitest harness in order to support gstreamer0.1, 0.10 and 1.0 notations (varies slightly from ubuntu1604)

Goal:
- this patch will place all the necessary piping to enable debian 10 when needed
- with the required debian 10 files and scripts recorded in tree, it is easier to have other developers quickly enable debian 10 to run tests on try

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

--HG--
extra : moz-landing-system : lando
2019-08-30 20:53:41 +00:00
Daniel Holbert 7464b9c2c0 Bug 1481951 late-breaking followup: Remove mistaken comment with a reference to this (closed) bug. r=TYLin
DONTBUILD because this is a comment-only change.

Per bug 1481951 comment 6, it seems our behavior was in fact correct even when
the comment was added, and this "// XXX" comment was just due to a
misunderstanding in what was going on in the testcase.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 20:37:10 +00:00
David Walsh 611da30262 Bug 1577677 - Update language for toggling inline preview r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D44098

--HG--
extra : moz-landing-system : lando
2019-08-30 16:15:03 +00:00
Brad Werth 3f0714c0cf Bug 1572840 Part 5: Update test expectations. r=gl
https://phabricator.services.mozilla.com/D42379

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

--HG--
extra : moz-landing-system : lando
2019-08-30 18:45:56 +00:00
Brad Werth 885d6ecdc2 Bug 1572840 Part 4: Change nsGlobalWindowOuter::GetRDMDeviceSize to divide out full zoom levels. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43716

--HG--
extra : moz-landing-system : lando
2019-08-30 18:45:29 +00:00
Brad Werth 2c1d514203 Bug 1572840 Part 3: Listen to fullzoom changes in the RDM pane and call the zoom viewport function. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41467

--HG--
extra : moz-landing-system : lando
2019-08-30 18:44:56 +00:00
Brad Werth d6d0edef6f Bug 1572840 Part 2: Make the RDM viewport render scaled to the viewport.zoom property. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41465

--HG--
extra : moz-landing-system : lando
2019-08-30 18:44:29 +00:00
Brad Werth b13fe6a76e Bug 1572840 Part 1: Add a zoom viewport action to RDM pane. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41463

--HG--
extra : moz-landing-system : lando
2019-08-30 18:44:06 +00:00
Thomas Nguyen c175f3d626 Bug 1576347 - Correct referrerInfo when saving media and add a test of "Go To Download Page" button r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43749

--HG--
extra : moz-landing-system : lando
2019-08-30 18:38:38 +00:00
Brian Hackett 9e00f531f2 Bug 1577666 - Add redirections for some printing functions, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D44088

--HG--
extra : moz-landing-system : lando
2019-08-30 19:29:54 +00:00
Sebastian Hengst 44cc3077eb Bug 1577768 - add toggle.svg to whitelist of referenced files for non-central repositories. r=mstriemer
It got added in bug 1533863 for the new about:config page (bug 1493439) which is currently on enabled in Nightly (bug 1532703).

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:38:52 +00:00
Jason Laster 3c1a5c02df Bug 1577047 - Function calls without args should not be valid breakpoint positions. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D43884

--HG--
extra : moz-landing-system : lando
2019-08-30 14:49:25 +00:00
Nathan Froyd c1a79cc3a4 Bug 1577812 - correctly add the compiler's lib directory to LD_LIBRARY_PATH; r=sfink
The current code only adds the directory if `LD_LIBRARY_PATH` is not
already set.  We want to always add it so that host binaries--which will
be linked against whatever libraries the compiler in use provides--can
run correctly.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:38:49 +00:00
Gurzau Raul 0ba8ea2878 Backed out changeset 1dca0c6a9ad2 (bug 1577372) for eslint failure at pageInfo.js on a CLOSED TREE. 2019-08-30 22:47:45 +03:00
Timothy Nikkel f1e7c2285d Bug 1577155. Make image/test/mochitest/test_bug415761.html copy both the test and reference icon so the OS doesn't include an extra badge indicating it is a sym link. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D44082

--HG--
extra : moz-landing-system : lando
2019-08-30 13:28:24 +00:00
Alexander J. Vincent 5642dec568 Bug 1577372, restore copy command via context menu to pageInfo dialog. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D44084

--HG--
extra : moz-landing-system : lando
2019-08-30 17:14:35 +00:00
Cosmin Sabou 7e52753eda Bug 1577362 - Disable browser_allowListSeparationInPrivateAndNormalWindows.js on fission. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D44095

--HG--
extra : moz-landing-system : lando
2019-08-30 09:56:24 +00:00
Dale Harvey 6e2b1a210d Bug 1542268 - Use new engine selector behind a pref r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D42879

--HG--
extra : moz-landing-system : lando
2019-08-30 14:01:59 +00:00
Asumu Takikawa 9a1da4facc Bug 1511958 - Implement i64<>JavaScript’s BigInt conversions proposal (part 1, build system changes) r=wingo,bbouvier
This is part 1 of a series of revs that split up D41710 into smaller revs. This rev just adds a compile-time flag for wasm BigInt to I64 conversion but does not use it anywhere, as its uses are for toggling features in subsequent revs.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 11:06:37 +00:00
Andrew Halberstadt 749041733a Bug 1570772 - Revert accidental changes to ThirdPartyPaths.txt from bad merge r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D44238

--HG--
extra : moz-landing-system : lando
2019-08-30 18:39:52 +00:00
arthur.iakab fd7aae5565 Backed out changeset 9057d052acee (bug 1559088) for causing xpcshell failures on test_redirect-caching_failure.js CLOSED TREE 2019-08-30 21:37:15 +03:00
Erica Wright 2502483f94 Bug 1575359 - Update string on the Lockwise card button. r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D44043

--HG--
extra : moz-landing-system : lando
2019-08-30 18:22:34 +00:00
Emily McMinn 51904d0b25 Bug 1570996 - Removed the bottom border from the last message in the Whats New Panel r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D42720

--HG--
extra : moz-landing-system : lando
2019-08-30 18:16:02 +00:00
harry b77abc27f9 Bug 1576447 - Stop duplicating one-offs container on UrlbarInput uninit. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D44227

--HG--
extra : moz-landing-system : lando
2019-08-30 18:12:02 +00:00
Andrew Halberstadt cc2796fde3 Bug 1568638 - [ci] Add a task to generate test manifest metadata for fission r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43515

--HG--
extra : moz-landing-system : lando
2019-08-30 17:52:16 +00:00
Andrew Halberstadt f2210ba1ed Bug 1568638 - [build] Create objdir in test_manifest backend if it doesn't exist r=mshal
This fixes an edge case where a task needs to invoke the TestManifest backend from a source dir that doesn't have an objdir created yet.

Depends on D43513

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

--HG--
extra : moz-landing-system : lando
2019-08-30 17:01:12 +00:00
Andrew Halberstadt f58125d411 Bug 1568638 - [test-info] Create --output-file directory if it doesn't exist, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43513

--HG--
extra : moz-landing-system : lando
2019-08-27 19:08:06 +00:00
Andrew Halberstadt 332fea3d64 Bug 1570772 - [ci] Add a task to run the license linter r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D41823

--HG--
extra : moz-landing-system : lando
2019-08-30 15:44:40 +00:00
Andrew Halberstadt 6e07bc64e5 Bug 1570772 - [lint.license] Exclude pre-existing license errors r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D41822

--HG--
extra : moz-landing-system : lando
2019-08-30 15:44:31 +00:00
Andrew Halberstadt 5729dfad82 Bug 1570772 - [lint.license] Exclude errors under /devtools r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D41821

--HG--
extra : moz-landing-system : lando
2019-08-30 15:44:22 +00:00