summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8
Commit message (Collapse)AuthorAgeFilesLines
* Use upstreamed NPV8Object, V8NPObject, and V8NPUtils. And delete webkit/port.japhet@chromium.org2009-07-177-1200/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/149779 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20923 0039d316-1c4b-4281-b951-d872f2087c98
* Delete RGBColor and use the upstreamed version BUG=none TEST=none japhet@chromium.org2009-07-152-90/+0
| | | | | | Review URL: http://codereview.chromium.org/149541 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20732 0039d316-1c4b-4281-b951-d872f2087c98
* Remove UndetectableHTMLCollection.idl and use the upstreamed version ↵japhet@chromium.org2009-07-141-14/+0
| | | | | | | | (renamed HTMLAllCollcetion.idl). Review URL: http://codereview.chromium.org/149425 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20641 0039d316-1c4b-4281-b951-d872f2087c98
* Downstream the partially upstreamed NPV8 files with fixes for errors ↵ajwong@chromium.org2009-07-094-294/+320
| | | | | | | | | | introduced in upstreaming. This should not change any layout tests expectations. Review URL: http://codereview.chromium.org/155163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20298 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the v8 npruntime bindings and use the upstreamed ones.japhet@chromium.org2009-07-095-613/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/149357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20284 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPSabarth@chromium.org2009-07-092-9/+11
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/155278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20254 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build bustagehclam@chromium.org2009-07-091-2/+2
| | | | | | | | TBR=jorlow, abarth Review URL: http://codereview.chromium.org/149377 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20223 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build bustagehclam@chromium.org2009-07-091-2/+3
| | | | | | | TBR=jorlow, abarth Review URL: http://codereview.chromium.org/149376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20222 0039d316-1c4b-4281-b951-d872f2087c98
* Delete DOMObjectsInclude.h and use upstreamed version.japhet@chromium.org2009-07-081-187/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/149335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20165 0039d316-1c4b-4281-b951-d872f2087c98
* Identical to http://codereview.chromium.org/155030 except for the WebKit ↵japhet@chromium.org2009-07-072-265/+0
| | | | | | | | revision number in DEPS. Review URL: http://codereview.chromium.org/149210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20075 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 19963.japhet@chromium.org2009-07-062-0/+265
| | | | | | Review URL: http://codereview.chromium.org/149208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19968 0039d316-1c4b-4281-b951-d872f2087c98
* Delete V8Binding and use the upstreamed version. BUG=15789 japhet@chromium.org2009-07-062-265/+0
| | | | | | Review URL: http://codereview.chromium.org/155030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19963 0039d316-1c4b-4281-b951-d872f2087c98
* Add RGBColor::create to handle ref counts for RGBColor objectsager@chromium.org2009-07-032-16/+28
| | | | | | | | | | | | | | | correctly. Currently, we leak all allocated RGBColor values because we are messing up the refcounting. This is part one of three of fixing http://crbug.com/9514. Part two is landing the corresponding codegenerator change upstream. Part three is making the RGBColor constructor private. TEST=LayoutTests/transitions/shorthand-border-transitions.html BUG=9514 Review URL: http://codereview.chromium.org/155049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19911 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream V8SVGPODTypeWrapperjaphet@chromium.org2009-07-021-387/+0
| | | | | | | | | BUG=15784 Review URL: http://codereview.chromium.org/155001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19862 0039d316-1c4b-4281-b951-d872f2087c98
* Delete V8Proxy and V8Utilities and use upstreamed versions.japhet@chromium.org2009-06-297-4332/+22
| | | | | | Review URL: http://codereview.chromium.org/150056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19539 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 19489,19488.japhet@chromium.org2009-06-297-22/+4332
| | | | | | Review URL: http://codereview.chromium.org/150024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19490 0039d316-1c4b-4281-b951-d872f2087c98
* Use upstream V8Proxy and V8Utilitiesjaphet@chromium.org2009-06-297-4332/+22
| | | | | | | | | BUG=15459 TEST=none Review URL: http://codereview.chromium.org/149086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19488 0039d316-1c4b-4281-b951-d872f2087c98
* Add notifications for when V8Proxy creates or destroys a V8 Context.mpcomplete@chromium.org2009-06-261-0/+3
| | | | | | | | | | BUG=no TEST=no Review URL: http://codereview.chromium.org/147124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19424 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Delete the upstreamed files: V8NPUtils.h V8NPUtils.cpp NPV8Object.h ↵ajwong@chromium.org2009-06-264-0/+714
| | | | | | | | | | NPV8Object.cpp." This reverts commit 1bc6d3dd877193f5eb32216c05738cba1e5cbb0f. Review URL: http://codereview.chromium.org/147227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19396 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the upstreamed files: V8NPUtils.h V8NPUtils.cpp NPV8Object.h ↵ajwong@chromium.org2009-06-264-714/+0
| | | | | | | | NPV8Object.cpp. Review URL: http://codereview.chromium.org/141022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19391 0039d316-1c4b-4281-b951-d872f2087c98
* Use upstreamed V8Indexjaphet@chromium.org2009-06-254-921/+2
| | | | | | | | | | BUG=14466 TEST=none Review URL: http://codereview.chromium.org/126296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19291 0039d316-1c4b-4281-b951-d872f2087c98
* Run content scripts in their own isolated world. Hidden behind the ↵abarth@chromium.org2009-06-252-129/+197
| | | | | | | | --isolated-world command line argument to let us iterate on this feature.R=aaBUG=12218TEST=None :( (I have a testing plan we can put in place once the upstream half of this CL lands.) Review URL: http://codereview.chromium.org/118188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19225 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebKit to 45111 and Skia to 239amanda@chromium.org2009-06-252-0/+4
| | | | | | Review URL: http://codereview.chromium.org/147121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19211 0039d316-1c4b-4281-b951-d872f2087c98
* JS Binding for HTMLAudioElement Constructorkylep@chromium.org2009-06-241-0/+5
| | | | | | Review URL: http://codereview.chromium.org/132036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19191 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the V8 bindings problem that causes crash when an XHR exception is ↵jianli@chromium.org2009-06-231-15/+26
| | | | | | | | | | thrown in worker context. This is one of two patches needed for the fix. The other patch is https://bugs.webkit.org/show_bug.cgi?id=26626. BUG=14753 TEST=WebKit layout tests should cover this. Review URL: http://codereview.chromium.org/144008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19060 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44943:44946.paul@chromium.org2009-06-232-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/145015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18995 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44928:44943.paul@chromium.org2009-06-223-3/+2
| | | | | | | | | Test=none BUG=none Review URL: http://codereview.chromium.org/144007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18969 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebKit r44872:44922levin@chromium.org2009-06-221-2/+9
| | | | | | | | | | | | | | | | | Compensate for atwilson@'s change to MessagePorts and add new added layout tests which failure. The deleted *expected files were due to a conversion of a test to dump as text. atwilson's code review was done in http://codereview.chromium.org/131047 BUG=None TEST=None TBR=paulg Review URL: http://codereview.chromium.org/140052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18898 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge r44837:r44872.paul@chromium.org2009-06-192-0/+2
| | | | | | Review URL: http://codereview.chromium.org/141005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18875 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 44773:44798levin@chromium.org2009-06-182-0/+2
| | | | | | | | | | | | | The one change is to add HTMLDataGridElement support due to change http://trac.webkit.org/changeset/44778 TBR=paul@chromium.org BUG=None TEST=The data grid element is new but it is still under development. Review URL: http://codereview.chromium.org/126310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18698 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing null handle check to document wrapper caching code.ager@chromium.org2009-06-181-0/+8
| | | | | | | | | | | If instantiation of the document wrapper fails (for instance in out of memory situations) we get a null handle which will lead to a crash when using ForceSet. BUG=14514 Review URL: http://codereview.chromium.org/133001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18697 0039d316-1c4b-4281-b951-d872f2087c98
* TEST=nonejorlow@chromium.org2009-06-175-1/+40
| | | | | | | | | | | | BUG=14006 A first pass at the DOM Storage V8 bindings. Android needs these ASAP and Chromium will need them soon. I've created my own test suite which I will be converting into layout tests over time and used this to manually test on a slightly hacked up version of Chromium running with --single-process. Before these changes are compiled into Chrome by default, I will add tests. I've taken the GYP and webview_impl out of this patch since we don't want it to be compiled in by default yet. Review URL: http://codereview.chromium.org/125035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18655 0039d316-1c4b-4281-b951-d872f2087c98
* Use V8 bindings for V8CustomXPathNSResolver in svn.webkit.orgjaphet@chromium.org2009-06-152-123/+0
| | | | | | Review URL: http://codereview.chromium.org/118329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18407 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream V8Helpersjaphet@chromium.org2009-06-124-105/+24
| | | | | | Review URL: http://codereview.chromium.org/125023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18320 0039d316-1c4b-4281-b951-d872f2087c98
* Remove v8_custom.cpp and v8_custon.h, since they are now empty.japhet@chromium.org2009-06-112-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18203 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: when injected script context is created its context data is set to ↵yurys@google.com2009-06-112-0/+54
| | | | | | | | | the value derived from the context data of the page it's injected in. It allows to match injected scripts with the inspected page. BUG=13676 Review URL: http://codereview.chromium.org/122036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18164 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash that could happen when setting up caching of the wrapper forager@chromium.org2009-06-111-0/+13
| | | | | | | | | | | | | | a document with no frame which was about to be deleted. The crash only happened occasionally when a JavaScript garbage collection happened in the process of setting up the caching. When performing the garbage collection, the global handle to the document might get cleared and the document deleted. BUG=13780 Review URL: http://codereview.chromium.org/122032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18157 0039d316-1c4b-4281-b951-d872f2087c98
* Update DEPS to pull in upstream changes that remove RGBA32Buffer::bitmap(), ↵pkasting@chromium.org2009-06-115-834/+3
| | | | | | | | | | | | | | | | and rewrite local tests to compile. Also pulls in a change that upstreamed V8CustomBinding, since that got bracketed between my upstream changes; this includes the Chromium side of that too. This change exposed a deficiency in the XBM testing where we were erroneously using a zero-length set of image data to calculate the MD5 sum (because we were using the buffer rect instead of the image size, and the XBM decoder wasn't correctly setting the rect). Fixed the test to use the image size (which is more correct for this application), will fix the XBM decoder upstream to set the rect correctly. This in turn required generating new MD5 sums, which required patching the generation code (which is normally #ifdefed away) to also work with the past couple years of changes. This commit will need to land at the same time as one that updates the expected sums; during the period where either commit is in place without the other, the XBM decoding tests will fail. BUG=13633 TEST=Covered by unittests Review URL: http://codereview.chromium.org/121001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18131 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply caching of the document JavaScript wrapper on the globalager@chromium.org2009-06-092-12/+51
| | | | | | | | | | | | | object. Because initialization of a context can now instantiate a document wrapper, we have to be careful if the context initialization happens when attempting to create that very same document wrapper. We therefore make sure that the context is initialized before checking if a node already has a wrapper. Review URL: http://codereview.chromium.org/118430 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17939 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r17853. Causes debug mode layout test failures.ager@chromium.org2009-06-082-35/+4
| | | | | | | TBR=kasperl@chromium.org Review URL: http://codereview.chromium.org/119307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17858 0039d316-1c4b-4281-b951-d872f2087c98
* Cache the document JavaScript wrapper on the global object for fasterager@chromium.org2009-06-082-4/+35
| | | | | | | access. Review URL: http://codereview.chromium.org/118381 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17853 0039d316-1c4b-4281-b951-d872f2087c98
* Landing http://codereview.chromium.org/115998 for benm@google.comdglazkov@google.com2009-06-041-0/+4
| | | | | | | | | R=benm@google.com TEST=no layout test regressions. BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17633 0039d316-1c4b-4281-b951-d872f2087c98
* Always disconnect event listeners when clearing for navigation, even if the ↵dglazkov@google.com2009-06-031-3/+3
| | | | | | | | | | | | script context is empty. R=mbelshe BUG=13266 TEST=gmail shouldn't crash anymore. Review URL: http://codereview.chromium.org/119109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17546 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare V8NPObject.h/cpp for upstreaming.tim@chromium.org2009-06-034-215/+231
| | | | | | Review URL: http://codereview.chromium.org/115972 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17496 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 44342:44372.dglazkov@google.com2009-06-021-1/+1
| | | | | | | | | | TBR=dimich BUG=none TEST=no compile or layout test failures. Review URL: http://codereview.chromium.org/118138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17441 0039d316-1c4b-4281-b951-d872f2087c98
* Add ifdef to make upstreaming of v8_utility.h easiler.ajwong@chromium.org2009-06-021-0/+10
| | | | | | Review URL: http://codereview.chromium.org/118101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17416 0039d316-1c4b-4281-b951-d872f2087c98
* Add some browser-level checks to prohibit access to extension bindings bympcomplete@google.com2009-06-021-1/+2
| | | | | | | | | | | | non-extension renderers. Also add a check so that bindings are only exposed if the top-level frame is the chrome-extension scheme. BUG=11545 BUG=11993 TEST=none Review URL: http://codereview.chromium.org/119014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17408 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for constructor calls in the NPAPI.sgjesse@chromium.org2009-05-274-12/+71
| | | | | | | | | | | | | | | | | The LiveConnect test cases at http://java.sun.com/javase/6/webnotes/6u10/plugin2/liveconnect/LiveConnectTests/ now pass for Chromium. Parts of this change is rather mechanical, and leaves room for some refactoring afterwards. Merged the implementation of testConstruct and the "objectPointer" property from WebKit\WebKitTools\DumpRenderTree\TestNetscapePlugIn.subproj\TestObject.cpp to the Chromium TestObject.cpp for the layout test LayoutTests\plugins\netscape-construct.html pass. BUG=http://crbug.com/3285 BUG=http://crbug.com/10354 TEST=http://java.sun.com/javase/6/webnotes/6u10/plugin2/liveconnect/LiveConnectTests/ TEST=LayoutTests\plugins\netscape-construct.html Review URL: http://codereview.chromium.org/113823 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16979 0039d316-1c4b-4281-b951-d872f2087c98
* Re-introduce check for empty handles after calling toString whenkasperl@google.com2009-05-261-0/+4
| | | | | | | | | | converting a JavaScript object to a WebCore string. BUG=none TEST=none Review URL: http://codereview.chromium.org/115771 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16870 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up Context::GetCalling() to V8Proxy.abarth@chromium.org2009-05-212-3/+23
| | | | | | | | | R=aa TEST=This will eventually be covered by layout tests once I change the upstream code to use this API. Review URL: http://codereview.chromium.org/113672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16564 0039d316-1c4b-4281-b951-d872f2087c98