mozilla/pdf.js — Issue #889: Page 11 of Tracemonkey throws error in Chrome
Author: arturadib
Created: 2011-12-06 15:08:08+00:00
State: open
Labels: 1-core

```
Message: Function.prototype.apply: Arguments list has wrong type
Stack: TypeError: Function.prototype.apply: Arguments list has wrong type
at Function.APPLY_PREPARE (native)
at Object.constructor (http://localhost.org:8123/pdf.js/mozilla/src/pattern.js:93:38)
at Function.pattern_shading [as parseShading] (http://localhost.org:8123/pdf.js/mozilla/src/pattern.js:34:16)
at Object.partialEvaluatorGetIRQueue [as getIRQueue] (http://localhost.org:8123/pdf.js/mozilla/src/evaluator.js:383:41)
at Object.partialEvaluatorGetIRQueue [as getIRQueue] (http://localhost.org:8123/pdf.js/mozilla/src/evaluator.js:347:22)
at Object.pageGetIRQueue [as getIRQueue] (http://localhost.org:8123/pdf.js/mozilla/src/core.js:209:33)
at Object.wphSetupPageRequest (http://localhost.org:8123/pdf.js/mozilla/src/worker.js:82:24)
at DedicatedWorkerContext.messageHandlerComObjOnMessage [as onmessage] (http://localhost.org:8123/pdf.js/mozilla/src/worker.js:21:17)
```
@brendandahl I've traced the problem back to this merge: 2829e8016a009a71fc3823f7b45f499a3df2ed17

Before that merge (a469249b206e9c4864b5cad2901cad46ce13b715) the page renders fine.