1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 20:16:39 +00:00
dart-sdk/tools
Stephen Adams aeaf82577e dart:html: Add Element.removeAttribute
- Improve `element.attributes.remove(name)` to compile to `element.removeAttribute(name)`.
- Improve `element.getNamespacedAttributes(namespace).remove(name)` to compile to
  `element.removeAttributeNS(namespace, name)`.
- Add removeAttribute[NS].
- Add hasAttriute[NS].
- Assert attribute names are not null to prevent conversion to "null"/"undefined".
- TODO: Assert values are not null to prevent conversion to "null"/"undefined".
- namespaceURI does not need checking since null and undefined map to 'no namespace'.

Fixes https://github.com/dart-lang/sdk/issues/35655

Change-Id: Ie5bee23c88e8fb92f9d46f29fdf4b7f3175a2aa3
Reviewed-on: https://dart-review.googlesource.com/c/90160
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
2019-01-18 19:06:24 +00:00
..
android Cherry-pick 031e77eea1 to the analyzer branch. 2018-11-29 22:14:23 +00:00
apps/update_homebrew Generate homebrew script compatible with latest changes 2019-01-10 16:43:34 +00:00
bots Remove --fast-startup flag support from testing scripts and status files 2019-01-16 11:32:44 +00:00
buildtools Cherry-pick 031e77eea1 to the analyzer branch. 2018-11-29 22:14:23 +00:00
dart2js Remove usage of pkg:browser from tools/dart2js/sourceMapViewer 2018-03-21 20:22:10 +00:00
dom dart:html: Add Element.removeAttribute 2019-01-18 19:06:24 +00:00
gardening [infra] Fix third_party/pkg_tested step having slash in name. 2018-10-18 12:38:39 +00:00
infra/config [infra] Remove Dart 1 builders from the CQ (Part II) 2018-09-26 07:11:21 +00:00
linux_dist_support/debian [infra] Update debian package metadata 2018-11-07 09:54:46 +00:00
migration Convert a batch of negative tests to multitests. 2018-06-08 19:43:34 +00:00
patches/flutter-engine [gardening] Patch flutter engine to unbreak hhh build. 2018-12-27 17:00:24 +00:00
sdks [fuchsia] Add SDK prebuilts to .gitignore 2018-07-23 18:48:09 +00:00
spec_parser Adds support for syntax error in tests to test.py. 2017-11-06 08:56:09 +00:00
test_generators Add tests for bug #33660 2018-07-09 11:38:17 +00:00
testing Remove --fast-startup flag support from testing scripts and status files 2019-01-16 11:32:44 +00:00
.gitignore
3xhead_flutter_hooks.sh Fix 3xhead_flutter_hooks.sh script not being executable. 2018-08-15 09:50:03 +00:00
addlatexhash.dart Cleaned up some terminology, whitespace, and added index. 2018-11-02 12:11:41 +00:00
approve_results.dart [infra] Fix warning when pre-approving an already approved failure. 2018-12-11 15:24:20 +00:00
archive_crash.py
build.py Revert "Change default target to "create_sdk"." 2019-01-11 11:50:13 +00:00
canary.dart
clean_output_directory.py
copy_dart.py
copy_tree.py [kernel] Add target for Flutter on Fuchsia. 2018-03-22 18:21:09 +00:00
create_debian_chroot.sh
create_debian_packages.py Debian package building should show all output to stdout 2017-10-13 14:18:33 +00:00
create_pkg_manifest.py [fuchsia] Handle host_{cpu,os} vars in DEPS 2019-01-02 16:17:22 +00:00
create_tarball.py [build] Don't add a device to the source tarball. 2018-06-11 21:16:47 +00:00
create_timestamp_file.py
download_chromium_sysroot.sh
download_latest_dev_sdk.py [infra] Download checked in SDKs from CIPD 2018-06-28 16:08:14 +00:00
execute_recorded_testcases.py
FAKE_COMMITS [infra] Trigger bots after outage. 2019-01-15 00:31:51 +00:00
find_depot_tools.py
gen_fuchsia_test_manifest.py [infra] Use new GN template to assemble Fuchsia test image 2017-10-24 15:27:58 +00:00
generate_buildfiles.py Generate cross buildfiles for armsimdbc and armsimdbc64. 2018-05-04 12:25:35 +00:00
generate_idefiles.py [vm] Allow choosing architecture for runtime sources in generate_idefiles.py. 2019-01-11 15:16:34 +00:00
gn_helpers.py
gn.py Cherry-pick 031e77eea1 to the analyzer branch. 2018-11-29 22:14:23 +00:00
line_doc_comments.dart Fix path to pkg/path – .packages resolution works to the root of repo 2017-08-04 11:14:23 -07:00
list_dart_files.py
list_files.py
make_bundle_unittest.py
make_version.py [build] Move dart2js run for Observatory from python to GN 2018-07-03 22:50:16 +00:00
minidump.py [vm] Integrate dart binary with Crashpad on Windows. 2018-10-24 13:30:16 +00:00
only_in_release_mode.py
patch_sdk.dart Stop using external deprecated members in front_end 2019-01-15 18:55:10 +00:00
presubmit.sh
promote.py
publish_pkg.py
revert.py
safari_factory_reset.py
set_ia32_sysroot.sh [build] Move to Jessie sysroots from Wheezy sysroots. 2018-10-25 15:05:22 +00:00
set_x64_sysroot.sh [build] Move to Jessie sysroots from Wheezy sysroots. 2018-10-25 15:05:22 +00:00
spec_parse.py Add a tools/spec_parse.py script. 2017-10-10 16:03:36 +00:00
status_clean.dart Remove the Dart 1 tests. 2018-10-11 23:45:18 +00:00
task_kill.py [Gardening] Kill any leaked flutter_tester processes before/after 3-head builder work 2019-01-03 15:30:11 +00:00
test.dart [infra] Fix test.dart error handling if there's no base build. 2018-12-10 12:49:55 +00:00
test.py Increase file descriptor limit when running test.py on MacOS 2018-10-16 09:25:10 +00:00
utils.py [infra] Upload core dumps if BUILDBOT_BUILDERNAME is set 2018-11-06 11:56:11 +00:00
VERSION [release] Prepare changelog and version for 2.2.0-dev.0.0 2018-11-19 11:02:51 +00:00
write_revision_file.py
write_version_file.py
yaml2json.dart Mention that libraries.json is generated. 2017-11-01 12:55:42 +00:00
yaml2json.py