blob: 0b42eb5b1ddfa681bd43ef0fb8808f71019b8aed [file] [log] [blame]
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/**
* @assertion factory HttpRequest()
* General constructor for any type of request (GET, POST, etc).
* @description Checks the state of newly created request.
*/
import "dart:html";
import "../../../Utils/expect.dart";
main() {
var request = new HttpRequest();
Expect.equals(HttpRequest.UNSENT, request.readyState, "after creation");
}