Closed Bug 1415234 Opened 2 years ago Closed 2 years ago
Stand up a simple Web
IDL getter with a MOZ _CAN _RUN _SCRIPT annotation
Mostly codegen changes. I'm going to start with HTMLInputElement::Width, which calls nsGenericHTMLElement::GetWidthHeightForImage, which does GetPrimaryFrame(FlushType::Layout). In an ideal world, of course, we would have the annotation further along in that callchain; that will be done in followups.
This basically marks most of the bindings bits as MOZ_CAN_RUN_SCRIPT. MozReview-Commit-ID: BgRhDh0X7Yz
Attachment #8926693 - Flags: review?(nika)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #8926693 - Flags: review?(nika) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9ef61399999e Annotate HTMLInputElement::Width() as MOZ_CAN_RUN_SCRIPT and plumb through the binding bits needed to make this pass static analysis. r=mystor
You need to log in before you can comment on or make changes to this bug.