RESOLVED FIXED 218956
TextEncoderStreamEncoder should not be exposed
https://bugs.webkit.org/show_bug.cgi?id=218956
Summary TextEncoderStreamEncoder should not be exposed
youenn fablet
Reported 2020-11-15 04:12:37 PST
As spotted by Yusuke, TextEncoderStreamEncoder should not be exposed, ditto for TextDecoderStreamDecoder
Attachments
Patch (20.39 KB, patch)
2020-11-15 04:31 PST, youenn fablet
no flags
Patch (20.28 KB, patch)
2020-11-15 09:54 PST, youenn fablet
no flags
Patch for landing (15.58 KB, patch)
2020-11-16 00:01 PST, youenn fablet
no flags
youenn fablet
Comment 1 2020-11-15 04:31:11 PST
youenn fablet
Comment 2 2020-11-15 09:54:16 PST
Yusuke Suzuki
Comment 3 2020-11-15 10:48:57 PST
Comment on attachment 414168 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414168&action=review r=me > Source/WebCore/bindings/scripts/test/JS/JSDOMWindow.cpp:206 > + if ((jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()->isSecureContext() && TestEnabledForContext::enabledForContext(*jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext()))) { Looks like we need to remove this brace. > Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp:248 > + if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().testSettingEnabled()) { Ditto about the brace. > Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp:251 > + if (downcast<Document>(jsCast<JSDOMGlobalObject*>(globalObject())->scriptExecutionContext())->settings().testSettingEnabled()) { Ditto. > Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp:717 > + if (RuntimeEnabledFeatures::sharedFeatures().testFeatureEnabled()) { Ditto.
youenn fablet
Comment 4 2020-11-16 00:01:45 PST
Created attachment 414197 [details] Patch for landing
EWS
Comment 5 2020-11-16 04:18:12 PST
Committed r269847: <https://trac.webkit.org/changeset/269847> All reviewed patches have been landed. Closing bug and clearing flags on attachment 414197 [details].
Radar WebKit Bug Importer
Comment 6 2020-11-16 04:19:16 PST
Note You need to log in before you can comment on or make changes to this bug.