Closed
Bug 1418558
Opened 8 years ago
Closed 8 years ago
Add MOZ_CAN_RUN_SCRIPT annotations to some callers of Element::GetPrimaryFrame
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(4 files, 1 obsolete file)
8.51 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
1.80 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
3.42 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
6.70 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
No description provided.
![]() |
Assignee | |
Comment 1•8 years ago
|
||
MozReview-Commit-ID: LWI1p75EyxB
Attachment #8929686 -
Flags: review?(nika)
![]() |
Assignee | |
Updated•8 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 2•8 years ago
|
||
MozReview-Commit-ID: GxcrOxjTYDm
Attachment #8929687 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 3•8 years ago
|
||
MozReview-Commit-ID: HxFFC85qgOD
Attachment #8929688 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 4•8 years ago
|
||
MozReview-Commit-ID: KoXEBUa2OjR
Attachment #8929689 -
Flags: review?(nika)
![]() |
Assignee | |
Comment 5•8 years ago
|
||
MozReview-Commit-ID: HxFFC85qgOD
Attachment #8929764 -
Flags: review?(nika)
![]() |
Assignee | |
Updated•8 years ago
|
Attachment #8929688 -
Attachment is obsolete: true
Attachment #8929688 -
Flags: review?(nika)
Comment 6•8 years ago
|
||
Comment on attachment 8929764 [details] [diff] [review]
part 3. Add MOZ_CAN_RUN_SCRIPT annotations to nsGenericHTMLElement methods that can call GetPrimaryFrame
Review of attachment 8929764 [details] [diff] [review]:
-----------------------------------------------------------------
::: mfbt/StaticAnalysisFunctions.h
@@ +53,5 @@
>
> #else
>
> #define MOZ_CHECK_ASSERT_ASSIGNMENT(expr) (!!(expr))
> +#define MOZ_KnownLive(expr) (expr)
I think it might be nice to pull this out into a separate patch.
Attachment #8929764 -
Flags: review?(nika) → review+
Updated•8 years ago
|
Attachment #8929689 -
Flags: review?(nika) → review+
Updated•8 years ago
|
Attachment #8929687 -
Flags: review?(nika) → review+
Updated•8 years ago
|
Attachment #8929686 -
Flags: review?(nika) → review+
![]() |
Assignee | |
Comment 7•8 years ago
|
||
> I think it might be nice to pull this out into a separate patch.
Will do.
Updated•8 years ago
|
Priority: -- → P2
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7378e5b6c059
part 1. Add MOZ_CAN_RUN_SCRIPT annotations to most Element methods that call GetPrimaryFrame. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/79f3d55aba27
part 2. Add MOZ_CAN_RUN_SCRIPT annotations to HTMLImageElement methods that call GetPrimaryFrame. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/3892362e7a24
part 3. Make MOZ_KnownLive compile even when not doing a static analysis build. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/3247630382cb
part 4. Add MOZ_CAN_RUN_SCRIPT annotations to nsGenericHTMLElement methods that can call GetPrimaryFrame. r=mystor
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7378e5b6c059
https://hg.mozilla.org/mozilla-central/rev/79f3d55aba27
https://hg.mozilla.org/mozilla-central/rev/3892362e7a24
https://hg.mozilla.org/mozilla-central/rev/3247630382cb
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•