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

719130 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke e8b19b4dda Bug 1653231 - Pass const char* argument by value. r=njn
Depends on D83916

Differential Revision: https://phabricator.services.mozilla.com/D83917
2020-07-20 07:58:58 +00:00
Simon Giesecke 3ed45c6191 Bug 1653231 - Simplify PrefName. r=njn
It doesn't need to use a Variant anymore, it always stores a nsCString.

Differential Revision: https://phabricator.services.mozilla.com/D83916
2020-07-20 07:57:49 +00:00
Byron Campen [:bwc] 4f8381bd1f Bug 1648606: Suppress flag-checking race in libusrsctp's sctp_close. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D84366
2020-07-22 15:21:41 +00:00
Byron Campen [:bwc] 167e0884f5 Bug 1648604: Suppress benign race in libusrsctp's system_base_info. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D84364
2020-07-22 15:20:39 +00:00
Scott 3fcf9cfd53 Bug 1638544 - Fix istanbul coverage reporting in browser/components/newtab r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D84415
2020-07-22 14:47:21 +00:00
Simon Giesecke e443211b53 Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D83771
2020-07-22 15:12:10 +00:00
Simon Giesecke 7383616e5f Bug 1653230 - Remove unnecessary includes from CycleCollectedJSContext.h. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D83770
2020-07-22 15:09:48 +00:00
Simon Giesecke b4b3fdfc78 Bug 1653228 - Move PinnedStringId to a separate header. r=peterv
AtomList uses only PinnedStringId from BindingUtils, and there are no other
dependencies between BindingUtils and PinnedStringId, and BindingUtils is
complex to parse. Moving PinnedStringId to a separate header therefore seems
beneficial.

Differential Revision: https://phabricator.services.mozilla.com/D83769
2020-07-22 15:13:21 +00:00
Matthew Gaudet dc71c10bff Bug 1654259 - Harmonize reftest lines for private fields r=anba
Use the same shell-option + skip-if combo throughout private fields testing.
This skips testing of these in the browser (following the pattern established
for the test262 tests) however we have other pref-driven browser based tests,
which use an eval pattern to avoid failing if the pref isn't set.

Differential Revision: https://phabricator.services.mozilla.com/D84506
2020-07-22 15:21:48 +00:00
Matthew Gaudet 9283b80b7b Bug 1654472 - Remove newPrivateName testing function r=anba
A useful function during development, it no longer maintains the required
invariants and can be replaced with real private fields now that parser support
is implemented

Differential Revision: https://phabricator.services.mozilla.com/D84513
2020-07-22 15:20:16 +00:00
Bob Owen 37fa34b296 Bug 1631465 part 4: Add unwritable margin information for Windows. r=jwatt
This includes adding nsPrinterWin and nsPaperWin, so that we can retrieve
information from the printer device lazily.

Differential Revision: https://phabricator.services.mozilla.com/D84009
2020-07-22 15:12:02 +00:00
Bob Owen 3064765112 Bug 1631465 part 3: Move calculation of unwritable margins to WinUtils. r=jwatt
At some point it might be good to move all of the interaction with the native
Windows printer API into some sort of wrapper class, but this keeps it simple
for now.

Differential Revision: https://phabricator.services.mozilla.com/D84008
2020-07-22 15:08:13 +00:00
Kirk Steuber 5cccad60d5 Bug 1653394 - Dynamically allocate string buffers in ReadStrings() to remove the 600 character limit r=mhowell,Pike
Differential Revision: https://phabricator.services.mozilla.com/D84418
2020-07-22 08:11:41 +00:00
Ryan Kelly fae3d55603 Bug 1635656 - add support for storing and fetching FxA ecosystem telemetry ids. r=rfkelly,markh
Differential Revision: https://phabricator.services.mozilla.com/D77762
2020-07-21 23:05:04 +00:00
Simon Giesecke 2d57d60bcc Bug 1653000 - Use a fold expression within EachIndexInner instead of recursion. r=nika,farre
Differential Revision: https://phabricator.services.mozilla.com/D84131
2020-07-22 09:43:28 +00:00
Nika Layzell 49c7080ba4 Bug 1653000 - Part 2: Refactor CreateDetached to reduce callers of SetWithoutSyncing, r=farre
With the new implementation from part 1, this is now shorter to write than it
would be before.

Depends on D84063

Differential Revision: https://phabricator.services.mozilla.com/D84064
2020-07-22 09:13:20 +00:00
Nika Layzell dc09e15686 Bug 1653000 - Part 1: Switch away from tuples in SyncedContext, r=farre,sg
This should help reduce the overhead of template instantiation in C++ code.

