Index: test/mjsunit/debug-script.js |
diff --git a/test/mjsunit/debug-script.js b/test/mjsunit/debug-script.js |
index 5ffada11ba15a133cd44eef6c20c05f47dcd8d51..e558b6f324a7b038c32ac3f9063cf9cf8ef0c336 100644 |
--- a/test/mjsunit/debug-script.js |
+++ b/test/mjsunit/debug-script.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --expose-debug-as debug --expose-gc --send-idle-notification |
+// Flags: --expose-debug-as debug --expose-gc --send-idle-notification --allow-natives-syntax |
rossberg
2014/10/20 13:14:27
Line length
Dmitry Lomov (no reviews)
2014/10/20 13:32:53
Done.
|
// Get the Debug object exposed from the debug context global object. |
Debug = debug.Debug; |
@@ -59,7 +59,7 @@ for (i = 0; i < scripts.length; i++) { |
} |
// This has to be updated if the number of native scripts change. |
-assertTrue(named_native_count == 26 || named_native_count == 27); |
+assertEquals(%NativeScriptsCount(), named_native_count); |
// Only the 'gc' extension is loaded. |
assertEquals(1, extension_count); |
// This script and mjsunit.js has been loaded. If using d8, d8 loads |