New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 714818 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocking:
issue 588100



Sign in to add a comment

Alt-text not shown on about:blank page

Project Member Reported by paulmiller@chromium.org, Apr 24 2017

Issue description

Go to example.com and use the dev tools to replace the body content with:

<img src="bogus" alt="foo" width="200" height="200">

And you'll get the broken picture icon and the "foo" alt text. This also works correctly with file:// origins. But go to about:blank and insert the same HTML and you'll get neither the icon nor the text.

However, you do get the icon and text on about:blank if you add a scheme, e.g.:

<img src="http://bogus" alt="foo" width="200" height="200">

Tested on Linux with Chrome 58.0.3029.81 and on Android with ToT Chrome and WebView.
 
Blocking: 588100
Labels: BugSource-Chromium PaintTeamTriaged-20170425 OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
Project Member

Comment 3 by bugdroid1@chromium.org, May 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/691a0f3c2d30008438fc155c91d99fde3f57d10a

commit 691a0f3c2d30008438fc155c91d99fde3f57d10a
Author: shoon.kim <shoon.kim@lge.com>
Date: Wed May 24 04:59:46 2017

Consider empty url case when loading image

If using loadData() in Android WebView or inspector manually,
request url for image whose url is specified in relative url becomes empty.
Currently, it checks only that requested url is null.
Additionally, It should check it is empty.
Also in empty case, it should show broken image and alt text.

BUG= 714818 

Review-Url: https://codereview.chromium.org/2839633003
Cr-Commit-Position: refs/heads/master@{#474167}

[modify] https://crrev.com/691a0f3c2d30008438fc155c91d99fde3f57d10a/third_party/WebKit/Source/core/loader/ImageLoader.cpp
[modify] https://crrev.com/691a0f3c2d30008438fc155c91d99fde3f57d10a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Can we mark this as fixed now?
Status: Fixed (was: Available)

Sign in to add a comment