As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 776488 - content/base/src/nsFrameLoader.cpp(1987) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'
: content/base/src/nsFrameLoader.cpp(1987) : warning C4305: 'return' : truncati...
Product: Core
Classification: Components
Component: Document Navigation (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla17
Assigned To: Makoto Kato [:m_kato]
: Andrew Overholt [:overholt]
Depends on:
  Show dependency treegraph
Reported: 2012-07-23 04:48 PDT by Makoto Kato [:m_kato]
Modified: 2012-07-24 02:57 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

fix (1.10 KB, patch)
2012-07-23 04:50 PDT, Makoto Kato [:m_kato]
justin.lebar+bug: review+
Details | Diff | Splinter Review

Description User image Makoto Kato [:m_kato] 2012-07-23 04:48:08 PDT
Don't return NS_ERROR_xxxx for bool.  (bool)NS_ERROR_xxxx is true.
Comment 1 User image Makoto Kato [:m_kato] 2012-07-23 04:50:00 PDT
Created attachment 644894 [details] [diff] [review]
Comment 2 User image Justin Lebar (not reading bugmail) 2012-07-23 07:14:05 PDT
Comment on attachment 644894 [details] [diff] [review]

Ouch.  Thanks for catching this!
Comment 4 User image Ed Morley [:emorley] 2012-07-24 02:57:15 PDT

Note You need to log in before you can comment on or make changes to this bug.