[Webkit-unassigned] [Bug 261537] New: Remove Quirk shouldDisableDataURLPaddingValidation for office.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 13 16:49:35 PDT 2023


            Bug ID: 261537
           Summary: Remove Quirk shouldDisableDataURLPaddingValidation for
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com

A quirk has been created for solving Bug 261524
where Images do not show in Microsoft Word Online 

Step to Reproduce to check if the Quirk is not needed anymore.
0. Disable Site Specific Hacks on Safari
1. Go to https://www.office.com/launch/word?auth=1 (log in if not yet)
2. Open a Word Document
3. Insert Picture
4. Choose from This Device
5. Choose the picture 

We get an image in the document.

We SHOULD NOT get a placeholder where the  image was not added and there is a red X.

When this is failing.
The little icon HTML says “Image download failed.”:

<img class="we_version2_CancelRequest_32x32x32"
     alt="Image download failed."
     title="Image download failed.">

The failure in the Console log is 

> [Error] Failed to load resource: Data URL decoding failed (data:image/jpeg;base64,/9j…===, line 0)

Trying with a very small image.

[Error] Failed to load resource: Data URL decoding failed (data:image/png;base64,iVB…===, line 0)
[Error] Failed to load resource: Data URL decoding failed (data:image/png;base64,iVB…===, line 0)
[Error] WebSocket connection to 'wss://japaneast-pc01.augloop.office.com/' failed: The operation couldn’t be completed. Operation timed out
        s8h (WordEditorDS.js:2688:104)
        f (WordEditorDS.js:3781:390)

The URL is:


This is failing because the padding at the end of the URL is wrong. `====`

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230913/a8edbef5/attachment.htm>

More information about the webkit-unassigned mailing list