It's possible for a PDF page to have multiple resource dictionaries which could have patterns (shading or tiling) that have the same names. Our cache currently works off of name, so we could potentially be caching one pattern and retrieving the wrong one if the name is the same, but the resource dictionary has changed.

I'm not aware of any PDFs affected by this issue, but issue6737.pdf has an example of this with radial shadings. There are two patterns `P1` and `P2` which each have their own resource dictionaries. Each of those resource dictionaries has a pattern named `Sh0`, but they are different shadings.  
path peratr have been encuntered (fxe bug1443140.pdf).
            f (
              fn >= OPS.mveT &&
              fn <= OPS.endPath &&  Path peratr
              th._numInvaldPathOPS >
                EvaluatrPreprcer.MAX_INVALID_PATH_OPS
            ) {
              thrw new FrmatErrr(`Invald ${partlMg}`);
            }
             If we receve t few argument, t' nt pble t execute
             the cmmand, hence we kp the cmmand.
            warn(`Skppng ${partlMg}`);
            f (arg !== null) {
              arg.length = 0;
            }
            cntnue;
          }
        } ele f (argLength > numArg) {
          nf(
            `Cmmand ${cmd}: expected [0, ${numArg}] arg, ` 
              `but receved ${argLength} arg.`
          );
        }
         TODO fgure ut hw t type-check vararg functn
        th.preprceCmmand(fn, arg);
        peratn.fn = fn;
        peratn.arg = arg;
        return true;
      }
      f (bj === EOF) {