After Firefox update, spaces in the WYSIWYG HTML Editor were replaced with
Categories
(Core :: DOM: Editor, defect)
Tracking
()
People
(Reporter: adv, Unassigned)
Details
Attachments
(1 file)
418.54 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Steps to reproduce:
I haven't updated Firefox in months and now I've updated and saw a bug. If text is copied and pasted into the WYSIWYG HTML Editor.
Actual results:
Many spaces are replaced with .
Expected results:
This has never happened before! Previously, if there were two spaces in a row, then one of them was replaced with . Now single spaces are replaced.
You can check https://www.tiny.cloud/get-tiny/
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
I'll try to explain in a different way. We have some text with a special space inside "студии Mundfish".
студии Mundfish
Next, we copy this text and paste it into the Source code box WYSIWYG HTML Editor. This box in Source code mode should not show hidden spaces. Then cut it out and paste it into the main editor. Spaces must be normal.
But now spaces
Everything worked fine in the old version. And google chrome works fine.
Comment 3•2 years ago
|
||
adv, I wonder if you can use https://mozilla.github.io/mozregression/ to find the regression range? This would help us diagnose the issue.
(In reply to Sean Feng [:sefeng] from comment #3)
adv, I wonder if you can use https://mozilla.github.io/mozregression/ to find the regression range? This would help us diagnose the issue.
ok i did it!
..................................
2023-03-02T04:57:01.415000: INFO : application_buildid: 20220603124345
2023-03-02T04:57:01.415000: INFO : application_changeset: 795577aea8721bce20f92a7fc2669a9ac66d01b9
2023-03-02T04:57:01.415000: INFO : application_display_name: Firefox Nightly
2023-03-02T04:57:01.415000: INFO : application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
2023-03-02T04:57:01.415000: INFO : application_name: Firefox
2023-03-02T04:57:01.415000: INFO : application_remotingname: firefox-default
2023-03-02T04:57:01.415000: INFO : application_repository: https://hg.mozilla.org/integration/autoland
2023-03-02T04:57:01.416000: INFO : application_vendor: Mozilla
2023-03-02T04:57:01.416000: INFO : application_version: 103.0a1
2023-03-02T04:57:01.416000: INFO : platform_buildid: 20220603124345
2023-03-02T04:57:01.416000: INFO : platform_changeset: 795577aea8721bce20f92a7fc2669a9ac66d01b9
2023-03-02T04:57:01.416000: INFO : platform_repository: https://hg.mozilla.org/integration/autoland
2023-03-02T04:57:01.416000: INFO : platform_version: 103.0a1
2023-03-02T04:57:01.421000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/Vn8AAcqTRQSGJaN1HZVlBQ/status HTTP/1.1" 200 842
2023-03-02T04:57:01.423000: DEBUG : taskcluster.utils: Received HTTP Status: 200
2023-03-02T04:57:01.423000: DEBUG : taskcluster.utils: Received HTTP Headers: {'Server': 'openresty', 'Date': 'Wed, 01 Mar 2023 21:57:01 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '842', 'Content-Security-Policy': "report-uri /cspreport;default-src 'none';frame-ancestors 'none';", 'x-content-type-options': 'nosniff', 'x-for-trace-id': '559a10e16490bdb3f767f5a5d774911e', 'x-for-request-id': '2540e739-a261-43cb-b9d3-6326c8d87727', 'Access-Control-Allow-Origin': '', 'Access-Control-Max-Age': '900', 'Access-Control-Allow-Methods': 'OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT', 'Access-Control-Request-Method': '', 'Access-Control-Allow-Headers': 'X-Requested-With,Content-Type,Authorization,Accept,Origin,Cache-Control', 'Cache-Control': 'no-store no-cache must-revalidate', 'ETag': 'W/"34a-Al5nMH4AE5Y8AQ2pCcNaofRLR+A"', 'Strict-Transport-Security': 'max-age=31536000', 'Via': '1.1 google', 'Alt-Svc': 'clear'}
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: Using method(v1, v2, payload) calling convention
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: Found a positional argument: Vn8AAcqTRQSGJaN1HZVlBQ
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: Found a positional argument: 0
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: After processing positional arguments, we have: {'taskId': 'Vn8AAcqTRQSGJaN1HZVlBQ', 'runId': 0}
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: After keyword arguments, we have: {'taskId': 'Vn8AAcqTRQSGJaN1HZVlBQ', 'runId': 0}
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: Full URL used is: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Vn8AAcqTRQSGJaN1HZVlBQ/runs/0/artifacts
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: Not using hawk!
2023-03-02T04:57:01.423000: DEBUG : taskcluster.client: Making attempt 0
2023-03-02T04:57:01.424000: DEBUG : taskcluster.utils: Making a GET request to https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Vn8AAcqTRQSGJaN1HZVlBQ/runs/0/artifacts
2023-03-02T04:57:01.424000: DEBUG : taskcluster.utils: HTTP Headers: {}
2023-03-02T04:57:01.425000: DEBUG : taskcluster.utils: HTTP Payload: None (limit 100 char)
2023-03-02T04:57:01.428000: DEBUG : urllib3.connectionpool: Starting new HTTPS connection (1): firefox-ci-tc.services.mozilla.com:443
2023-03-02T04:57:01.705000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/Vn8AAcqTRQSGJaN1HZVlBQ/runs/0/artifacts HTTP/1.1" 200 None
2023-03-02T04:57:01.708000: DEBUG : taskcluster.utils: Received HTTP Status: 200
2023-03-02T04:57:01.708000: DEBUG : taskcluster.utils: Received HTTP Headers: {'Server': 'openresty', 'Date': 'Wed, 01 Mar 2023 21:57:02 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Vary': 'Accept-Encoding', 'Content-Security-Policy': "report-uri /cspreport;default-src 'none';frame-ancestors 'none';", 'x-content-type-options': 'nosniff', 'x-for-trace-id': 'db2a591e09a7860be71571b1fbd9eb25', 'x-for-request-id': '5006d0b3-af79-4fd0-a7d6-acdd571d2bbd', 'Access-Control-Allow-Origin': '', 'Access-Control-Max-Age': '900', 'Access-Control-Allow-Methods': 'OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT', 'Access-Control-Request-Method': '', 'Access-Control-Allow-Headers': 'X-Requested-With,Content-Type,Authorization,Accept,Origin,Cache-Control', 'Cache-Control': 'no-store no-cache must-revalidate', 'ETag': 'W/"1c8e-B9Q3rqviEv1Srp+3NNeRmum+J5A"', 'Strict-Transport-Security': 'max-age=31536000', 'Content-Encoding': 'gzip', 'Via': '1.1 google', 'Alt-Svc': 'clear', 'Transfer-Encoding': 'chunked'}
2023-03-02T04:57:01.708000: DEBUG : taskcluster.client: Using method(v1, v2, payload) calling convention
2023-03-02T04:57:01.708000: DEBUG : taskcluster.client: Found a positional argument: Vn8AAcqTRQSGJaN1HZVlBQ
2023-03-02T04:57:01.708000: DEBUG : taskcluster.client: Found a positional argument: 0
2023-03-02T04:57:01.709000: DEBUG : taskcluster.client: Found a positional argument: public/build/target.zip
2023-03-02T04:57:01.709000: DEBUG : taskcluster.client: After processing positional arguments, we have: {'taskId': 'Vn8AAcqTRQSGJaN1HZVlBQ', 'runId': 0, 'name': 'public/build/target.zip'}
2023-03-02T04:57:01.709000: DEBUG : taskcluster.client: After keyword arguments, we have: {'taskId': 'Vn8AAcqTRQSGJaN1HZVlBQ', 'runId': 0, 'name': 'public/build/target.zip'}
2023-03-02T04:57:01.716000: DEBUG : using taskcluster route 'gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt'
2023-03-02T04:57:01.716000: DEBUG : taskcluster.client: Using method(v1, v2, payload) calling convention
2023-03-02T04:57:01.716000: DEBUG : taskcluster.client: Found a positional argument: gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt
2023-03-02T04:57:01.716000: DEBUG : taskcluster.client: After processing positional arguments, we have: {'indexPath': 'gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt'}
2023-03-02T04:57:01.717000: DEBUG : taskcluster.client: After keyword arguments, we have: {'indexPath': 'gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt'}
2023-03-02T04:57:01.717000: DEBUG : taskcluster.client: Full URL used is: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt
2023-03-02T04:57:01.717000: DEBUG : taskcluster.client: Not using hawk!
2023-03-02T04:57:01.717000: DEBUG : taskcluster.client: Making attempt 0
2023-03-02T04:57:01.717000: DEBUG : taskcluster.utils: Making a GET request to https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt
2023-03-02T04:57:01.717000: DEBUG : taskcluster.utils: HTTP Headers: {}
2023-03-02T04:57:01.717000: DEBUG : taskcluster.utils: HTTP Payload: None (limit 100 char)
2023-03-02T04:57:01.720000: DEBUG : urllib3.connectionpool: Starting new HTTPS connection (1): firefox-ci-tc.services.mozilla.com:443
2023-03-02T04:57:01.917000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/Vn8AAcqTRQSGJaN1HZVlBQ/runs/0/artifacts/public%2Fbuild%2Ftarget.zip HTTP/1.1" 303 130
2023-03-02T04:57:01.993000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/index/v1/task/gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt HTTP/1.1" 404 443
2023-03-02T04:57:01.996000: DEBUG : taskcluster.utils: Received HTTP Status: 404
2023-03-02T04:57:01.996000: DEBUG : taskcluster.utils: Received HTTP Headers: {'Server': 'openresty', 'Date': 'Wed, 01 Mar 2023 21:57:02 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '443', 'Content-Security-Policy': "report-uri /cspreport;default-src 'none';frame-ancestors 'none';", 'x-content-type-options': 'nosniff', 'x-for-trace-id': '901a72cc815d0a980d4922342c1ff864', 'x-for-request-id': 'eb06900d-b818-4e51-a421-710bbeaad377', 'Access-Control-Allow-Origin': '', 'Access-Control-Max-Age': '900', 'Access-Control-Allow-Methods': 'OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT', 'Access-Control-Request-Method': '', 'Access-Control-Allow-Headers': 'X-Requested-With,Content-Type,Authorization,Accept,Origin,Cache-Control', 'Cache-Control': 'no-store no-cache must-revalidate', 'ETag': 'W/"1bb-5S+wuL160t2XIiklqNWDz0wVAHs"', 'Strict-Transport-Security': 'max-age=31536000', 'Via': '1.1 google', 'Alt-Svc': 'clear'}
2023-03-02T04:57:01.996000: DEBUG : nothing found via route 'gecko.v2.autoland.shippable.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt'
2023-03-02T04:57:01.996000: DEBUG : using taskcluster route 'gecko.v2.autoland.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt'
2023-03-02T04:57:01.996000: DEBUG : taskcluster.client: Using method(v1, v2, payload) calling convention
2023-03-02T04:57:01.996000: DEBUG : taskcluster.client: Found a positional argument: gecko.v2.autoland.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt
2023-03-02T04:57:01.996000: DEBUG : taskcluster.client: After processing positional arguments, we have: {'indexPath': 'gecko.v2.autoland.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt'}
2023-03-02T04:57:01.996000: DEBUG : taskcluster.client: After keyword arguments, we have: {'indexPath': 'gecko.v2.autoland.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt'}
2023-03-02T04:57:01.996000: DEBUG : taskcluster.client: Full URL used is: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.autoland.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt
2023-03-02T04:57:01.996000: DEBUG : taskcluster.client: Not using hawk!
2023-03-02T04:57:01.996000: DEBUG : taskcluster.client: Making attempt 0
2023-03-02T04:57:01.996000: DEBUG : taskcluster.utils: Making a GET request to https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.autoland.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt
2023-03-02T04:57:01.996000: DEBUG : taskcluster.utils: HTTP Headers: {}
2023-03-02T04:57:01.996000: DEBUG : taskcluster.utils: HTTP Payload: None (limit 100 char)
2023-03-02T04:57:02.003000: DEBUG : urllib3.connectionpool: Starting new HTTPS connection (1): firefox-ci-tc.services.mozilla.com:443
2023-03-02T04:57:02.270000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/index/v1/task/gecko.v2.autoland.revision.c8b026cff7329c08a046bc582b4384f47ce22c30.firefox.win64-opt HTTP/1.1" 200 221
2023-03-02T04:57:02.273000: DEBUG : taskcluster.utils: Received HTTP Status: 200
2023-03-02T04:57:02.273000: DEBUG : taskcluster.utils: Received HTTP Headers: {'Server': 'openresty', 'Date': 'Wed, 01 Mar 2023 21:57:02 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '221', 'Content-Security-Policy': "report-uri /cspreport;default-src 'none';frame-ancestors 'none';", 'x-content-type-options': 'nosniff', 'x-for-trace-id': 'f8a88fa28b2809a6966e47b86754f78b', 'x-for-request-id': '4104ba95-0655-4251-ae12-d88986e7d509', 'Access-Control-Allow-Origin': '', 'Access-Control-Max-Age': '900', 'Access-Control-Allow-Methods': 'OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT', 'Access-Control-Request-Method': '', 'Access-Control-Allow-Headers': 'X-Requested-With,Content-Type,Authorization,Accept,Origin,Cache-Control', 'Cache-Control': 'no-store no-cache must-revalidate', 'ETag': 'W/"dd-QLwNCxntjat6PNdAfGSnIWM/zhQ"', 'Strict-Transport-Security': 'max-age=31536000', 'Via': '1.1 google', 'Alt-Svc': 'clear'}
2023-03-02T04:57:02.273000: DEBUG : taskcluster.client: Using method(v1, v2, payload) calling convention
2023-03-02T04:57:02.273000: DEBUG : taskcluster.client: Found a positional argument: Kk0U17G7RBKcWo7iirJRPQ
2023-03-02T04:57:02.273000: DEBUG : taskcluster.client: After processing positional arguments, we have: {'taskId': 'Kk0U17G7RBKcWo7iirJRPQ'}
2023-03-02T04:57:02.273000: DEBUG : taskcluster.client: After keyword arguments, we have: {'taskId': 'Kk0U17G7RBKcWo7iirJRPQ'}
2023-03-02T04:57:02.273000: DEBUG : taskcluster.client: Full URL used is: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kk0U17G7RBKcWo7iirJRPQ/status
2023-03-02T04:57:02.273000: DEBUG : taskcluster.client: Not using hawk!
2023-03-02T04:57:02.273000: DEBUG : taskcluster.client: Making attempt 0
2023-03-02T04:57:02.273000: DEBUG : taskcluster.utils: Making a GET request to https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kk0U17G7RBKcWo7iirJRPQ/status
2023-03-02T04:57:02.274000: DEBUG : taskcluster.utils: HTTP Headers: {}
2023-03-02T04:57:02.274000: DEBUG : taskcluster.utils: HTTP Payload: None (limit 100 char)
2023-03-02T04:57:02.280000: DEBUG : urllib3.connectionpool: Starting new HTTPS connection (1): firefox-ci-tc.services.mozilla.com:443
2023-03-02T04:57:02.555000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/Kk0U17G7RBKcWo7iirJRPQ/status HTTP/1.1" 200 846
2023-03-02T04:57:02.557000: DEBUG : taskcluster.utils: Received HTTP Status: 200
2023-03-02T04:57:02.557000: DEBUG : taskcluster.utils: Received HTTP Headers: {'Server': 'openresty', 'Date': 'Wed, 01 Mar 2023 21:57:02 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '846', 'Content-Security-Policy': "report-uri /cspreport;default-src 'none';frame-ancestors 'none';", 'x-content-type-options': 'nosniff', 'x-for-trace-id': 'f2e02c1756fee53d6654f585660cb994', 'x-for-request-id': 'fd0e50bc-fd1b-4f5c-9831-06f177be1402', 'Access-Control-Allow-Origin': '', 'Access-Control-Max-Age': '900', 'Access-Control-Allow-Methods': 'OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT', 'Access-Control-Request-Method': '', 'Access-Control-Allow-Headers': 'X-Requested-With,Content-Type,Authorization,Accept,Origin,Cache-Control', 'Cache-Control': 'no-store no-cache must-revalidate', 'ETag': 'W/"34e-B1Cu/mf5159eurg/2nQGSugu4Io"', 'Strict-Transport-Security': 'max-age=31536000', 'Via': '1.1 google', 'Alt-Svc': 'clear'}
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: Using method(v1, v2, payload) calling convention
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: Found a positional argument: Kk0U17G7RBKcWo7iirJRPQ
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: Found a positional argument: 0
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: After processing positional arguments, we have: {'taskId': 'Kk0U17G7RBKcWo7iirJRPQ', 'runId': 0}
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: After keyword arguments, we have: {'taskId': 'Kk0U17G7RBKcWo7iirJRPQ', 'runId': 0}
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: Full URL used is: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kk0U17G7RBKcWo7iirJRPQ/runs/0/artifacts
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: Not using hawk!
2023-03-02T04:57:02.558000: DEBUG : taskcluster.client: Making attempt 0
2023-03-02T04:57:02.558000: DEBUG : taskcluster.utils: Making a GET request to https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kk0U17G7RBKcWo7iirJRPQ/runs/0/artifacts
2023-03-02T04:57:02.559000: DEBUG : taskcluster.utils: HTTP Headers: {}
2023-03-02T04:57:02.559000: DEBUG : taskcluster.utils: HTTP Payload: None (limit 100 char)
2023-03-02T04:57:02.568000: DEBUG : urllib3.connectionpool: Starting new HTTPS connection (1): firefox-ci-tc.services.mozilla.com:443
2023-03-02T04:57:02.791000: DEBUG : urllib3.connectionpool: https://firefoxci.taskcluster-artifacts.net:443 "GET /Vn8AAcqTRQSGJaN1HZVlBQ/0/public/build/target.zip HTTP/1.1" 200 83078058
2023-03-02T04:57:02.860000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/Kk0U17G7RBKcWo7iirJRPQ/runs/0/artifacts HTTP/1.1" 200 None
2023-03-02T04:57:02.862000: DEBUG : taskcluster.utils: Received HTTP Status: 200
2023-03-02T04:57:02.862000: DEBUG : taskcluster.utils: Received HTTP Headers: {'Server': 'openresty', 'Date': 'Wed, 01 Mar 2023 21:57:03 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Vary': 'Accept-Encoding', 'Content-Security-Policy': "report-uri /cspreport;default-src 'none';frame-ancestors 'none';", 'x-content-type-options': 'nosniff', 'x-for-trace-id': 'ded2c908711ee27a903fbd797f25f430', 'x-for-request-id': '5194889f-d8c9-4f2c-b8d0-2a3b8bd47783', 'Access-Control-Allow-Origin': '', 'Access-Control-Max-Age': '900', 'Access-Control-Allow-Methods': 'OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT', 'Access-Control-Request-Method': '', 'Access-Control-Allow-Headers': 'X-Requested-With,Content-Type,Authorization,Accept,Origin,Cache-Control', 'Cache-Control': 'no-store no-cache must-revalidate', 'ETag': 'W/"1c8e-QanR/a0VRm2bCr8++3jdZUKw8Ko"', 'Strict-Transport-Security': 'max-age=31536000', 'Content-Encoding': 'gzip', 'Via': '1.1 google', 'Alt-Svc': 'clear', 'Transfer-Encoding': 'chunked'}
2023-03-02T04:57:02.863000: DEBUG : taskcluster.client: Using method(v1, v2, payload) calling convention
2023-03-02T04:57:02.863000: DEBUG : taskcluster.client: Found a positional argument: Kk0U17G7RBKcWo7iirJRPQ
2023-03-02T04:57:02.863000: DEBUG : taskcluster.client: Found a positional argument: 0
2023-03-02T04:57:02.863000: DEBUG : taskcluster.client: Found a positional argument: public/build/target.zip
2023-03-02T04:57:02.863000: DEBUG : taskcluster.client: After processing positional arguments, we have: {'taskId': 'Kk0U17G7RBKcWo7iirJRPQ', 'runId': 0, 'name': 'public/build/target.zip'}
2023-03-02T04:57:02.863000: DEBUG : taskcluster.client: After keyword arguments, we have: {'taskId': 'Kk0U17G7RBKcWo7iirJRPQ', 'runId': 0, 'name': 'public/build/target.zip'}
2023-03-02T04:57:03.060000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/Kk0U17G7RBKcWo7iirJRPQ/runs/0/artifacts/public%2Fbuild%2Ftarget.zip HTTP/1.1" 303 130
2023-03-02T04:57:03.984000: DEBUG : urllib3.connectionpool: https://firefoxci.taskcluster-artifacts.net:443 "GET /Kk0U17G7RBKcWo7iirJRPQ/0/public/build/target.zip HTTP/1.1" 200 83074601
2023-03-02T04:57:07.094000: INFO : b'[Parent 2376, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167'
2023-03-02T04:58:00.898000: INFO : Narrowed integration regression window from [68727ef0, 60aa55fa] (7 builds) to [795577ae, 60aa55fa] (3 builds) (~1 steps left)
2023-03-02T04:58:01.094000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/Vn8AAcqTRQSGJaN1HZVlBQ/runs/0/artifacts/public%2Fbuild%2Ftarget.zip HTTP/1.1" 303 130
2023-03-02T04:58:01.942000: DEBUG : urllib3.connectionpool: https://firefoxci.taskcluster-artifacts.net:443 "GET /Vn8AAcqTRQSGJaN1HZVlBQ/0/public/build/target.zip HTTP/1.1" 200 83078058
2023-03-02T04:58:07.096000: INFO : Running autoland build built on 2022-06-03 13:44:48.976000, revision 1fca61c9
2023-03-02T04:58:07.320000: DEBUG : urllib3.connectionpool: https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/IL9Cwq5gS7CuCKDk9w5VSg/runs/0/artifacts/public%2Fbuild%2Ftarget.zip HTTP/1.1" 303 130
2023-03-02T04:58:08.208000: DEBUG : urllib3.connectionpool: https://firefoxci.taskcluster-artifacts.net:443 "GET /IL9Cwq5gS7CuCKDk9w5VSg/0/public/build/target.zip HTTP/1.1" 200 83078099
2023-03-02T04:58:08.585000: INFO : Launching C:\Users\79166\AppData\Local\Temp\tmp3evtkqhb\firefox\firefox.exe
2023-03-02T04:58:08.586000: INFO : Application command: C:\Users\79166\AppData\Local\Temp\tmp3evtkqhb\firefox\firefox.exe --wait-for-browser -profile C:\Users\79166\AppData\Local\Temp\tmpagd5lxuj.mozrunner
2023-03-02T04:58:08.653000: INFO : application_buildid: 20220603130011
2023-03-02T04:58:08.654000: INFO : application_changeset: 1fca61c9725603511370e736050163148337c922
2023-03-02T04:58:08.654000: INFO : application_display_name: Firefox Nightly
2023-03-02T04:58:08.655000: INFO : application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
2023-03-02T04:58:08.655000: INFO : application_name: Firefox
2023-03-02T04:58:08.655000: INFO : application_remotingname: firefox-default
2023-03-02T04:58:08.655000: INFO : application_repository: https://hg.mozilla.org/integration/autoland
2023-03-02T04:58:08.655000: INFO : application_vendor: Mozilla
2023-03-02T04:58:08.655000: INFO : application_version: 103.0a1
2023-03-02T04:58:08.655000: INFO : platform_buildid: 20220603130011
2023-03-02T04:58:08.655000: INFO : platform_changeset: 1fca61c9725603511370e736050163148337c922
2023-03-02T04:58:08.655000: INFO : platform_repository: https://hg.mozilla.org/integration/autoland
2023-03-02T04:58:08.655000: INFO : platform_version: 103.0a1
2023-03-02T04:59:12.445000: INFO : Narrowed integration regression window from [795577ae, 60aa55fa] (3 builds) to [795577ae, 1fca61c9] (2 builds) (~1 steps left)
2023-03-02T04:59:12.455000: DEBUG : Starting merge handling...
2023-03-02T04:59:12.455000: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=1fca61c9725603511370e736050163148337c922&full=1
2023-03-02T04:59:12.455000: DEBUG : redo: attempt 1/3
2023-03-02T04:59:12.455000: DEBUG : redo: retry: calling _default_get with args: ('https://hg.mozilla.org/integration/autoland/json-pushes?changeset=1fca61c9725603511370e736050163148337c922&full=1',), kwargs: {}, attempt #1
2023-03-02T04:59:12.457000: DEBUG : urllib3.connectionpool: Resetting dropped connection: hg.mozilla.org
2023-03-02T04:59:13.762000: DEBUG : urllib3.connectionpool: https://hg.mozilla.org:443 "GET /integration/autoland/json-pushes?changeset=1fca61c9725603511370e736050163148337c922&full=1 HTTP/1.1" 200 None
2023-03-02T04:59:13.782000: DEBUG : Found commit message:
Bug 359303 - preserve nbsps on clipboard export. r=hsivonen,mbrodesser
This patch ensures that non-breaking spaces in a text widget are preserved when being
copied to the clipboard.
It works by using the fact that a copy operation usually results in two successive copies:
- The first copy in plain-text,
- The second one, if the text is outside a text-widget, is pretty-printed.
Thus, if we configure the first copy to preserve non-breaking spaces, a copy made inside
a text widget will have non-breaking spaces preserved–but other copies will continue with
the current behavior of replacing non-breaking spaces.
Differential Revision: https://phabricator.services.mozilla.com/D141934
2023-03-02T04:59:13.782000: DEBUG : Did not find a branch, checking all integration branches
2023-03-02T04:59:13.785000: INFO : The bisection is done.
2023-03-02T04:59:13.786000: INFO : Stopped
....................................
I'm not sure, but maybe that's the reason...
Non-breaking spaces should not be preserved when copying if they are copied from boxes of type Source code! There must be no hidden characters in the Source code box. Do as it was before. In google chrome works as it was.
This is a real problem for the media. If we copy text from Word or Skype into the Source Code window, we expect that there will be normal text. It will not contain non-breaking spaces.
After this patch, you have to find and remove non-breaking spaces manually. Previously, non-breaking spaces were removed automatically when copying, and this was good.
Comment 6•2 years ago
|
||
Okay, thanks! Looks like Bug 359303 causes this, however it looks like we intentionally changed the behaviour from not preserving non-breaking spaces to preserve them. Henri can probably give a better answer about why this is changed.
Updated•2 years ago
|
Comment 7•2 years ago
|
||
Here's what I understood had happened:
- Prior to either bug 359303 or bug 1769534 landing, Firefox replaced no-break spaces with regular spaces in the exported plain-text clipboard flavor regardless of whether the text was copied from a plain-text form control or from HTML content. (Copying from HTML content preserved no-break spaces in the exported HTML clipboard flavor, though.)
- Chrome preserved no-break spaces in plain-text clipboard export when copying from a plain-text form control but not when copying from HTML content.
- After bug 359303 landed, Firefox was supposed to align with Chrome and start preserving no-break spaces in the plain-text-flavor clipboard export copied from plain-text form controls.
- After bug 1769534 landed, Firefox was supposed to start also preserving no-break spaces that didn't exhibit the contenteditable-generated pattern of alternating no-break spaces and regular spaces in the plain-text clipboard flavor when copying from HTML content.
- The behavior from the last point turned out to break copying from sites that replaces regular spaces with no-break spaces in code examples to achieve indent without using the
pre
element or appropriate CSS. - Bug 1769534 was backed out, so only the behavior that landed in bug 359303 is supposed to remain, and it was supposed to align with Chrome.
This report suggests that bug 359303 does not, in fact, align with Chrome.
Reporter, can you, please, provide exact steps to reproduce? What exactly do you copy and where from? Where exactly do you paste and at what point do you see the problem? What UI entry point do you use to invoke copy and paste (keyboard, menubar menu, context menu)?
Comment 5 suggest that the no-break space originates from Word or Skype. Do you mean desktop Word and desktop Skype or the Web versions running in Firefox? The changes in bug 359303 were not supposed to affect paste into Firefox from other desktop apps.
Comment 8•2 years ago
|
||
Pierre, is there something wrong in my understanding stated in the previous comment?
(In reply to Henri Sivonen (:hsivonen) from comment #7)
Reporter, can you, please, provide exact steps to reproduce? What exactly do you copy and where from? Where exactly do you paste and at what point do you see the problem? What UI entry point do you use to invoke copy and paste (keyboard, menubar menu, context menu)?
Comment 5 suggest that the no-break space originates from Word or Skype. Do you mean desktop Word and desktop Skype or the Web versions running in Firefox? The changes in bug 359303 were not supposed to affect paste into Firefox from other desktop apps.
Henri,
For example https://www.tiny.cloud/get-tiny/
-
Go to the page https://www.tiny.cloud/get-tiny/. Delete all text.
-
Press the Source code button in tiny menu. And paste the text from Skype or Word (desktop versions) into the window Source code. There may be hidden non-breaking spaces between words in the text.
-
Then we cut this text from the Source code window to the clipboard.
-
Paste from the clipboard into the main window.
-
Check the Source code button Source code for non-breaking spaces.
In Chrome now and earlier in Firefox, any non-breaking spaces after such a procedure were removed, if any.
If you copy text with non-breaking spaces and paste it in a main window and you need to leave it as it is, then it is copied and pasted as it is.
In Chrome now and earlier in Firefox Non-breaking spaces were only removed if copied from the Source code window.
Comment 10•2 years ago
|
||
Pierre, is there something wrong in my understanding stated in the previous comment?
For me the timeline recap is correct.
Also, about bug 359303 which may have introduced this issue: indeed the tests added in this bug only cover copying from Firefox to another app – but there's no new test for the behavior of pasting from an external app to Firefox.
However the fix for this bug was to add a flag to nCopySupport.cpp
's EncodeForTextUnicode
, which I'm pretty sure was intended to be used only for copying text to the clipboard. It shouldn't have affected the pasting (although that needs to be confirmed).
Comment 11•2 years ago
|
||
I tried to reproduce the bug with the steps described in https://bugzilla.mozilla.org/show_bug.cgi?id=1819596#c9 (although copying from another rich-text editor, Pages.app).
In both Firefox 113.0b and Chrome 112, I get the same behavior: NBSPs are not stripped by TinyMCE Source Code editor. That is, the steps described preserve non-breaking spaces in both Firefox and Chrome. None of the steps replaces the NBSPs by regular spaces.
So the behavior seems correct, and consistent between those two browsers. Is there anything I'm missing here?
Description
•