Bug 58129 - <html> element should not have 'manifest' IDL attribute
Summary: <html> element should not have 'manifest' IDL attribute
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-04-08 03:05 PDT by Simon Pieters (:zcorpan)
Modified: 2022-08-02 14:06 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters (:zcorpan) 2011-04-08 03:05:33 PDT
Testcase: javascript:alert('manifest' in document.documentElement ? 'FAIL' : 'PASS')

The spec intentionally omits the 'manifest' IDL attribute on <html> because "Changing the attribute dynamically thus has no effect (and thus, no DOM API is provided for this attribute)."
http://www.whatwg.org/specs/web-apps/current-work/complete/semantics.html#htmlhtmlelement
Comment 1 Alexey Proskuryakov 2011-04-08 11:44:05 PDT
Presumably the spec used to have it...
Comment 2 Ahmad Saleem 2022-08-02 03:46:06 PDT
I changed the test case from Comment 0 into JSFiddle:

Link - https://jsfiddle.net/p9m47wy8/show

It is reproducible and still showing "FAIL" in Safari 15.6 on macOS 12.5 while all other browsers (Chrome Canary 106 and Firefox Nightly 105) show "PASS". Just wanted to share updated testing results. Thanks!
Comment 3 Ryosuke Niwa 2022-08-02 10:03:11 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2951
Comment 4 EWS 2022-08-02 14:05:58 PDT
Committed 253053@main (332debf04f06): <https://commits.webkit.org/253053@main>

Reviewed commits have been landed. Closing PR #2951 and removing active labels.
Comment 5 Radar WebKit Bug Importer 2022-08-02 14:06:18 PDT
<rdar://problem/98007679>