Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 2 contributors
Showing with 7 additions and 22 deletions.
  1. +2 −1 src/avm2/compiler/inferrer.js
  2. +2 −18 src/flash/net/NetConnection.js
  3. +3 −3 src/flash/net/NetStream.js
View
3 src/avm2/compiler/inferrer.js
@@ -702,7 +702,8 @@ var Verifier = (function() {
}
// Is it in some other script?
- obj = abc.domain.findProperty(mn, false, !!abc.domain.base);
+ // !!abc.domain.base
+ obj = abc.domain.findProperty(mn, false, false);
if (obj) {
release || assert(obj instanceof Global);
ti().object = obj;
View
20 src/flash/net/NetConnection.js
@@ -18,13 +18,13 @@ var NetConnectionDefinition = (function () {
},
instance: {
connect: function connect(command) { // (command:String) -> void
- notImplemented("NetConnection.connect");
+ somewhatImplemented("NetConnection.connect");
},
invoke: function invoke(index) { // (index:uint) -> any
notImplemented("NetConnection.invoke");
},
invokeWithArgsArray: function invokeWithArgsArray(index, args) { // (index:uint, args:Array) -> any
- notImplemented("NetConnection.invokeWithArgsArray");
+ somewhatImplemented("NetConnection.invokeWithArgsArray");
},
connected: {
get: function connected() { // (void) -> Boolean
@@ -127,22 +127,6 @@ var NetConnectionDefinition = (function () {
}
}
}
- },
- script: {
- static: {
- // ...
- },
- instance: {
- close: function close() { // (void) -> void
- notImplemented("NetConnection.close");
- },
- addHeader: function addHeader(operation, mustUnderstand, param) { // (operation:String, mustUnderstand:Boolean = false, param:Object = null) -> void
- notImplemented("NetConnection.addHeader");
- },
- call: function call(command, responder) { // (command:String, responder:Responder) -> void
- notImplemented("NetConnection.call");
- }
- }
}
}
};
View
6 src/flash/net/NetStream.js
@@ -11,7 +11,7 @@ var NetStreamDefinition = (function () {
instance: {
ctor: function ctor(connection, peerID) {
// (connection:NetConnection, peerID:String) -> void
- notImplemented("NetStream.ctor");
+ somewhatImplemented("NetStream.ctor");
},
onResult: function onResult(streamId) {
// (streamId:int) -> void
@@ -21,10 +21,10 @@ var NetStreamDefinition = (function () {
// (void) -> void
notImplemented("NetStream.dispose");
},
- play: function play() {
+ play: function play(url) {
// (void) -> void
this._url = url;
- notImplemented("NetStream.play");
+ somewhatImplemented("NetStream.play");
},
play2: function play2(param) {
// (param:NetStreamPlayOptions) -> void

No commit comments for this range

Something went wrong with that request. Please try again.