]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
5 months agoUpgrade to websockify 0.12.0 in snap package
Pierre Ossman [Mon, 3 Jun 2024 12:45:11 +0000 (14:45 +0200)]
Upgrade to websockify 0.12.0 in snap package

5 months agoUpdate translation template file
Pierre Ossman [Mon, 3 Jun 2024 12:10:47 +0000 (14:10 +0200)]
Update translation template file

5 months agoRemove Twitter links
Pierre Ossman [Mon, 3 Jun 2024 12:09:00 +0000 (14:09 +0200)]
Remove Twitter links

These are not updated anymore as they are not under the control of the
current team.

6 months agoAdd unit tests for Tight gradient filter
Pierre Ossman [Thu, 16 May 2024 14:53:49 +0000 (16:53 +0200)]
Add unit tests for Tight gradient filter

6 months agoImplement gradient filter of tight decoder, fixing issue #1767
Jiang XueQian [Thu, 2 May 2024 12:41:38 +0000 (20:41 +0800)]
Implement gradient filter of tight decoder, fixing issue #1767

This commit is a basic implementation of the gradient filter required by
qemu `lossy` option.

6 months agoCleanup "no-console" eslint rules
Samuel Mannehed [Tue, 30 Apr 2024 13:25:03 +0000 (15:25 +0200)]
Cleanup "no-console" eslint rules

Removes unexpected exceptions and clarifies where we want to avoid
console calls.

6 months agoMigrate deprecated eslint config to to new format
Samuel Mannehed [Mon, 22 Apr 2024 06:49:30 +0000 (08:49 +0200)]
Migrate deprecated eslint config to to new format

The .eslintrc and .eslintignore formats are deprecated. The new format
uses a single eslint.config.js (or .mjs) file at the top.

6 months agoMerge pull request #1853 from kosmasgiannis/gr20240424
Samuel Mannehed (ThinLinc team) [Fri, 26 Apr 2024 07:41:25 +0000 (09:41 +0200)]
Merge pull request #1853 from kosmasgiannis/gr20240424

Updated greek translations

7 months agoUpdated el.po
Giannis Kosmas [Wed, 24 Apr 2024 16:53:49 +0000 (19:53 +0300)]
Updated el.po

