Closed Bug 419918 Opened 14 years ago Closed 14 years ago

add memory pressure release valve to gtk embedding widget test harness

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

Details

Attachments

(1 file)

I've got a bit of code that lets you tell the memory pressure observers to release memory.  Good for doing testing in memory-constrained environments.  Taken from Stuart's memback extension.
Status: NEW → ASSIGNED
Simple patch to fire the memory pressure observers from the widget when the menu item is selected.
Attachment #306091 - Flags: review?(dougt)
Comment on attachment 306091 [details] [diff] [review]
memory pressure addition to TestGtkEmbed.cpp

do you really want the:
g_print("menu_memory_cb\n");
Attachment #306091 - Flags: review?(dougt) → review+
Yeah, all of the callbacks print stuff out.  It's a test harness, of course.
Attachment #306091 - Flags: superreview?(pavlov)
Attachment #306091 - Flags: superreview?(pavlov) → superreview+
Comment on attachment 306091 [details] [diff] [review]
memory pressure addition to TestGtkEmbed.cpp

Looking for post-b4 approval.  Should not affect the browser at all.  It's the embedding test harness.
Attachment #306091 - Flags: approval1.9?
Comment on attachment 306091 [details] [diff] [review]
memory pressure addition to TestGtkEmbed.cpp

a1.9=beltzner
Attachment #306091 - Flags: approval1.9? → approval1.9+
Checked in.  Thanks, guys!
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.