Bug 126097 - [iOS] Upstream WebCore/pdf changes
Summary: [iOS] Upstream WebCore/pdf changes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-20 17:04 PST by David Kilzer (:ddkilzer)
Modified: 2013-12-25 10:54 PST (History)
7 users (show)

See Also:


Attachments
Patch (10.43 KB, patch)
2013-12-20 17:04 PST, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff
Patch (10.43 KB, patch)
2013-12-20 17:08 PST, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 (907.18 KB, application/zip)
2013-12-20 20:04 PST, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2013-12-20 17:04:37 PST
Created attachment 219814 [details]
Patch

http://webkit.org/b/000000

Reviewed by NOBODY (OOPS!).

* WebCore.xcodeproj/project.pbxproj: Added files to project.
* pdf/ios/PDFDocument.cpp: Added.
(WebCore::PDFDocumentParser::create):
(WebCore::PDFDocumentParser::document):
(WebCore::PDFDocumentParser::PDFDocumentParser):
(WebCore::PDFDocument::createParser):
* pdf/ios/PDFDocument.h: Added.
(WebCore::PDFDocument::create):
(WebCore::PDFDocument::PDFDocument):
---
 4 files changed, 163 insertions(+)
Comment 1 WebKit Commit Bot 2013-12-20 17:06:09 PST
Attachment 219814 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/pdf/ios/PDFDocument.cpp', u'Source/WebCore/pdf/ios/PDFDocument.h', '--commit-queue']" exit_code: 1
ERROR: Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 2 David Kilzer (:ddkilzer) 2013-12-20 17:08:08 PST
Created attachment 219815 [details]
Patch
Comment 3 Tim Horton 2013-12-20 18:30:05 PST
Comment on attachment 219815 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=219815&action=review

> Source/WebCore/pdf/ios/PDFDocument.cpp:55
> +        // Ignore all calls

What is the point of this class if it does nothing?

> Source/WebCore/pdf/ios/PDFDocument.cpp:60
> +//------------

what is this!
Comment 4 Build Bot 2013-12-20 20:04:06 PST
Comment on attachment 219815 [details]
Patch

Attachment 219815 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/49668055

New failing tests:
plugins/quicktime-plugin-replacement.html
fast/block/positioning/abspositioned-object-under-split-relpositioned-inline-crash.html
Comment 5 Build Bot 2013-12-20 20:04:08 PST
Created attachment 219834 [details]
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-10  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 6 David Kilzer (:ddkilzer) 2013-12-25 10:27:56 PST
(In reply to comment #3)
> (From update of attachment 219815 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=219815&action=review
> 
> > Source/WebCore/pdf/ios/PDFDocument.cpp:55
> > +        // Ignore all calls
> 
> What is the point of this class if it does nothing?

It's used in Source/WebCore/loader/DocumentWriter.cpp.

> > Source/WebCore/pdf/ios/PDFDocument.cpp:60
> > +//------------
> 
> what is this!

We're upstreaming first, cleaning up second.
Comment 7 WebKit Commit Bot 2013-12-25 10:54:29 PST
Comment on attachment 219815 [details]
Patch

Clearing flags on attachment: 219815

Committed r161066: <http://trac.webkit.org/changeset/161066>
Comment 8 WebKit Commit Bot 2013-12-25 10:54:32 PST
All reviewed patches have been landed.  Closing bug.