Bug 81902 - Web Inspector: Case of the elements of the xml document should be shown as it is in the console
Summary: Web Inspector: Case of the elements of the xml document should be shown as it...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
Depends on:
Reported: 2012-03-22 06:24 PDT by Alexander Pavlov (apavlov)
Modified: 2012-03-22 07:53 PDT (History)
10 users (show)

See Also:

Patch (4.71 KB, patch)
2012-03-22 07:37 PDT, Alexander Pavlov (apavlov)
vsevik: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2012-03-22 06:24:58 PDT
What steps will reproduce the problem?
1. Open [Developer tools] from [View]/[Developer] menu
2. Open console
3. Evaluate following script and click the returned xml document object to show the content
xml=(new DOMParser()).parseFromString("<A></A>","text/xml")
4. It shows <a></a> instead of <A></A>.

What is the expected result?
It should show <A></A> 

What happens instead?
It shows <a></a> instead of <A></A>. This behavior confuses the developers therefore the element name of the xml document is case-sensitive.

Upstreaming http://code.google.com/p/chromium/issues/detail?id=117748
Comment 1 Alexander Pavlov (apavlov) 2012-03-22 07:37:47 PDT
Created attachment 133258 [details]
Comment 2 Alexander Pavlov (apavlov) 2012-03-22 07:53:43 PDT
Committed r111695: <http://trac.webkit.org/changeset/111695>