Summary: | script element created with html element as parent | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, ap, commit-queue, ddkilzer, hyatt, ian, mitz | ||||
Priority: | P2 | ||||||
Version: | 419.x | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | data:text/html,%3C!doctype%20html%3E%0A%3Cscript%3E%0Aif%20(document.getElementsByTagName(%22script%22)%5B0%5D.parentNode.tagName.toUpperCase()%20%3D%3D%20%22HEAD%22)%0A%09document.write(%22PASS%22)%0Aelse%0A%09document.write(%22FAIL%22)%0A%3C%2Fscript%3E | ||||||
Attachments: |
|
Description
Sam Sneddon [:gsnedders]
2008-01-26 10:16:36 PST
Yeah, this does appear still in trunk, now I've actually tested it myself. Occurs with Safari 2.0.4 (419.3) with original WebKit on Mac OS X 10.4.11 (8S165) as well. Also tested with a local debug build of WebKit r30353 with Safari 3.0.4 (523.12.2) on 10.4.11. What does HTML5 say? Do you want me to paste the entire HTML5 parsing section into the bug? :-) (In reply to comment #4) > What does HTML5 say? That <script> should behave like <base>, <link>, <meta> and <style> in the "before head" insertion mode and create an implicit <head>. (In reply to comment #5) > Do you want me to paste the entire HTML5 parsing section into the bug? :-) > Smartass. :) Created attachment 68063 [details]
Patch
Comment on attachment 68063 [details] Patch Clearing flags on attachment: 68063 Committed r67857: <http://trac.webkit.org/changeset/67857> All reviewed patches have been landed. Closing bug. Comment on attachment 68063 [details] Patch Rejecting patch 68063 from commit-queue. Unexpected failure when processing patch! Please file a bug against webkit-patch. Failed to run "['./WebKitTools/Scripts/webkit-patch', '--status-host=queues.webkit.org', 'land-attachment', '--force-clean', '--non-interactive', '--ignore-builders', '--quiet', '--parent-command=commit-queue', 68063]" exit_code: 1 Last 500 characters of output: 68063&action=edit Fetching: https://bugs.webkit.org/show_bug.cgi?id=17023&ctype=xml Processing 1 patch from 1 bug. Cleaning working directory Updating working directory Processing patch 68063 from bug 17023. NOBODY (OOPS!) found in /Projects/CommitQueue/LayoutTests/ChangeLog does not appear to be a valid reviewer according to committers.py. ERROR: /Projects/CommitQueue/LayoutTests/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). |