Yes, and a Japanese submarine shelled a lighthouse on Vancouver Island. However, in both cases, Canada started it; neither Germany nor Japan thought Canada important to include in a declaration of war before we declared war on them. We weren't attacked by Germany or Japan; we attacked them.