DescriptionCanonicalize uris in C++ instead of Dart for the standalone embedder.
Adds Dart_DefaultCanonicalizeUrl() to the dart embedding api.
Motivation:
As we try to get source reloading working for the standalone embedder, things get simpler if an isolate doesn't run Dart code while it is loading Dart code. We intend to solve this by moving the embedder tag handler calls to the service isolate. But making a blocking rpc into the service isolate whenever a url needs to be canonicalized during parsing seems like it would slow things down and make things complicated. By moving canonicalization into C++, we avoid this.
R=ahe@google.com, fschneider@google.com, johnmccutchan@google.com
Committed: https://github.com/dart-lang/sdk/commit/a7d46eb5a687f5b12571966c1df17660877a2ff9
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #
Total comments: 33
Patch Set 6 : Code review 1/2 #Patch Set 7 : more code review fixes #
Total comments: 1
Patch Set 8 : more code review #Patch Set 9 : fixz release build #
Messages
Total messages: 16 (5 generated)
|