Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding "proper" message port for fake worker. #6948

Closed
wants to merge 1 commit into from

Conversation

yurydelendik
Copy link
Contributor

Attempt to properly fix fake worker port. See also #6938.

@yurydelendik
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Windows)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.22.172.223:8877/de62240b704a243/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Linux)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.21.233.14:8877/a05182b8e7101a5/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/de62240b704a243/output.txt

Total script time: 19.97 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/a05182b8e7101a5/output.txt

Total script time: 21.20 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@yurydelendik
Copy link
Contributor Author

with disableWorker=true commit

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Windows)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.22.172.223:8877/12d505682696963/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Linux)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.21.233.14:8877/a1a561551fa0c06/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Linux)


Failed

Full output at http://107.21.233.14:8877/a1a561551fa0c06/output.txt

Total script time: 18.35 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.21.233.14:8877/a1a561551fa0c06/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/12d505682696963/output.txt

Total script time: 20.11 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@yurydelendik
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Windows)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.22.172.223:8877/9be9fbac8135ede/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Linux)


Received

Command cmd_test from @yurydelendik received. Current queue size: 0

Live output at: http://107.21.233.14:8877/e1c36b03ac058be/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/9be9fbac8135ede/output.txt

Total script time: 20.32 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2016

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/e1c36b03ac058be/output.txt

Total script time: 21.33 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

return;
}

var clonned = new WeakMap();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling nit: shouldn't this be cloned instead (here, and elsewhere in the patch)?

clonned.set(value, result);
return result;
}
result = Array.isArray(value) ? [] : {};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just use isArray from shared/util.js?

@timvandermeij
Copy link
Contributor

timvandermeij commented Sep 4, 2016

This pull request needs to be rebased, the comments above need to be addressed and the polyfill can be removed as it is already committed on master in #7588. According to @Snuffleupagus (see http://logs.glob.uno/?c=mozilla%23pdfjs&s=2+Sep+2016&e=2+Sep+2016#c51502) it is then good to merge.

@Snuffleupagus
Copy link
Collaborator

Since it seems that @yurydelendik has been quite busy with other things lately, here's this patch rebased to master and with the nits addressed (but please note that I've not run any tests with it locally):
https://gist.github.com/Snuffleupagus/72e0bf4ded37b779cedad3894bdfdecd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants