Bug 164028 - [EME] Add no-op Web-facing APIs
Summary: [EME] Add no-op Web-facing APIs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords:
Depends on:
Blocks: 158836
  Show dependency treegraph
 
Reported: 2016-10-26 13:09 PDT by Zan Dobersek
Modified: 2016-11-10 09:11 PST (History)
3 users (show)

See Also:


Attachments
WIP (137.30 KB, patch)
2016-10-26 13:35 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
WIP (126.14 KB, patch)
2016-10-27 03:24 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
WIP (123.98 KB, patch)
2016-11-01 10:05 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
Patch (124.22 KB, patch)
2016-11-08 04:58 PST, Zan Dobersek
no flags Details | Formatted Diff | Diff
Patch for landing (124.15 KB, patch)
2016-11-10 01:29 PST, Zan Dobersek
no flags Details | Formatted Diff | Diff
Patch for landing (123.71 KB, patch)
2016-11-10 03:22 PST, Zan Dobersek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2016-10-26 13:09:52 PDT
[EME] Add no-op Web-facing APIs
Comment 1 Zan Dobersek 2016-10-26 13:35:20 PDT
The idea is to start with WebIDL definitions and the underlying C++ classes. The implementations would be non-operational for starters, with future patches implementing the relevant algorithms and queries to the platform layer.

Incoming patch needs a few more iterations, mostly for the Xcode and Windows build systems, but the gist of it is reviewable.
Comment 2 Zan Dobersek 2016-10-26 13:35:38 PDT
Created attachment 292957 [details]
WIP
Comment 3 Zan Dobersek 2016-10-27 03:24:54 PDT
Created attachment 293009 [details]
WIP
Comment 4 Zan Dobersek 2016-11-01 10:05:19 PDT
Created attachment 293555 [details]
WIP

Trying to get the patch building on all EWS configs.
Comment 5 WebKit Commit Bot 2016-11-07 23:01:00 PST
Attachment 293555 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/js/JSMediaKeySystemAccessCustom.cpp:33:  You should add a blank line after implementation file's own header.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSMediaKeySystemAccessCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSMediaKeySessionCustom.cpp:33:  You should add a blank line after implementation file's own header.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSMediaKeySessionCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
Total errors found: 4 in 48 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Zan Dobersek 2016-11-08 04:58:09 PST
Created attachment 294154 [details]
Patch
Comment 7 WebKit Commit Bot 2016-11-08 05:00:12 PST
Attachment 294154 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/js/JSMediaKeySystemAccessCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSMediaKeySessionCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
Total errors found: 2 in 48 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 8 Jer Noble 2016-11-08 06:56:40 PST
Comment on attachment 294154 [details]
Patch

Looks good! We may want to add a runtime-enabled switch for all these new interfaces, in a future patch.
Comment 9 Zan Dobersek 2016-11-10 01:29:00 PST
Created attachment 294348 [details]
Patch for landing
Comment 10 WebKit Commit Bot 2016-11-10 01:32:14 PST
Attachment 294348 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/js/JSMediaKeySystemAccessCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSMediaKeySessionCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
Total errors found: 2 in 48 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 11 Zan Dobersek 2016-11-10 03:22:59 PST
Created attachment 294357 [details]
Patch for landing
Comment 12 WebKit Commit Bot 2016-11-10 03:24:54 PST
Attachment 294357 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/js/JSMediaKeySystemAccessCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSMediaKeySessionCustom.cpp:33:  You should not add a blank line before implementation file's own header.  [build/include_order] [4]
Total errors found: 2 in 48 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 13 Zan Dobersek 2016-11-10 09:09:51 PST
The patch needed an update after the generation of promise code was modified I think yesterday.

mac-debug EWS is reporting failures, but the bot seems in bad state and the failures in the build it managed to compile aren't related.
Comment 14 Zan Dobersek 2016-11-10 09:11:49 PST
Comment on attachment 294357 [details]
Patch for landing

Clearing flags on attachment: 294357

Committed r208539: <http://trac.webkit.org/changeset/208539>
Comment 15 Zan Dobersek 2016-11-10 09:11:58 PST
All reviewed patches have been landed.  Closing bug.