Differential Revision: https://phabricator.services.mozilla.com/D84063
2020-07-22 14:07:26 +00:00
Simon Giesecke 3d27322bc3 Bug 1653000 - Declare WindowGlobalInit and SyncedContextInitializer uncomparable and remove unused equality operators. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D84299
2020-07-22 11:48:11 +00:00
Simon Giesecke d824054ce7 Bug 1654181 - Add uncomparable keyword for structs and unions. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D84298
2020-07-22 09:11:52 +00:00
James Graham b4e58626b0 Bug 1654537 - Release marionette_driver 3.1.0 r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D84511
2020-07-22 14:41:03 +00:00
Jan de Mooij ff044caf80 Bug 1653246 part 5 - Optimize DataView set* methods in CacheIR. r=anba
Pretty similar to the previous patch. To deal with register pressure on 32-bit x86,
the patch adds copyToScratchRegister to load an operand into a scratch register,
as alternative for useRegister.

Differential Revision: https://phabricator.services.mozilla.com/D84128
2020-07-21 14:12:54 +00:00
Emilio Cobos Álvarez f87a5320b9 Bug 1648064 - Remove some includes from nsPrintJob.h. r=jwatt
I had needed this before to export that header, and it's no longer
needed, but it seems useful anyways.

Depends on D81989

Differential Revision: https://phabricator.services.mozilla.com/D84252
2020-07-22 14:16:14 +00:00
Byron Campen [:bwc] a54994480c Bug 1652426: Fix bug where ontrack was fired for all receivers if a previously processed receiver had a new track. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D84207
2020-07-22 13:17:02 +00:00
Byron Campen [:bwc] 225ff0e792 Bug 1652426: Test-case for bug. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D84206
2020-07-22 13:17:37 +00:00
Liang-Heng Chen a07f552577 Bug 1650512 - propagate rejected reason when storage access is sandboxed; r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D84361
2020-07-22 11:40:53 +00:00
Julian Descottes 64114183b0 Bug 1654415 - Replace testActor by SpecialPowers from browser_inspector_remove-iframe-during-load test r=nchevobbe
The test is currently a permafail with fission enabled.
TestActor gets destroyed when navigating from about:blank to the test page and can be replaced by SpecialPowers calls.

Differential Revision: https://phabricator.services.mozilla.com/D84478
2020-07-22 13:07:01 +00:00
Nihanth Subramanya 6b7efe37ac Bug 1649280 - Create a new webconsole message group for storage isolation messages. r=timhuang,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D84456
2020-07-22 12:41:43 +00:00
Tooru Fujisawa fba1f29935 Bug 1654312 - Support NullScriptThing. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D84388
2020-07-22 12:08:59 +00:00
Alphan Chen 718c5dafae Bug 1653556 - Set "_tabDataForFinishRestoreHistory" when sessionHistory is in the parent process r=smaug,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D84290
2020-07-22 10:50:48 +00:00
Xidorn Quan 49622fbcfc Bug 1489190 - Use exitFullscreen to exit fullscreen in namespace tests. r=smaug
There is a race condition causing neither fullscreenchange nor fullscreenerror
to be dispatched for a requestFullscreen call in some cases, making the test
stuck. It can be triggered when the child process has exited fullscreen and
starts trying to request fullscreen again, but the parent process is still in
the process of exiting. This can happen when fullscreen is exited via erroneous
ways like detaching the fullscreen element from the document or navigating from
a fullscreen document.

This patch doesn't fix the underlying race condition, but instead changes the
test to avoid triggering it. The namespace checks in file_fullscreen-api removes
the fullscreen element to exit fullscreen, and repeats this process several
times, making it very likely to trigger the race condition, but there is no
reason it has to be done in this way, especially given that there is a test step
specifically checks this behavior.

We may still want to fix the underlying race condition at some point, but as it
can only be triggered via requesting fullscreen when exiting, it's unlikely to
be hit in normal use, so it's less important than making the test reliable.

Differential Revision: https://phabricator.services.mozilla.com/D84484
2020-07-22 11:08:54 +00:00
Csoregi Natalia aec7461c96 Backed out 4 changesets (bug 1635494) for failures on test_process_kill.js. CLOSED TREE
Backed out changeset 67a16c6149f7 (bug 1635494)
Backed out changeset 862a5dcbe7a5 (bug 1635494)
Backed out changeset 36e670cd1653 (bug 1635494)
Backed out changeset 19c4d55874d9 (bug 1635494)
2020-07-22 14:07:01 +03:00
Honza Bambas e92e60d175 Bug 1605895, r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D84201
2020-07-21 13:47:47 +00:00
Jan de Mooij ac4b7a66dc Bug 1652685 part 3 - Optimize IsPackedArray in CacheIR and Warp. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D84331
2020-07-22 06:50:59 +00:00
Jan de Mooij 546869c6be Bug 1652685 part 2 - Move IsPackedArray code into the MacroAssembler. r=anba
Depends on D84329

