docs.google.com - Pasting from markdown option is unavailable
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(firefox129 affected, firefox130 affected, firefox131 affected)
People
(Reporter: rbucata, Unassigned)
References
()
Details
(Keywords: webcompat:contact-ready, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs])
User Story
platform:windows,mac,linux,android impact:feature-broken configuration:general affects:all branch:release diagnosis-team:webcompat
Attachments
(2 files)
Environment:
Operating system: Mac OS X 10.15
Firefox version: Firefox 129.0
Preconditions:
Markdown enabled
Steps to reproduce:
- Navigate to: https://docs.google.com/
- Perform account login and open any doc
- Type "# This is a markdown" inside the doc then copy the newly text inserted
- Using any pasting option, select "Paste from markdown" and observe
Expected Behavior:
Text is pasted
Actual Behavior:
Paste from Markdown is not available in Firefox
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in Firefox Nightly, and Firefox Release
- Does not reproduce in Chrome
Created from https://github.com/webcompat/web-bugs/issues/140397
Reporter | ||
Comment 1•3 months ago
|
||
Reporter | ||
Updated•3 months ago
|
Reporter | ||
Updated•3 months ago
|
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Updated•2 months ago
|
Updated•1 month ago
|
Comment 4•1 month ago
|
||
There is if (chrome) {} else {openDialog()}
which controls this popup.
https://docs.google.com/static/document/client/js/3683200486-client_js_prod_kix_tertiary.js
Line 186518 (pretty printed)
function () {
np.CHROME ? (e.Ma.setValue(!0), e.D.va(OFa).xb()) : e.fb.openDialog(NUp, {
})
}
Pausing in this function and faking chrome by evaluating Object.defineProperty(np, "CHROME", {value: true})
in the console would still hit another popup (which I think is already covered in webcompat?).
Comment 5•1 month ago
|
||
Comment 6•1 month ago
|
||
That second popup is shown because of that other check:
https://docs.google.com/static/document/client/js/1621481524-client_js_prod_kix_app.js
Line 20331 (pretty printed)
function iXg(a) {
if (a.H) a = !1;
else {
a: {
if (!a.F.Ga('docs-erpep')) {
var c = a.F.Ga('docs-ececs') && // Ga methods checks if an attribute exists on `window._docs_flag_initialData`, here window._docs_flag_initialData["docs-ececs"] is false on Firefox and c = false
mhb(),
d = Ko(Kia) >= 13; // Kia == "safari" and d = false
if (!c && !d) {
a = !1; /// We return false here and show the popup based on this boolean
break a
}
}
a = a.D.ld().queryCommandSupported(Pha)
}
a = !!(a || np.n0 || np.CHROME && np.bv(52) && Jwc(Nve, !1))
}
return a
}
Updated•27 days ago
|
Description
•