Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[V8] REGRESSION(94783): calling the binding script during V8 context …
…creation slows down page loads https://bugs.webkit.org/show_bug.cgi?id=68237 Patch by Ulan Degenbaev <ulan@chromium.org> on 2011-09-16 Reviewed by Kenneth Russell. Call the binding script lazily on the first run of the set() method of a typed array. * ../../Source/WebCore/WebCore.gypi: * ../../Source/WebCore/bindings/v8/V8BindingScripts.cpp: Removed. * ../../Source/WebCore/bindings/v8/V8BindingScripts.h: Removed. * ../../Source/WebCore/bindings/v8/V8DOMWindowShell.cpp: * ../../Source/WebCore/bindings/v8/WorkerContextExecutionProxy.cpp: * ../../Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp: * ../../Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h: * ../../Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustomScript.js: Canonical link: https://commits.webkit.org/84223@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
3f91b60
commit b9a4b6a5635aa046293fa97891c377998e14fcee
Showing
9 changed files
with
67 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -41,6 +41,7 @@ var optimizeSetMethod = function(type) | ||
} else | ||
return nativeSet.call(this, source, offset); | ||
} | ||
f.name = "set"; | ||
return f; | ||
})(); | ||
}; | ||