7 months agoUpdate zh_CN.po (#1851)
Bubble [Wed, 24 Apr 2024 14:54:24 +0000 (22:54 +0800)]
Update zh_CN.po (#1851)

Update Chinese translation

8 months agoClipboard: handle multiple CR+LF
Kostiantyn Syrykh [Mon, 25 Mar 2024 15:35:28 +0000 (17:35 +0200)]
Clipboard: handle multiple CR+LF

9 months agoMerge pull request #1834 from sbungartz/avoid-exception-when-disconnecting-after...
Samuel Mannehed (ThinLinc team) [Thu, 22 Feb 2024 15:26:51 +0000 (16:26 +0100)]
Merge pull request #1834 from sbungartz/avoid-exception-when-disconnecting-after-dom-morph

Avoid exception when cursor was removed from DOM already

9 months agoMerge branch 'actions' of github.com:CendioOssman/noVNC
Pierre Ossman [Mon, 5 Feb 2024 15:58:00 +0000 (16:58 +0100)]
Merge branch 'actions' of github.com:CendioOssman/noVNC

9 months agoFix import of "commander"
Pierre Ossman [Mon, 5 Feb 2024 15:43:29 +0000 (16:43 +0100)]
Fix import of "commander"

The default import was deprecated ages ago, and in v12 it has now
finally been changed in a breaking way.

Change the code to import things the proper way.

9 months agoUpdate github actions to latest versions
Pierre Ossman [Mon, 5 Feb 2024 15:34:47 +0000 (16:34 +0100)]
Update github actions to latest versions

Primarily to avoid the versions that are now deprecated, but also update
actions/upload-artifact to keep us up to date.

9 months agoMake non-HTTPS message more harsh
Samuel Mannehed [Fri, 2 Feb 2024 15:51:21 +0000 (16:51 +0100)]
Make non-HTTPS message more harsh

As browsers are placing more and more new functionality as
secure-context only, we need to prepare users for more problems. I find
it likely that we will disable non-HTTPS connections in the future.

9 months agoAvoid exception when cursor was removed from DOM already
Simon Bungartz [Wed, 31 Jan 2024 16:16:01 +0000 (16:16 +0000)]
Avoid exception when cursor was removed from DOM already

10 months agoFix key event debug output
Pierre Ossman [Tue, 23 Jan 2024 11:54:18 +0000 (12:54 +0100)]
Fix key event debug output

Fix for a0b7c0dac5359e4002e7f1d946e60e2eb9b4a54e.

10 months agoHandle broken Oculus browser keyboard events
Pierre Ossman [Tue, 23 Jan 2024 11:51:35 +0000 (12:51 +0100)]
Handle broken Oculus browser keyboard events

It sets KeyboardEvent.key to "Unidentified" for all non-character keys,
which means we must ignore it and use the legacy handling to figure out
the key pressed.

10 months agoIncrease test timeout for Chrome on Windows
Pierre Ossman [Fri, 19 Jan 2024 14:58:48 +0000 (15:58 +0100)]
Increase test timeout for Chrome on Windows

There is some bug in Chrome 119+ on some systems, where it takes
forever for the first readback from a canvas, timing out the first
test that does this.

Work around the issue by increasing the timeout on that platform until
Chrome manages to resolve the issue.

10 months agoDon't include ES6 module versions in npm package
Pierre Ossman [Wed, 17 Jan 2024 15:19:16 +0000 (16:19 +0100)]
Don't include ES6 module versions in npm package

The npm package is supposed to be for CommonJS usage, so only package
that to avoid confusion. This has become an issue now that nodejs
supports ES6 modules, where users are accidentally trying to import the
wrong files and get errors.

10 months agoUpgrade base snap to Ubuntu 22.04
Pierre Ossman [Wed, 10 Jan 2024 13:44:44 +0000 (14:44 +0100)]
Upgrade base snap to Ubuntu 22.04

Ubuntu 18.04 base snap is no longer supported, so switch to the
currently newest one.

10 months agoRemove unused npm dependencies
Pierre Ossman [Wed, 10 Jan 2024 06:56:13 +0000 (07:56 +0100)]
Remove unused npm dependencies

These should have been removed as part of 890cff9.

11 months agoHandle relative paths in novnc_proxy
Pierre Ossman [Tue, 5 Dec 2023 10:33:15 +0000 (11:33 +0100)]
Handle relative paths in novnc_proxy

websockify changes the working directory before it starts looking for
files, so we must give it relative paths for things to work reliably.

11 months agoHandle immediate connection errors
Pierre Ossman [Tue, 5 Dec 2023 10:30:30 +0000 (11:30 +0100)]
Handle immediate connection errors

The browser might throw an exception right away if there is something it
doesn't like with our connect attempt. E.g. using a non-TLS WebSocket
from a TLS web page.

12 months agoMerge branch 'listen-host' of https://github.com/afbjorklund/noVNC
Pierre Ossman [Fri, 27 Oct 2023 10:57:09 +0000 (12:57 +0200)]
Merge branch 'listen-host' of https://github.com/afbjorklund/noVNC

13 months agoRemove comment about websockify command arguments
Anders F Björklund [Sat, 14 Oct 2023 07:52:13 +0000 (09:52 +0200)]
Remove comment about websockify command arguments

13 months agoDocument default port applies to all interfaces
Anders F Björklund [Sat, 14 Oct 2023 07:51:29 +0000 (09:51 +0200)]
Document default port applies to all interfaces

13 months agoAdd the possibility to listen on a specific host
Anders F Björklund [Wed, 11 Oct 2023 10:28:39 +0000 (12:28 +0200)]
Add the possibility to listen on a specific host

For instance, for listening only on "localhost"

That is, bind on 127.0.0.1 instead of 0.0.0.0

13 months agoMerge branch 'qemu_ledstate_pseudo_encoding' of https://github.com/otthou/noVNC
Pierre Ossman [Fri, 29 Sep 2023 12:18:02 +0000 (14:18 +0200)]
Merge branch 'qemu_ledstate_pseudo_encoding' of https://github.com/otthou/noVNC

13 months agoAdd QEMU Led Pseudo encoding support
Otto van Houten [Wed, 26 Jul 2023 12:38:31 +0000 (14:38 +0200)]
Add QEMU Led Pseudo encoding support

Previously, num-lock and caps-lock syncing was performed on a best effort basis by qemu.
Now, the syncing is performed by no-vnc instead. This allows the led state syncing to work
in cases where it previously couldn't, since no-vnc has with this extension knowledge of both
the remote and local capslock and numlock status, which QEMU doesn't have.

14 months agoFix bad indentation
Pierre Ossman [Thu, 7 Sep 2023 13:35:20 +0000 (15:35 +0200)]
Fix bad indentation

14 months agoCorrectly handle legacy security rejections
Pierre Ossman [Thu, 7 Sep 2023 12:59:36 +0000 (14:59 +0200)]
Correctly handle legacy security rejections

The code comment of this code was entirely incorrect, but the commit
message for 5671072 when it was added was correct. I.e. there is a
result, but not a reason.

Adjust the unit tests to make sure this doesn't regress again.

14 months agoCorrectly handle "none" auth on old servers
Pierre Ossman [Thu, 7 Sep 2023 12:38:04 +0000 (14:38 +0200)]
Correctly handle "none" auth on old servers

There is no security result for the "none" authentication until RFB 3.8.
This got broken by mistake in 5671072.

14 months agoFix zlib level change in clipboard tests
Pierre Ossman [Tue, 29 Aug 2023 15:38:44 +0000 (17:38 +0200)]
Fix zlib level change in clipboard tests

The compression level got changed in 01bb36d4, but the tests weren't
updated to follow this change.

14 months agoRemove unused argument to inflateInit()
Pierre Ossman [Tue, 29 Aug 2023 15:30:00 +0000 (17:30 +0200)]
Remove unused argument to inflateInit()

There is just one argument to inflateInit(). It is inflateInit2() that
takes two arguments.

Since this argument was never used, let's just remove it and keep the
existing behaviour.

14 months agoUse proper argument to deflateInit()
Pierre Ossman [Tue, 29 Aug 2023 15:28:54 +0000 (17:28 +0200)]
Use proper argument to deflateInit()

This was an accidental copy error from inflator.js. The second argument
to deflateInit() is the compression level, not the window bits.

We have not strong opinions on an appropriate level, so stick to the
default.

16 months agoMerge pull request #1710 from novnc/localStorage
Samuel Mannehed [Tue, 18 Jul 2023 07:42:01 +0000 (09:42 +0200)]
Merge pull request #1710 from novnc/localStorage

Don't crash if we can't use localStorage

16 months agoDon't crash if we can't use localStorage
Samuel Mannehed [Wed, 2 Nov 2022 09:23:36 +0000 (10:23 +0100)]
Don't crash if we can't use localStorage

Our settings are not a fatal requirement, we can fall back on the
default values if they can't be accessed. A scenario where we've seen
this happen is when cookies are disabled in the browser. It seems
localStorage is disabled along with cookies in these settings.

So, lets log a message about the failure and otherwise silently
continue in this case.

Fixes issue #1577.

16 months agoMerge branch 'websock' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 30 Jun 2023 16:20:44 +0000 (18:20 +0200)]
Merge branch 'websock' of https://github.com/CendioOssman/noVNC

17 months agoImplicitly flush Websock if needed
Pierre Ossman [Tue, 30 May 2023 18:32:31 +0000 (20:32 +0200)]
Implicitly flush Websock if needed

Callers shouldn't have to deal with the internal buffering limits of
Websock, so implicitly flush the buffer if more room is needed.

17 months agoAdd Websock send queue helpers
Pierre Ossman [Sun, 28 May 2023 14:40:09 +0000 (16:40 +0200)]
Add Websock send queue helpers

Callers shouldn't be poking around directly in to the send queue, but
should use accessor functions like for the read queue.

17 months agoMove WebSocket queue index reset to receive
Pierre Ossman [Sun, 21 May 2023 18:16:59 +0000 (20:16 +0200)]
Move WebSocket queue index reset to receive

It's more robust to do this just before we need the space, rather than
assume when the queue will be read and adjust things right after.

17 months agoRemove Base64 WebSocket remnants
Pierre Ossman [Mon, 15 May 2023 11:33:11 +0000 (13:33 +0200)]
Remove Base64 WebSocket remnants

There is no encoding/decoding in modern WebSockets, so let's clean up
some of the old crud that no longer serves a purpose.

17 months agoAvoid internal variables in recv queue tests
Pierre Ossman [Sun, 4 Jun 2023 12:52:36 +0000 (14:52 +0200)]
Avoid internal variables in recv queue tests

Makes for more robust and realistic tests.

17 months agoDon't split large WebSocket data in tests
Pierre Ossman [Sun, 4 Jun 2023 20:31:27 +0000 (22:31 +0200)]
Don't split large WebSocket data in tests

It takes too much time and can make the tests fail.

17 months agoMake ExtendedDesktopSize tests more realistic
Pierre Ossman [Sun, 4 Jun 2023 12:56:48 +0000 (14:56 +0200)]
Make ExtendedDesktopSize tests more realistic

Send real messages and avoid poking around in internals, as we weren't
testing things correctly that way.

17 months agoDon't send SetDesktopSize too early
Pierre Ossman [Sun, 4 Jun 2023 12:55:35 +0000 (14:55 +0200)]
Don't send SetDesktopSize too early

We don't know the server layout yet, so we can't preserve the screen id
or flags yet at this point. Move it until after we've parsed everything.

17 months agoProperly decode ExtendedDesktopSize fields
Pierre Ossman [Sun, 4 Jun 2023 12:54:40 +0000 (14:54 +0200)]
Properly decode ExtendedDesktopSize fields

We are expected to preserve these and use them in our requests back to
the server. We can't do that if we don't actually decode them correctly.

17 months agoReturn unsigned values from rQshift32()
Pierre Ossman [Sun, 4 Jun 2023 12:50:35 +0000 (14:50 +0200)]
Return unsigned values from rQshift32()

This is what we almost always want, and this makes it consistent with
rQshift8() and rQshift16().

17 months agoAlways return copy of data from socket
Pierre Ossman [Tue, 16 May 2023 17:06:10 +0000 (19:06 +0200)]
Always return copy of data from socket

We don't know how long the caller will hang on to this data, so we need
to be safe by default and assume it will kept indefinitely. That means
we can't return a reference to the internal buffer, as that will get
overwritten with future messages.

We want to avoid unnecessary copying in performance critical code,
though. So allow code to explicitly ask for a shared buffer, assuming
they know the data needs to be consumed immediately.

17 months agoUse proper socket helpers for FBU header
Pierre Ossman [Sun, 4 Jun 2023 16:19:02 +0000 (18:19 +0200)]
Use proper socket helpers for FBU header

Let's not duplicate this stuff when we have convenience functions.

17 months agoRemove Websock implicit read length
Pierre Ossman [Sun, 14 May 2023 18:15:12 +0000 (20:15 +0200)]
Remove Websock implicit read length

Callers should be properly aware of how much data they need, as they
need to call rQwait() first to ensure the data is present.

17 months agoStop exposing Websock queue length
Pierre Ossman [Sun, 14 May 2023 16:56:19 +0000 (18:56 +0200)]
Stop exposing Websock queue length

Callers should be using rQwait() to ensure sufficient data is present,
and not poke around in the internal buffering.

17 months agoStop direct access to socket buffer
Pierre Ossman [Thu, 11 May 2023 21:06:34 +0000 (23:06 +0200)]
Stop direct access to socket buffer

Use proper accessor functions instead of poking around in internal
buffers.

17 months agoSwitch Display.flush() to use a promise
Pierre Ossman [Thu, 11 May 2023 20:32:13 +0000 (22:32 +0200)]
Switch Display.flush() to use a promise

That is the modern way to handle operations that cannot complete
immediately.

17 months agoChange rQslice() to rQpeekBytes()
Pierre Ossman [Thu, 11 May 2023 10:33:22 +0000 (12:33 +0200)]
Change rQslice() to rQpeekBytes()

We don't need any full slice functionality, so let's change this to
better march rQpeek8() and rQshiftBytes().

17 months agoReduce kept state in JPEG decoder
Pierre Ossman [Mon, 15 May 2023 10:57:59 +0000 (12:57 +0200)]
Reduce kept state in JPEG decoder

We don't have to keep track of this much data between rects, so
restructure things to make it more simple. This allows the JPEG parsing
code to be a pure function which only depends on the input.

17 months agoMerge branch 'testsfix' of github.com:CendioOssman/noVNC
Pierre Ossman [Sun, 4 Jun 2023 16:59:38 +0000 (18:59 +0200)]
Merge branch 'testsfix' of github.com:CendioOssman/noVNC

17 months agoCheck that decoders consume all data
Pierre Ossman [Sat, 3 Jun 2023 13:36:29 +0000 (15:36 +0200)]
Check that decoders consume all data

This is extra important in the tests where we expect no changes to the
display, as otherwise we can't tell the difference between success and a
decoder that is simply waiting for more data.

17 months agoMake extended clipboard tests independent
Pierre Ossman [Tue, 30 May 2023 16:51:19 +0000 (18:51 +0200)]
Make extended clipboard tests independent

Let's test the full final result instead of assuming specific internal
calls.

17 months agoAdd missing tests for message encodings
Pierre Ossman [Tue, 30 May 2023 05:05:43 +0000 (07:05 +0200)]
Add missing tests for message encodings

All of these functions should have units tests, even if they are fairly
minimal.

17 months agoReturn a copy of the data from FakeWebSocket
Pierre Ossman [Mon, 29 May 2023 07:33:30 +0000 (09:33 +0200)]
Return a copy of the data from FakeWebSocket

The caller might hang on to the data for multiple calls, so we make sure
the returned buffer might not get overwritten.

17 months agoRemove bad Websock mock in tests
Pierre Ossman [Mon, 29 May 2023 07:30:26 +0000 (09:30 +0200)]
Remove bad Websock mock in tests

This small object will not properly fake a Websock in more complex
cases, so let's avoid it and create a real Websock instead.

17 months agoFix Websock send tests
Pierre Ossman [Sun, 28 May 2023 14:30:41 +0000 (16:30 +0200)]
Fix Websock send tests

Avoid poking around in the internals and instead test what is actually
sent out on the WebSocket.

17 months agoRemove internal monitoring from Plain tests
Pierre Ossman [Tue, 23 May 2023 05:22:10 +0000 (07:22 +0200)]
Remove internal monitoring from Plain tests

Tests should avoid poking in to the internals and should only look at
external behaviour.

17 months agoAvoid hooking in to RFB._fail for tests
Pierre Ossman [Mon, 22 May 2023 19:21:43 +0000 (21:21 +0200)]
Avoid hooking in to RFB._fail for tests

This is an internal function so we should not be examining it in the
tests. Instead use the well defined public APIs to check for correct
behaviour.

17 months agoFix last rect test
Pierre Ossman [Mon, 22 May 2023 11:05:10 +0000 (13:05 +0200)]
Fix last rect test

Avoid poking in to internals and instead test that the RFB object
responds correctly to new messages.

17 months agoSplit RSA-AES test data
Pierre Ossman [Wed, 17 May 2023 11:15:11 +0000 (13:15 +0200)]
Split RSA-AES test data

Make the tests more clear what data is expected in the different stages
of the handshake.

17 months agoMake RSA-AES tests more asynchronous
Pierre Ossman [Fri, 19 May 2023 14:00:23 +0000 (16:00 +0200)]
Make RSA-AES tests more asynchronous

The code tested here makes heavy use of promises, so it is easier to
test things also using promise centric code.

17 months agoRemove custom RSA-AES event
Pierre Ossman [Tue, 16 May 2023 17:38:33 +0000 (19:38 +0200)]
Remove custom RSA-AES event

We shouldn't add extra, undocumented, API just for the tests. They need
to figure out less invasive way to probe things.

17 months agoMerge RSA-AES tests in to RFB tests
Pierre Ossman [Sun, 14 May 2023 15:59:01 +0000 (17:59 +0200)]
Merge RSA-AES tests in to RFB tests

These test the RFB class, so they should be with all other tests for
that class.

17 months agoFix ARD authentication test to send real data
Pierre Ossman [Tue, 16 May 2023 17:23:25 +0000 (19:23 +0200)]
Fix ARD authentication test to send real data

Stop bypassing the data handling steps in the test as that means those
parts don't get tested.

17 months agoFix Plain authentication test checks
Pierre Ossman [Tue, 16 May 2023 13:04:13 +0000 (15:04 +0200)]
Fix Plain authentication test checks

We should have constants local for the test function when doing
comparisons or we might have false positives because we compare with
buggy values in the code under test.

17 months agoSplit Plain authentication tests to own section
Pierre Ossman [Tue, 16 May 2023 10:34:26 +0000 (12:34 +0200)]
Split Plain authentication tests to own section

VeNCrypt is a multiplexer for many authentication methods, not just
Plain. So let's split it to its own section, just like other types.

17 months agoTest credentials using normal API
Pierre Ossman [Tue, 16 May 2023 14:45:36 +0000 (16:45 +0200)]
Test credentials using normal API

Avoid poking around in the internals and instead test things using the
official methods and events. This should give us more realistic and
robust tests.

17 months agoAvoid touching internals in Tight auth tests
Pierre Ossman [Tue, 16 May 2023 10:30:36 +0000 (12:30 +0200)]
Avoid touching internals in Tight auth tests

We should test using only external manipulation so we don't assume a
specific implementation.

17 months agoRemove commented out Tight test case
Pierre Ossman [Tue, 16 May 2023 10:29:48 +0000 (12:29 +0200)]
Remove commented out Tight test case

This is not something we intend to implement, so remove this never used
test case.

17 months agoDon't overwrite methods with spies
Pierre Ossman [Tue, 16 May 2023 13:03:18 +0000 (15:03 +0200)]
Don't overwrite methods with spies

Spies should just attach without modifying the real method, or we might
get unwanted side effects.

17 months agoFix security to authentication state test
Pierre Ossman [Tue, 16 May 2023 08:37:41 +0000 (10:37 +0200)]
Fix security to authentication state test

The "None" authentication will directly progress past authentication, so
it's not a good type for this test.

17 months agoFix data for empty RRE rect test
Pierre Ossman [Mon, 15 May 2023 18:50:40 +0000 (20:50 +0200)]
Fix data for empty RRE rect test

The given data was not a correct RRE rect.

17 months agoSend ArrayBuffer, not Uint8Array in tests
Pierre Ossman [Mon, 15 May 2023 18:01:10 +0000 (20:01 +0200)]
Send ArrayBuffer, not Uint8Array in tests

This matches the true contents of a WebSocket 'message' event, so should
be a more realistic test.

17 months agoHandle immediate responses in RSA-AES authentication
Pierre Ossman [Sun, 14 May 2023 15:58:06 +0000 (17:58 +0200)]
Handle immediate responses in RSA-AES authentication

The event handlers might provide the needed response right away, before
even existing the event handler. We should be prepared to handle this
case.

17 months agoHarmonise extended clipboard tests
Pierre Ossman [Sat, 13 May 2023 11:29:09 +0000 (13:29 +0200)]
Harmonise extended clipboard tests

Let them all follow the same pattern to make things more clear.

17 months agoFix cached JPEG test
Pierre Ossman [Mon, 15 May 2023 10:55:04 +0000 (12:55 +0200)]
Fix cached JPEG test

This test didn't really check anything useful as the end result would be
the same if the second JPEG failed to render.

Fix this by clearing the canvas between the images, so we can tell if
the second image actually rendered or not.

18 months agoMerge branch 'master' of https://github.com/lewayotte/noVNC
Pierre Ossman [Thu, 11 May 2023 10:20:18 +0000 (12:20 +0200)]
Merge branch 'master' of https://github.com/lewayotte/noVNC

18 months agoMerge branches 'l10n' and 'fragment' of github.com:CendioOssman/noVNC
Pierre Ossman [Wed, 10 May 2023 11:23:34 +0000 (13:23 +0200)]
Merge branches 'l10n' and 'fragment' of github.com:CendioOssman/noVNC

18 months agoHandle translation loading in translation class
Pierre Ossman [Thu, 6 Apr 2023 11:21:47 +0000 (13:21 +0200)]
Handle translation loading in translation class

Let's try to keep as much as possible of the translation handling in a
single place for clarity.

18 months agoRestore history state after tests
Pierre Ossman [Thu, 6 Apr 2023 15:49:44 +0000 (17:49 +0200)]
Restore history state after tests

We don't want to mess up anything permanent in each test or the tests
might start affecting each other.

18 months agoFix typos in query variable comment
Pierre Ossman [Wed, 10 May 2023 10:24:53 +0000 (12:24 +0200)]
Fix typos in query variable comment

18 months agoRevert broken Add support for URL fragment parameters
Pierre Ossman [Thu, 6 Apr 2023 15:11:47 +0000 (17:11 +0200)]
Revert broken Add support for URL fragment parameters

This is a revert of the code changes in commit
f796b05e42cfac7044cca9603e59f258605228f3 as it served no functional
purpose.

Fragments were already respected for setting parameters, via a different
function. Thus it is unclear what that commit tried to fix. It also
complicated things by mixing the document location with the window
location.

The comment changes are useful, though, so those are kept.

18 months agoMerge pull request #1777 from nwtgck/patch-1
Samuel Mannehed [Sun, 30 Apr 2023 00:36:05 +0000 (02:36 +0200)]
Merge pull request #1777 from nwtgck/patch-1

fix typo

18 months agofix typo
Ryo Ota [Sat, 29 Apr 2023 17:04:00 +0000 (02:04 +0900)]
fix typo

19 months agoSet _rfbVeNCryptState = 4 not == 4
Lew Ayotte [Thu, 6 Apr 2023 20:00:21 +0000 (15:00 -0500)]
Set _rfbVeNCryptState = 4 not == 4

19 months agoAvoid running tests on l10n singleton
Pierre Ossman [Thu, 6 Apr 2023 09:06:06 +0000 (11:06 +0200)]
Avoid running tests on l10n singleton

We want tests to be independent, so we cannot have them modify a shared
state, such as the l10n singleton. Make sure each test instantiates its
own object instead.

19 months agoSpecial case English translation fallback
Pierre Ossman [Wed, 5 Apr 2023 10:46:17 +0000 (12:46 +0200)]
Special case English translation fallback

We should not be listing this in LINGUAS as that gives the impression
that English has en explicit translation. Instead, it is a special case
that the code needs to be explicitly aware of.

This reverts 9a06058 in favour of a more robust fix.

19 months agoAlso re-enable playback on failures
Pierre Ossman [Tue, 4 Apr 2023 15:02:57 +0000 (17:02 +0200)]
Also re-enable playback on failures

Allows easier testing by being able to run the test multiple times.

19 months agoFix playback error message for load failure
Pierre Ossman [Tue, 4 Apr 2023 15:02:21 +0000 (17:02 +0200)]
Fix playback error message for load failure

We expect the promise to be rejected with a string for display to the
user.

19 months agoMerge pull request #1768 from mathis-marcotte/add-english-to-supported-langs
Samuel Mannehed [Sun, 2 Apr 2023 18:16:48 +0000 (20:16 +0200)]
Merge pull request #1768 from mathis-marcotte/add-english-to-supported-langs

Add english to list of supported languages

19 months agoAdded english to list of supported languages
Mathis Marcotte [Mon, 27 Mar 2023 14:23:09 +0000 (14:23 +0000)]
Added english to list of supported languages