Bug 99707

Summary: [CSS Regions] broken feature detection: body.webkitRegionOverset and body.webkitGetRegionFlowRanges shouldn't succeed when disabled at runtime
Product: WebKit Reporter: Mihai Maerean <mmaerean>
Component: JavaScriptCoreAssignee: Mihai Maerean <mmaerean>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, cmarcelo, haraken, macpherson, menard, morrita, ojan.autocc, WebkitBugTracker, webkit.review.bot
Priority: P2 Keywords: AdobeTracked
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57312    
Attachments:
Description Flags
1st patch none

Mihai Maerean
Reported 2012-10-18 04:39:05 PDT
Steps to reproduce: disable experimental WebKit features (in about://flags/). access document.body.webkitRegionOverset and document.body.webkitGetRegionFlowRanges from JavaScript. Expected result: an exception should occur because the function should not exist. Actual result: the call is successful.
Attachments
1st patch (9.55 KB, patch)
2012-12-14 16:49 PST, Mihai Maerean
no flags
Mihai Maerean
Comment 1 2012-12-14 16:49:02 PST
Created attachment 179559 [details] 1st patch
WebKit Review Bot
Comment 2 2012-12-16 02:02:13 PST
Comment on attachment 179559 [details] 1st patch Clearing flags on attachment: 179559 Committed r137835: <http://trac.webkit.org/changeset/137835>
WebKit Review Bot
Comment 3 2012-12-16 02:02:18 PST
All reviewed patches have been landed. Closing bug.
Kentaro Hara
Comment 4 2012-12-16 15:37:04 PST
Sorry for the delayed comment. Looks good to me too.
Darin Adler
Comment 5 2014-04-24 16:45:55 PDT
Moving all JavaScriptGlue bugs to JavaScriptCore. The JavaScriptGlue framework itself is long gone. And most of the more recent bugs put in this component were put there by people who thought this was for some other aspect of “JavaScript glue” and have nothing to do with the actual original reason for the existence of this component, which was an OS-X-only framework named JavaScriptGlue.
Note You need to log in before you can comment on or make changes to this bug.