Summary: | Fix the last of the x-frame constructor calls to have the right prototype chains | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 27634 | ||||||
Attachments: |
|
Description
Eric Seidel (no email)
2009-07-24 03:28:44 PDT
Created attachment 33423 [details]
patch
Comment on attachment 33423 [details] patch + // FIXME: Why do we use the lexical global object here? I believe this is correct. See step 14 of: http://www.whatwg.org/specs/web-workers/current-work/#creating-workers 14. Let docs be the list of relevant Document objects to add given the global scope of the script that invoked the constructor. The lexical global object is "the global scope of the script that invoked the constructor". Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog M LayoutTests/fast/dom/constructed-objects-prototypes-expected.txt M LayoutTests/fast/dom/resources/constructed-objects-prototypes.js M WebCore/ChangeLog M WebCore/bindings/js/JSAudioConstructor.cpp M WebCore/bindings/js/JSImageConstructor.cpp M WebCore/bindings/js/JSMessageChannelConstructor.cpp M WebCore/bindings/js/JSOptionConstructor.cpp M WebCore/bindings/js/JSWebKitPointConstructor.cpp M WebCore/bindings/js/JSWorkerConstructor.cpp Committed r46368 M WebCore/ChangeLog M WebCore/bindings/js/JSWorkerConstructor.cpp M WebCore/bindings/js/JSWebKitPointConstructor.cpp M WebCore/bindings/js/JSOptionConstructor.cpp M WebCore/bindings/js/JSImageConstructor.cpp M WebCore/bindings/js/JSAudioConstructor.cpp M WebCore/bindings/js/JSMessageChannelConstructor.cpp M LayoutTests/ChangeLog M LayoutTests/fast/dom/constructed-objects-prototypes-expected.txt M LayoutTests/fast/dom/resources/constructed-objects-prototypes.js r46368 = 363dcbf1234c0cb5b8f2db7b4829bc075bb640c4 (trunk) No changes between current HEAD and refs/remotes/trunk Resetting to the latest refs/remotes/trunk http://trac.webkit.org/changeset/46368 |