Bug 69830 - Tests don't override the WebKitWebAudioEnabled runtime preference
Summary: Tests don't override the WebKitWebAudioEnabled runtime preference
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-10-11 03:57 PDT by Philippe Normand
Modified: 2011-10-12 23:52 PDT (History)
3 users (show)

See Also:

proposed patch (5.65 KB, patch)
2011-10-11 04:04 PDT, Philippe Normand
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2011-10-11 03:57:54 PDT
So in the ports where WebAudio is not enabled by default webkitAudioContext is not available and the tests fail.
Comment 1 Philippe Normand 2011-10-11 04:04:46 PDT
Created attachment 110495 [details]
proposed patch
Comment 2 Jer Noble 2011-10-11 10:29:29 PDT
Cool, I didn't know that method on layoutTestController was available.
Comment 3 Eric Carlson 2011-10-11 10:31:52 PDT
Comment on attachment 110495 [details]
proposed patch

Comment 4 Philippe Normand 2011-10-12 23:52:37 PDT
Committed r97348: <http://trac.webkit.org/changeset/97348>