summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Add v8::Locker in worker related code in order to run multiple workers in a ↵jianli@chromium.org2009-03-122-0/+3
| | | | | | | | worker process. Review URL: http://codereview.chromium.org/44003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11570 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 11539 restoring 11548jar@chromium.org2009-03-121-1/+4
| | | | | | | | | Mac failures seem to be flaky, and not caused by 11548 tbr=davemoore Review URL: http://codereview.chromium.org/42141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11563 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome-side changes to use registerURLSchemeNoAccess.darin@chromium.org2009-03-121-14/+4
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/42125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11555 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 11539 which increased webkit failures on the macjar@chromium.org2009-03-121-4/+1
| | | | | | | tbr=davemoore Review URL: http://codereview.chromium.org/42134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11548 0039d316-1c4b-4281-b951-d872f2087c98
* These two layout tests were failing:davemoore@chromium.org2009-03-121-1/+4
| | | | | | | | | | | | LayoutTests/svg/dom/animated-tearoff-equality.xhtml LayoutTests/svg/dom/animated-tearoff-lifespan.xhtml in Release only. The cause was the use of an invalid hash function. Review URL: http://codereview.chromium.org/42094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11539 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue with getting self of WorkerContext.jianli@chromium.org2009-03-122-3/+4
| | | | | | Review URL: http://codereview.chromium.org/40205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11504 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break to worker feature after webkit merge. We also need to fix v8 ↵jianli@chromium.org2009-03-112-0/+15
| | | | | | | | version of ScriptValue in WebKit. Review URL: http://codereview.chromium.org/43062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11458 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-1113-13/+0
| | | | | | | | | Normalize end of file newlines in webkit/. All files end in a single newline. Review URL: http://codereview.chromium.org/42070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11443 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breaks after webkit merge.jam@chromium.org2009-03-101-0/+1
| | | | | | Review URL: http://codereview.chromium.org/42004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11361 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 41498:41530.ericroman@google.com2009-03-101-0/+2
| | | | | | Review URL: http://codereview.chromium.org/41017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11312 0039d316-1c4b-4281-b951-d872f2087c98
* More WebKit API action (chromium side).darin@chromium.org2009-03-091-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following methods to WebKitClient: decrementStatsTable incrementStatsTable traceEventBegin traceEventEnd The implementation of initV8CounterFunction is now a no-op. V8Proxy.cpp no longer calls it, and I moved the corresponding work out of WebKit. The embedder now calls the appropriate V8 API before initializing WebKit. Includes some cleanup to WebString and WebCString. I decided that I prefer "data" over "characters" since the latter may be confusing in some cases. For example, the elements of a WebString or WebCString may not be individual characters but may be part of a character. "data" is also consistent with basic_string<T> and so should be plenty familiar. There is wanton disregard for the Chrome+JSC build in this CL, but that's OK. We have already crossed that bridge. R=dglazkov Review URL: http://codereview.chromium.org/39288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11254 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the stats counter calls for NPObject counts. This code is used in thedarin@chromium.org2009-03-091-7/+0
| | | | | | | | | | | | | | plugin process which should not be using ChromiumBridge. I could try to find another way to implement these stats counters if they are really valuable. Otherwise, it is just simpler to remove them. Ultimately, I don't think our code in the plugin process should be relying on WebKit code, but that is more work to implement. R=mbelshe Review URL: http://codereview.chromium.org/39346 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11252 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call ChromiumBridge::initV8CounterFunction() since it asserts not reached.ericroman@google.com2009-03-081-1/+2
| | | | | | | | | | | This will need to be looked at for a real fix. Maybe we should put this back in chromium_bridge_impl.cc ? TBR=darin Review URL: http://codereview.chromium.org/40279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11213 0039d316-1c4b-4281-b951-d872f2087c98
* Fix event handling problem in WorkerContext caused by r10987.jianli@chromium.org2009-03-062-8/+21
| | | | | | Review URL: http://codereview.chromium.org/39217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11133 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "ReadOnly" attribute to "v8ReadOnly".mbelshe@google.com2009-03-061-8/+8
| | | | | | | | | | | | | | | | Although this attribute is fairly self-describing, it is difficult to look at IDL and know what is V8 specific. Since this is something that we added, having it marked as such greatly helps when reviewing. Also rename: v8OnInstance -> V8OnInstance v8DisallowShadowing -> V8DisallowShadowing v8DoNotCheckSignature -> V8DoNotCheckSignature Review URL: http://codereview.chromium.org/39263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11123 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of IDL attribute "DontDelete". It is only used for ↵mbelshe@google.com2009-03-061-1/+1
| | | | | | | | | | "v8DisallowShadowing", so fold into that. Also, it causes confusion when comparing to JSC's "Deletable" attribute. Review URL: http://codereview.chromium.org/40210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11113 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor v8 extensions so that they aren't in the WebCore namespace, and can ↵asargent@chromium.org2009-03-0511-305/+0
| | | | | | | | | | | call functions in the rest of Chromium code without having to go through ChromiumBridge (which now lives upstream in the WebKit repository). R=darin,mbelshe Review URL: http://codereview.chromium.org/40132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11040 0039d316-1c4b-4281-b951-d872f2087c98
* Address some of the review comments on comment 2 ofbrettw@chromium.org2009-03-0512-146/+151
| | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=24299 This is everything up to "not supposed to be using STL container classes." Review URL: http://codereview.chromium.org/40122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11025 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the problem that worker context object could be double deleted.jianli@chromium.org2009-03-051-0/+10
| | | | | | Review URL: http://codereview.chromium.org/28147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11013 0039d316-1c4b-4281-b951-d872f2087c98
* Guard against exceptions when getting and setting the event propertyager@chromium.org2009-03-052-89/+64
| | | | | | | on the global object in event handling code. Review URL: http://codereview.chromium.org/39187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10987 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-0535-187/+187
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* First step towards moving v8 extensions out of WebCore. asargent@chromium.org2009-03-041-1/+2
| | | | | | | | | | | | Adds a registerExtension function available in our WebKit public API. Once this is in place, another changelist will include actually using it. R=mbelshe,darin Review URL: http://codereview.chromium.org/39070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10868 0039d316-1c4b-4281-b951-d872f2087c98
* Re-apply change 10840 since today's WebKit merge brought in the pieces it ↵pam@chromium.org2009-03-042-43/+4
| | | | | | | | | | | | | | | | depends on (and that depend on it). Unforking Document.idl and HTMLCanvasElement.idl Original review URL: http://codereview.chromium.org/39050 TBR=mbelshe Review URL: http://codereview.chromium.org/39103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10855 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback 10840.mbelshe@google.com2009-03-042-4/+43
| | | | | | Review URL: http://codereview.chromium.org/40075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10846 0039d316-1c4b-4281-b951-d872f2087c98
* Unforking Document.idl and HTMLCanvasElement.idlmbelshe@google.com2009-03-032-43/+4
| | | | | | | | Depends on corresponding WebKit change - will add DEPS later. Review URL: http://codereview.chromium.org/39050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10840 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the problem that Worker is not treated as active DOM object.jianli@chromium.org2009-03-022-3/+7
| | | | | | Review URL: http://codereview.chromium.org/27295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10734 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up upstreamed V8 bindings, Chromium sidedglazkov@google.com2009-03-0214-1918/+2
| | | | | | | | R=mark Review URL: http://codereview.chromium.org/27336 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10713 0039d316-1c4b-4281-b951-d872f2087c98
* Isolate exceptions when evaluating javascript code from C++.ager@chromium.org2009-03-021-1/+9
| | | | | | | | | | | | | | | | | Evaluating a script that throws an uncaught exception should not interfere with evaluating other code from C++ when the call to evaluate returns. I put indentical code in the V8Bridge a while ago and it seems to have been lost in the unforking process. BUG=4336 BUG=7773 BUG=8007 R=kasperl@chromium.org Review URL: http://codereview.chromium.org/27326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10697 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for webkit change that broke Gears. The fix is to use a V8mpcomplete@google.com2009-02-283-0/+71
| | | | | | | | | | extension to inject a getter into every page which loads the gears plugin when accessed. BUG=http://code.google.com/p/chromium/issues/detail?id=8209 Review URL: http://codereview.chromium.org/27294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10663 0039d316-1c4b-4281-b951-d872f2087c98
* webkit merge 41217:41268, Chromium partdimich@google.com2009-02-276-0/+15
| | | | | | Review URL: http://codereview.chromium.org/27266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10598 0039d316-1c4b-4281-b951-d872f2087c98
* Go back to using regular printf. snprintf doesn't seem to exist on Windows.brettw@chromium.org2009-02-271-1/+3
| | | | | | Review URL: http://codereview.chromium.org/28250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10591 0039d316-1c4b-4281-b951-d872f2087c98
* Fix indentation and naming in the V8 NP files to match WebKit. The onlybrettw@chromium.org2009-02-277-691/+655
| | | | | | | | non-trivial change in in np_v8object's NPIdentifierToV8Identifier which I redid to avoid STL usage. Review URL: http://codereview.chromium.org/27241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10590 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to the interval timer:mbelshe@google.com2009-02-271-5/+10
| | | | | | | | | | | - move into the window.chromium namespace. - hide the native HiResTime() function. - fixup the stop() mechanics. - Added a layout test. Review URL: http://codereview.chromium.org/28201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10572 0039d316-1c4b-4281-b951-d872f2087c98
* Part of unforking Location. We make a bunch of Location relatedmbelshe@google.com2009-02-273-26/+42
| | | | | | | | APIs custom. Review URL: http://codereview.chromium.org/27224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10561 0039d316-1c4b-4281-b951-d872f2087c98
* Add a check for empty handle in V8Proxy::GetSourceLineNumber()sgjesse@chromium.org2009-02-241-1/+5
| | | | | | | | | If an exception occours in some of the code used to locate the line number of the source on the top stack frame an empty handle will be returned and using Int32Value on it will cause a crash. As of now I have not been able to find a case where an exception to happens though. BUG=7912 Review URL: http://codereview.chromium.org/28024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10253 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break when ENABLE_WORKERS is defined.jam@chromium.org2009-02-181-2/+2
| | | | | | Review URL: http://codereview.chromium.org/20445 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9932 0039d316-1c4b-4281-b951-d872f2087c98
* Backout r9871 because it in mysterious ways causes a international page cycleriposva@chromium.org2009-02-171-6/+9
| | | | | | | | | regression. TBR=darin Review URL: http://codereview.chromium.org/20436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9919 0039d316-1c4b-4281-b951-d872f2087c98
* To avoid recreating WebCore::String objects constantly, we now transform V8 ↵iposva@chromium.org2009-02-171-6/+28
| | | | | | | | strings to external strings when they get handed out to WebKit the first time. Review URL: http://codereview.chromium.org/20121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9871 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the ScriptController to pretend that V8 has a windowShell.mbelshe@google.com2009-02-132-12/+15
| | | | | | | | | | | | | | | | | The reason for doing this is because the V8 ScriptController already provides some functionality provided by the JSC WindowShell such as disconnectFrame(). Also, merge the clearPluginObjects into clearScriptObjects, which matches better what happens in JSC. This change requires a roll in WebKit, since we remove the clearPluginObjects method. Review URL: http://codereview.chromium.org/20360 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9797 0039d316-1c4b-4281-b951-d872f2087c98
* Scrubbing HTMLPluginElement V8 custom bindings, Chromium side.dglazkov@google.com2009-02-131-69/+0
| | | | | | | | | R=brettw Review URL: http://codereview.chromium.org/20282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9779 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome build when ENABLE_WORKERS is defined.jam@chromium.org2009-02-132-1/+2
| | | | | | Review URL: http://codereview.chromium.org/21276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9740 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side of WebKit merge to 40846awalker@google.com2009-02-124-0/+8
| | | | | | | | Darin: primary Brett: FYI Review URL: http://codereview.chromium.org/21243 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9712 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to unfork DOMWindow.mbelshe@google.com2009-02-126-671/+67
| | | | | | | | | | | | | | | | * Unfork some of the DOMWindow.idl. Required small changes to the idl parser. * Move DOMWindow related functions from v8_custom.cpp into Webkit's V8DOMWindowCustom (see separate CL for the Webkit tree) * Moves timers from DOMWindow code into the Webkit DOMTimer code. * Removed a couple of junker methods (forward()/back()) from the IDL. I think they were not needed. NOTE: This is dependent on a webkit-tree change. Will roll deps in order to test this. Review URL: http://codereview.chromium.org/21262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9657 0039d316-1c4b-4281-b951-d872f2087c98
* Scrubbing HTML options/collections, Chromium side.dglazkov@google.com2009-02-114-320/+26
| | | | | | | | R=darin Review URL: http://codereview.chromium.org/21237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9568 0039d316-1c4b-4281-b951-d872f2087c98
* Re-applying r9486 module accidental local changes.dglazkov@google.com2009-02-101-110/+0
| | | | | | | | | | | This was http://codereview.chromium.org/20200, but then I accidentally started making more edits to v8_custom.cpp. TBR=darin Review URL: http://codereview.chromium.org/20228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9508 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9486.dglazkov@google.com2009-02-101-0/+119
| | | | | | Review URL: http://codereview.chromium.org/20227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9491 0039d316-1c4b-4281-b951-d872f2087c98
* Moving/scrubbing of more V8 custom bindings, Chromium side.dglazkov@google.com2009-02-101-119/+0
| | | | | | | | R=darin Review URL: http://codereview.chromium.org/20200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9486 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash where the security origin of the destinationsverrir@chromium.org2009-02-101-0/+6
| | | | | | | | | | is not initialized. Simply refusing access to prevent the crash. BUG=7330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9479 0039d316-1c4b-4281-b951-d872f2087c98
* Add Threading Support based on Chromium's MessageLoop, Chromium ↵dglazkov@google.com2009-02-091-96/+0
| | | | | | | | side.R=darin,brettw Review URL: http://codereview.chromium.org/19725 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9426 0039d316-1c4b-4281-b951-d872f2087c98
* More v8 bindings work to support executing worker and handling events in its ↵jianli@chromium.org2009-02-0915-114/+1009
| | | | | | | | | worker context. For now, we still execute the worker script in the same renderer process with v8 locker. It will be rerouted once we have worker process ready. Review URL: http://codereview.chromium.org/18821 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9399 0039d316-1c4b-4281-b951-d872f2087c98