This website requires JavaScript.
Explore
Help
Register
Sign In
Magic-Mirror
/
gecko-dev
Watch
1
Star
0
Fork
0
You've already forked gecko-dev
mirror of
https://github.com/mozilla/gecko-dev.git
synced
2024-11-05 08:35:26 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
57282c5e42
gecko-dev
/
js
History
mattwillis@gmail.com
57282c5e42
Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons
2008-03-12 14:56:59 -07:00
..
jsd
Bug 421303 Crash [@ jsds_ScriptHookProc] r=caillon a=dsicore If we reach ~jsdService, that means our client doesn't care about us, so we can (and should) drop all references to any callbacks (if they cared, they'd have kept us alive!*). I think jsdService::Off should clear all the hooks, the strange magic of not clearing it isn't really a great idea. So for Off, we'll now clear the ScriptHook too (consumers who use off should really drop any references they have to our objects...). I'm still on the fence on this point, I suspect we can actually move it from ::Off to ~jsdService (it must be cleared at some point, otherwise if jsd_xpc's library manages to get unloaded, the function pointer would be invalid, which would be *BAD*). jsds_NotifyPendingDeadScripts needs to clear gDeadScripts whether or not there's a service or hooks, so it does. Because it's a static callback and because of the scary way GC works, I'd rather ensure (deathgrip) that jsds is available (and consistent!) for the duration of the function call. The code already handles the lack of a hook, so there's no reason to do magical returns.... The real problem which mayhemer found was that jsdService::Off was returning early (failure) because gGCStatus wasn't JSGC_END when called from ~jsdService from JS_GC from the cyclecollector, so we make sure that ~jsdService forces ::Off to act as if it is JSGC_END (after ensuring that there are no callbacks available). * a pure javascript (xpcom component, not DOM hosted!) version of a jsdService consumer means that jsdService will need to talk to the CycleCollector eventually (this is another bug for the future).
2008-03-10 17:13:48 -07:00
narcissus
Make peek-on-same-line actually work correctly. bug 401246, r=brendan (NPOTB)
2007-12-18 17:15:41 -08:00
src
Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons
2008-03-12 14:56:59 -07:00
tests
JavaScript Tests - update known failures to account for improved CAPS messages in bug 246699, not part of the build
2008-03-12 11:12:09 -07:00
landbranch.pl
makefile.win