Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WebGLRenderingContextImplementation.bufferData has mismatch of parameters #3261

Closed
DartBot opened this issue May 27, 2012 · 2 comments
Closed

Comments

@DartBot
Copy link

DartBot commented May 27, 2012

This issue was originally filed by @financecoding


What steps will reproduce the problem?

  1. git clone https://github.com/martinsik/dart-webgl-tutorials.git
  2. Open project and launch lesson-05/lesson-05.html
    3.

What is the expected output? What do you see instead?
Cube rotating, instead Dartium throws the following exception;

Exception: Incorrect number or type of arguments
Stack Trace: 0. Function: '_WebGLRenderingContextDOMImpl@33cc944a.bufferData' url: '/Volumes/data/b/build/slave/dartium-mac-full/build/src/xcodebuild/DerivedSources/Release/webkit/bindings/dart/dart/WebGLRenderingContextImplementation.dart' line:14 col:232
 1. Function: '_WebGLRenderingContextImpl@33cc944a.bufferData' url: '/Volumes/data/b/build/slave/dartium-mac-full/build/src/xcodebuild/DerivedSources/Release/webkit/bindings/dart/html/dartium/WebGLRenderingContext.dart' line:2 col:1686
 2. Function: 'Lesson05._initBuffers@111cc5d5' url: 'http://127.0.0.1:3030/Users/adam/dart/dart-webgl-tutorials/lesson-05/Lesson-05.dart' line:188 col:19
 3. Function: 'Lesson05.Lesson05.' url: 'http://127.0.0.1:3030/Users/adam/dart/dart-webgl-tutorials/lesson-05/Lesson-05.dart' line:48 col:17
 4. Function: '::main' url: 'http://127.0.0.1:3030/Users/adam/dart/dart-webgl-tutorials/lesson-05/Lesson-05.dart' line:330 col:21
 Lesson-05.dart:1

In Dartium, enter chrome://version and paste the results here.

Chromium 21.0.1151.0 (Developer Build 139001)
OS Mac OS X
WebKit 537.1 (Source/WebCore/Configurations@560)
JavaScript V8 3.11.6.1
DartVM r8023
Flash 11.2.202.228
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1151.0 (Dart) Safari/537.1
Command Line /Users/adam/Documents/DartEditor/dart/dart-sdk/Chromium.app/Contents/MacOS/Chromium --remote-debugging-port=9322 --user-data-dir=/Users/adam/.dartiumSettings --bwsi --no-first-run --no-default-browser-check --no-process-singleton-dialog --flag-switches-begin --flag-switches-end about:blank
Executable Path /Users/adam/Documents/DartEditor/dart/dart-sdk/Chromium.app/Contents/MacOS/Chromium
Profile Path /Users/adam/.dartiumSettings/Default

Put OS and machine details here.
(If you're using Linux or Mac OS, you can get this from uname -a.)
$ uname -a
Darwin Adams-MacBook-Air.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

Please provide any additional information below.
Compiling to javascript works fine in this example.

@DartBot
Copy link
Author

DartBot commented May 28, 2012

This comment was originally written by antonm@google.com


Pavel, may you, please, have a look?


Set owner to podivilov@google.com.
Added Accepted label.

@DartBot
Copy link
Author

DartBot commented May 29, 2012

This comment was originally written by podivilov@google.com


Fixed in https://code.google.com/p/dart/source/detail?r=8068.


Added Fixed label.

copybara-service bot pushed a commit that referenced this issue Jun 12, 2023
Revisions updated by `dart tools/rev_sdk_deps.dart`.

dartdoc (https://github.com/dart-lang/dartdoc/compare/2a39574..5799424):
  57994242  2023-06-09  Parker Lougheed  Remove old <nodoc> syntax (#3261)

http (https://github.com/dart-lang/http/compare/5312366..ba7eb60):
  ba7eb60  2023-06-09  Brian Quinlan  Run common URLSessionTask tests on URLSessionWebSocketTask (#959)
  1746017  2023-06-09  Brian Quinlan  Support delegate methods for WebSocketTask (#958)

mockito (https://github.com/dart-lang/mockito/compare/cca4858..1d6064a):
  1d6064a  2023-06-09  Nate Bosch  Prepare to publish

webdev (https://github.com/dart-lang/webdev/compare/a6d761d..81ae77a):
  81ae77aa  2023-06-09  Elliott Brooks  Update Dart Debug Extension version in preparation for publishing (#2139)
  bb9265a0  2023-06-09  Elliott Brooks  Update DCM workflow (#2135)
  7652f646  2023-06-09  Elliott Brooks  Double the timeout for the webdev installation test (#2137)

Change-Id: I9d775bbb5c8a710a3339fa3434a95e8e0f2af75c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/308760
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Auto-Submit: Devon Carew <devoncarew@google.com>
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant