WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
130668
Implement ImageData constructors and WebWorkers exposure
https://bugs.webkit.org/show_bug.cgi?id=130668
Summary
Implement ImageData constructors and WebWorkers exposure
Dirk Schulze
Reported
2014-03-24 07:55:28 PDT
The spec says: [Constructor(unsigned long sw, unsigned long sh), Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh), Exposed=Window,Worker] interface ImageData { readonly attribute unsigned long width; readonly attribute unsigned long height; readonly attribute Uint8ClampedArray data; }; We should support constructors and the workers exposure.
Attachments
Patch
(12.38 KB, patch)
2014-03-24 13:10 PDT
,
Dirk Schulze
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2
(534.40 KB, application/zip)
2014-03-24 14:02 PDT
,
Build Bot
no flags
Details
Patch
(17.11 KB, patch)
2014-03-24 14:23 PDT
,
Dirk Schulze
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2014-03-24 07:59:19 PDT
Firefox already has this feature in the Nighlies and will ship without a flag:
https://bugzilla.mozilla.org/show_bug.cgi?id=959958
Chrome has a CL for it and an Intent to ship is under way:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/FvHQUEXCgEo
Dirk Schulze
Comment 2
2014-03-24 13:10:50 PDT
Created
attachment 227684
[details]
Patch
WebKit Commit Bot
Comment 3
2014-03-24 13:13:13 PDT
Attachment 227684
[details]
did not pass style-queue: ERROR: Source/WebCore/html/ImageData.cpp:87: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] ERROR: Source/WebCore/html/ImageData.cpp:98: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] ERROR: Source/WebCore/html/ImageData.idl:30: Line contains tab character. [whitespace/tab] [5] Total errors found: 3 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dirk Schulze
Comment 4
2014-03-24 13:18:26 PDT
(In reply to
comment #3
)
>
Attachment 227684
[details]
did not pass style-queue: > > > ERROR: Source/WebCore/html/ImageData.cpp:87: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] > ERROR: Source/WebCore/html/ImageData.cpp:98: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] > ERROR: Source/WebCore/html/ImageData.idl:30: Line contains tab character. [whitespace/tab] [5] > Total errors found: 3 in 8 files > > > If any of these errors are false positives, please file a bug against check-webkit-style.
The equality comparisons are false positives. Will fix indentation before landing.
Build Bot
Comment 5
2014-03-24 14:02:38 PDT
Comment on
attachment 227684
[details]
Patch
Attachment 227684
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5630271990792192
New failing tests: js/dom/global-constructors-attributes-shared-worker.html js/dom/global-constructors-attributes-dedicated-worker.html canvas/philip/tests/2d.imageData.object.ctor.html
Build Bot
Comment 6
2014-03-24 14:02:44 PDT
Created
attachment 227691
[details]
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-14 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Dirk Schulze
Comment 7
2014-03-24 14:23:35 PDT
Created
attachment 227692
[details]
Patch
WebKit Commit Bot
Comment 8
2014-03-24 14:24:54 PDT
Attachment 227692
[details]
did not pass style-queue: ERROR: Source/WebCore/html/ImageData.cpp:87: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] ERROR: Source/WebCore/html/ImageData.cpp:98: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] ERROR: LayoutTests/ChangeLog:17: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] ERROR: LayoutTests/ChangeLog:18: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Total errors found: 4 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 9
2014-03-25 13:24:41 PDT
Comment on
attachment 227692
[details]
Patch Clearing flags on attachment: 227692 Committed
r166246
: <
http://trac.webkit.org/changeset/166246
>
WebKit Commit Bot
Comment 10
2014-03-25 13:24:47 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug