HONG KONG — Hong Kong was convulsed by mass demonstrations and chaos for a second straight day on Sunday, as the police fired tear gas into a subway station and the authorities accused protesters of attacking officers with gasoline bombs.

The unrest in several downtown districts came in the 10th weekend of protests in the semiautonomous Chinese territory and capped a week in which the protest movement mounted its fiercest resistance yet to Beijing’s rule of the former British colony.

The chaos and uncertainty, in which the police said some protesters threw gasoline bombs at them, came six days after a general strike and street clashes brought much of the financial hub to a rare standstill.

Those demonstrations prompted Beijing to sternly warn the protesters not to test its resolve and to warn of retribution from the “sword of law.”