用 Firefox 開啟 sample 時, firebug 會出現一些 exception 如下...
[Exception... "'JavaScript component does not have a method named: "onLocationChange"' when calling method: [nsIWebProgressListener::onLocationChange]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: file:///C:/Users/jack.yang/AppData/Roaming/Mozilla/Firefox/Profiles/y7waiq2b.default/extensions/firebug@software.joehewitt.com/components/firebug-channel-listener.js :: anonymous :: line 198" data: no]
[Exception... "'JavaScript component does not have a method named: "onLocationChange"' when calling method: [nsIWebProgressListener::onLocationChange]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_observe :: line 320" data: no]
[Exception... "'JavaScript component does not have a method named: "onLocationChange"' when calling method: [nsIWebProgressListener::onLocationChange]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "
而在網路上有人提供解決方案...
這是在 firefox add-ons 裡有裝 flashGot 這個 extension.
將他 disable 就不會有 exception message 出現了