Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
73123a3c
Commit
73123a3c
authored
Jul 22, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #201 from eseidelGoogle/fuzz_crashes
Fix 2 crashes found by Hixie's fuzzer.
parents
516e6b6e
8f85f34d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
mutating-dom.dart
packages/flutter/example/raw/mutating-dom.dart
+6
-3
No files found.
packages/flutter/example/raw/mutating-dom.dart
View file @
73123a3c
...
...
@@ -48,9 +48,12 @@ void doFrame(double timeStamp) {
node
=
root
;
}
else
if
(
node
!=
root
&&
other
!=
null
&&
pickThis
(
0.1
))
{
report
(
"insertBefore()"
);
node
.
insertBefore
([
other
]);
try
{
node
.
insertBefore
([
other
]);
}
catch
(
_
)
{
}
break
;
}
else
if
(
pickThis
(
0.001
))
{
}
else
if
(
node
!=
root
&&
pickThis
(
0.001
))
{
report
(
"remove()"
);
node
.
remove
();
}
else
if
(
node
is
sky
.
Element
)
{
...
...
@@ -148,7 +151,7 @@ void doFrame(double timeStamp) {
break
;
}
}
else
{
assert
(
node
is
sky
.
Text
);
//
assert
(
node
is
sky
.
Text
);
final
sky
.
Text
text
=
node
;
if
(
pickThis
(
0.1
))
{
report
(
"appending a new text node (ASCII)"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment