prl123 / closure-library Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/closure-library
Automatically exported from code.google.com/p/closure-library
Closure Unit Tests - goog.module.ModuleManager [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html
25 of 25 tests run in 30ms.
10 passed, 15 failed.
1 ms/test. 27 files loaded.
ERROR in testDependencyOrderingWithGmailExample
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> testDependencyOrderingWithGmailExample :
/F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:930
ERROR in testErrorLoadingModule
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testErrorLoadingModule : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:714
ERROR in testExecOnLoad
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> execOnLoad_ : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:144
> testExecOnLoad : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:122
ERROR in testExecOnLoadAbort
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testExecOnLoadAbort : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:208
ERROR in testExecOnLoadWhilePreloadingAndViceVersa
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:251
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> execOnLoadWhilePreloadingAndViceVersa_ :
/F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:266
> testExecOnLoadWhilePreloadingAndViceVersa :
/F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:228
ERROR in testLoad
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testLoad : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:314
ERROR in testLoadWhenLoaded
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testLoadWhenLoaded : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:455
ERROR in testLoadWhenPreloading
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:402
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testLoadWhenPreloading : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:428
ERROR in testLoadingDepsInBatchMode
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:71
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/base.js:917
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testLoadingDepsInBatchMode : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:626
ERROR in testLoadingDepsInNonBatchMode1
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testLoadingDepsInNonBatchMode1 : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:523
ERROR in testLoadingDepsInNonBatchMode2
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testLoadingDepsInNonBatchMode2 : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:567
ERROR in testPreloadDeferredWhenLoaded
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testPreloadDeferredWhenLoaded : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:350
ERROR in testPreloadDeferredWhenLoading
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testPreloadDeferredWhenLoading : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:383
ERROR in testPreloadDeferredWhenNotLoaded
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:87
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> testPreloadDeferredWhenNotLoaded : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:336
ERROR in testRegisterInitializationCallback
module.initialize is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/moduleinfo.js:231
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager.js:484
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:974
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:298
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/mockclock.js:242
> execOnLoad_ : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:144
> testRegisterInitializationCallback : /F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html:962
JavaScript errors detected by test runner:
JS ERROR: FakeModule.inherits is not a function
URL: file:///F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html
Line: 40
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 4:26
Attachments:
calcdeps.py always include base.js but this is not necesarely good if you
want to compile different files!
i.e. I want to have the main site with some js files, but then I want to
download dynamically a new module when user clicks on a specific button.
So what's the point of downloading base.js again????
This should be a parameter i.e -e 1 that will exclude the base.js
See attached patch
Original issue reported on code.google.com by [email protected]
on 12 Nov 2009 at 8:03
Attachments:
Closure Unit Tests - goog.dom [FAILED]
media.digitalxero.net/closure-
library/closure/goog/dom/dom_quirks_test.html?
runTests=testGetDocumentHeightInIframe
1 of 57 tests run in 0ms.
0 passed, 57 failed.
0 ms/test. 16 files loaded.
.
10:44:54.208 Start
10:44:54.208 testGetDocumentHeightInIframe : FAILED (run individually)
10:44:54.208 ERROR in testGetDocumentHeightInIframe
height should be 65
Expected <65> (Number) but was <67> (Number)
> anonymous
10:44:54.208 Done
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 5:47
In the tutorial at:
http://code.google.com/closure/library/docs/gettingstarted.html
The html has a script tag 'closure-library-read-only/base.js' but that file
doesn't exist. 'closure-library-read-only/closure/goog/base.js' seems to
work.
Original issue reported on code.google.com by [email protected]
on 5 Nov 2009 at 7:20
What steps will reproduce the problem?
1. java -jar compiler.jar --help
includes the following line "print summary if type checking is on, see
--check_types"
java -jar compiler.jar --check_types yields:
Exception in thread "main" com.google.common.flags.InvalidFlagsException:
Unrecognized flags:
[check_types]
Original issue reported on code.google.com by [email protected]
on 5 Nov 2009 at 10:23
Closure Unit Tests - goog.dom.selection [FAILED]
media.digitalxero.net/closure-library/closure/goog/dom/selection_test.html
14 of 14 tests run in 2424ms.
10 passed, 4 failed.
173 ms/test. 16 files loaded.
.
11:04:45.455 Start
11:04:45.477 testGetAndSetSelectedTextInput : PASSED
11:04:47.690 testGetAndSetSelectedTextTextarea : FAILED (run individually)
11:04:47.690 ERROR in testGetAndSetSelectedTextTextarea
Expected <Behind> (String) but was <> (String)
> anonymous
11:04:47.690 Breaking async
11:04:47.801 Start
11:04:47.805 testGetStartInput : PASSED
11:04:47.812 testGetStartOnUnfocusedTextarea : PASSED
11:04:47.817 testGetStartTextarea : PASSED
11:04:47.821 testSetAndGetCursorWithLineBreaks : FAILED (run individually)
11:04:47.821 ERROR in testSetAndGetCursorWithLineBreaks
Expected <9> (Number) but was <0> (Number)
> anonymous
11:04:47.832 testSetCursorInput : PASSED
11:04:47.834 testSetCursorOnHiddenInput : PASSED
11:04:47.836 testSetCursorOnHiddenTextarea : PASSED
11:04:47.844 testSetCursorPositionTextareaWithNewlines : PASSED
11:04:47.859 testSetCursorTextarea : PASSED
11:04:47.862 testSetTextInput : FAILED (run individually)
11:04:47.862 ERROR in testSetTextInput
Expected <Get Behind Me Satan> (String) but was <> (String)
> anonymous
11:04:47.874 testSetTextMultipleLines : PASSED
11:04:47.878 testSetTextTextarea : FAILED (run individually)
11:04:47.878 ERROR in testSetTextTextarea
Expected <Get Behind Me Satan> (String) but was <> (String)
> anonymous
11:04:47.879 Done
Run again without reloading
But each of the failing tests when when individually pass
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 6:07
Closure Unit Tests - goog.ui.style.app.MenuButtonRenderer [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html
7 of 7 tests run in 44ms.
0 passed, 7 failed.
6 ms/test. 66 files loaded.
ERROR in testButtonStates
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/menubutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/menubutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testButtonStates : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html:69
ERROR in testDecoratedButton
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/menubutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/menubutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButton : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html:90
ERROR in testDecoratedButtonBox
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/menubutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/menubutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButtonBox : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html:100
ERROR in testDecoratedButtonWithMenu
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/menubutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/menubutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButtonWithMenu : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html:130
ERROR in testDropDownExistsAfterButtonRename
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/menubutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/menubutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDropDownExistsAfterButtonRename :
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html:140
ERROR in testExistingContentIsUsed
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/menubutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/menubutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testExistingContentIsUsed : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html:110
ERROR in testGeneratedButton
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/menubutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/menubutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testGeneratedButton : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/menubuttonrenderer_test.html:59
The library seems to be missing the file
"webutil/css/fastui/app/menubutton_spec.html"
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:54
Test for goog.date.relative [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/date/relative_test.html
6 of 6 tests run in 10ms.
4 passed, 2 failed.
2 ms/test. 12 files loaded.
ERROR in testFormatRelativeForFutureDates
Expected <in 2 days> (String) but was <in 1 day> (String)
> SyntaxError : (unknown)
ERROR in testFormatRelativeForPastDates
Expected <2 days ago> (String) but was <3 days ago> (String)
> SyntaxError : (unknown)
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:18
Attachments:
The notation used in the closure library docs, for instance the '!'
preceding a return type, is confusing to newcomes (such as myself). Nathan
and Nick responded to my request for clarification with an explanatory link
and also a request that I file this issue.
See this thread for more:
https://groups.google.com/group/closure-library-discuss/browse_frm/thread/353e88
a61a7b1ef4
jon
Original issue reported on code.google.com by [email protected]
on 10 Nov 2009 at 11:31
What steps will reproduce the problem?
1. run the test suite
2. both inherits tests fail
What is the expected output? What do you see instead?
Both should pass
What version of the product are you using? On what operating system?
svn r3 on withdows running in Google Chrome.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:17
Attachments:
See the class documentation of goog.testing.PropertyReplacer at
http://closure-library.googlecode.com/svn/trunk/closure/goog/docs/class_goog_tes
ting_PropertyReplacer.html
Original issue reported on code.google.com by [email protected]
on 5 Nov 2009 at 10:24
See for example http://closure-
library.googlecode.com/svn/trunk/closure/goog/docs/closure_goog_array_array.j
s.html#goog.array.compare
Should they be visible at all by default?
Original issue reported on code.google.com by [email protected]
on 8 Nov 2009 at 9:45
goog.editor.plugins.RemoveFormatting Tests [FAILED]
media.digitalxero.net/closure-
library/closure/goog/editor/plugins/removeformatting_test.html
24 of 24 tests run in 1117ms.
20 passed, 4 failed.
47 ms/test. 84 files loaded.
ERROR in testFullListRemoveFormat
Call to fail()
Expected a test failure in 'testFullListRemoveFormat' but the test passed.
> anonymous
ERROR in testPartialListRemoveFormat
Call to fail()
Expected a test failure in 'testPartialListRemoveFormat' but the test
passed.
> anonymous
ERROR in testRemoveFormattingDoesNotShrinkSelection
Text should match
Expected
<div>l </div><br class="GECKO WEBKIT">afoo bar
Actual
<DIV>l afoo bar</DIV>
Expected <l > (String) but was <l afoo bar> (String)
> anonymous
ERROR in testTableTagsAreNotRemoved
Unspecified error.
The patch fixes the two expected failure issues on IE8 since they pass.
The other two failure are not addressed by this patch
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 7:22
Attachments:
Closure Unit Tests - goog.dom [FAILED]
media.digitalxero.net/closure-
library/closure/goog/dom/dom_quirks_test.html?runTests=testCanHaveChildren
1 of 57 tests run in 117995ms.
0 passed, 57 failed.
117995 ms/test. 16 files loaded.
.
10:38:00.432 Start
10:39:58.319 testCanHaveChildren : FAILED (run individually)
10:39:58.319 ERROR in testCanHaveChildren
BASE should have children
Expected <true> (Boolean) but was <false> (Boolean)
> anonymous
10:39:58.319 Breaking async
10:39:58.427 Start
10:39:58.427 Done
On IE8 this fails on the tag of BASE
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 5:44
Although there is a link from the documentation to the XPC demo, this demo
does not exist.
See:
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/xpc/index.htm
l
Original issue reported on code.google.com by [email protected]
on 10 Nov 2009 at 4:33
Closure Unit Tests - goog.module.ModuleManager [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/module/modulemanager_test.html
25 of 25 tests run in 60ms.
6 passed, 19 failed.
2 ms/test. 27 files loaded.
ERROR in testConsecutiveErrors
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testDependencyOrderingWithGmailExample
Object #<a FakeModule> has no method 'initialize'
> TypeError : (unknown)
ERROR in testErrorLoadingModule
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testExecOnLoad
Object #<a FakeModule> has no method 'initialize'
> TypeError : (unknown)
ERROR in testExecOnLoadAbort
Object #<a FakeModule> has no method 'initialize'
> TypeError : (unknown)
ERROR in testExecOnLoadWhilePreloadingAndViceVersa
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testLoad
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testLoadWhenLoaded
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testLoadWhenPreloading
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testLoadWithFailingModule
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testLoadingDepsInBatchMode
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testLoadingDepsInNonBatchMode1
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testLoadingDepsInNonBatchMode2
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testOldCodeGoneError
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testPreloadDeferredWhenLoaded
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testPreloadDeferredWhenLoading
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testPreloadDeferredWhenNotLoaded
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
ERROR in testRegisterInitializationCallback
Object #<a FakeModule> has no method 'initialize'
> TypeError : (unknown)
ERROR in testTimeout
Cannot read property 'Deferred' of undefined
> TypeError : (unknown)
This issues is related to #15
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:52
Trogedit Unit Tests - goog.editor.icontent [FAILED]
media.digitalxero.net/closure-library/closure/goog/editor/icontent_test.html
7 of 7 tests run in 39ms.
6 passed, 1 failed.
6 ms/test. 23 files loaded.
ERROR in testWhiteboxStandardsFixedRtl
Expected <true> (String) but was <hidefocus> (String)
> anonymous
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 6:26
Attachments:
What steps will reproduce the problem?
1. Open
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/splitpane.htm
l
What is the expected output? What do you see instead?
The demo is broken, the Error Console in Firefox shows:
Error: goog.require could not find: goog.ui.Dom
Source File:
http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js
Line: 269
What version of the product are you using? On what operating system?
r5. Changing goog.ui.Dom to goog.dom makes the demo work.
Original issue reported on code.google.com by asqueella
on 8 Nov 2009 at 12:18
They're kept separate at present for unrelated Google reasons, but I'm
tempted to tack third party deps onto the bottom of the main deps.js file
externally, as it's confusing and not a necessary distinction in the OSS
version.
This shouldn't hurt people that already have third party deps loaded as it'll
just write over (which I think is no problem, unless the dependency system
balks if you define something twice).
Original issue reported on code.google.com by [email protected]
on 9 Nov 2009 at 9:09
Closure Unit Tests - goog.async.Deferred [FAILED]
/F:/webdev/WebFaction/media/closure-
library/third_party/closure/goog/mochikit/async/deferred_test.html
19 of 19 tests run in 122ms.
0 passed, 19 failed.
6 ms/test. 11 files loaded.
ERROR in testCallbackScope1
undefined is not a function
> TypeError : (unknown)
ERROR in testCallbackScope2
undefined is not a function
> TypeError : (unknown)
ERROR in testCallbackScope3
undefined is not a function
> TypeError : (unknown)
ERROR in testCancel
undefined is not a function
> TypeError : (unknown)
ERROR in testChainedDeferred1
undefined is not a function
> TypeError : (unknown)
ERROR in testChainedDeferred2
undefined is not a function
> TypeError : (unknown)
ERROR in testDeferredDependencies
Cannot call method 'succeed' of undefined
> TypeError : (unknown)
ERROR in testDoubleCalling
Expecting a function in instanceof check, but got TypeError: Cannot call
method 'succeed' of undefined
> TypeError : (unknown)
ERROR in testDoubleCalling2
Expecting a function in instanceof check, but got TypeError: Cannot call
method 'fail' of undefined
> TypeError : (unknown)
ERROR in testDoubleCalling3
Expecting a function in instanceof check, but got TypeError: Cannot call
method 'succeed' of undefined
> TypeError : (unknown)
ERROR in testDoubleCalling4
Expecting a function in instanceof check, but got TypeError: undefined is
not a function
> TypeError : (unknown)
ERROR in testHasFired
undefined is not a function
> TypeError : (unknown)
ERROR in testIncorrectUsage
undefined is not a function
> TypeError : (unknown)
ERROR in testIncorrectUsage2
undefined is not a function
> TypeError : (unknown)
ERROR in testIncorrectUsage3
undefined is not a function
> TypeError : (unknown)
ERROR in testNormal
undefined is not a function
> TypeError : (unknown)
ERROR in testSucceedFail
Cannot call method 'succeed' of undefined
> TypeError : (unknown)
ERROR in testUndefinedResultAndCallbackSequence
undefined is not a function
> TypeError : (unknown)
ERROR in testUndefinedResultAndErrbackSequence
undefined is not a function
> TypeError : (unknown)
Line 36 or the test throws an unknown property error, which causes all
calls to Deferred to fail
var Deferred = goog.async.Deferred;
I looked at the code for goog.async.Deferred but everything looks fine to
me so no patch for this one
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:52
Closure Unit Tests - goog.structs.PriorityPool [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool_test.html
17 of 17 tests run in 14ms.
15 passed, 2 failed.
1 ms/test. 19 files loaded.
ERROR in testReleaseAndGet2
this.adjustForMinMax is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool.js:77
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool.js:48
> NoObjectReusePriorityPool : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool_test.html:35
> testReleaseAndGet2 : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool_test.html:166
ERROR in testReleaseAndGet4
this.adjustForMinMax is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool.js:77
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool.js:48
> NoObjectReusePriorityPool : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool_test.html:35
> testReleaseAndGet4 : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool_test.html:220
JavaScript errors detected by test runner:
JS ERROR: NoObjectReusePriorityPool.inherits is not a function
URL: file:///F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/prioritypool_test.html
Line: 37
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:41
Attachments:
The page
http://closure-library.googlecode.com/svn/trunk/closure/goog/docs/class_goog_ui_
tree_TreeControl.html
of the Closure Library API Documentation has "Demo" link broken:
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/tree/demo.htm
l
produces 404 error.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 9:47
See the documentation of goog.array.equals or goog.array.indexOf at
http://closure-library.googlecode.com/svn/trunk/closure/goog/docs/closure_goog_a
rray_array.js.html
Original issue reported on code.google.com by [email protected]
on 5 Nov 2009 at 10:40
Running on Windows batch (Python 2.6)
closure-library-read-only\closure\bin\calcdeps.py -i hello.js ^
-p closure-library-read-only\ -o script >hello-calc.js
I'm getting:
calcdeps.py: Scanning files...
calcdeps.py: Finding Closure dependencies...
Traceback (most recent call last):
File "GoogleClosure\closure-library-read-only\closure\bin\calcdeps.py",
line 401, in <module>
main()
File "GoogleClosure\closure-library-read-only\closure\bin\calcdeps.py",
line 385, in main
PrintScript(deps)
File "GoogleClosure\closure-library-read-only\closure\bin\calcdeps.py",
line 292, in PrintScript
PrintLine(f.read())
File "GoogleClosure\closure-library-read-only\closure\bin\calcdeps.py",
line 277, in PrintLine
sys.stdout.write(msg)
IOError: [Errno 9] Bad file descriptor
What do I miss?
Original issue reported on code.google.com by [email protected]
on 12 Nov 2009 at 12:40
Patch attached which fixes calcdeps.py to work under Python 2 or Python 3.
Original issue reported on code.google.com by [email protected]
on 11 Nov 2009 at 3:48
Attachments:
What steps will reproduce the problem?
1. Reference another file named 'base.js' before Closure's. e.g.
<script src="/static/js/base.js" type="text/javascript"></script>
What is the expected output? What do you see instead?
Expect dependencies to be calculated properly.
Instead receive an error resolving a dependency: e.g. "goog.require could not
find: goog.dom"
What version of the product are you using? On what operating system?
svn trunk, OS X/FF3
Please provide any additional information below.
Original issue reported on code.google.com by southgate
on 7 Nov 2009 at 12:56
What steps will reproduce the problem?
1.
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/bubble.html
2. The error is:
Error: This corner type is not supported by bubble!
Source File:
http://closure-library.googlecode.com/svn/trunk/closure/goog/ui/bubble.js
Line: 411
3.
What is the expected output? What do you see instead? I am not certain
what the expected output should be - but I don't see any bubble.
What version of the product are you using? On what operating system? On Mac
OS 10.5 - Firefox 3.5.2.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:51
For example
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/checkbox.html
is available but the link to it is missing from the demos tab of
http://closure-library.googlecode.com/svn/trunk/closure/goog/docs/index.html
Original issue reported on code.google.com by [email protected]
on 5 Nov 2009 at 10:18
What steps will reproduce the problem?
1. Run calcdeps.py with -f "--externs=someextern.js
--compilation_level=ADVANCED_OPTIMIZATIONS"
What is the expected output? What do you see instead?
I expect the result of calcdeps.py to be passed to the compiler with the
two additional compiler flag arguments. Instead the call to os.execvp
interprets the additional arguments as --externs="someextern.js
--compilation_level=ADVANCED_OPTIMIZATIONS" and I get an error:
ERROR - Cannot read: someexterns.js --compilation_level=ADVANCED_OPTIMIZATIONS
Please provide any additional information below.
I've attached a patch, it's a one liner. Just split() the flags passed to
Compile.
Original issue reported on code.google.com by [email protected]
on 8 Nov 2009 at 12:16
Attachments:
Closure Unit Tests - goog.iter [FAILED]
/F:/webdev/WebFaction/media/closure-library/closure/goog/iter/iter_test.html
19 of 19 tests run in 15ms.
17 passed, 2 failed.
1 ms/test. 8 files loaded.
ERROR in testForEach
Not implemented
> Error : (unknown)
ERROR in testJoin
Not implemented
> Error : (unknown)
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:27
Attachments:
Closure Unit Tests - goog.dom.Range [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/dom/range_test.html
30 of 30 tests run in 41ms.
29 passed, 1 failed.
1 ms/test. 49 files loaded.
ERROR in testRemovePartialContents
1: Outer div should have 1 children now
Expected <1> (Number) but was <2> (Number)
> eval : (unknown)
> getStackTrace : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/asserts.js:670
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/asserts.js:776
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/asserts.js:762
> _assert : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/asserts.js:146
> assertEquals : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/asserts.js:225
> removeHelper : /F:/webdev/WebFaction/media/closure-
library/closure/goog/dom/range_test.html:348
> testRemovePartialContents : /F:/webdev/WebFaction/media/closure-
library/closure/goog/dom/range_test.html:298
Not sure whats going on here yet still deciphering the code and tests
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 4:42
Closure Unit Tests - goog.ui.AutoComplete [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html
7 of 7 tests run in 7ms.
0 passed, 7 failed.
1 ms/test. 34 files loaded.
ERROR in testDismiss
src.attachEvent is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:223
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:140
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete.js:83
> testDismiss : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html:228
ERROR in testDispose
src.attachEvent is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:223
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:140
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete.js:83
> testDispose : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html:245
ERROR in testHiliteId
src.attachEvent is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:223
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:140
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete.js:83
> testHiliteId : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html:179
ERROR in testHiliteNextPrev
src.attachEvent is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:223
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:140
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete.js:83
> testHiliteNextPrev : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html:135
ERROR in testMaxMatches
src.attachEvent is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:223
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:140
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete.js:83
> testMaxMatches : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html:106
ERROR in testRolesAndStates
src.attachEvent is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:223
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:140
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete.js:83
> testRolesAndStates : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html:266
ERROR in testSelection
src.attachEvent is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:223
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/events/events.js:140
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete.js:83
> testSelection : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html:204
JavaScript errors detected by test runner:
JS ERROR: MockSelect.inherits is not a function
URL: file:///F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/autocomplete_test.html
Line: 72
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:44
Attachments:
What version of the product are you using? On what operating system?
From the page:
http://code.google.com/closure/library/docs/calcdeps.html
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 7:38
Closure Unit Tests - goog.events.EventTarget [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/events/eventtarget_test.html
14 of 14 tests run in 38ms.
0 passed, 14 failed.
3 ms/test. 21 files loaded.
ERROR in testBasicEventTarget
Invalid listener argument
> Error : (unknown)
ERROR in testCaptureAndBubble
Invalid listener argument
> Error : (unknown)
ERROR in testHandleEvent
Invalid listener argument
> Error : (unknown)
ERROR in testJustBubble
Invalid listener argument
> Error : (unknown)
ERROR in testJustCapture
Invalid listener argument
> Error : (unknown)
ERROR in testListenOnce
Invalid listener argument
> Error : (unknown)
ERROR in testNoListeners
Object #<a TargetClass> has no method 'increment'
> TypeError : (unknown)
ERROR in testParentEventTarget
Object #<a TargetClass> has no method 'getParentEventTarget'
> TypeError : (unknown)
ERROR in testPreventDefault
Invalid listener argument
> Error : (unknown)
ERROR in testReturnFalse
Invalid listener argument
> Error : (unknown)
ERROR in testStopPropagation
Invalid listener argument
> Error : (unknown)
ERROR in testStopPropagationAndPreventDefaultAtBubble
Invalid listener argument
> Error : (unknown)
ERROR in testStopPropagationAndPreventDefaultAtCapture
Invalid listener argument
> Error : (unknown)
ERROR in testUnlistenInListen
Invalid listener argument
> Error : (unknown)
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:25
Attachments:
Closure Unit Tests - goog.dom.ViewportSizeMonitor [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/dom/viewportsizemonitor_test.html
3 of 3 tests run in 15ms.
0 passed, 3 failed.
5 ms/test. 29 files loaded.
ERROR in testIsPollingRequired
Object #<a FakeWindow> has no method 'attachEvent'
> TypeError : (unknown)
ERROR in testPollingEvent
Object #<a FakeWindow> has no method 'attachEvent'
> TypeError : (unknown)
ERROR in testResizeEvent
Object #<a FakeWindow> has no method 'attachEvent'
> TypeError : (unknown)
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 2:22
Attachments:
What steps will reproduce the problem?
1. Bring up the error console in FireFox, you will get Error:
FooDrag.inherits is not a function
Source File:
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/dragdrop.html
Line: 126
2.
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/dragdrop.html
3.
What is the expected output? What do you see instead? When you try to drag
and drop you get noting in the HTML page. Not working.
What version of the product are you using? On what operating system?
You just released the library yesterday - so whaver the 1st release of
the library is.
Please provide any additional information below. I am running FireFox
3.5.2 on Mac os 10.5 on a PowerBook Pro.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 1:50
Closure Unit Tests - goog.editor.range [FAILED]
media.digitalxero.net/closure-library/closure/goog/editor/range_test.html
31 of 31 tests run in 3276ms.
29 passed, 2 failed.
106 ms/test. 55 files loaded.
ERROR in testPlaceCursorNextToLeft
Selection should be at the start of the node
Expected <[object Text]> (Object) but was <[object HTMLDivElement]>
(Object)
> anonymous
ERROR in testPlaceCursorNextToRight
Selection should be at the end of the node
Expected <[object HTMLDivElement]> (Object) but was <[object Text]>
(Object)
> anonymous
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 7:23
While I use the goog.require to dynamically load the necessary JS files in, I
cannot know when the JS
files had been loaded in. Unless I require them in a previous <script> tag
Will this function support an onload callback function? It would be better if
the programmer can
know when he may start to use the library.
The onload callback function mechanism is inspired from the Google Ajax API
loader:
http://code.google.com/apis/ajax/documentation/#GoogleLoad
Original issue reported on code.google.com by ericsk
on 6 Nov 2009 at 7:35
The autocompleterichremote.html sample in demos folder doesn't work.
Looking at the Firebug console I found the following error: goog.require
could not find: goog.array.filter
What steps will reproduce the problem?
1. Open autocompleterichremote.html in browser
2. Insert a single char in the input box
What is the expected output?
A list should appear under the textbox
What do you see instead?
Nothing
What version of the product are you using?
r2
On what operating system?
Microsoft Windows 2003 Service Pack 1, Firefox 3.5.4
Please provide any additional information below.
In the autocompleterichremote.html code a script call
goog.require('goog.array.filter') which doesn't exists. Use
goog.require('goog.array') instead.
Original issue reported on code.google.com by [email protected]
on 10 Nov 2009 at 5:02
What steps will reproduce the problem?
1. chmod +x calcdeps.py
2. run "calcdeps.py" (on Mac OS X 10.6)
What is the expected output? What do you see instead?
expected:
the program to run
actual:
-bash: ./closure/bin/calcdeps.py: /usr/bin/python2.4: bad interpreter: No such file or directory
What version of the product are you using? On what operating system?
svn r3
Please provide any additional information below.
easily fixed by changing the first line of the file to:
#!/usr/bin/env python
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 7:36
What steps will reproduce the problem?
I set 100px width and height and 20px border radius in the demo.
http://closure-
library.googlecode.com/svn/trunk/closure/goog/demos/roundedpanel.html
What is the expected output? What do you see instead?
See the attached screenshot.
What version of the product are you using? On what operating system?
I tried Closure r5 in Chrome 4 and Firefox 3.5.
Please provide any additional information below.
Firebug says that roundedpanel.css is missing.
Original issue reported on code.google.com by [email protected]
on 8 Nov 2009 at 10:53
Attachments:
At present just has a copyright -- it's Apache 2 by context, but we should
make this clear.
Original issue reported on code.google.com by [email protected]
on 10 Nov 2009 at 8:22
On Windows XP, svn version 1.6.6 (latest stable) I execute the following
command:
svn checkout http://closure-library.googlecode.com/svn/trunk/
closure-library-read-only
I am receiving an error after several minutes "502 Bad Gateway". No files
are copied to my local system.
The same error occurs using the TortoiseSVN client.
This has been happening for the last two days, from both my home and work
networks.
Original issue reported on code.google.com by [email protected]
on 9 Nov 2009 at 9:27
Closure Unit Tests - goog.editor.Node [FAILED]
media.digitalxero.net/closure-library/closure/goog/editor/node_test.html
23 of 23 tests run in 93ms.
22 passed, 1 failed.
4 ms/test. 45 files loaded.
ERROR in testIsBlock
Display for NOFRAMES should not be block-like
Expected 'block,list-item,table,table-caption,table-cell,table-column,table-
column-group,table-footer,table-footer-group,table-header-group,table-
row,table-row-group' not to contain 'block'
> anonymous
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 6:41
Attachments:
Closure Unit Tests - goog.ui.style.app.ButtonRenderer [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html
6 of 6 tests run in 25ms.
0 passed, 6 failed.
4 ms/test. 48 files loaded.
ERROR in testButtonStates
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testButtonStates : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:67
ERROR in testDecoratedButton
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButton : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:88
ERROR in testDecoratedButtonBox
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButtonBox : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:97
ERROR in testDecoratedButtonBoxWithSpaceInContent
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButtonBoxWithSpaceInContent :
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:113
ERROR in testExistingContentIsUsed
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testExistingContentIsUsed : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:126
ERROR in testGeneratedButton
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testGeneratedButton : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:58
The library seems to be missing the file
"webutil/css/fastui/app/button_spec.html"
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:53
Some documentation pages contain links to non-existing sites (presumably
Google internal sites), e.g. documentation for crossdomainrpc.js:
http://closure-
library.googlecode.com/svn/trunk/closure/goog/docs/closure_goog_net_crossdoma
inrpc.js.html contains a link named "XD2 approach" pointing at
http://go/xd2_design
Original issue reported on code.google.com by izuzak
on 5 Nov 2009 at 8:23
Closure Unit Tests - goog.structs.Pool [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool_test.html
14 of 14 tests run in 9ms.
12 passed, 2 failed.
1 ms/test. 15 files loaded.
ERROR in testReleaseAndGet2
this.adjustForMinMax is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool.js:77
> NoObjectReusePool : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool_test.html:35
> testReleaseAndGet2 : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool_test.html:107
ERROR in testReleaseAndGet4
this.adjustForMinMax is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool.js:77
> NoObjectReusePool : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool_test.html:35
> testReleaseAndGet4 : /F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool_test.html:138
JavaScript errors detected by test runner:
JS ERROR: NoObjectReusePool.inherits is not a function
URL: file:///F:/webdev/WebFaction/media/closure-
library/closure/goog/structs/pool_test.html
Line: 37
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:39
Attachments:
Closure Unit Tests - goog.ui.style.app.PrimaryActionButtonRenderer [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/primaryactionbuttonrenderer_test.html
2 of 2 tests run in 9ms.
0 passed, 2 failed.
5 ms/test. 49 files loaded.
ERROR in testButtonStates
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/primaryactionbutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/primaryactionbutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testButtonStates : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/primaryactionbuttonrenderer_test.html:65
ERROR in testGeneratedButton
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/primaryactionbutton_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/primaryactionbutton_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testGeneratedButton : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/primaryactionbuttonrenderer_test.html:59
The library seems to be missing the file
"webutil/css/fastui/app/primaryactionbutton_spec.html"
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:56
Closure Unit Tests - goog.net.cookies [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/net/cookies_test.html
12 of 12 tests run in 27ms.
2 passed, 10 failed.
2 ms/test. 10 files loaded.
ERROR in testContainsKey
Call to assertTrue(boolean) with false
> SyntaxError : (unknown)
ERROR in testContainsValue
Call to assertTrue(boolean) with false
> SyntaxError : (unknown)
ERROR in testCount
Expected <1> (Number) but was <0> (Number)
> SyntaxError : (unknown)
ERROR in testGetKeys
Call to assertTrue(boolean) with false
> SyntaxError : (unknown)
ERROR in testGetValues
Call to assertTrue(boolean) with false
> SyntaxError : (unknown)
ERROR in testIsEmpty
Call to assertFalse(boolean) with true
> SyntaxError : (unknown)
ERROR in testIsEnabled
Call to assertTrue(boolean) with false
> SyntaxError : (unknown)
ERROR in testRemove
2. Cookie should contain "testa"
Call to assertTrue(boolean) with false
> SyntaxError : (unknown)
ERROR in testSet
Expected <testb> (String) but was <undefined>
> SyntaxError : (unknown)
ERROR in testStrangeValue
Expected <testb=bbb> (String) but was <undefined>
> SyntaxError : (unknown)
With Windows 7, Google Chrome 4.0.223.11 when I do
goog.net.cookie.set('testa', 'A');
alert(String(document.cookie));
the alert is empty which means the cookie is never being set, in FF3.5 and
IE8 it works so either this is a bug in chrome or chrome accesses cookies
differently then the others
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:35
Closure Unit Tests - goog.ui.AutoComplete.InputHandler [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html
11 of 11 tests run in 9ms.
0 passed, 11 failed.
1 ms/test. 35 files loaded.
ERROR in testActiveElement
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testGetThrottleTime
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testGetUpdateDuringTyping
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testImeLinuxFirefox3
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testImeMacFirefox3
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testImeMacSafari3
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testImeWinChrome
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testImeWinFirefox3
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testImeWinIe7
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testRegularKey
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
ERROR in testUpdateDoesNotTriggerSetTokenForSelectRow
this.setSeparators is not a function
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler.js:127
> MockInputHandler : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:59
> setUp : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html:110
JavaScript errors detected by test runner:
JS ERROR: MockElement.inherits is not a function
URL: file:///F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/autocomplete/inputhandler_test.html
Line: 41
Original issue reported on code.google.com by [email protected]
on 6 Nov 2009 at 3:47
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.