Differential Revision: https://phabricator.services.mozilla.com/D84330
2020-07-21 13:24:02 +00:00
Jan de Mooij 7a26c92ed0 Bug 1652685 part 1 - Make MIsPackedArray not depend on TI for is-array and is-packed checks. r=anba
This makes it easier to reuse in Warp and makes the optimization more resillient
(fixes bug 1383643).

Differential Revision: https://phabricator.services.mozilla.com/D84329
2020-07-22 07:06:58 +00:00
Emilio Cobos Álvarez 29d1c62b2a Bug 1654402 - Move window.matchMedia to the inner window. r=nika,smaug
Differential Revision: https://phabricator.services.mozilla.com/D84442
2020-07-22 10:09:50 +00:00
David Teller 73d1a0e5ff Bug 1597562 - about:memory now displays process types;r=mccr8,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D77541
2020-07-17 15:51:21 +00:00
Neil Deakin 8e3d371176 Bug 1654124, switch to get the remote type from the browsing context rather than the message manager in a few places, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D84269
2020-07-21 17:16:50 +00:00
David Teller 2ddf042177 Bug 1635494 - Make 'kill browser' button stand out;r=florian,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83314
2020-07-22 10:05:16 +00:00
David Teller c7e969effc Bug 1635494 - Kill processes from about:processes;r=florian,flod
This adds a new button to kill processes.

Differential Revision: https://phabricator.services.mozilla.com/D82555
2020-07-22 10:05:14 +00:00
David Teller c74fd2537a Bug 1635494 - Test that nsIProcessToolsService::kill doesn't cause crash reports;r=gsvelto
nsIProcessToolsService::kill is designed to kill without causing crash reports.
Let's make sure it does not cause crash reports.

Differential Revision: https://phabricator.services.mozilla.com/D82553
2020-07-22 10:05:12 +00:00
David Teller ff538cf8e8 Bug 1635494 - nsIProcessToolsService;r=lina
A small xpcom module implemented in Rust, designed to provide low-level tools to deal with processes
from JS. For the moment, the only notable feature is `kill()`, designed to be used from about:processes

Differential Revision: https://phabricator.services.mozilla.com/D82552
2020-07-22 10:05:10 +00:00
Csoregi Natalia c7ddc224ee Merge mozilla-central to autoland. a=merge CLOSED TREE 2020-07-22 12:55:28 +03:00
Csoregi Natalia dcd9c2d2bc Merge autoland to mozilla-central. a=merge 2020-07-22 12:39:29 +03:00
Bruno Bartolomasi 31220a63a4 Bug 1649686 - Test whether webCOOP+COEP is a prefix before testing whether web is a prefix;r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D83386
2020-07-22 09:38:49 +00:00
Jeff Gilbert d453512bbb Bug 1654474 - Serialize std::vector by-elem. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D84470
2020-07-22 08:41:10 +00:00
Jan de Mooij 3d35e544a6 Bug 1653972 - Fix emitArrayPush to bail out for lengths > INT32_MAX too. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D84295
2020-07-22 08:37:08 +00:00
Jan de Mooij 5a105a1fbf Bug 1653913 - Fix InitArrayElemOperation to match Ion/Warp code for hole values. r=anba
Warp code assumes index == initLength at the start of JSOp::InitArrayElem. The
VM implementation however didn't bump the initLength for hole values. This becomes
a problem when there's a spread loop and we enter Warp code there.

IonBuilder does not have this issue because initArrayElemTryFastPath checks for
MNewArray and in this case we have a loop phi so we don't use the fast path.

I added an assert to InitArrayElemOperation and cleaned it up a bit: restructure,
change the argument from HandleObject to HandleArrayObject etc.

Differential Revision: https://phabricator.services.mozilla.com/D84309
2020-07-22 08:37:08 +00:00
Mihai Alexandru Michis 57b46d3cc3 Backed out 3 changesets (bug 1653642, bug 1497249) for causing Bug 1654282.
Backed out changeset 1c9946becbca (bug 1653642)
Backed out changeset f7b6aac1b58b (bug 1497249)
Backed out changeset 74bb3c2ab767 (bug 1497249)
2020-07-22 11:31:30 +03:00
Cosmin Sabou b743660c1a Merge autoland to mozilla-central. a=merge 2020-07-22 07:31:46 +03:00