Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Issue 52023002: Use userAgent instead of webkitStartDart (Closed)

Created:
7 years, 1 month ago by vsm
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use userAgent instead of webkitStartDart This modifies our browser package and test scripts to use the userAgent instead of webkitStartDart (which is gone) to determine if we have native dart support. I'm TBR-ing to get rid of a ton of warnings on the Dartium bots (they are trying to run both native tests (successfully) and compiled-to-js tests (warning no js file)). E.g., see HttpServer warnings on this otherwise green run: http://chromegw.corp.google.com/i/client.dart/builders/dartium-mac-inc-be/builds/634/steps/drt_core_checked_tests/logs/stdio Siggi: you have comments elsewhere around removing/refactoring when webkitStartDart is gone. They are still there. TBR=sigmund@google.com,ricow@google.com Committed: https://code.google.com/p/dart/source/detail?r=29515

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -16 lines) Patch
M client/dart.js View 2 chunks +2 lines, -6 lines 1 comment Download
M pkg/browser/lib/dart.js View 1 chunk +1 line, -5 lines 1 comment Download
M pkg/browser/lib/interop.js View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/html.status View 1 chunk +0 lines, -1 line 1 comment Download
M utils/testrunner/run_pipeline.dart View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
vsm
https://chromiumcodereview.appspot.com/52023002/diff/1/tests/html/html.status File tests/html/html.status (left): https://chromiumcodereview.appspot.com/52023002/diff/1/tests/html/html.status#oldcode36 tests/html/html.status:36: js_interop_2_test: Fail # Issue 14604 Note, this test broke ...
7 years, 1 month ago (2013-10-30 04:08:23 UTC) #1
vsm
Committed patchset #1 manually as r29515 (presubmit successful).
7 years, 1 month ago (2013-10-30 04:08:46 UTC) #2
ricow1
Is that really the way we will be able to figure out if dart is ...
7 years, 1 month ago (2013-10-30 06:35:25 UTC) #3
Siggi Cherem (dart-lang)
BTW, unittest/lib/test_controller.js also calls webkitStartDart. You might need that fixed to get the bots happy.
7 years, 1 month ago (2013-10-30 14:56:58 UTC) #4
ricow1
7 years, 1 month ago (2013-10-30 16:56:57 UTC) #5
Message was sent while issue was closed.
On 2013/10/30 14:56:58, Siggi Cherem (dart-lang) wrote:
> BTW, unittest/lib/test_controller.js also calls webkitStartDart. You might
need
> that fixed to get the bots happy.

Strictly speaking it does not call it unless it is defined :-)

But yes, we should remove it there as well, that is just dead code now

Powered by Google App Engine
This is Rietveld 408576698