Re: [chromium-dev] Re: enabling javascript strict warnings and errors?
2009/12/5 nachumk nach...@gmail.com: On Dec 5, 3:48 pm, Erik Corry erik.co...@gmail.com wrote: 2009/12/5 nachumk nach...@gmail.com: Hi, I'm using Chrome 4.0.249.25. Is there a way to enable chrome's javascript to be more verbose and to break on errors such as an undeclared variable (i don't want to implicity declare them)? Not in Chrome. You might want to look into the JS compilerhttp://closure-compiler.appspot.com/homehttp://googlecode.blogspot.com/2009/11/introducing-closure-tools.html Thanx, nachum -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev Thanx for the quick response. Do you know what flags can be used with chrome's startup switch js-flags, or where that documentation exists? Here are the ones supported by the standalone V8 shell. Not all of them will work in Google Chrome. Some of them will cause your browser to be incompatible, slower, insecure or crashy. For the boolean ones you insert no (without a dash or underscore) after the double dash to indicate they should be false. --debug_code (generate extra code (comments, assertions) for debugging) type: bool default: false --emit_branch_hints (emit branch hints) type: bool default: false --push_pop_elimination (eliminate redundant push/pops in assembly code) type: bool default: true --print_push_pop_elimination (print elimination of redundant push/pops in assembly code) type: bool default: false --expose_natives_as (expose natives in global object) type: string default: NULL --expose_debug_as (expose debug in global object) type: string default: NULL --natives_file (alternative natives file) type: string default: NULL --expose_gc (expose gc extension) type: bool default: false --stack_trace_limit (number of stack frames to capture) type: int default: 10 --inline_new (use fast inline allocation) type: bool default: true --stack_trace_on_abort (print a stack trace if an assertion failure occurs) type: bool default: true --trace (trace function calls) type: bool default: false --defer_negation (defer negation operation) type: bool default: true --check_stack (check stack for overflow, interrupt, breakpoint) type: bool default: true --lazy (use lazy compilation) type: bool default: true --debug_info (add debug information to compiled functions) type: bool default: true --strict (strict error checking) type: bool default: false --min_preparse_length (Minimum length for automatic enable preparsing) type: int default: 1024 --compilation_cache (enable compilation cache) type: bool default: true --remote_debugging (enable remote debugging) type: bool default: false --trace_debug_json (trace debugging JSON request/response) type: bool default: false --debugger_auto_break (automatically set the debug break flag when debugger commands are in the queue (experimental)) type: bool default: false --max_stack_trace_source_length (maximum length of function source code printed in a stack trace.) type: int default: 300 --new_space_size (size of (each semispace in) the new generation) type: int default: 0 --old_space_size (size of the old generation) type: int default: 0 --gc_global (always perform global GCs) type: bool default: false --gc_interval (garbage collect after n allocations) type: int default: -1 --trace_gc (print one trace line following each garbage collection) type: bool default: false --trace_gc_verbose (print more details following each garbage collection) type: bool default: false --collect_maps (garbage collect maps from which no objects can be reached) type: bool default: true --use_idle_notification (Use idle notification to reduce memory footprint.) type: bool default: true --use_ic (use inline caching) type: bool default: true --native_code_counters (generate extra code for manipulating stats counters) type: bool default: false --always_compact (Perform compaction on every full GC) type: bool default: false --never_compact (Never perform compaction on full GC - testing only) type: bool default: false --cleanup_ics_at_gc (Flush inline caches prior to mark compact collection.) type: bool default: true --cleanup_caches_in_maps_at_gc (Flush code caches in maps during mark compact cycle.) type: bool default: true --canonicalize_object_literal_maps (Canonicalize maps for object literals.) type: bool default: true --h (print this message) type: bool default: false --allow_natives_syntax (allow natives syntax) type: bool default: false --optimize_ast
[chromium-dev] Can't build on Snow Leopard anymore
I've tried to build on Snow Leopard twice. I've tried both an incremental and a clobber, but both times I get this error: === BUILD AGGREGATE TARGET webkit_system_interface Support OF PROJECT WebCore WITH THE DEFAULT CONFIGURATION (Debug) === Check dependencies PhaseScriptExecution Action \Adjust Visibility\ ../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh cd /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp /bin/sh -c \/Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh\ ar: input.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) ar: input.a: Inappropriate file type or format ld: file not found: /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/adjust_visibility/self/*.o Command /bin/sh failed with exit code 1 Command /bin/sh failed with exit code 1 ** BUILD FAILED ** The following build commands failed: webkit_system_interface Support: PhaseScriptExecution Action \Adjust Visibility\ /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh (1 failure) This script contains: #!/bin/sh exec mac/adjust_visibility.sh ../../WebKitLibraries/libWebKitSystemInterfaceLeopard.a ${BUILT_PRODUCTS_DIR}/libWebKitSystemInterfaceLeopardPrivateExtern.a ${INTERMEDIATE_DIR}/adjust_visibility exit 1 Any ideas? This only started happening recently (last 2 days or so). rsesek / @chromium.org -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] Can't build on Snow Leopard anymore
This script runs on third_party/WebKit/WebKitLibraries/libWebKitSystemInterfaceLeopard.a, but that file hasn't changed in the past couple of days, so I don't see why this would be happening. The script that's driving the failed step is at third_party/WebKit/WebCore/WebCore.gyp/mac/adjust_visibility.sh. I'd be curious to figure out what value you're getting for ARCHS at line 58 of that script. You should file a bug and assign it to me, and you can put the answer to this question there. Mark Robert Sesek wrote: I've tried to build on Snow Leopard twice. I've tried both an incremental and a clobber, but both times I get this error: === BUILD AGGREGATE TARGET webkit_system_interface Support OF PROJECT WebCore WITH THE DEFAULT CONFIGURATION (Debug) === Check dependencies PhaseScriptExecution Action \Adjust Visibility\ ../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh cd /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp /bin/sh -c \/Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh\ ar: input.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) ar: input.a: Inappropriate file type or format ld: file not found: /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/adjust_visibility/self/*.o Command /bin/sh failed with exit code 1 Command /bin/sh failed with exit code 1 ** BUILD FAILED ** The following build commands failed: webkit_system_interface Support: PhaseScriptExecution Action \Adjust Visibility\ /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh (1 failure) This script contains: #!/bin/sh exec mac/adjust_visibility.sh ../../WebKitLibraries/libWebKitSystemInterfaceLeopard.a ${BUILT_PRODUCTS_DIR}/libWebKitSystemInterfaceLeopardPrivateExtern.a ${INTERMEDIATE_DIR}/adjust_visibility exit 1 Any ideas? This only started happening recently (last 2 days or so). rsesek / @chromium.org -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] Can't build on Snow Leopard anymore
Thanks Mark. I've filed http://code.google.com/p/chromium/issues/detail?id=29533. The value of ARCHS is empty, which I'm guessing is the problem. rsesek / @chromium.org On Sun, Dec 6, 2009 at 10:24 AM, Mark Mentovai m...@chromium.org wrote: This script runs on third_party/WebKit/WebKitLibraries/libWebKitSystemInterfaceLeopard.a, but that file hasn't changed in the past couple of days, so I don't see why this would be happening. The script that's driving the failed step is at third_party/WebKit/WebCore/WebCore.gyp/mac/adjust_visibility.sh. I'd be curious to figure out what value you're getting for ARCHS at line 58 of that script. You should file a bug and assign it to me, and you can put the answer to this question there. Mark Robert Sesek wrote: I've tried to build on Snow Leopard twice. I've tried both an incremental and a clobber, but both times I get this error: === BUILD AGGREGATE TARGET webkit_system_interface Support OF PROJECT WebCore WITH THE DEFAULT CONFIGURATION (Debug) === Check dependencies PhaseScriptExecution Action \Adjust Visibility\ ../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh cd /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp /bin/sh -c \/Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh\ ar: input.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) ar: input.a: Inappropriate file type or format ld: file not found: /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/adjust_visibility/self/*.o Command /bin/sh failed with exit code 1 Command /bin/sh failed with exit code 1 ** BUILD FAILED ** The following build commands failed: webkit_system_interface Support: PhaseScriptExecution Action \Adjust Visibility\ /Users/rsesek/Projects/chromium/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webkit_system_interface Support.build/Script-C2FA7E609918094ADF85F31E.sh (1 failure) This script contains: #!/bin/sh exec mac/adjust_visibility.sh ../../WebKitLibraries/libWebKitSystemInterfaceLeopard.a ${BUILT_PRODUCTS_DIR}/libWebKitSystemInterfaceLeopardPrivateExtern.a ${INTERMEDIATE_DIR}/adjust_visibility exit 1 Any ideas? This only started happening recently (last 2 days or so). rsesek / @chromium.org -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] I use Chrome 4 in Ubuntu 9.10, I found the Chinese font text is too vague
File a bug at http://new.crbug.com/, provide screenshots. This mailing list is not the appropriate place to report bugs. On Sat, Dec 5, 2009 at 7:57 PM, Blade im.blade.f...@gmail.com wrote: Especially the text on buttons, Chinese characters, are very vague. How can I solve this problem? -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev