Lines Matching refs:errors

115              false,  // manifest errors are never from incognito.
133 // A helper class in order to wait for the proper number of errors to be
135 // number of errors are observed.
139 // <Cause three errors...>
169 // Spin until the appropriate number of errors have been observed.
189 // cause any errors.
197 // Do nothing (errors will be caused by a background script,
206 // errors. This should be enabled on any channel <= Dev, but let's make
233 // |expected_errors| errors. Populate |extension| with a pointer to the loaded
269 // We should only have errors for a single extension, or should have no
270 // entries, if no errors were expected.
287 // Test to ensure that we are successfully reporting manifest errors as an
291 // We expect two errors - one for an invalid permission, and a second for
299 const ErrorList& errors =
303 // manifest, so there's not a definitive order in which these errors may
309 for (size_t i = 0; i < errors.size(); ++i) {
310 ASSERT_EQ(ExtensionError::MANIFEST_ERROR, errors[i]->type());
312 (static_cast<const ManifestError*>(errors[i]))->manifest_key());
314 permissions_error = errors[i];
316 unknown_key_error = errors[i];
339 // Test that we do not store any errors unless the Developer Mode switch is
346 // Same test as ReportManifestErrors, except we don't expect any errors since
354 // Now if we enable developer mode, the errors should be reported...
358 // ... and if we disable it again, all errors which we were holding should be
372 2u, // Two errors: A log message and a JS type error.
378 const ErrorList& errors =
382 CheckRuntimeError(errors[0],
391 const StackTrace& stack_trace1 = GetStackTraceFromError(errors[0]);
405 CheckRuntimeError(errors[1],
411 logging::LOG_ERROR, // JS errors are always ERROR level.
415 const StackTrace& stack_trace2 = GetStackTraceFromError(errors[1]);
436 const ErrorList& errors =
447 errors[0],
457 const StackTrace& stack_trace = GetStackTraceFromError(errors[0]);
475 const ErrorList& errors =
482 errors[0],
493 const StackTrace& stack_trace = GetStackTraceFromError(errors[0]);
514 const ErrorList& errors =
518 errors[0],
527 const StackTrace& stack_trace = GetStackTraceFromError(errors[0]);
547 // Test that extension errors that go to chrome.runtime.lastError are caught
559 const ErrorList& errors =
561 ASSERT_EQ(1u, errors.size());
566 errors[0],
576 const StackTrace& stack_trace = GetStackTraceFromError(errors[0]);