-
Notifications
You must be signed in to change notification settings - Fork 4
Scamper New Url Request
Submitting a new url calls Scampers jumpToAbsoluteUrlAsync: urlText
, for requesting a new web document. First of all it downloads the content by calling downloadFromUrlAsync: aUrl
and then calls displayDocument: mimeDocument
to display the downloaded document on the WebPageMorph.
Internally displayDocument: mimeDocument
calls WebPageMorphs show
method. show
processes the downloaded document and loads missing elements, like images, if necessary by calling startDownloadingMorphState: morphs
.
To Load the missing elements, startDownloadingMorphState: morphs
creates a bunch of ScamperWorkers with task: morphs from: aScamper
, giving them an initial task and a recipient. After creating a new ScamperWorker, start
gets called for each of them to start working on the task.