Skip to content

resolved issue #20 - Hidden JSinstance info ... raised - #25

Merged
atanasovg merged 1 commit into
masterfrom
plamen5kov/resolved_issue#20
Feb 20, 2015
Merged

atanasovg merged 1 commit into
masterfrom
plamen5kov/resolved_issue#20

Conversation

@Plamen5kov

Copy link
Copy Markdown
Contributor

-fixed up problem when the javascript object is not linked with any java class and methods cannot be found and called
-changed the format of another error so it's more easily consumed on the javascript side

@ns-bot

ns-bot commented Feb 20, 2015

Copy link
Copy Markdown

Can one of the admins verify this patch?

@atanasovg

Copy link
Copy Markdown
Contributor

👍

atanasovg added a commit that referenced this pull request Feb 20, 2015
resolved issue #20 - Hidden JSinstance info ... raised
@atanasovg
atanasovg merged commit 982b304 into master Feb 20, 2015
@Plamen5kov
Plamen5kov deleted the plamen5kov/resolved_issue#20 branch August 3, 2015 07:11
edusperoni added a commit that referenced this pull request Aug 11, 2026
Both tests PRs (#25 Performance, #26 StructuredClone) squash-merged
upstream; the branch commit this previously pinned is now orphaned.
StructuredClone/ content is byte-identical to the tested commit; master
additionally carries the Performance suite, which mainpage.js does not
invoke.
edusperoni added a commit that referenced this pull request Aug 11, 2026
Both tests PRs (#25 Performance, #26 StructuredClone) squash-merged
upstream; the branch commit this previously pinned is now orphaned.
StructuredClone/ content is byte-identical to the tested commit; master
additionally carries the Performance suite, which mainpage.js does not
invoke.
edusperoni added a commit that referenced this pull request Aug 11, 2026
Both tests PRs (#25 Performance, #26 StructuredClone) squash-merged
upstream; the branch commit this previously pinned is now orphaned.
StructuredClone/ content is byte-identical to the tested commit; master
additionally carries the Performance suite, which mainpage.js does not
invoke.
edusperoni added a commit that referenced this pull request Aug 11, 2026
…sfer) (#2000)

* feat: structuredClone global (HTML structured clone, ArrayBuffer transfer)

Android port of NativeScript/ios#431, in lockstep with the iOS runtime.

Implements the WHATWG structuredClone(value, { transfer }) global as a
post-context JS builtin: js/structured-clone.js (shared unchanged with
iOS) owns the WebIDL argument coercion, and a thin native binding runs a
v8::ValueSerializer -> ValueDeserializer round-trip in the one isolate.

The serialization machinery is consolidated into
StructuredSerialization.{h,cpp} (tns::serialization) so structuredClone
and worker postMessage run on one core: delegate pair, DataCloneError
construction (an Error carrying that name -- previously the worker path
threw a plain Error with a message prefix), transfer-list validation,
and the register->write->claim->detach ordering that V8 14.9 requires
(Detach() aborts on non-detachable buffers; Release() must be claimed
even after a failed write). WorkerMessage.cpp is deleted and
WorkerMessage.h reduced to an alias.

postMessage gains the ArrayBuffer transfer list on both entry points.
Host objects stay intentionally asymmetric via HostObjectPolicy:
structuredClone rejects (spec), postMessage keeps the shipped
degrade-to-{} behavior.

Tests: shared cross-runtime suite (common-runtime-tests-app#26, 54
specs) wired via shared.runStructuredCloneTests(), plus an unguarded
canary in testRuntimeImplementedAPIs.js. Documented in
docs/structured-clone.md.

* test: pin shared suite to common-runtime-tests-app master

Both tests PRs (#25 Performance, #26 StructuredClone) squash-merged
upstream; the branch commit this previously pinned is now orphaned.
StructuredClone/ content is byte-identical to the tested commit; master
additionally carries the Performance suite, which mainpage.js does not
invoke.

* test: bump shared suite to current master (Performance detail-clone specs)

Matches the pin on ios main. Only Performance/index.js changes -- not
invoked by mainpage.js; StructuredClone/ is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants